hosting
GET /v1/sites/{siteId}/performance/slow-requests
List the slowest traced requests for a site.
Authentifizierung
Senden Sie einen API-Schlüssel als Bearer-Token. Der Schlüssel muss über die Berechtigung sites.view verfügen; ein Schlüssel ohne diese wird mit 403 statt 404 abgelehnt.
Dieser Endpunkt erfordert keine Organisations-ID. Ihr Schlüssel identifiziert bereits die zugehörige Organisation, und die Antwort ist entsprechend eingeschränkt.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests \
-H "Authorization: Bearer zdk_live_…"Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
Details
Real requests this site served, slowest first, measured on the machine by CloudLinux X-Ray. Each row carries how long the request took, how much of that time the account spent **stopped at its resource ceiling**, and why the request could not be served from the page cache. ⭐ `throttled_ms` is reported separately from `duration_ms` on purpose: it is the number that turns *"the site is slow"* into *"the plan is too small"*, and folding it into the total hides the one thing the customer can act on. ⛔ **An empty list is a `200`.** Tracing is enrolled when the box converges and fills over hours, so "nothing traced yet" is an ordinary state on a healthy machine, not a failure. Requires `sites.view`. No visitor IP addresses appear in the response — the field does not exist at any layer beneath this one.
Parameter
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
siteId (path) | Uuid | Ja | Site ID (UUIDv7). |
limit (query) | integer | Nein | How many requests to return (1–100, default 20). |
Antwort
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
data | SiteSlowRequest[] | Ja | — |
Fehler, die dieser Endpunkt zurückgeben kann
401 · 403 · 404 · 409 · 429 · 503