Skip to main content
Keys and MCP connections can read and wait on approvals (approvals:read, or audit:read). Deciding, and changing rules, needs a signed-in person’s session token; a key gets 403 forbidden. Guide: Approvals and Identities.

list

GET /v1/approvals. The page carries total for the filter.

get

GET /v1/approvals/{id}.

wait

POST /v1/approvals/{id}/wait, repeated until the approval is decided or timeoutMs (default 10 minutes) passes. Returns the approval either way; check status.

approve

POST /v1/approvals/{id}/approve. Person session only. Runs the held call as its original credential and answers executed or failed with result.

deny

POST /v1/approvals/{id}/deny. Person session only.

rules.get

GET /v1/identities/{id}/approval_rules. The effective rules; each action says whether its source is the identity or the workspace.

rules.set

PUT /v1/identities/{id}/approval_rules. Person session only. An action left out inherits the workspace default.

rules.workspace.get / rules.workspace.set

GET /v1/organizations/{id}/approval_rules and PUT /v1/organizations/{id}/approval_rules (person session only).

Held calls

Methods that can be held take approvals: "return" | "throw" | "wait". New namespaces default to "return" (the Approval comes back); older namespaces default to "throw", raising ApprovalRequiredError with .approval. Held calls only happen in developer workspaces.