---
title: "Rename a chat"
method: PUT
path: "/v1/chats/{chatId}/title"
tags: ["Chats"]
---

# Rename a chat

`PUT /v1/chats/{chatId}/title`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/chats/{chatId}/title`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Replaces the chat's display title with a user-chosen one, clamped to the same length as a derived title. Does not reorder the chat list. Returns 202 immediately.

## Path parameters

- `chatId` string, required

## Request body

- RenameChatRequest
  - `title` string, required

## Response `202`

Chat renamed

## Other responses

- `401`: Unauthorized
- `404`: Chat not found

---

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