Documentation
Health & stats
Operational read endpoints for monitoring and dashboard tiles.
GET /api/health
Worker health + readiness booleans. See Readiness.
GET /api/overview
D1 (or memory) aggregates: session/message counts for dashboard header tiles.
GET /api/stats
Live analytics including awaiting-reply and SLA-oriented fields.
GET /api/sla
First-response SLA report. Query: ?thresholdSec= (default 300).
GET /api/fans
Fan CRM read model. Query: ?accountId= · ?ofUserId=. Includes lifetime spend when attributed.
GET / or GET /api
Service metadata + full routes catalog for discovery.