---
title: "Update a conversation"
method: PATCH
path: "/conversations/{conversation_id}"
tags: ["conversations"]
---

# Update a conversation

`PATCH /conversations/{conversation_id}`

Update a conversation's title and/or switch the active branch by setting current\_leaf\_id to another node in the same conversation.

Required roles: All, App

## Path parameters

- `conversation_id` string, required

## Query parameters

- `principal_id` string

## Request body

- PatchConversationRequest
  - `title` string
  - `current_leaf_id` string

## Response `200`

Updated conversation summary

- Conversation
  - `id` string, required
  - `principal_id` string, nullable — Authorization principal this conversation belongs to (null if not set).
  - `title` string, nullable
  - `current_leaf_id` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/qlonolink/apis/qaip-apis.md) · [All operations](https://skmtc.net/qlonolink/apis/qaip-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qlonolink/qaip-apis/revisions/f5f5994dfe05/schema)
