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": "<string>", "event_id": "<string>", "status": { "num_task_runs": 123, "task_run_status_counts": {}, "is_active": true, "status_message": "<string>", "modified_at": "2025-04-24T18:56:22.513132Z" } }
Streams events from a TaskGroup: status updates and run completions.
The connection will remain open for up to an hour as long as at least one run in the group is still active.
Successful Response
Event indicating an update to group status.
Event type; always 'task_group_status'.
"task_group_status"
Cursor to resume the event stream.
Task group status object.
Show child attributes
Number of task runs in the group.
Number of task runs with each status.
True if at least one run in the group is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.
Human-readable status message for the group.
Timestamp of the last status update to the group, as an RFC 3339 string.
"2025-04-24T18:56:22.513132Z"