hosting
GET /v1/sites/{siteId}/origin-load
Is this site's server slow to answer, and what kind of request is slow.
Authentication
Send an API key as a bearer token. The endpoint checks sites.view; 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/sites/{siteId}/origin-load \
-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
s1014 ORIGINGUARD (docs/1110). Every 5 minutes the engine counts each hosted site's requests that took 2 seconds or more at its server over the last 10 minutes, by kind (own_jobs — the site's own scheduled tasks and our checks; visitor_ajax; admin; translated_paths; pages), plus PHP entry-process denials (the 508 a full PHP pool answers). state is slow only when the site was over the line on EVERY check for 30 minutes (watching before that; quiet otherwise), so one busy minute never shows. page_cache_ratio is the share of guest page views answered from the page cache; edge_hit_ratio the site's own Cloudflare zone's cache hit rate over a day (null = not measured). checked_at null means no check has been published; blind means the last check could not read the logs — neither is "fine". Reads stored state only, never a vendor. RLS-scoped (sites.view); out-of-scope or unknown is a 404.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
siteId (path) | Uuid | Yes | Site ID (UUIDv7). |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
state | string<quiet, watching, slow> | Yes | — |
measured | boolean | Yes | false = the guard has never found this site over the line. |
slow | integer | Yes | Requests of 2 s or more in the last 10 minutes. |
requests | integer | Yes | — |
slow_share | number | No | — |
slow_by_kind | object | Yes | Keys: own_jobs, visitor_ajax, admin, translated_paths, pages. |
top_kind | string<, own_jobs, visitor_ajax, admin, translated_paths, pages, saturated> | Yes | — |
ep_faults | integer | Yes | PHP entry-process denials (508) |
page_cache_ratio | number | No | — |
edge_hit_ratio | number | No | — |
first_bad_at | string | No | — |
alerted_at | string | No | — |
cleared_at | string | No | — |
peak_slow | integer | Yes | — |
last_pass_at | string | No | — |
site_id | Uuid | Yes | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
checked_at | string | Yes | — |
blind | boolean | Yes | — |
Errors this endpoint can return
401 · 403 · 404