Agents

Cancel agent run

Cancel an ongoing agent run

post/agent_run/{run_id}/cancel

Request

  • Base URL
    https://api.mosaic.so
  • URL
    https://api.mosaic.so/agent_run/{run_id}/cancel
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

run_idstring required

The ID of the agent run to cancel

Response

Agent run cancelled successfully

successboolean
run_idstring
tasks_cancellednumber
nodes_resetnumber
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.