List Guardrails
List every project’s guardrails: its controls, prompt injection settings and DLP settings, in one object per project.
Needs view_security_rules or manage_security_rules, and
view_org_settings or manage_org_settings.
Authentication
AuthorizationBearer
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Query parameters
cursor
The next value from the previous page. Omit it for the first page.
limit
Maximum number of results to return, at most 100. Defaults to 20.
Response
Each project's guardrails
next
Cursor for the next page: pass it as cursor. Null on the last page.
previous
Always null: paging only goes forward.
results
One entry per project on this page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error