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

Query Fetch Xhr

FetchXhr (fetch/XHR) dashboard panel: three blocks.

  • totals: aggregate calls, errors, and worst-case duration.
  • endpoints: per-endpoint aggregates grouped by method/host/path (the other rollup bucket is excluded, reflected only in totals), sorted by impact.
  • outliers: the slowest individual calls.

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 the fetch_xhr (fetch/XHR) dashboard panel.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/v1/organizations/{org_id}/analytics/fetch-xhr
curl -X POST "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/fetch-xhr" \  -H "Content-Type: application/json" \  -d '{    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    }  }'
{  "totals": {    "calls": 0,    "errors": 0,    "error_rate": 0,    "worst_ms": 0  },  "endpoints": [    {      "method": "string",      "host": "string",      "path": "string",      "calls": 0,      "avg_ms": 0,      "max_ms": 0,      "errors": 0,      "error_rate": 0,      "impact_ms": 0,      "status_errors": {        "property1": 0,        "property2": 0      },      "p75_ms": 0,      "p95_ms": 0,      "avg_offset_ms": 0,      "sync_calls": 0,      "aborts": 0,      "blocked": 0,      "avg_bytes": 0,      "max_bytes": 0    }  ],  "outliers": [    {      "method": "string",      "host": "string",      "path": "string",      "duration_ms": 0,      "status": 0,      "ttfb_ms": 0,      "page": "string",      "server_timing": {        "property1": 0,        "property2": 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": {}  }}