hosting

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

List the slowest traced requests for a site.

Semua titik akhir hosting

Pengesahan

Hantar kunci API sebagai token pembawa. Kunci tersebut mesti membawa kebenaran sites.view; kunci yang tidak mempunyainya akan ditolak dengan 403, bukan 404.

Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.

Cuba

Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests \
  -H "Authorization: Bearer zdk_live_…"

Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API

Butiran

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

NamaJenisDiperlukanApakah ia
siteId (path)UuidYaSite ID (UUIDv7).
limit (query)integerTidakHow many requests to return (1–100, default 20).

Respons

NamaJenisDiperlukanApakah ia
dataSiteSlowRequest[]Ya

Ralat yang boleh dikembalikan oleh titik akhir ini

401 · 403 · 404 · 409 · 429 · 503