v33

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-2972102177.5 KB
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