Skip to main content
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

string
required
Thread identifier (UUID)

Response

array
Array of messages in chronological order (oldest first)
number
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_at in ascending order (oldest first)
  • Assistant messages with response_id are enriched with full content LLM
  • Thread must exist in the database to retrieve messages
  • Only returns user and assistant role messages (no system messages)