Skip to main content

Confirmations

When a tool needs human approval, the Hub returns confirmation_required with a confirmation_id instead of signing.
1

Agent gets confirmation_required

Open the approve link from the response (or /approve/:id on the Hub) and approve or reject.
2

Agent polls await_confirmation

Call await_confirmation with the same confirmation_id. Each call waits up to 25 seconds, then returns pending if you have not decided yet. The agent should call again until approved, rejected, or expired.
See await_confirmation in the policy tools reference.