POST
/ai/chats/updateRename an AI chat
Updates the title of an existing AI chat. Supply chatId to identify the chat and title for its new name; the title can contain up to 500 characters.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Chat identifier and replacement title.
chatIdstringrequired
The chat's unique identifier, in UUID format.
titlestringrequired
The chat's new title. Maximum 500 characters.
200Returns a response confirming the chat was renamed.
dataunknownoptional
Response payload
statusintegeroptional
successbooleanoptional
404Returned when the requested chat does not exist.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
Error handling
A 404 is returned when the chat identified by chatId does not exist. chatId and title are required, chatId must be a UUID, and title must not exceed 500 characters.