hosting

GET /v1/sites/{siteId}/apm/traces

List the individual profiled requests kept for a site.

Tutti gli endpoint hosting

Autenticazione

Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione sites.view; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

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

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

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.

Parametri

NomeTipoObbligatorioChe cos'è
siteId (path)UuidSite ID (UUIDv7).
transaction (query)stringNoOnly traces whose grouped transaction label matches exactly.
limit (query)integerNoHow many traces to return (1–100, default 20).

Risposta

NomeTipoObbligatorioChe cos'è
dataSiteApmTrace[]

Errori che questo endpoint può restituire

401 · 403 · 404 · 422 · 429