---
title: "Group Tasks"
method: POST
path: "/api/v1/work-streams/{work_stream_id}/group-tasks"
tags: ["v1", "Work Streams", "work-streams"]
---

# Group Tasks

`POST /api/v1/work-streams/{work_stream_id}/group-tasks`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/work-streams/{work_stream_id}/group-tasks`
- Auth: none declared

Create a group task and reparent the given tasks into it in one transaction.
All task_ids must belong to this work stream and be at the same level (same parent).

## Path parameters

- `work_stream_id` integer, required

## Request body

- GroupTasksRequest: Request body for POST /work-streams/:id/group-tasks.
  - `title` string, required: Title for the new group
  - `task_ids` integer[], required: Task IDs to move into the group (same level)
  - `clock_in_level` string, nullable: 'group' = workers clock into this group; 'individual' = clock into children separately.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
