Skip to main content
GET
/
v1
/
tasks
/
runs
/
{run_id}
/
result
from parallel import Parallel

client = Parallel(api_key="API Key")

# If task run has beta output fields
task_run_result = client.beta.task_run.result(
run_id="run_id",
betas=["mcp-server-2025-07-17"]
)
print(task_run_result.output)
{
  "run": {
    "run_id": "<string>",
    "status": "queued",
    "is_active": true,
    "processor": "<string>",
    "created_at": "2025-04-24T18:56:22.513132Z",
    "modified_at": "2025-04-24T18:56:22.513132Z",
    "warnings": [],
    "error": {
      "ref_id": "<string>",
      "message": "<string>",
      "detail": {}
    },
    "metadata": {},
    "taskgroup_id": "<string>"
  },
  "output": {
    "basis": [
      {
        "field": "<string>",
        "reasoning": "<string>",
        "citations": [],
        "confidence": "low"
      }
    ],
    "type": "<string>",
    "content": "<string>",
    "beta_fields": {}
  }
}

Authorizations

x-api-key
string
header
required

Headers

parallel-beta
string | null

Path Parameters

run_id
string
required

Query Parameters

timeout
integer
default:600

Response

Successful Response

Result of a task run.

run
TaskRun · object
required

Task run object with status 'completed'.

output
TaskRunTextOutput · object
required

Output from the task conforming to the output schema.