hosting

GET /v1/sites/{siteId}/apm

Ranked transactions, ranked hotspots and the hourly timeline for a site.

सर्व hosting एंडपॉइंट्स

सर्व डेव्हलपर कागदपत्रे

प्रमाणीकरण

बेरर टोकन म्हणून API की पाठवा. की मध्ये sites.view परवानगी असणे आवश्यक आहे; ती नसलेली की 404 ऐवजी 403 सह नाकारली जाते.

या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.

प्रयत्न करा

कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि key प्लेसहोल्डरला तुमच्या डॅशबोर्डवरील किने बदला.

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

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील API कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह API विरुद्ध विनंती कार्यान्वित करतो जेणेकरून तुम्हाला वास्तविक प्रतिसाद पाहता येईल. एपी कन्सोलमध्ये हा एंडपॉइंट उघडा

तपशील

Stored, aggregated PHP profiling: which pages cost the most server time, which plugin, PHP function or SQL query is eating it, and how the site's PHP execution time has moved hour by hour. ⭐ Read from rows, not from the machine. The sibling …/performance/slow-requests surface opens an SSH session to the worker box on every call; this one is a database query, which is why it can be rendered on a customer-facing tab without a §2.16 problem. ⛔ An empty payload is a 200 WITH A REASON. enrolment_state says which of four things happened — unknown (not collected yet), enrolled (collected, and the site was genuinely quiet), refused (the server would not start tracing), unsupported (hosting that cannot trace). A surface that cannot tell a quiet site from a feature that is switched off was the live state of the fleet on 2026-09-03: one of two boxes had zero sites enrolled and every screen said "nothing traced yet". Requires sites.view and the request_profiling entitlement, which is included on every product line. 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).
hours (query)integerनाहीHow far back to aggregate (1–2160, default 24). Clamped rather than refused: a junk value answers the question that was asked with the default period.
limit (query)integerनाहीHow many ranked rows per table (1–50, default 10).

प्रतिसाद

नावप्रकारआवश्यकहे काय आहे
tracingbooleanहोयWhether the server is currently profiling this site.
enrolment_statestring<unknown, enrolled, refused, unsupported>होयWhy there may be no data. unknown — not collected yet. enrolled — collected, and the site was genuinely quiet. refused — the server would not start profiling. unsupported
enrolment_detailstringहोयThe server's own sentence when it refused; empty otherwise.
last_collected_atstringहोयWhen we last harvested this site, or null if never.
window_hoursintegerहोयThe period these aggregates cover.
p95_duration_msintegerहोयThe 95th percentile of PHP time across EVERY request traced for this site in the window, in milliseconds. ⚠️ This is the customer's OWN traffic. It is a different quantity from…
p95_sample_countintegerहोयHow many requests p95_duration_ms was computed over. Shipped WITH it, always: a p95 over 30 requests and one over 30,000 are indistinguishable on screen otherwise (§2.44).
transactionsSiteApmTransaction[]होयPages ranked by total PHP time, heaviest first.
hotspotsSiteApmHotspot[]होयPlugins, functions and queries ranked by total PHP time.
timelineSiteApmTimelinePoint[]होयPHP execution time by hour, oldest first.

ही एंडपॉइंट परत करू शकेल अशा त्रुटी

401 · 403 · 404 · 422 · 429