Create a new message in a chat thread to query your data using natural language
API key for authentication
The unique identifier of the resource (data source) to query
"res_123456789"
Your natural language question or query
"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.
"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').