fastmon Docs
Analytics

Long Animation Frames

Fehler melden

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.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <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.

Pfad-Parameter

org_id*Org Id
Formatuuid

Request-Body

application/json
  1. body

Request for Long Animation Frames data.

time_range*

Time range for the query

filters?

Optional filters

limit?Limit

Max LoAF entries to return

Range1 <= value <= 50
Default10

Response-Body

Successful Response

application/json
  1. response

Response for Long Animation Frames data.

meta*

Facts about the result

request*

The request as the server resolved it

data*array<>

Long animation frames

frame_count*Frame Count

Long animation frames over all scripts

avg_ms*Avg Ms

Average frame duration in ms

POST
/organizations/{org_id}/analytics/loaf
curl -X POST 'https://api.fastmon.eu/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"  }}'
{  "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"      ]    },    "is_identity_mixed": true  },  "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": {}  },  "data": [    {      "duration_ms": 0,      "script_url": "string",      "count": 0    }  ],  "frame_count": 0,  "avg_ms": 0}