Tasks

Get Task Run Status

Retrieves the current status and result of a task run in the V2 tasks API.

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

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

Changed in 4 of the 33 revisions of this API.14