Tasks

Get Task Run Status

Changed on

Retrieves the current status and result of a task run in the non-deprecated Tasks endpoints.

get/v2/tasks/runs/{runId}/status

Request

  • Base URL
    https://api.anchorbrowser.io
  • Auth
    API key in header anchor-api-key

Path parameters

runIdstring required

The ID of the task run

Response

Task run status retrieved successfully

run_idstring required

The ID of the task run

status'queued' | 'running' | 'success' | 'failure' | 'timeout' | 'cancelled' required

Current task run status

resultobject

Task output when available

errorstring

Error message when the run fails

session_idstring

Session ID used for this task run

Changes