---
title: "Update Conversation"
method: PATCH
path: "/snapshots/{snapshot_id}/chat/conversations/{conversation_id}"
tags: ["chat"]
---

# Update Conversation

`PATCH /snapshots/{snapshot_id}/chat/conversations/{conversation_id}`

Rename and/or pin. Body: `{"title": "..."}` and/or `{"pinned": bool}`.

An empty or null title clears the override and reverts to the derived
first-user-message excerpt. Owner-only via the `chat_messages` check;
RLS would also block a cross-user write, but 404-ing explicitly keeps
this surface consistent with DELETE.

## Path parameters

- `snapshot_id` string, required
- `conversation_id` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/8c05b8b9a5c4?raw)
