Python
from parallel import Parallel client = Parallel(api_key="API Key") events = client.beta.task_run.events(run_id="run_id") for event in events: print(event)
{ "type": "task_run.progress_msg.plan", "message": "Planning task...", "timestamp": "2025-04-23T20:21:48.037943Z" }
Streams events for a task run.
Returns a stream of events showing progress updates and state changes for the task run.
For task runs that did not have enable_events set to true during creation, the frequency of events will be reduced.
Successful Response
A progress update for a task run.
Event type; always 'task_run.progress_stats'.
task_run.progress_stats
Source stats describing progress so far. Source stats for a task run.
Show child attributes