API Reference Overview
The MangroveAI API is a Flask-based REST API with 60+ endpoints across 16 domains. All endpoints follow consistent patterns for authentication, error handling, and pagination.The endpoint pages in this section are auto-generated from the live
OpenAPI specification.
Each endpoint page includes an interactive playground that lets you test
requests directly from the docs — fill in parameters, add your Bearer token,
and send a request without leaving the browser.
Base URL
Authentication
All endpoints (except health checks and Swagger docs) require authentication via Bearer token:Response Format
All successful responses return JSON with HTTP 200 (or 201 for creation):Error Format
All error responses follow a consistent structure:Common HTTP Status Codes
| Status | Meaning |
|---|---|
| 200 | Request successful |
| 201 | Resource created |
| 202 | Request accepted (async processing) |
| 400 | Bad request (validation error) |
| 401 | Authentication required |
| 403 | Insufficient permissions |
| 404 | Resource not found |
| 409 | Conflict (duplicate resource) |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
Pagination
List endpoints support pagination withlimit and offset (or skip) parameters: