API Reference
All API endpoints are served under the /api prefix via Django Ninja.
Endpoints
Method |
Path |
Description |
|---|---|---|
GET |
|
Health check |
POST |
|
Ask a question (JSON response) |
POST |
|
Ask a question (SSE streaming) |
POST |
|
Create a conversation session |
POST |
|
Submit thumbs up/down on an answer |
GET |
|
List verses (filter by chapter) |
GET |
|
List thematic categories |
GET |
|
Related verses by embedding similarity |
GET |
|
Get a single answer (for shareable pages) |
POST |
|
Text-to-Speech – returns MP3 audio |
POST |
|
Submit site feedback (name, optional email, message) |
GET |
|
Offline Q&A packs |