Create message
Chat
Create Message
Create a new message in a chat thread to query your data using natural language
POST
Create message
Overview
Create a new message in a chat thread to query your data using natural language. This endpoint processes your question, generates appropriate queries, executes them against your connected resource, and returns intelligent responses.Authorizations
API key for authentication
Body
application/json
The unique identifier of the resource (data source) to query
Example:
"res_123456789"
Your natural language question or query
Example:
"What are my top 10 customers by revenue this month?"
Optional. The thread ID to continue an existing conversation. If not provided, a new thread will be created.
Example:
"thread_abc123"
Optional. Set to true to enable streaming responses via Server-Sent Events (SSE). Defaults to false.
Optional. Specify an action type for the query (e.g., 'analyze', 'visualize', 'summarize').

