Detail for one failed resource
Drill-down for a single failed resource, keyed by fingerprint.
The mirror of /analytics/error-types/detail for the other population, and
deliberately the same shape: summary, time series, top-N breakdowns and
recent samples in one request. It is a separate route rather than a mode of
the error one because the two differ in the only place that matters, the
denominator: a share of the JavaScript error_count is meaningless for a
signal that migration 073 took out of that count.
count and pageviews mean what they mean on the list endpoint next to
it, on purpose.
bearerAuthAuthorizationBearer <token>API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.
org_id*Org Iduuidapplication/json- body
Request for drill-down on a single failed-resource signature.
Keyed by the fingerprint that /analytics/failed-resources returns.
/analytics/error-types/detail deliberately refuses that key (its
percentage divides by the JavaScript-only error_count), so the two
populations keep separate routes rather than one route with a mode flag.
time_range*Time range for the query
filters?Optional filters
identity?|Identity backing affected_visitors / breakdown visitors: 'stitch' or 'session'. Null resolves to the application's default.
fingerprint*Fingerprint1 <= length <= 16breakdowns?array<>Dimensions to return as top-N breakdowns. url is the PAGE the resource failed on, not the resource itself - that one is in the summary.
limit?LimitMax entries per breakdown dimension
1 <= value <= 5010sample_size?Sample Size0 <= value <= 10020granularity?GranularityRequestTime-series bucket: 'minute' (windows up to 6h), 'hour', 'day', or 'auto' (derived from the time range)
"auto""auto""minute""hour""day"Successful Response
application/json- response
Response for /analytics/failed-resources/detail.
meta*Facts about the result
request*The request as the server resolved it
summary*Aggregate summary for the selected failed resource.
timeseries*array<>breakdowns*samples*array<>curl -X POST 'https://api.fastmon.eu/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/failed-resources/detail' \ -H 'Content-Type: application/json' \ -d '{ "time_range": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }, "fingerprint": "string"}'{ "meta": { "execution_time_ms": 0, "total": 0, "limit": 0, "offset": 0, "has_more": true, "next_cursor": "string", "sampling": { "sampling_rate": 0, "is_sampled": true, "estimated_metrics": [ "string" ] }, "is_identity_mixed": true }, "request": { "time_range": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }, "comparison_time_range": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }, "granularity": "minute", "identity": "stitch", "window_seconds": 0, "filters": {} }, "summary": { "host": "", "path": "", "ownership": "first_party", "count": 0, "pageviews": 0, "affected_visitors": 0, "first_seen_at": "2019-08-24T14:15:22Z", "last_seen_at": "2019-08-24T14:15:22Z", "share": 0 }, "timeseries": [ { "timestamp": "2019-08-24T14:15:22Z", "count": 0 } ], "breakdowns": { "property1": { "top": [ { "key": "string", "count": 0, "visitors": 0 } ], "distinct_total": 0 }, "property2": { "top": [ { "key": "string", "count": 0, "visitors": 0 } ], "distinct_total": 0 } }, "samples": [ { "started_at": "2019-08-24T14:15:22Z", "url": "string", "session_id": "string", "browser": "string", "device_type": "desktop", "os": "string", "country": "string", "asn": 0, "isp": "string" } ]}