Get conversation by ID
Retrieve a specific conversation with its full message history.
Overview:
Returns the complete conversation including all messages, citations, feedback, and metadata. Messages can be paginated for long conversations.
Message Pagination:
For conversations with many messages, use pagination parameters:
- page: Page number (default: 1)
- limit: Messages per page (default: 10)
- sortBy: Sort field (default: createdAt)
- sortOrder: 'asc' or 'desc' (default: desc)
Access Control:
Users can access conversations they own or that have been shared with them.
Path parameters
Unique conversation identifier
Query parameters
Page number for message pagination
Number of messages per page
Field to sort messages by
Sort direction
Case-insensitive search across conversation title and message content
Filter messages created on or after this date (ISO 8601)
Filter messages created on or before this date (ISO 8601)
Filter by shared status of the conversation
Filter messages by type
Response
Conversation with paginated messages, applied filter metadata, and request metadata