Health
This doesn't belong to any resource. It's for whatever is watching your instance.
Check server health
Reports whether the API is up and whether it can reach its database. This is what you point an uptime monitor at.
In the app: Nothing in the app calls this. It's for monitoring, container health checks, and load balancer probes.
Auth: None. This is the only endpoint that skips authentication entirely, and it also sits outside monetr's normal request handling, so it doesn't open a database transaction or get traced. HEAD exists so uptime checkers that use it don't fill your logs with errors.
Example
Response attributes
Watch the status code, not only the body. When the database ping fails you get a 500, with dbHealthy set to
false. A monitor checking only for 200 will catch that, but one parsing the body should check both.