Python
from parallel import Parallel client = Parallel() task_run_result = client.task_run.result(run_id="run_id") print(task_run_result.output)
{ "run": { "run_id": "trun_9907962f83aa4d9d98fd7f4bf745d654", "interaction_id": "trun_9907962f83aa4d9d98fd7f4bf745d654", "status": "completed", "is_active": false, "processor": "core", "metadata": { "my_key": "my_value" }, "created_at": "2025-04-23T20:21:48.037943Z", "modified_at": "2025-04-23T20:21:48.037943Z" }, "output": { "basis": [], "type": "json", "content": { "gdp": "$3.1 trillion (2023)" } } }
Retrieves a run result by run_id, blocking until the run is completed.
Documentation IndexFetch the complete documentation index at: https://docs.parallel.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Result of a task run.
Task run object with status 'completed'.
Show child attributes
Output from a task that returns text.