Rename Conversation
Available for: Chatflow
Sets a conversation’s name, or generates one from the conversation’s first question.
Standard API equivalent: Rename Conversation. Differences:
useris required.- Error codes differ.
Authorizations
Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).
Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).
Path Parameters
ID of the conversation to rename. Get conversation IDs from List Conversations.
Body
End-user identifier, defined by your app and unique within it. Must match the user the conversation was created with. See End User Identity.
1 - 255New conversation name. Required unless auto_generate is true. Names are stored as at most 255 bytes. A longer name in a multi-byte script is cut at a character boundary and stored shorter, with no error.
255Automatically generate the conversation name from the conversation's first question. When true, the name field is ignored. A generated name is truncated the same way.
Response
The updated conversation, with the name as stored.
Conversation ID.
Conversation name.
Input variables submitted when the conversation was created.
Always normal.
The app's opening statement captured when the conversation was created; an empty string when none is configured.
Creation time as a Unix timestamp in seconds.
Last-update time as a Unix timestamp in seconds.