GET
/
v1beta
/
tasks
/
runs
/
{run_id}
/
events
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"
}

Authorizations

x-api-key
string
header
required

Path Parameters

run_id
string
required

Response

Successful Response

A progress update for a task run.

type
enum<string>
required

Event type; always 'task_run.progress_stats'.

Available options:
TitleConst
Typetask_run.progress_stats
source_stats
object
required

Source stats describing progress so far. Source stats for a task run.