fastmon Docs
Analytics

Query Error Types

Report an issue

Get breakdown of error signatures from collected beacons.

Reads the structured errors Nested column. Each beacon stores up to 5 (type, count, sample_message, frame_hosts, frame_lines, frame_cols, fingerprint, is_first_party) entries; we ARRAY JOIN and aggregate by fingerprint, the canonical server-computed signature key.

Display projections (error_type, sample_message, frames) are aggregated via any() since within a fingerprint group they're stable by construction (the fingerprint hashes those exact inputs); using any() rather than argMax/groupArray keeps the query cheap.

Authorization

bearerAuth
AuthorizationBearer <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

Path Parameters

org_id*Org Id
Formatuuid

Request Body

application/json

Request for error types breakdown.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/organizations/{org_id}/analytics/error-types
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/error-types" \  -H "Content-Type: application/json" \  -d '{    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    }  }'
{  "data": [    {      "fingerprint": "string",      "error_type": "string",      "count": 0,      "percentage": 0,      "sample_message": "string",      "is_first_party": true,      "frames": [        {          "host": "string",          "path": "",          "line": 0,          "column": 0        }      ]    }  ],  "total_errors": 0,  "blocked_count": 0,  "own_subdomain_hosts": [    "string"  ],  "execution_time_ms": 0}