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

# Create Task Group

`POST /v1beta/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.
  - `created_at` string, nullable, required — Timestamp of the creation of the group, as an RFC 3339 string.
  - `metadata` object, nullable — User-provided metadata stored with the group.
  - `status` TaskGroupStatus, required — Status of a task group.
    - `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'}.
    - `modified_at` string, nullable, required — Timestamp of the last status update to the group, as an RFC 3339 string.
    - `num_task_runs` integer, required — Number of task runs in the group.
    - `status_message` string, nullable, required — Human-readable status message for the group.
    - `task_run_status_counts` object, required — Number of task runs with each status.
  - `taskgroup_id` string, required — ID of the group.

## Other responses

- `422` — Validation Error

## Changes

- **2026-04-21** `57e1c56be094` — 2 info
  - api tag `Tasks` added
  - api tag `Tasks (Beta)` removed
- **2026-01-13** `105d778ad64d` — 1 breaking, 6 info
  - the `status` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - removed `#/components/schemas/TaskGroupStatus` from the `status` response property `allOf` list for the response status `200`
  - added the required property `status/is_active` to the response with the `200` status
  - added the required property `status/modified_at` to the response with the `200` status
  - …3 more
- **2025-11-06** `a2d634b57a8e` — 2 info
  - api tag `Tasks (Beta)` added
  - api tag `Task API (Beta)` removed
- **2025-08-31** `1aeb1c81a849` — 1 info
  - endpoint added
- **2025-08-31** `ff0d5939e135` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/parallel-web/apis/parallel-api/changes/v1beta/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/57e1c56be094/schema)
