Skip to main content
Some actions shouldn’t run unattended. Approvals let you — or your policies — gate execution before it happens. An agent that drafts a customer email might proceed autonomously, but one that issues refunds should wait for a human thumbs-up. This is where you draw that line. Approvals pause a task in plan_review until someone approves or rejects the plan. Policies evaluate automatically whether work should be allowed, denied, or require approval.

Approval statuses

Pending approvals expire after exactly 24 hours. There is no way to extend this window.

Policy outcomes

Policies evaluate a plan and return one of:

How it works

SDK operations

Approvals (/v1/approvals)

Policies (/v1/policies)

Review an approval

Evaluate a policy

Test what outcome a given context would produce without creating a real task:

Errors

Security

Rate limits

100 requests per organization per minute. Pagination: page >= 1, page_size 1–100 (default 20).
When an approval expires (24h without a decision), the task moves to cancelled. There is no retry; submit a new task if the work should still be done.

Tasks

The work approvals gate.

Streaming & Replay

See approval events in the stream.

Members & Roles

Who can approve.

Tasks & Workflows

Where plan review fits in the lifecycle.

Next steps

Continue to Streaming & Replay.