GET
/
v1
/
tasks
/
runs
/
{run_id}
curl --request GET \
  --url https://api.parallel.ai/v1/tasks/runs/{run_id} \
  --header 'x-api-key: <api-key>'
{
  "run_id": "<string>",
  "status": "queued",
  "is_active": true,
  "warnings": [
    {
      "type": "spec_validation",
      "message": "<string>",
      "detail": {}
    }
  ],
  "processor": "<string>",
  "metadata": {},
  "created_at": "<string>",
  "modified_at": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

run_id
string
required

Response

200
application/json
Successful Response

Status of a task.

run_id
string
required

ID of the task run.

status
enum<string>
required

Status of the run.

Available options:
queued,
action_required,
running,
completed,
failed,
cancelling,
cancelled
Example:

"queued"

is_active
boolean
required

Whether the run is currently active; i.e. status is one of {'running', 'queued', 'cancelling'}.

processor
string
required

Processor used for the run.

created_at
string | null
required

Timestamp of the creation of the task, as an RFC 3339 string.

modified_at
string | null
required

Timestamp of the last modification to the task, as an RFC 3339 string.

warnings
object[] | null

Warnings for the run.

Human-readable message for a task.

metadata
object | null

User-provided metadata stored with the run.