ZevSight
Open app

API reference

Uptime checks API reference

Reference for reading uptime check state, per-region series, raw results and daily uptime, generated from the ZevSight OpenAPI file.

Check state, uptime, latency and raw results, for the dashboard and agents.

Read check data with an API key. Checks themselves are created in the dashboard. Guide: Uptime checks.

Base URL: https://eu.zevsight.com. Machine-readable: /openapi.yaml.

Check status

GET https://eu.zevsight.com/v1/checks/status

Current state, 24 h / 7 d / 30 d uptime and 24 h latency of every check in scope.

Uptime counts the minutes in which at least consensus probe regions saw the check down, over the minutes with any result (status pages use the same rule). state is paused for a paused check.

Authentication: Authorization: Bearer <token> with dashboard session, or API key (zsr_…), or legacy agent key (zsa_…).

Parameters

NameInTypeRequiredDescription
projectquerystringyesProject public ids, comma-separated, or all: every project the caller may read in this region.
envquerystringEnvironments to include, comma-separated (the same as env: terms joined by OR).

Responses

StatusDescription
200One entry per check.
400The request, or every event in it, is invalid.
401Missing, unknown, expired or wrong-kind credential.
404No such object, or not visible to this credential (never 403 across tenants).
503The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After.

Response fields (200):

FieldTypeRequiredDescription
checksarray of objectyes
checks[].check_idstringyes
checks[].statestringyesOne of up, degraded, down, unknown, paused.
checks[].sincestring or null (date-time)
checks[].regionsobjectyesMap of string to RegionState.
checks[].uptimeobjectyesKeys 24h, 7d, 30d; null without results. Map of string to number or null.
checks[].latencyobjectyes
checks[].latency.p50_msnumber or null
checks[].latency.p95_msnumber or null
checks[].last_result_atstring or null (date-time)

Example

curl -G https://eu.zevsight.com/v1/checks/status \
  -H "Authorization: Bearer <API_KEY>" \
  --data-urlencode "project=all"

Example response (built from the schema; values are illustrative):

{
  "checks": [
    {
      "check_id": "chk_7RVQcBq5bfV7mbhm2JDGL",
      "state": "up",
      "since": null,
      "regions": {
        "eu-de": {
          "status": "up",
          "at": "2026-11-29T09:41:07.512Z",
          "latency_ms": 182,
          "error": null
        }
      },
      "uptime": {
        "24h": null
      },
      "latency": {
        "p50_ms": null,
        "p95_ms": null
      },
      "last_result_at": null
    }
  ]
}

Check series by region

GET https://eu.zevsight.com/v1/checks/{check_id}/series

Availability and latency per probe region over time.

Buckets are whole minutes (results are rolled up per minute). from defaults to 24 hours before to.

Authentication: Authorization: Bearer <token> with dashboard session, or API key (zsr_…), or legacy agent key (zsa_…).

Parameters

NameInTypeRequiredDescription
check_idpathstringyes
fromquerystring (date-time)
toquerystring (date-time)Defaults to now.
bucketsqueryintegerDefault 60. 1 to 500.

Responses

StatusDescription
200One series per probe region of the check.
400The request, or every event in it, is invalid.
401Missing, unknown, expired or wrong-kind credential.
404No such object, or not visible to this credential (never 403 across tenants).
503The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After.

Response fields (200):

FieldTypeRequiredDescription
bucket_secondsintegeryes
regionsobjectyesMap of string to array of object.

Example

curl -G https://eu.zevsight.com/v1/checks/<CHECK_ID>/series \
  -H "Authorization: Bearer <API_KEY>" \
  --data-urlencode "to=2026-11-29T10:00:00Z"

Example response (built from the schema; values are illustrative):

{
  "bucket_seconds": 12,
  "regions": {
    "eu-de": [
      {
        "t": "2026-11-29T09:41:07.512Z",
        "checks": 12,
        "up_pct": null,
        "p50_ms": null,
        "p95_ms": null
      }
    ]
  }
}

Raw check results

GET https://eu.zevsight.com/v1/checks/{check_id}/results

Raw probe results, newest first.

Authentication: Authorization: Bearer <token> with dashboard session, or API key (zsr_…), or legacy agent key (zsa_…).

Parameters

NameInTypeRequiredDescription
check_idpathstringyes
limitqueryintegerDefault 100. 1 to 500.
beforequerystring (date-time)Page with the previous response’s next_before.

Responses

StatusDescription
200A page of results.
400The request, or every event in it, is invalid.
401Missing, unknown, expired or wrong-kind credential.
404No such object, or not visible to this credential (never 403 across tenants).
503The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After.

Response fields (200):

FieldTypeRequiredDescription
resultsarray of objectyes
results[].idstring (uuid)
results[].tsstring (date-time)
results[].probe_regionstring
results[].node_idstring
results[].statusstringOne of up, down, degraded.
results[].latency_msinteger
results[].errorstring or null
results[].detailobjectMap of string to string.
next_beforestring or null (date-time)yes

Example

curl https://eu.zevsight.com/v1/checks/<CHECK_ID>/results \
  -H "Authorization: Bearer <API_KEY>"

Example response (built from the schema; values are illustrative):

{
  "results": [
    {
      "id": "01937a4e-8c2f-7d3a-9b1e-4f6a2c8d0e5b",
      "ts": "2026-11-29T09:41:07.512Z",
      "probe_region": "eu-de",
      "node_id": "string",
      "status": "up",
      "latency_ms": 182,
      "error": null,
      "detail": {
        "key": "attrs.route"
      }
    }
  ],
  "next_before": null
}

Daily uptime

GET https://eu.zevsight.com/v1/checks/{check_id}/days

Daily uptime (UTC days, oldest first), as status pages show it.

Authentication: Authorization: Bearer <token> with dashboard session, or API key (zsr_…), or legacy agent key (zsa_…).

Parameters

NameInTypeRequiredDescription
check_idpathstringyes
daysqueryintegerDefault 90. 1 to 400.

Responses

StatusDescription
200Exactly days entries; uptime_pct is null on days without results.
400The request, or every event in it, is invalid.
401Missing, unknown, expired or wrong-kind credential.
404No such object, or not visible to this credential (never 403 across tenants).
503The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After.

Response fields (200):

FieldTypeRequiredDescription
daysarray of UptimeDayyes
days[].datestring (date)yes
days[].uptime_pctnumber or nullyes
days[].statusstringOne of operational, degraded, partial_outage, major_outage, maintenance, unknown.
days[].down_minutesintegeryes

Example

curl https://eu.zevsight.com/v1/checks/<CHECK_ID>/days \
  -H "Authorization: Bearer <API_KEY>"

Example response (built from the schema; values are illustrative):

{
  "days": [
    {
      "date": "2026-11-29",
      "uptime_pct": null,
      "status": "operational",
      "down_minutes": 12
    }
  ]
}

Built 29 November 2026 · View as Markdown