Developer API

Streaming Analytics API

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"}

Conversational Analytics API

Stream real-time responses from natural language queries to databases

  • Server-sent events streaming
  • Multi-model support (Claude, GPT)
  • File upload analysis
  • Real-time SQL generation

FastAPI Backend

Production-ready REST API with comprehensive OpenAPI 3.1.0 documentation

  • OAuth2 Bearer authentication
  • Comprehensive endpoint coverage
  • Type-safe request/response
  • Auto-generated documentation

Multi-Database Support

Connect to 8 major database platforms with unified API

  • PostgreSQL, BigQuery, Snowflake
  • Databricks, Starburst, Redshift
  • Cloudera, Salesforce
  • Unified query interface

Domain Agents API

Specialized AI agents for domain-specific analysis

  • Financial analysis
  • Healthcare insights
  • Multi-agent queries
  • Capability discovery

Enterprise RBAC

Role-based access control with group management

  • User group creation
  • Permission management
  • Resource-level access
  • Audit trails

MCP Server Management

Model Context Protocol server administration

  • Server configuration
  • Connection testing
  • Usage analytics
  • Health monitoring

Connect to Any Database

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.

PG
PostgreSQL
ST
Starburst
BQ
BigQuery
SF
Snowflake
DB
Databricks
CD
Cloudera
SC
Salesforce
RS
Redshift
...and 50+ more through Trino, including MySQL, Oracle, and more.

System Architecture

Frontend
React + Tailwind CSS
Interactive web interface
Backend
FastAPI + Python
REST API with streaming
Workers
Kubernetes + Valkey
Scalable task processing

Start Building Today

Explore our OpenAPI 3.1.0 specification with full endpoint documentation, authentication, and examples

Cookie Consent

We use cookies to analyze website traffic and improve your experience. By clicking "Accept", you agree to our use of cookies for analytics purposes.