API Versioning
MangroveAI follows URL-based API versioning with a single active version.Current Version
Version: v1 Base URL:http://localhost:5001/api/v1
Status: Current (released Q4 2025)
URL Pattern
GET /api/v1/signals— List signalsPOST /api/v1/strategies— Create strategyPOST /api/v1/backtesting/backtest— Run backtestPOST /api/v1/ai-copilot/chat/{session_id}— Send message
When to Increment Version
A new major version (v2, v3) is required for:- Breaking request changes — Required fields removed, field types changed
- Breaking response changes — Fields removed/renamed, structure changes
- Breaking path changes — Endpoints removed or restructured
Unversioned Endpoints
Operational endpoints remain unversioned:GET /health— Docker healthchecks