Agents
Cancel Agent Run
Cancel a currently executing agent run. This will attempt to stop the agent's execution gracefully.
Note: Cancellation may not be immediate for all operations.
post/agents/{agent_id}/runs/{run_id}/cancel
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring required
run_idstring required
Query parameters
session_idstring nullable
Session ID the run belongs to. Required for non-admin JWT users.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.