Tasks Runs Result Get
Retrieves a run by run_id, blocking until the run is completed.
curl --request GET \
--url https://api.parallel.ai/v1/tasks/runs/{run_id}/result \
--header 'x-api-key: <api-key>'
{
"run": {
"run_id": "<string>",
"status": "queued",
"is_active": true,
"warnings": [
{
"type": "spec_validation",
"message": "<string>",
"detail": {}
}
],
"processor": "<string>",
"metadata": {},
"created_at": "<string>",
"modified_at": "<string>"
},
"output": {
"content": "<string>",
"basis": [
{
"field": "<string>",
"citations": [
{
"title": "<string>",
"url": "<string>",
"excerpts": [
"<string>"
]
}
],
"reasoning": "<string>",
"confidence": "low"
}
],
"type": "text"
}
}
Authorizations
Path Parameters
Query Parameters
Response
Result of a task run.
Task run object with status 'completed'.
ID of the task run.
Status of the run.
queued
, action_required
, running
, completed
, failed
, cancelling
, cancelled
"queued"
Whether the run is currently active; i.e. status is one of {'running', 'queued', 'cancelling'}.
Processor used for the run.
Timestamp of the creation of the task, as an RFC 3339 string.
Timestamp of the last modification to the task, as an RFC 3339 string.
Warnings for the run.
Human-readable message for a task.
Output from the task conforming to the output schema.
Text output from the task.
Basis for the output. The basis has a single field 'output'.
Citations and reasoning supporting one field of a task output.
Name of the output field.
Reasoning for the output field.
List of citations supporting the output field.
A citation for a task output.
Confidence level for the output field. Only certain processors provide confidence levels.
"low"
The type of output being returned, as determined by the output schema of the task spec.
text
curl --request GET \
--url https://api.parallel.ai/v1/tasks/runs/{run_id}/result \
--header 'x-api-key: <api-key>'
{
"run": {
"run_id": "<string>",
"status": "queued",
"is_active": true,
"warnings": [
{
"type": "spec_validation",
"message": "<string>",
"detail": {}
}
],
"processor": "<string>",
"metadata": {},
"created_at": "<string>",
"modified_at": "<string>"
},
"output": {
"content": "<string>",
"basis": [
{
"field": "<string>",
"citations": [
{
"title": "<string>",
"url": "<string>",
"excerpts": [
"<string>"
]
}
],
"reasoning": "<string>",
"confidence": "low"
}
],
"type": "text"
}
}