hosting
GET /v1/sites/{siteId}/performance/slow-requests/{taskId}/{requestId}
Show where one request's milliseconds went.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests/{taskId}/{requestId} \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
The cost breakdown for a single traced request: which WordPress plugin, PHP extension, PHP function or SQL query consumed the time, heaviest first, with the call site relative to the site's own document root. ⭐ Rows are merged by name — the vendor emits one row per call site, so a plugin called from four places arrives four times and would otherwise render as four small percentages instead of one real one. ⭐ SQL literals arrive already redacted by the vendor (WHERE autoload IN ('xxx')) and are neither restored nor re-redacted here. Requires sites.view. A task that does not belong to this site answers 503 with a sentence, never another tenant's data.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
siteId (path) | Uuid | Ano | Site ID (UUIDv7). |
taskId (path) | string | Ano | The tracing task the request belongs to, from task_id on the list row. ⛔ Part of the path rather than inferred, because requestId restarts at 1 for every tracing task and… |
requestId (path) | integer | Ano | The request's number within that tracing task. |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
request | SiteSlowRequest | Ano | One real request this site served, as measured on the machine by CloudLinux X-Ray. ⛔ There is deliberately no visitor IP address here. The vendor's payload carries one; it is… |
costs | SiteRequestCost[] | Ano | The costs, heaviest first. |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404 · 409 · 429 · 503