Status
Subscribe to status
Status is available as JSON. Poll it from a monitor, an uptime checker or a cron job.
Poll the status endpoint
GET /api/status runs the same probes the page runs and returns the results as JSON. It returns 200 when every component is operational and 503 otherwise, so a plain HTTP monitor can alert on the status code alone.
curl
curl -sS https://status.orvyx.io/api/status | jq '.status, .components[] | {name, status, latencyMs}'Response shape
status is one of operational, degraded, down or unknown. unknown appears only when no components are configured, which is a configuration condition rather than an outage.
Example
{
"status": "operational",
"label": "Operational",
"configured": true,
"checkedAt": "2026-10-19T12:00:00.000Z",
"components": [
{
"name": "Application",
"url": "https://app.orvyx.io/api/health",
"status": "operational",
"label": "Operational",
"httpStatus": 200,
"latencyMs": 84,
"detail": null,
"checkedAt": "2026-10-19T12:00:00.000Z"
}
],
"history": []
}Automated checks
Because the endpoint returns a meaningful status code, a minimal monitor is one scheduled request:
GitHub Actions — check every 5 minutes
name: status-check
on:
schedule:
- cron: "*/5 * * * *"
jobs:
check:
runs-on: ubuntu-latest
steps:
- run: |
code=$(curl -s -o /dev/null -w '%{http_code}' https://status.orvyx.io/api/status)
test "$code" = "200" || { echo "status endpoint returned $code"; exit 1; }No targets configured on this deployment
The
/api/status endpoint returns 200 with theconfigured field set to false and an empty component list until ORVYX_STATUS_TARGETS is set. Monitors that check the status code alone will read that as healthy, so verify configured is true when you wire one up.