Skip to main content
GET

Authentication

X-Agent-ID plus a signed x-agent-proof with scope: "read". See proof authentication. An access token can also read the policy. See token authentication.

Parameters

No path, query or body parameters.

Response

200 returns data: null when no policy is configured, otherwise the policy below.
boolean
Whether the configured policy is active.
object[]
Rules with tool, when, action and optional id. See rule conditions.
object
Configured email and phone, each nullable.
integer
Time allowed for a decision.
503 action_policy_unavailable means the policy could not be read; retry later.

Held calls

A matching require_approval rule makes the protected call return 403 approval_required before it runs or is charged. This is a response from the protected endpoint, not this policy endpoint. Response excerpt:
approval is the full approval object. Poll it, then retry the same call with X-Approval-Id once approved. See held-call behavior.