Welcome!
Here's your API access information and account details.
🚀 Upgrade to Pro & Unlock More Power
Get unlimited API calls, AI-powered insights, priority support, and advanced analytics features.
Account Details
Name
Loading...
Loading...
Company
Loading...
Current Plan
Loading...
Your API Key
Loading...
Keep your API key secure. Don't share it publicly.
Quick Start Guide
API Endpoint
https://data-analytics-api-prod.sibusiso-ndzukuma.workers.dev
Example 1: List Your Data Sources
curl -X GET \
https://data-analytics-api-prod.sibusiso-ndzukuma.workers.dev/api/data/sources \
-H "X-API-Key: YOUR_API_KEY_HERE"
Example 2: Upload Data
curl -X POST \
https://data-analytics-api-prod.sibusiso-ndzukuma.workers.dev/api/data/upload \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"source_name": "Sales Data Q1", "source_type": "csv", "data_rows": [{"product": "Widget A", "revenue": 1500}, {"product": "Widget B", "revenue": 2300}]}'
Example 3: Run Analytics Query
curl -X POST \
https://data-analytics-api-prod.sibusiso-ndzukuma.workers.dev/api/analytics/query \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"source_id": 1, "analysis_type": "descriptive"}'
Example 4: Ask AI About Your Data
curl -X POST \
https://data-analytics-api-prod.sibusiso-ndzukuma.workers.dev/api/ai/query \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"query": "What are the top trends in my sales data?", "source_id": 1}'
🔁 Common Workflow
- Upload your data (Example 2)
- List sources to get your source_id (Example 1)
- Run analytics to get statistical insights (Example 3)
- Ask AI for natural language insights (Example 4)
- Generate reports to share with stakeholders
📚 Need More Examples?
Available API Endpoints
POST /api/data/upload
Upload data for processing
GET /api/data/sources
List your data sources
POST /api/analytics/query
Run analytics queries
POST /api/models/predict
Generate predictions
POST /api/ai/query
Ask AI about your data
POST /api/reports/generate
Generate reports