Overview
Conversation endpoints allow you to create chat conversations, send messages, manage conversation history, and retrieve related documents.Send Message
Request Body
Unique conversation identifier
Message object containing the user’s input
ID of the bot to use for this conversation
Whether to continue generation from the last message
Enable reasoning mode for supported models
Response
The conversation identifier
The bot’s response message
The bot ID used
Unix timestamp of conversation creation
Example Request
Example Response
Get Conversation
Path Parameters
The conversation ID to retrieve
Response
Conversation identifier
Conversation title
Unix timestamp of creation
Dictionary mapping message IDs to message objects
ID of the most recent message
Bot ID used in this conversation
Whether generation should continue
List All Conversations
Response
Returns an array of conversation metadata objects:Conversation identifier
Conversation title
Unix timestamp of creation
Model used in the conversation
Bot ID (if applicable)
Search Conversations
Query Parameters
Search keyword or phrase
Response
Conversation identifier
Conversation title
Unix timestamp of last update
Bot ID (if applicable)
Search highlights showing matching text fragments
Delete Conversation
Path Parameters
The conversation ID to delete
Delete All Conversations
Bulk Delete Conversations
Request Body
Array of conversation IDs to delete (1-100 items)
Response
Number of successfully deleted conversations
Array of conversation IDs that failed to delete
Update Conversation Title
Path Parameters
The conversation ID to update
Request Body
The new title for the conversation
Propose Conversation Title
Path Parameters
The conversation ID
Response
Suggested conversation title
Submit Feedback
Path Parameters
The conversation ID
The message ID to provide feedback on
Request Body
True for positive feedback, false for negative
Reason category (required if thumbs_up is false)
Optional detailed comment
Response
The feedback value
The category
The comment
Get Related Documents
Path Parameters
The conversation ID
Response
Returns an array of related documents:Tool result content (text, JSON, image, or document)
Unique identifier for the source
Name of the source document
Link to the source (S3 URL or HTTP URL)
Page number in the source document
Sequential citation number for inline references
Short text excerpt for citation preview
Relevance score from 0.0 to 1.0
Date the source was last updated (YYYY-MM-DD)
Combined quality score from 0.0 to 1.0
Get Related Document
Path Parameters
The conversation ID
The source document ID
Get Document Preview
Path Parameters
The conversation ID
The source document ID
Response
The source ID of the document
The name of the source
Content type:
"text", "pdf", "image", or "binary"Presigned URL for viewing binary files (valid for 15 minutes)
Text content for text-based files (first 10,000 characters)
Number of pages for paginated documents
File size in bytes