chat
Get conversation
Retrieves a conversation with all messages. Public conversations are accessible to anyone. Private conversations require ownership.
get/api/chat/conversations/{id}
Request
- Base URL: https://localhost:8080
- URL: https://localhost:8080/api/chat/conversations/{id}
- Auth: none declared
Path parameters
idstring required
Conversation ID
Response
Conversation retrieved successfully
Example response
{
"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"
},
"messages": [
{
"id": "uuid",
"role": "user",
"content": "What is the statute of limitations?",
"citation": "See Cal. Civ. Proc. Code § 335.1",
"toolCalls": [
{
"toolCallId": "call_abc123",
"toolName": "suggest_changes"
}
],
"toolResults": [
{
"toolCallId": "call_abc123"
}
],
"timestamp": "2024-01-01T00:00:00.000Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.