Skip to main content
POST
Define a new assertion

Body

application/json

A name, a condition (shorthand string or structured object), and an optional severity.

The body is of type any.

Response

200 - application/json

Assertion entity created; returns its entity_id. Returns ok:false with an error when name or condition is missing or invalid.