Skip to main content

Why it matters

For high-impact actions (payments, account changes, deletions), approve prevents automatic execution until a human approves.

Create a gated action

Initial status is awaiting_approval.

Four approval paths

Agent calls approve tool after explicit human confirmation.
Your app receives action events via callback, prompts a reviewer, then calls approve/cancel via API.
Backend or operator console calls POST /v1/actions/{id}/approve.

Incompatibility with sync: true

approve: true cannot be combined with sync: true. Synchronous mode blocks the request until the action completes — that’s incompatible with waiting for a human decision. Attempting both returns a 400 with error code invalid_sync.

Rejecting an action

Reject by cancelling while in awaiting_approval:

End-to-end conversation example