---
title: "Group Title"
method: POST
path: "/trips/{trip_id}/plans/group-title"
tags: ["plan"]
---

# Group Title

`POST /trips/{trip_id}/plans/group-title`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/trips/{trip_id}/plans/group-title`
- Auth: none declared

Generate a short title for an activity group using Haiku.

Not consumed by the existing frontend yet — ported for the prototype
branch to call once it lands.

## Path parameters

- `trip_id` string, required

## Request body

- GroupTitleRequest: Request for POST /plans/group-title.
  - `activity_names` string[], required

## Response `200`

Successful Response

- GroupTitleResponse: Response for POST /plans/group-title.
  - `title` string, required

## Other responses

- `422`: Validation Error

---

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