hosting

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

Show where one kept request's milliseconds went.

Tous les points de terminaison hosting

Authentification

Envoyez une clé API en tant que jeton du porteur. La clé doit posséder l'autorisation sites.view ; une clé qui ne l'a pas est refusée avec le code 403, et non 404.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

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

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

The function-level breakdown for one stored 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. ⭐ SQL literals arrive already redacted by the vendor (`WHERE autoload IN ('xxx')`) and are neither restored nor re-redacted here. That redaction is why a slow query can be shown to a customer at all. ⛔ A trace past retention answers `404` rather than `410`: the customer's next action is identical, and a distinct code would be an oracle for which trace ids ever existed. Requires `sites.view` and the `request_profiling` entitlement. A trace belonging to another site answers `404`, never another tenant's data.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
siteId (path)UuidOuiSite ID (UUIDv7).
traceId (path)stringOuiOne of our own trace ids, from `id` on the list row. ⭐ A UUID, unlike the sibling live surface's vendor task id: this is a primary key we minted, so a non-UUID really is *"no su…

Réponse

NomTypeObligatoireQu'est-ce que c'est
idstringOui
transactionstringOui
methodstringOui
pathstringOuiThe path as traced, before normalisation — so a developer can reproduce the exact request, which the grouped transaction label deliberately cannot express.
duration_msintegerOui
throttled_msintegerOui
io_throttled_msintegerOui
hit_limitsbooleanOui
has_errorbooleanOui
error_textstringOui
cache_miss_reasonsstring[]OuiWhy this request bypassed the page cache; empty when it was cacheable.
started_atstringOui
costsSiteApmTraceCost[]Oui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404 · 422 · 429