cancel requests that a run stop. See
Concepts for why a run can
still complete after you cancel it. It never errors on a run that has already
ended, so it is safe to call speculatively and to retry.
status is cancelled,
stop_reason
is cancelled, and output’s fields stay unset.
Next steps
- List runs: paging this org’s runs, newest first
- Poll for completion: managing the wait yourself
- Reference: endpoints, fields, limits and errors
- Agent API Reference: full REST request and response specification