hosting

GET /v1/sites/{siteId}/performance/slow-requests/{taskId}/{requestId}

Show where one request's milliseconds went.

All hosting endpoints

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/sites/{siteId}/performance/slow-requests/{taskId}/{requestId} \
  -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 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.

Parameters

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).
taskId (path)stringYesThe 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 an…
requestId (path)integerYesThe request's number within that tracing task.

Response

NameTypeRequiredWhat it is
requestSiteSlowRequestYesOne 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 dr…
costsSiteRequestCost[]YesThe costs, heaviest first.

Errors this endpoint can return

401 · 403 · 404 · 409 · 429 · 503