Add goal notifications and collector health
This commit is contained in:
@@ -113,6 +113,8 @@ Collectors never use the site login. Each one sends its own bearer key.
|
||||
| GET, POST | `/api/v1/reports` | admin | list or store nightly/weekly report output (`period_start`, `period_end`, `model`, `prompt_hash`, `body`) |
|
||||
| GET | `/api/v1/notifications/status` | admin | ntfy configuration and whether nudges are configured |
|
||||
| PUT | `/api/v1/notifications/config` | admin | set ntfy server/topic, enabled flag, and optional retention days |
|
||||
| POST | `/api/v1/notifications/goals/check` | admin | evaluate today's goals and send ntfy alerts for unmet goals behind pace |
|
||||
| GET | `/api/v1/health/collectors` | admin | collector last-seen age/status and activity/sample ingestion counts |
|
||||
| POST | `/api/v1/privacy/purge?before=RFC3339` | admin | permanently delete old activities, samples, and reports |
|
||||
| GET | `/`, `/setup` | admin | the dashboard app |
|
||||
| GET | `/tracker.user.js`, `/assets/*`, `/healthz`, `/readyz` | none | the userscript and the app's scripts hold no secrets |
|
||||
|
||||
Reference in New Issue
Block a user