v2
latestOpenAPI 3.1.02026-08-0858116535.1 KBAgent
Cancel a run
Cancel a queued or running Agent run. If the run has already reached a terminal status, the API returns the existing run.
post/agent/runs/{id}/cancel
Path parameters
idstring required
Agent run ID. New run IDs are returned with the agent_run_ prefix.
Example:agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8
Agent run ID.
Response
Agent run