Chat & Conversations
Get Thread Messages
Retrieve all messages from a conversation thread
GET
Overview
Get all messages from a specific conversation thread. Messages are fetched from the database and automatically enriched with full content LLM for assistant responses.Path Parameters
Thread identifier (UUID)
Response
Array of messages in chronological order (oldest first)
Total number of messages in the thread
Features
- Automatic Content Enrichment: Assistant messages are automatically fetched LLM with full content
- Chronological Order: Messages returned in order from oldest to newest
- Database-backed: Fast retrieval from database with LLM enrichment
- Complete History: All user and assistant messages in the conversation
Use Cases
- Display Conversation: Show full chat history to users
- Context Retrieval: Get conversation context for analysis
- Message Export: Export conversation for records
- UI Rendering: Populate chat interface with history
Notes
- Messages are ordered by
created_atin ascending order (oldest first) - Assistant messages with
response_idare enriched with full content LLM - Thread must exist in the database to retrieve messages
- Only returns
userandassistantrole messages (no system messages)

