hosting

GET /v1/uptime/monitors/{monitor_id}

One monitored address, with its history.

All hosting endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/uptime/monitors/{monitor_id} \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

The monitor, its hourly uptime and response-time history, its incidents, its Core Web Vitals readings, and — when its measured health warrants one — a migration offer. ⛔ Unknown ids answer 404, never 403: a 403 would confirm the id exists and belongs to somebody else. Gated on sites.view.

Parameters

NameTypeRequiredWhat it is
monitor_id (path)stringYes—
hours (query)integerNoHow many hourly history points to return.

Response

NameTypeRequiredWhat it is
idstringYes—
urlstringYes—
namestringNo—
statestring<unknown, up, down, paused>Yes⛔ unknown is a real state and is not a synonym for up — it means "not checked yet" and is excluded from every uptime percentage.
enabledbooleanYes—
expect_textstringNo—
site_idstringNoSet only when the address happens to be one of this organisation's own sites. Navigation only — the monitor works identically without it, and must, because the product exists to…
last_result_atstringNo—
last_up_atstringNo—
last_down_atstringNo—
created_atstringYes—
summaryUptimeSummaryNo—
historyUptimeHistoryPoint[]No—
incidentsUptimeIncident[]No—
vitalsUptimeVitalsPoint[]No—
migration_offerUptimeMigrationOfferNo—

Errors this endpoint can return

401 · 404