GET
/api/healthHealth + route discovery
Service health + discovery of every available endpoint.
Returns service status and the canonical list of public endpoints. An ingestor can call this once at startup to discover what's available without needing to know paths upfront.
Response schema
| Path | Type | Description |
|---|---|---|
status | string | Always 'ok' when the service is reachable. |
endpoints | string[] | Sorted list of every public API path. Excludes Next.js internals. |
Behaviour notes
- ·Routes are derived from the manifest (src/lib/manifest.ts), not from filesystem scan, so the frontend and /health stay aligned.
Examples
Discovery
curl 'http://localhost:3000/api/health'