Skip to main content
GET
/
assert
/
list
list all registered assertions
curl --request GET \
  --url http://localhost:3917/assert/list
{
  "assertions": [
    {
      "entity_id": 5,
      "has_result": true,
      "last_passed": true,
      "name": "hero-exists",
      "severity": "error"
    }
  ],
  "count": 1,
  "ok": true
}

Response

200 - application/json

All registered assertions with their name, severity, and whether a result has been computed.