Add AI provider status endpoint
All checks were successful
CI / test (push) Successful in 12s
Build and Deploy / build-and-deploy (push) Successful in 21s

This commit is contained in:
Grendgi
2026-06-08 13:45:55 +03:00
parent 0da278a45e
commit 12db90dc3b
4 changed files with 177 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ service.
- `POST /api/v1/jobs/{id}/fail` stores a failed job category and message.
- `POST /api/v1/jobs/{id}/retry` resets failed/running jobs to `pending`.
- `GET /api/v1/stats` returns queue and error counters.
- `GET /api/v1/providers/status` checks configured AI providers without
returning secrets.
- `GET /healthz` returns process health.
- `GET /readyz` checks PostgreSQL readiness.