---
title: "Create Task Group"
method: POST
path: "/v1/tasks/groups"
tags: ["Tasks"]
---

# Create Task Group

`POST /v1/tasks/groups`

Initiates a TaskGroup to group and track multiple runs.

## Request body

- CreateTaskGroupRequest — Request to create a task group.
  - `metadata` object, nullable — User-provided metadata stored with the task group.

## Response `200`

Successful Response

- TaskGroupResponse — Response object for a task group, including its status and metadata.
  - `taskgroup_id` string, required — ID of the group.
  - `metadata` object, nullable — User-provided metadata stored with the group.
  - `status` TaskGroupStatus, required — Status of a task group.
    - `num_task_runs` integer, required — Number of task runs in the group.
    - `task_run_status_counts` object, required — Number of task runs with each status.
    - `is_active` boolean, required — True if at least one run in the group is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.
    - `status_message` string, nullable, required — Human-readable status message for the group.
    - `modified_at` string, nullable, required — Timestamp of the last status update to the group, as an RFC 3339 string.
  - `created_at` string, nullable, required — Timestamp of the creation of the group, as an RFC 3339 string.

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-06** `84643ced9758` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/parallel-web/apis/parallel-api/changes/v1/tasks/groups/post.md)

---

[API](https://skmtc.dev/parallel-web/apis/parallel-api.md) · [All operations](https://skmtc.dev/parallel-web/apis/parallel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/parallel-web/parallel-api/revisions/1595294c8795/schema)
