Create a new chat conversation.
Chat history allows you to store and organize your conversations for later retrieval. This is useful for building chat UIs and maintaining conversation context.
Bearer token (JWT) from OAuth2 login
Body
Chat title (max 200 characters)
Response
Unique identifier for the chat
ISO 8601 timestamp when the chat was created
ISO 8601 timestamp when the chat was last updated
Number of messages in the chat (initially 0)
Chat Organization: Use descriptive titles to easily identify and organize your conversations. The title can be updated later using the update endpoint.
After creating a chat, use the returned id to add messages to the conversation with the /api/v1/chat-history/chats/{chat_id}/messages endpoint.