---
title: "Status checks: what is checked, the latest result per component with its internal detail code, recent failures and incidents"
method: GET
path: "/operator/status"
tags: ["Operator"]
---

# Status checks: what is checked, the latest result per component with its internal detail code, recent failures and incidents

`GET /operator/status`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/status`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Response `200`

Status overview

- object
  - `checkerEnabled` boolean, required: whether this API process runs the checks (STATUS_CHECKS)
  - `checks` object[], required
    - `id` string, required
    - `target` string, required: what is checked, e.g. GET https://example.com/api/health → 200
  - `components` object[], required
    - `id` string, required
    - `state` 'operational' | 'degraded' | 'down' | 'unknown', required: operational: the latest check passed and no incident is open; degraded: the latest check failed but not yet 3 in a row, or an open incident is recovering; down: an incident is open and the latest check failed; unknown: no check recorded in the last 5 minutes (or ever)
    - `firstCheckAt` string, nullable, required: ISO-8601 timestamp
    - `lastCheckAt` string, nullable, required: ISO-8601 timestamp
    - `lastOk` boolean, nullable, required
    - `lastLatencyMs` integer, nullable, required
    - `lastDetail` string, nullable, required: internal result code of the latest check, e.g. ok, http_503, timeout, dns_mismatch
    - `consecutiveFailures` integer, required
    - `consecutiveSuccesses` integer, required
    - `failingSince` string, nullable, required: ISO-8601 timestamp
    - `recoveringSince` string, nullable, required: ISO-8601 timestamp
    - `openIncidentId` string, uuid, nullable, required
  - `recentFailures` object[], required: the last 50 failed checks of the last 7 days, newest first
    - `component` string, required
    - `checkedAt` string, required: ISO-8601 timestamp
    - `latencyMs` integer, nullable, required
    - `detail` string, nullable, required
  - `incidents` object[], required: the last 100 incidents, newest first
    - `id` string, uuid, required
    - `component` string, required
    - `startedAt` string, required: ISO-8601 timestamp
    - `endedAt` string, nullable, required: ISO-8601 timestamp
    - `failedChecks` integer, required
    - `note` string, nullable, required
    - `noteUpdatedAt` string, nullable, required: ISO-8601 timestamp
    - `noteUpdatedBy` string, nullable, required: email of the operator

## Other responses

- `403`: Not a platform operator, or a bearer-authenticated request (code forbidden)
- `501`: Status history is not available on this server yet (code not_configured)

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
