chat
Create conversation
Creates a new conversation. Supports both authenticated users and anonymous sessions.
post/api/chat/conversations
Request
- Base URL: https://localhost:8080
- URL: https://localhost:8080/api/chat/conversations
- Auth: none declared
Request body
Example request
{
"title": "What is the statute of limitations?",
"firstMessage": "What is the statute of limitations for personal injury in California?",
"source": "docs"
}Response
Conversation created successfully
Example response
{
"conversationId": "uuid",
"conversation": {
"id": "uuid",
"title": "What is the statute of limitations?",
"source": "word_plugin",
"isOwner": true,
"lastMessageAt": "2024-01-01T00:00:00.000Z",
"messageCount": 5,
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.