Skip to main content
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": "<string>",
  "source_stats": {
    "num_sources_considered": 123,
    "num_sources_read": 123,
    "sources_read_sample": [
      "<string>"
    ]
  },
  "progress_meter": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

run_id
string
required

Response

Successful Response

A progress update for a task run.

type
string
required

Event type; always 'task_run.progress_stats'.

Allowed value: "task_run.progress_stats"
source_stats
TaskRunSourceStats · object
required

Source stats describing progress so far.

progress_meter
number
required

Completion percentage of the task run. Ranges from 0 to 100 where 0 indicates no progress and 100 indicates completion.