hosting
GET /v1/sites/{siteId}/performance/slow-requests
List the slowest traced requests for a site.
認証
ベアラー トークンとして API キーを送信します。キーには sites.view 権限が付与されている必要があります。権限のないキーは 404 ではなく 403 で拒否されます。
このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。
試してみる
アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/performance/slow-requests \
-H "Authorization: Bearer zdk_live_…"ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く
詳細
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.
パラメータ
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
siteId (path) | Uuid | はい | Site ID (UUIDv7). |
limit (query) | integer | いいえ | How many requests to return (1–100, default 20). |
返信
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
data | SiteSlowRequest[] | はい | — |
このエンドポイントが返すエラー
401 · 403 · 404 · 409 · 429 · 503