Real-time conversational database analytics with streaming responses. Complete OpenAPI 3.1.0 documentation for chat, datasources, domain agents, and enterprise features.
# Stream chat with data analyst
curl -X POST "https://api.qry.dev/api/v1/data-analyst-chat/stream" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"message": "Show me sales trends for Q4 2024",
"conversation_id": "uuid-conversation-id",
"datasource_id": "uuid-datasource-id",
"model": "claude-3-5-sonnet-20241022",
"stream": true
}'
# Streaming Response (Server-Sent Events)
data: {"type": "thinking", "content": "I'll analyze your Q4 sales data..."}
data: {"type": "sql", "query": "SELECT DATE_TRUNC('month', sale_date) as month, SUM(amount) FROM sales WHERE sale_date >= '2024-10-01' GROUP BY month"}
data: {"type": "data", "results": [...]}
data: {"type": "insight", "content": "Sales increased 15% in December"}
data: {"type": "done"}
Stream real-time responses from natural language queries to databases
Production-ready REST API with comprehensive OpenAPI 3.1.0 documentation
Connect to 8 major database platforms with unified API
Specialized AI agents for domain-specific analysis
Role-based access control with group management
Model Context Protocol server administration
Natively connect to 8 major enterprise databases, and unlock 50+ more through our first-class Trino integration. If Trino can query it, so can Qry.
Explore our OpenAPI 3.1.0 specification with full endpoint documentation, authentication, and examples
We use cookies to analyze website traffic and improve your experience. By clicking "Accept", you agree to our use of cookies for analytics purposes.