hosting
GET /v1/sites/{siteId}/apm/traces
List the individual profiled requests kept for a site.
Pagpapatotoo
Magpadala ng API key bilang isang bearer token. Kailangang taglayin ng key ang pahintulot na sites.view; ang key na wala nito ay tatanggihan gamit ang 403, hindi 404.
Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.
Subukan ito
Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/apm/traces \
-H "Authorization: Bearer zdk_live_…"Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API
Mga Detalye
The sampled requests stored whole, slowest first. A trace is one real request with its function-level breakdown attached; the aggregates above carry the honest averages so the sampling cannot mislead about typical performance. ⛔ Kept for a bounded period (7 days) because a trace with its breakdown is the only row in this vertical that accumulates. The ranked tables keep far longer for a fortieth of the storage. Requires `sites.view` and the `request_profiling` entitlement.
Mga Parameter
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
siteId (path) | Uuid | Oo | Site ID (UUIDv7). |
transaction (query) | string | Hindi | Only traces whose grouped transaction label matches exactly. |
limit (query) | integer | Hindi | How many traces to return (1–100, default 20). |
Tugon
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
data | SiteApmTrace[] | Oo | — |
Mga error na maibabalik ng endpoint na ito
401 · 403 · 404 · 422 · 429