Health endpoint
When enabled, the Laravel package registers a GET route that returns the latest health snapshot as JSON. Cinder's Application Health check polls this endpoint.
Default URL
GET /cinder/v1/health
Override with CINDER_HEALTH_ENDPOINT_URL.
Authentication
Requests must include:
Authorization: Bearer YOUR-SECRET
Missing or incorrect secrets receive a 404 response so the endpoint stays unlisted.
Response shape
{
"generated_at": "2026-11-23T16:00:00.000000Z",
"condition": "healthy",
"probes": [
{
"id": "database",
"title": "Database",
"condition": "healthy",
"summary": "mysql",
"detail": "",
"facts": {}
}
]
}
generated_at— when the snapshot was taken (RFC 3339, UTC).condition— the worst probe condition:healthy,degraded,unhealthy,erroredornot_applicable(ignored when working out the worst).healthywhen there are no probes.probes— one entry per probe.titleis the name Cinder shows in the UI and in alerts;summaryis the short result anddetailexplains a problem.
Cinder treats unhealthy and errored as failing and degraded as a warning (or failing when Treat warnings as failures is on). Everything else is OK.
Multi-server aggregation
When CINDER_HEALTH_AGGREGATE_NODES is set on the web server, the response also includes a nodes array, and each entry in probes gains a node key naming the server it ran on:
{
"generated_at": "2026-11-23T16:00:00.000000Z",
"condition": "unhealthy",
"probes": [
{ "id": "database", "title": "Database", "condition": "healthy", "summary": "mysql", "detail": "", "facts": {}, "node": "web" },
{ "id": "worker-snapshot", "title": "Worker snapshot", "condition": "unhealthy", "summary": "No recent snapshot", "detail": "", "facts": {}, "node": "worker" }
],
"nodes": [
{ "name": "web", "label": "Web", "generated_at": "2026-11-23T16:00:00.000000Z", "stale": false, "probes": [] },
{ "name": "worker", "label": "Worker", "generated_at": "2026-11-23T15:52:10.000000Z", "stale": true, "probes": [] }
]
}
probes is always the flattened list across every node and is what Cinder uses for the monitor status. nodes is omitted for single-server apps.
See multi-server setup.
Fresh vs stored results
config/cinder.php:
'health' => [
'endpoint' => [
'inspect_on_request' => env('CINDER_HEALTH_INSPECT_ON_REQUEST', true),
],
],
true— run every probe on each pull (slower, freshest)false— return the last snapshot stored bycinder:health
Cinder project settings
In Cinder, open the project monitor settings and ensure Application Health is enabled. The health secret shown on the Install tab must match CINDER_HEALTH_CHECK_SECRET.