Skip to main content
GET
/
v2
/
tasks
/
runs
/
{runId}
/
status
Get Task Run Status
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>"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

runId
string
required

The ID of the task run

Response

Task run status retrieved successfully

run_id
string
required

The ID of the task run

status
enum<string>
required

Current task run status

Available options:
queued,
running,
success,
failure,
timeout,
cancelled
result
object

Task output when available

error
string

Error message when the run fails

session_id
string

Session ID used for this task run