Skip to main content
PATCH
Only the conversation’s owner can update it. A moderator who can read someone else’s conversation still cannot rename or archive it, and gets 404 as if it did not exist. Send at least one of title, archived or metadata. A field that is absent or null is left unchanged; a body that changes nothing returns 400. The assistant, owner and messages of a conversation cannot be changed. Archiving hides the conversation from List conversations and refuses new questions with 409. Set archived to false to restore it. This request also resolves the conversation’s assistant. If that assistant can no longer answer (it is disabled or archived, or has no knowledge attached), this request returns 400 validation_error.
string
required
The conversation ID.
string
A new title. 1 to 200 characters after trimming, on a single line.
boolean
true to archive the conversation, false to restore it. Must be a JSON boolean.
object
Replaces the conversation’s metadata as a whole; it is not merged. Send {} to clear it. The same limits apply as when you create a conversation: at most 20 entries, keys up to 64 characters matching ^[a-z][a-z0-9_.-]*$, values up to 512 characters on a single line.

Response

Returns 200 OK with the updated conversation.
string
required
The conversation ID.
string
required
The assistant that answers in this conversation.
string
required
The conversation title.
string
required
active or archived.
string
required
idle or awaiting_answer.
integer
required
The number of messages.
string
required
ISO 8601 creation timestamp with a UTC offset.
string
required
ISO 8601 timestamp of this update.
object
required
The owning participant: type is user or service, and id is its identifier.
object
required
Your metadata entries.
Last modified on September 26, 2026