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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Web Search Agent ID, format wsa_<uuid>.
Run ID, format task_run_<uuid>.
Response
Successful Response
When the run was created.
Effort level used for the run.
low, medium, high, x-high, max "high"
Run identifier, format "task_run_{uuid}".
"task_run_c0ffee00-0000-4000-8000-000000000000"
Interaction ID.
True while status is 'queued' or 'running'.
Current run status.
queued, running, completed, failed, cancelled "queued"
Web Search Agent instance this run belongs to.
"wsa_2af5b0e2-58b8-4b60-a1a4-9e57e4d33f00"
When the run completed.
Error details when the run failed.
Prompt submitted for the run.
When the run started executing.