Skip to main content
GET
/
v1beta
/
tasks
/
groups
/
{taskgroup_id}
/
events
Python
from parallel import Parallel

client = Parallel(api_key="API Key")

task_group_events = client.beta.task_group.events("taskgroup_id")
for event in task_group_events:
    print(event)
{
  "type": "task_group_status",
  "event_id": "123",
  "status": {
    "num_task_runs": 1,
    "task_run_status_counts": {
      "completed": 1
    },
    "is_active": false,
    "status_message": "",
    "modified_at": "2025-04-23T20:21:48.037943Z"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

taskgroup_id
string
required

Query Parameters

last_event_id
string | null
timeout
number | null

Response

Successful Response

  • TaskGroupStatusEvent
  • TaskRunEvent
  • ErrorEvent

Event indicating an update to group status.

type
enum<string>
required

Event type; always 'task_group_status'.

Available options:
TitleConst
Typetask_group_status
event_id
string
required

Cursor to resume the event stream.

status
object
required

Task group status object. Status of a task group.

I