---
title: "Update Chat"
method: PUT
path: "/api/v1/chat-history/chats/{chat_id}"
---

# Update Chat

`PUT /api/v1/chat-history/chats/{chat_id}`

Update chat title.

## Path parameters

- `chat_id` string, required

## Request body

- ChatUpdate
  - `title` string, required — Updated chat title

## Response `200`

Successful Response

- ChatResponse
  - `id` string, required
  - `title` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `message_count` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway.md) · [All operations](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morpheusais/morpheus-api-gateway/revisions/061297d1593b/schema)
