Agents

Get async run status (deprecated)

⚠️ Deprecated Superseded by the run status endpoint, which returns the run status (queued, running, waiting, done, error, interrupted) and any status message instead of a bare isStreaming flag. Poll GET /api/agents/{agentId}/run-async/{runId}/status until status is done, error, or interrupted, then fetch GET /api/agents/{agentId}/run-async/{runId}/result. No sunset is scheduled. Use instead: /api/agents/:agentId/run-async/:runId/status

Retrieve streaming status or error information for an asynchronous agent run.

get/api/agents/{agentId}/run-async/{runId}

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required

Unique identifier of the agent

runIdstring uuid required

Unique identifier of the asynchronous run to check status for

Response

Successful response

isStreamingboolean required

Whether the run is actively streaming (in-progress)

errorstring

Error message if the run failed

Changes

No recorded changes to this operation across all 2 revisions of this API.