The last BI tool you'll ever need just got even more powerful. Today, we're excited to announce the launch of the CamelAI API, bringing our deep research agent capabilities directly into your applications, workflows, and systems.
For too long, getting insights from your data has required wrestling with complex BI tools, writing SQL by hand, or waiting days for data team responses. The CamelAI API changes that by putting our AI-powered analytics engine at your fingertips through simple REST endpoints.
Bottom line: Transform natural language questions into comprehensive reports with interactive visualizations—all through a single API call.
The CamelAI API supports both stateful and stateless implementations, giving you the flexibility to integrate our platform exactly how your architecture demands.
Perfect for applications with consistent data sources and established analytics patterns:
curl --request POST \
--url https://api.camelai.com/api/v1/ask_camel \
--header 'Content-Type: application/json' \
--data '{
"message": "What was our revenue growth compared to last quarter?",
"source_id": 123
}'
Ideal for dynamic environments, multi-tenant applications, or one-off analyses:
curl --request POST \
--url https://api.camelai.com/api/v1/ask_camel \
--header 'Content-Type: application/json' \
--data '{
"message": "Analyze customer churn by region",
"source": {
"type": "postgresql",
"hostname": "your-db-host",
"database_name": "analytics",
"username": "readonly_user",
"password": "secure_password"
},
"knowledge_base_entries": [
"Churn is defined as customers who haven't made a purchase in 90+ days"
],
"reference_queries": [
{
"title": "Active Customers",
"query": "SELECT customer_id FROM customers WHERE last_purchase_date > CURRENT_DATE - INTERVAL '90 days'"
}
]
}'
Unlike traditional text-to-SQL tools that dump raw data tables, our API delivers what you actually need:
Iterative Query Refinement Our agent writes SQL queries behind the scenes, explores your data, and refines its approach based on results.
Interactive Visualizations Automatically generates SQL, Data results, and Python with written analysis explaining what the data actually means for your business.
Company Context Learning Reference queries and knowledge base entries ensure consistent definitions and metrics across your organization.
The CamelAI API supports the same enterprise features that power our web application:
Embedded Analytics Integrate natural language analytics directly into your SaaS product, giving customers instant insights without building complex BI infrastructure.
Automated Reporting Schedule regular business reports that adapt to changing data patterns and automatically surface anomalies.
Slack/Teams Integrations Build bots that answer data questions in real-time, eliminating the bottleneck between business questions and data insights.
Customer-Facing Dashboards Power dynamic dashboards that respond to natural language filters and automatically generate relevant visualizations.
Ready to transform how your applications handle data? Here's what you need:
We built CamelAI because we were tired of waiting for data insights. What started as an AI chat interface has evolved into the most powerful way to democratize analytics across entire organizations.
The API represents the next chapter: bringing AI-powered data analysis to every application, workflow, and team that needs it.
Stop writing SQL queries by hand. Start getting answers immediately.
Ready to integrate? Check out our API documentation or reach out at [email protected].
Questions about implementation or enterprise features? Our team reads every email and responds quickly.