---
title: "Rename Chat"
method: PATCH
path: "/api/platform/v1/chats/{id}"
tags: ["conversations"]
---

# Rename Chat

`PATCH /api/platform/v1/chats/{id}`

## Request

- Base URL: `https://docs.amdahl.ai`
- URL: `https://docs.amdahl.ai/api/platform/v1/chats/{id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Rename one Chat so the thread is findable later. Use when a chat was auto-titled from its first ask and deserves a human name, or when its focus shifted. Renames the underlying conversation title in place; runs, substrate, and handles are untouched. Returns the updated chat snapshot.

## Path parameters

- `id` string, uuid, required: Chat UUID.

## Request body

- object
  - `name` string, required: The new chat name.

## Response `200`

OK

- object
  - `data` unknown

## Other responses

- `400`: Invalid input - failed schema validation
- `401`: Authentication required
- `403`: Forbidden - missing scope or role
- `404`: Not found
- `500`: Internal server error

---

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