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

Query Loaf

Get Long Animation Frames (LoAF) data.

Two-part query:

  • Summary (total_frames, avg_duration) is sourced from the cheap loaf_count / loaf_total_duration Phase-3 columns.
  • Per-script breakdown (data) ARRAY JOINs the loaf Nested.

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 Long Animation Frames data.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/v1/organizations/{org_id}/analytics/loaf
curl -X POST "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/loaf" \  -H "Content-Type: application/json" \  -d '{    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    }  }'
{  "data": [    {      "duration": 0,      "script_url": "string",      "count": 0    }  ],  "total_frames": 0,  "avg_duration": 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": {}  }}