API documentation
OpenAPI JSON is served at /api/docs.
- POST /api/ai/chat — Socratic tutor
- POST /api/ai/vision — Image assistant
- POST /api/ai/tts — Text to speech
- POST /api/ai/stt — Speech to text
- POST /api/billing/webhook?provider=payfast|ozow|yoco|stripe
- GET /api/health