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

# Group Title

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

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/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/stardrift/apis/fastapi/revisions/ae2c9c9f8e5d?raw)
