POST/ai/chats/info

Get an AI chat and its messages

Retrieves an AI chat and its message history. Supply chatId as a UUID to identify the chat you want to view.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field

Identifier of the AI chat to retrieve.

chatIdstringrequired
The chat's unique identifier, in UUID format.

3 status codes
200Returns the chat with its message history.
dataobjectoptional
statusintegeroptional
successbooleanoptional
403Returned when the authenticated user is forbidden from accessing the chat.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
404Returned when the requested chat does not exist.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 403 is returned when the authenticated user is not permitted to access the chat. A 404 is returned when the chat does not exist. chatId is required and must be a UUID.