Execute a natural language query
POST/query/
Send a natural language question to query your connected data sources.
- Omit
thread_idor set it tonullto start a new conversation - Include
thread_idfrom previous responses to continue an existing conversation - Users must be invited to your Qluent project before they can query data
Request
Responses
- 200
- 202
- 400
- 401
- 403
- 404
- 422
- 429
- 500
- 502
- 503
- 504
Query executed successfully
Response Headers
Unique identifier for this specific API request
Unique trace identifier for tracking requests across infrastructure
Query accepted for async processing
Response Headers
Unique identifier for this specific API request
Bad request - Invalid request format
Unauthorized - Invalid API key
Forbidden - User not authorized
Not found - Project or thread doesn't exist
Unprocessable entity - Clarification needed or cannot answer
Too many requests - Rate limit exceeded
Response Headers
Maximum number of requests allowed per window
Number of requests remaining in the current window
Unix timestamp when the rate limit resets
Number of seconds to wait before retrying
Internal server error - Execution error
Bad gateway - Data source error
Service unavailable
Response Headers
Number of seconds to wait before retrying
Gateway timeout - Query timeout