Retrieves run status by run_id.
The run result is available from the /result endpoint.
/result
Python
from parallel import Parallel client = Parallel( api_key="My API Key", ) task_run = client.task_run.retrieve( "run_id", ) print(task_run.run_id)
{ "run_id": "trun_9907962f83aa4d9d98fd7f4bf745d654", "status": "running", "is_active": true, "processor": "core", "metadata": { "my_key": "my_value" }, "created_at": "2025-04-23T20:21:48.037943Z", "modified_at": "2025-04-23T20:21:48.037943Z" }
Successful Response
Status of a task run.