Skip to main content
POST
Updates a chat by merging the provided chat data with the existing chat. Only fields included in the request will be updated.

Path Parameters

string
required
The unique identifier of the chat to update

Request Body

object
required
Chat data object to merge with existing chat. Any fields provided will update the corresponding fields in the existing chat.
string
Update the folder assignment

Response

string
required
Unique identifier for the chat
string
required
ID of the user who owns the chat
string
required
Updated chat title
object
required
Complete updated chat data object
integer
required
Unix timestamp (epoch seconds) when chat was created
integer
required
Unix timestamp (epoch seconds) when chat was last updated
string
ID for sharing the chat
boolean
required
Whether the chat is archived
boolean
required
Whether the chat is pinned
object
Metadata object
string
ID of the folder containing this chat