v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0393116227.2 KB
conversations

Update a conversation

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

patch/conversations/{conversation_id}

Path parameters

conversation_idstring required

Query parameters

principal_idstring

Scope the target by principal. If omitted, only a conversation with no principal (principal_id is null) is addressed; a conversation whose principal differs yields 404.

Request body

titlestring
current_leaf_idstring

Response

Updated conversation summary

idstring required
principal_idstring nullable

Authorization principal this conversation belongs to (null if not set).

titlestring nullable
current_leaf_idstring nullable
created_atstring date-time
updated_atstring date-time