Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.example.com/agent_run/{run_id}/cancel
Cancel an in-progress run.
curl -X POST "https://api.mosaic.so/agent_run/[run_id]/cancel" \ -H "Authorization: Bearer mk_your_api_key"
{ "success": true, "run_id": "7f8d9c2b-4a6e-8b3f-1d5c-9e2f3a4b5c6d", "tasks_cancelled": 2, "nodes_reset": 3, "message": "Agent run cancelled successfully" }
Was this page helpful?