Cloud and BYOC for Orca Agent Engine are in Private Preview — request an invite
Docs
Guardrails

Guardrails.list

GET/apis/policy.runorca.ai/v1/guardrails
x-api-key<token>

Workspace API key. Read from the x-api-key header by src/auth/api-key.ts. A key that is present and does not authenticate is final — no other scheme is consulted.

In: header

Query Parameters

limit?integer
Range1 <= value
page?string
include_archived?boolean

Header Parameters

anthropic-beta?string

Accepted for Anthropic SDK compatibility and ignored. No value of this header changes request handling. Typed as a free-form string rather than an enum because this service recognises no specific beta value.

Response Body

application/json

application/json

curl -X GET "https://example.com/apis/policy.runorca.ai/v1/guardrails"
{  "data": [    {      "id": "string",      "type": "guardrail",      "name": "string",      "description": "string",      "enabled": true,      "phases": [        "request"      ],      "scope": "organization",      "rule": {        "kind": "builtin",        "builtin": "string",        "params": {          "property1": null,          "property2": null        }      },      "metadata": {},      "archived_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next_page": "string"}