Cancel Agent Checkout
Cancel an in-progress agent checkout.
API scope required: agent-checkouts.cancel
Authorizations
Client-side API key (ck_...) with the agent-checkouts.* scopes.
JWT identifying the end user, issued by an external auth provider your project trusts.
Path Parameters
The agent checkout id (returned by create).
Response
The cancellation was accepted. Returns the checkout view; status flips to cancelled on a later poll.
The full checkout view, returned by create, get, and cancel.
The checkout id.
Lifecycle state. succeeded, failed, and cancelled are terminal.
queued, running, awaiting_user_action, succeeded, failed, cancelled The live browser session the agent is driving.
Present on the checkout view when a pack drove the run. The pack id, merchant name, and phases used are captured on the run so they survive a later edit or deletion of the pack.
Present when status is awaiting_user_action. Render a form from responseSchema and submit matching values.
Present when status is succeeded.
Present when status is failed.
Optional string key/value pairs echoed back on the checkout.

