API Documentation

RESTful API for accessing platform data programmatically.

Base URL: https://data-driven-models.cloud/api
All responses are JSON. Authentication is required for data access endpoints. Public endpoints return platform metadata only.

Public Endpoints

GET /api/projects Public

List all public research projects with metadata (name, status, partner count, grant info).

GET /api/stats Public

Platform statistics: project count, ML model count, partner count, countries.

Data Endpoints

GET /data/<project_slug>/ Auth Required

Browse project datasets organised by category. Returns file listings with metadata.

GET /data/<project_slug>/download/<path> Auth Required

Download a specific data file. Requires project access permission.

Model Endpoints

GET /models/ Auth Required

List deployed ML models with version history, metrics (R2, MAE), and status.

AI Assistant

GET /chatbot/status Admin Only

Check if the AI assistant is configured and online.

POST /chatbot/message Admin Only

Send a message to the AI assistant. Accepts JSON body with message and history fields. Returns AI response with optional chart specifications.

Authentication

API access uses session-based authentication. Sign in via /auth/login to obtain a session cookie. For programmatic access, contact the administrator to discuss API key authentication options.