Skip to navigation

Stop a running run

View as Markdown

Only for tools whose describe says execution.stoppable. A run stopped before completion is not charged.

Authentication

AuthorizationBearer
An AgentRouter API key or an OAuth access token issued to an MCP host or the CLI.

Path parameters

run_idstringRequiredformat: "^run_[a-f0-9]{24}$"

Response

The run, now STOPPING or STOPPED
objectany
run_idstring
statusenum
tool_idstring
tool_versionstring
providerstring
inputany
The submitted tool input
session_idstring or null
callerobject
channelenum
Allowed values:
created_atstring or null
started_atstring or null
completed_atstring or null
latency_msinteger or null
replayedboolean
True when an idempotency key returned an existing run.
stoppableboolean
provider_responseobject
errorobject or null
billingobject
resultobject
next_cursorstring or null

Pass back as the tool’s cursor input for the next page (a new billed call).

hintslist of objects
outputany
The provider's output exactly as returned

Errors

404
Not Found Error
409
Conflict Error