API referenceReference
`GET /v1/status/health`: one verdict for uptime monitors.
ok and degraded answer 200, because the API is serving either way and a
JSON monitor asserts on status/healthy. Only down (database
unreachable) answers 503, so a plain HTTP check also catches outages.
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/status/health"{ "checked_at": "2019-08-24T14:15:22Z", "database_reachable": true, "failed_source_jobs": [ "string" ], "healthy": true, "pipeline_last_completed_at": "2019-08-24T14:15:22Z", "pipeline_overdue": true, "pipeline_overdue_at": "2019-08-24T14:15:22Z", "reasons": [ "database_unreachable" ], "sources": [ { "expected_cadence_hours": 0, "job_kind": "string", "last_attempt_failed": true, "last_updated": "2019-08-24T14:15:22Z", "source": "string" } ], "stalled_job_count": 0, "stalled_jobs": [ "string" ], "status": "ok"}{ "checked_at": "2019-08-24T14:15:22Z", "database_reachable": true, "failed_source_jobs": [ "string" ], "healthy": true, "pipeline_last_completed_at": "2019-08-24T14:15:22Z", "pipeline_overdue": true, "pipeline_overdue_at": "2019-08-24T14:15:22Z", "reasons": [ "database_unreachable" ], "sources": [ { "expected_cadence_hours": 0, "job_kind": "string", "last_attempt_failed": true, "last_updated": "2019-08-24T14:15:22Z", "source": "string" } ], "stalled_job_count": 0, "stalled_jobs": [ "string" ], "status": "ok"}