Skip to navigation

Get a run

View as Markdown

Reads stored state; never re-executes the provider. wait_ms (at most 60000) waits for a terminal status.

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}$"

Query parameters

wait_msintegerOptional0-60000

Response

The run receipt
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

401
Unauthorized Error
404
Not Found Error