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
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
project | query | string | yes | Project public ids, comma-separated, or all: every project the caller may read in this region. |
env | query | string | Environments to include, comma-separated (the same as env: terms joined by OR). |
Responses
| Status | Description |
|---|---|
200 | One entry per check. |
400 | The request, or every event in it, is invalid. |
401 | Missing, unknown, expired or wrong-kind credential. |
404 | No such object, or not visible to this credential (never 403 across tenants). |
503 | The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After. |
Response fields (200):
| Field | Type | Required | Description |
|---|---|---|---|
checks | array of object | yes | |
checks[].check_id | string | yes | |
checks[].state | string | yes | One of up, degraded, down, unknown, paused. |
checks[].since | string or null (date-time) | ||
checks[].regions | object | yes | Map of string to RegionState. |
checks[].uptime | object | yes | Keys 24h, 7d, 30d; null without results. Map of string to number or null. |
checks[].latency | object | yes | |
checks[].latency.p50_ms | number or null | ||
checks[].latency.p95_ms | number or null | ||
checks[].last_result_at | string 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
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
check_id | path | string | yes | |
from | query | string (date-time) | ||
to | query | string (date-time) | Defaults to now. | |
buckets | query | integer | Default 60. 1 to 500. |
Responses
| Status | Description |
|---|---|
200 | One series per probe region of the check. |
400 | The request, or every event in it, is invalid. |
401 | Missing, unknown, expired or wrong-kind credential. |
404 | No such object, or not visible to this credential (never 403 across tenants). |
503 | The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After. |
Response fields (200):
| Field | Type | Required | Description |
|---|---|---|---|
bucket_seconds | integer | yes | |
regions | object | yes | Map 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
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
check_id | path | string | yes | |
limit | query | integer | Default 100. 1 to 500. | |
before | query | string (date-time) | Page with the previous response’s next_before. |
Responses
| Status | Description |
|---|---|
200 | A page of results. |
400 | The request, or every event in it, is invalid. |
401 | Missing, unknown, expired or wrong-kind credential. |
404 | No such object, or not visible to this credential (never 403 across tenants). |
503 | The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After. |
Response fields (200):
| Field | Type | Required | Description |
|---|---|---|---|
results | array of object | yes | |
results[].id | string (uuid) | ||
results[].ts | string (date-time) | ||
results[].probe_region | string | ||
results[].node_id | string | ||
results[].status | string | One of up, down, degraded. | |
results[].latency_ms | integer | ||
results[].error | string or null | ||
results[].detail | object | Map of string to string. | |
next_before | string 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
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
check_id | path | string | yes | |
days | query | integer | Default 90. 1 to 400. |
Responses
| Status | Description |
|---|---|
200 | Exactly days entries; uptime_pct is null on days without results. |
400 | The request, or every event in it, is invalid. |
401 | Missing, unknown, expired or wrong-kind credential. |
404 | No such object, or not visible to this credential (never 403 across tenants). |
503 | The queue is unavailable or full. Nothing was stored; retry. Headers: Retry-After. |
Response fields (200):
| Field | Type | Required | Description |
|---|---|---|---|
days | array of UptimeDay | yes | |
days[].date | string (date) | yes | |
days[].uptime_pct | number or null | yes | |
days[].status | string | One of operational, degraded, partial_outage, major_outage, maintenance, unknown. | |
days[].down_minutes | integer | yes |
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