cURL
curl --request GET \ --url https://api.anchorbrowser.io/v2/tasks/runs/{runId}/status \ --header 'anchor-api-key: <api-key>'
{ "run_id": "<string>", "status": "queued", "result": {}, "error": "<string>", "session_id": "<string>" }
Retrieves the current status and result of a task run in the V2 tasks API.
API key passed in the header
The ID of the task run
Task run status retrieved successfully
Current task run status
queued
running
success
failure
timeout
cancelled
Task output when available
Error message when the run fails
Session ID used for this task run
Was this page helpful?