hosting

GET /v1/sites/{siteId}/origin-load

Is this site's server slow to answer, and what kind of request is slow.

All hosting endpoints

All developer docs →

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

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).

Response

NameTypeRequiredWhat it is
statestring<quiet, watching, slow>Yes—
measuredbooleanYesfalse = the guard has never found this site over the line.
slowintegerYesRequests of 2 s or more in the last 10 minutes.
requestsintegerYes—
slow_sharenumberNo—
slow_by_kindobjectYesKeys: own_jobs, visitor_ajax, admin, translated_paths, pages.
top_kindstring<, own_jobs, visitor_ajax, admin, translated_paths, pages, saturated>Yes—
ep_faultsintegerYesPHP entry-process denials (508)
page_cache_rationumberNo—
edge_hit_rationumberNo—
first_bad_atstringNo—
alerted_atstringNo—
cleared_atstringNo—
peak_slowintegerYes—
last_pass_atstringNo—
site_idUuidYesUUIDv7 identifier — sortable by creation time (docs/02 §8).
checked_atstringYes—
blindbooleanYes—

Errors this endpoint can return

401 · 403 · 404