Get Agent Run
GET
/agents/{agent_id}/runs/{run_id}Retrieve the status and output of an agent run. Use this to poll for background run completion.
Requires the session_id that was returned when the run was created.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
run_id*Run Id
Query Parameters
session_id*Session Id
Session ID for the run
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl --request GET 'https://example.com/agents/string/runs/string?session_id=string'null{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}