v1
latestOpenAPI 3.1.02026-07-2658119246.0 KBPublic API
Get Agent Run
Retrieve a run's current state. Poll this endpoint after creating a run: the run is finished once status is completed, failed, or cancelled.
get/v2/agents/{agent_id}/runs/{run_id}
Path parameters
agent_idstring uuid required
Web Search Agent ID, format wsa_<uuid>.
run_idstring required
Run ID, format task_run_<uuid>.
Response
Successful Response
Example response
{
"id": "task_run_c0ffee00-0000-4000-8000-000000000000",
"web_search_agent_id": "wsa_2af5b0e2-58b8-4b60-a1a4-9e57e4d33f00"
}