These docs are a work in progress: some pages may still be incomplete or contain inaccuracies.
fastmon Docs
Analytics

Query Error Types

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). Send as Authorization: Bearer fm_... or paste the full token (including the fm_ 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
/v1/organizations/{org_id}/analytics/error-types
curl -X POST "https://example.com/v1/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,  "execution_time_ms": 0}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}