docs: add /api/models endpoint to README and CLAUDE.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Adriano Dal Pastro
2026-05-25 21:08:15 +00:00
parent df068bc0f8
commit 5e763a2e37
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ Three tables in SQLite:
All require `X-Api-Key` header. All responses use envelope: `{success, data, error}`.
- `GET /api/health` — health check (DB + worker)
- `GET /api/models` — list available Claude models (aliases + default)
- `POST|GET /api/topics`, `GET|PUT|DELETE /api/topics/{id}` — topic CRUD
- `POST /api/topics/{id}/summarize` — regenerate complete topic summary
- `POST /api/requests` (202) — submit prompt (async queue), `GET|DELETE /api/requests[/{id}]`