Skip to main content
GET
/
api
/
agents
/
{agentId}
/
run-async
/
{runId}
cURL
curl --request GET \
  --url https://app.cotool.ai/api/agents/{agentId}/run-async/{runId} \
  --header 'Authorization: Bearer <token>'
{
  "isStreaming": true,
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

agentId
string<uuid>
required

Unique identifier of the agent

runId
string<uuid>
required

Unique identifier of the asynchronous run to check status for

Response

200 - application/json

Successful response

Status information for asynchronous agent run

isStreaming
boolean
required

Whether the run is actively streaming (in-progress)

error
string

Error message if the run failed