Skip to Content
fastmon Docs
Error tracking

Requests that fail alongside an error

Report an issue

Which fetch/XHR endpoints fail in the pageviews this error signature fires in.

Answers the detail-less rejection: the error carries no message and no frame, the failing request carries the URL, the method and the status. The two are never linked per event, so the answer is a correlation with a baseline, and the response says so.

Requires: analytics:read, held by every role.

Authorization

headerAuthorizationBearer <fm_… / fmo_…>

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.

Path Parameters

org_id*Org Id

An ID, a UUID in lowercase with hyphens.

Formatuuid

Request Body

application/json
  1. body

Request for /analytics/error-types/correlated-requests.

time_range*

Time range for the query

filters?

Optional filters

timezone?|

IANA time zone the local hours of filters.hour_of_day are read in, such as Europe/Berlin. The filter requires it. This route buckets nothing, so the zone changes nothing else

sparse_buckets?|

The sparse threshold of the page, the number POST /analytics/sparse-hours derives. With exclude the rows of the thin hours are left out. Without it the route only echoes the number in meta.sparse_buckets

fingerprint*Fingerprint
Length1 <= length <= 16
limit?Limit

Max endpoints to return

Range1 <= value <= 50
Default10
min_pageviews?Min Pageviews

An endpoint is only reported once it failed in at least this many of the pageviews that carried the signature. Below it the share, and with it the lift, is noise.

Range1 <= value <= 10000
Default20

Response Body

Successful Response

application/json
  1. response

Response for /analytics/error-types/correlated-requests.

The endpoints are ranked by lift, not by share: an endpoint that fails in 85 percent of all pageviews correlates with every signature at about 85 percent, and reading that as a cause is the mistake this endpoint exists to prevent. It reports co-occurrence, never causation.

meta*

Facts about the result

request*

The request as the server resolved it

surface*CorrelatedRequestSurface

Which fetch/XHR failures were counted, chosen from the signature's message_kind: 'network' (status 0), 'aborted' (cancelled calls and status 0), 'http' (4xx and 5xx) or 'failures' (5xx and status 0, the default). 'aborted' answers 'the response was empty' and therefore covers two causes: a visitor who left and a call that never connected. Only the first is not a failure, and pageviews_cancelled on each row says how many of its pageviews were which.

message_kind*ErrorMessageKind

The signature's recognised message shape, '' if unrecognised

summary*

The two populations the shares are measured against.

endpoints*array<>

Ranked by lift, desc

is_fetch_xhr_collected*Is Fetch Xhr Collected

False when an application in scope does not collect fetch/XHR. The query then covered only the sites that do, so the numbers are sound but partial, and an empty list is inconclusive rather than an answer: request telemetry is opt-in, and nothing reconstructs a failing request from the error alone.

POST
/organizations/{org_id}/analytics/error-types/correlated-requests
Example Request
curl -X POST 'https://api.fastmon.eu/organizations/019d8b65-a109-76c7-9f4a-bda57a7ab21d/analytics/error-types/correlated-requests' \  -H 'Content-Type: application/json' \  -d '{  "time_range": {    "from": "2026-04-14T09:50:01Z",    "to": "2026-04-14T09:50:01Z"  },  "fingerprint": "string"}'
Example Response
{  "meta": {    "execution_time_ms": 0,    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true,    "next_cursor": "string",    "sampling": {      "rate": 0,      "is_sampled": true,      "estimated_metrics": [        "string"      ]    },    "is_identity_mixed": true,    "complete_until": "2026-04-14T09:50:01Z",    "sparse_buckets": {      "min_pageviews": 0,      "excluded_hour_count": 0    }  },  "request": {    "time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "comparison_time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "granularity": "minute",    "identity": "stitch",    "window_seconds": 0,    "filters": {},    "url_param_key": "string"  },  "surface": "string",  "message_kind": "string",  "summary": {    "pageviews_with_error": 0,    "pageviews_without_error": 0  },  "endpoints": [    {      "method": "string",      "host": "string",      "path": "string",      "pageviews_with_error": 0,      "pageviews_cancelled": 0,      "pageviews_without_error": 0,      "with_error_share": 0,      "without_error_share": 0,      "lift": 0,      "is_baseline_floored": false    }  ],  "is_fetch_xhr_collected": true}