Overview
DataWise provides a REST API for programmatic access to all platform features. The API uses JSON for request and response bodies, and all endpoints require authentication via a Bearer token passed in the Authorization header. The base URL for all API requests is https://api.aibizops.com/v1.
Authentication
All API endpoints require authentication. Generate an API key from your Account Settings page. Include the key in the Authorization header of every request: Authorization: Bearer your-api-key-here. API keys have the same permissions as your user account. Keep your keys secure and never expose them in client-side code or public repositories. Rotate keys regularly from the settings panel.
Dashboards API
GET /v1/dashboards— List all dashboards for the authenticated user. Supports pagination withpageandper_pagequery parameters.POST /v1/dashboards— Create a new dashboard. Required fields:name(string) anddata_source_id(string).PUT /v1/dashboards/:id— Update an existing dashboard.DELETE /v1/dashboards/:id— Delete a dashboard permanently.
Data API
POST /v1/data/upload— Upload a new data source. Send a multipart/form-data request with the file in the "file" field.GET /v1/data/sources— List all uploaded data sources.GET /v1/data/sources/:id— Get details for a specific data source including column metadata and row count.
AI API
POST /v1/ai/generate— Generate dashboard recommendations from a data source.POST /v1/ai/query— Execute a natural language query against a data source.POST /v1/ai/clean— Run AI-powered data cleaning on a data source.
Alerts API
GET /v1/alerts— List all configured alerts.POST /v1/alerts— Create a new alert. Required fields:name,dashboard_id,widget_id,type(threshold, anomaly, or percentage_change),conditions, andnotification_channels.PUT /v1/alerts/:id— Update alert configuration.DELETE /v1/alerts/:id— Delete an alert permanently.