Tasks
Retrieve Task Run Result
Changed onRetrieves a run result by run_id, blocking until the run is completed.
get/v1/tasks/runs/{run_id}/result
Request
- Base URLhttps://api.parallel.ai
- AuthAPI key in header x-api-key
Path parameters
run_idstring required
Query parameters
timeoutinteger
Headers
parallel-betastring nullable
Response
Successful Response
Example response
{
"run": {
"run_id": "trun_e0083b6aac0544eb8686e8d2a76533d2",
"interaction_id": "trun_e0083b6aac0544eb8686e8d2a76533d2",
"status": "queued",
"warnings": [],
"processor": "base",
"metadata": {},
"created_at": "2025-04-24T18:56:22.513132Z",
"modified_at": "2025-04-24T18:56:22.513132Z"
},
"output": {
"basis": [
{
"confidence": "low"
}
]
}
}Changes
- info
api tag
Tasksadded - info
api tag
Tasks v1removed - info
added the new optional
headerrequest parameterparallel-beta - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
response property
output/oneOf[subschema #1: TaskRunTextOutput]/beta_fieldsdeprecated - info
response property
output/oneOf[subschema #2: TaskRunJsonOutput]/beta_fieldsdeprecated
- info
- info
added the required property
/to the response with the status
- info