fastmon Docs
Analytics

NEL reports grouped by one dimension

Fehler melden

The reports of POST /analytics/nel grouped by one dimension.

One row per value with its weighted error_count, its affected_visitors and its share of the weighted reports of the whole answer, the most reports first. The filters, the weighting, meta.sampling and the limits of the visitor count are those of the aggregate route.

page_url groups by the page the failed request was sent from, as stored. Reports without one form a row with an empty key, which filters.page_url cannot select, since an empty value is no filter. Every other key is a filters.page_url value that selects its row, unless it holds a *, which the filter reads as a wildcard. host keys are filters.host values in the same way.

The site_id rows carry last_seen_at, the latest report of the site in the window, which tells whether a site's NEL header reaches browsers.

AuthentifizierungBearer <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.

In: header

Pfad-Parameter

org_id*Org Id
Formatuuid

Request-Body

application/json

Request for the NEL reports grouped by one dimension.

Response-Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/organizations/{org_id}/analytics/nel/breakdown
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/nel/breakdown" \  -H "Content-Type: application/json" \  -d '{    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    },    "dimension": "site_id"  }'
{  "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"      ]    },    "stitchless_site_ids": [      "69469e5a-8ce7-4bbc-8031-8525fff71fc6"    ]  },  "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": {}  },  "error_count": 0,  "data": [    {      "key": "string",      "error_count": 0,      "affected_visitors": 0,      "share": 0,      "last_seen_at": "2019-08-24T14:15:22Z"    }  ]}