Message
Generate a streaming response based on the user message and knowledge base provided.
en[]The type of search to perform.
Attributes: NORMAL: Get answer from chatbot knowledge. SEARCH: Get answer from various connectors. SQL_SEARCH: Get answer from SQL-based database. WEB: Get more relevant information from the web. (DEPRECATED) Web Search uses real-time data. Agent selection isn't available in this mode. DEEP_RESEARCH: Get answer from Deep Research Agent. ESSENTIALS_DEEP_RESEARCH: Get answer from Deep Research with Essentials mode. Provides key points and core insights without noise, optimized for speed and clarity. Ideal for quick decision-making support and fast orientation. COMPREHENSIVE_DEEP_RESEARCH: Get answer from Deep Research with Comprehensive mode. Delivers the full picture with depth and thoroughness, covering all relevant angles, details, and supporting data. Suitable for professional research tasks where precision matters more than speed.
[][]falsefalsefalsefalsefalsefalse[]Streaming response with full accumulated messages
Bad Request - Invalid input parameters
Validation Error
Internal Server Error
Delete one or more messages by their IDs and remove associated attachments.
Successful Response
Validation Error
No content
Generate a streaming response with delta (incremental changes) based on the user message and knowledge base provided.
en[]The type of search to perform.
Attributes: NORMAL: Get answer from chatbot knowledge. SEARCH: Get answer from various connectors. SQL_SEARCH: Get answer from SQL-based database. WEB: Get more relevant information from the web. (DEPRECATED) Web Search uses real-time data. Agent selection isn't available in this mode. DEEP_RESEARCH: Get answer from Deep Research Agent. ESSENTIALS_DEEP_RESEARCH: Get answer from Deep Research with Essentials mode. Provides key points and core insights without noise, optimized for speed and clarity. Ideal for quick decision-making support and fast orientation. COMPREHENSIVE_DEEP_RESEARCH: Get answer from Deep Research with Comprehensive mode. Delivers the full picture with depth and thoroughness, covering all relevant angles, details, and supporting data. Suitable for professional research tasks where precision matters more than speed.
[][]falsefalsefalsefalsefalsefalse[]Streaming response with delta (incremental) messages
Validation Error
Save messages to the chat history storage for a specific conversation.
[]Successful Response
Validation Error
Add user feedback to a specific message for quality tracking and improvement.
falsefalseSuccessful Response
Validation Error
No content
Stop the message generation process for a specific stream ID.
Successful Response
Validation Error
Get a deanonymized message by message ID, conversation ID, and user ID from chat history.
Successful Response
Validation Error
Get message statistics within a specified date range and export in requested format (CSV or XLSX).
Start date in ISO format (YYYY-MM-DD). Defaults to 30 days ago.
2025-11-08T11:50:47.241353End date in ISO format (YYYY-MM-DD). Defaults to today.
2025-12-08T11:50:47.241748Export format ['xlsx', 'csv']
csvSuccessful Response
Validation Error
No content
Create an async message processing task
[]The type of search to perform.
Attributes: NORMAL: Get answer from chatbot knowledge. SEARCH: Get answer from various connectors. SQL_SEARCH: Get answer from SQL-based database. WEB: Get more relevant information from the web. (DEPRECATED) Web Search uses real-time data. Agent selection isn't available in this mode. DEEP_RESEARCH: Get answer from Deep Research Agent. ESSENTIALS_DEEP_RESEARCH: Get answer from Deep Research with Essentials mode. Provides key points and core insights without noise, optimized for speed and clarity. Ideal for quick decision-making support and fast orientation. COMPREHENSIVE_DEEP_RESEARCH: Get answer from Deep Research with Comprehensive mode. Delivers the full picture with depth and thoroughness, covering all relevant angles, details, and supporting data. Suitable for professional research tasks where precision matters more than speed.
[][]falsefalsefalsefalsefalsefalse[]Task created successfully
Bad Request - Invalid input parameters
Forbidden - Insufficient permissions
Not Found - Conversation or chatbot not found. Occurs when the provided conversation_id does not exist or the chatbot is not accessible by the user.
Conflict - An active task already exists for this conversation
Validation Error
Too Many Requests - Rate limit exceeded
Internal Server Error
List async message tasks with filtering and pagination
Filter by task status(es)
Filter by chatbot ID
Filter by conversation ID
Pagination cursor (ISO 8601 datetime string)
Number of tasks per page (max 100)
Tasks retrieved successfully
Bad Request - Invalid cursor format
Forbidden - Insufficient permissions
Validation Error
Internal Server Error
Cancel an ongoing async message task
Task ID to cancel
Task cancelled successfully
Bad Request - Task cannot be cancelled (already completed or failed)
Forbidden - Insufficient permissions
Task not found or unauthorized access
Validation Error
Internal Server Error
Stream async message task events via Server-Sent Events (SSE)
Task ID to stream events for
User ID to use when current_user.id is None
Streaming response with task events
Forbidden - Insufficient permissions
Task not found or unauthorized access
Validation Error
Internal Server Error
Last updated