List completion gates

View as Markdown

Returns the governed completion-gate catalog: each enrichment gate, the read that proves it, whether it belongs to the mandatory floor, and its pass criteria.

Authentication

AuthorizationBearer

User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key

OR
X-API-Keystring

Admin API key for system-to-system write operations

OR
X-Client-Secretstring

Client secret for read-only service-to-service access (no writes)

Response

OK
appliesToTypelist of strings

Entity type tokens the gate applies to; empty means all types.

floorboolean

Whether the gate is part of the mandatory full-enrichment floor set.

gateIdstring
Canonical dotted completion gate id.
indexedenum

Parent row the gate instantiates against. NONE is the flat entity-level gate; any other value owes one coverage slot per existing parent row and is never part of the flat floor set.

labelstring

Human-readable gate name.

owningReadstring
OpenAPI operationId of the canonical read that proves the gate.
passCriteriastring
What makes the gate pass.
slotRefstring
Dotted EntityDetail field path the gate reads.
unobtainableAllowedboolean

Whether a source-backed unobtainable closes the gate.

minCountinteger or nullOptional
Minimum row count when the gate requires multiple rows.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
406
Not Acceptable Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error