fastmon Docs
Analytics

Summarize the traffic around the live floor

Report an issue

Traffic per page type, today's totals, LCP per page type and the floor's shares.

The traffic blocks count the requested window, 5 minutes by default. The other blocks keep their own. Each block has its own server cache, so every tab of a scope shares one entry per block. meta.next_poll_ms sets the cadence.

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

The scope of the live summary and the window of its traffic blocks.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/organizations/{org_id}/analytics/live-summary
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/live-summary" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"      ]    },    "next_poll_ms": 0  },  "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": {}  },  "traffic": [    {      "pageviews": 0,      "visitors": 0,      "purchases": 0,      "bot_visitors": 0,      "page_type": "string",      "previous_period": {        "pageviews": 0,        "visitors": 0,        "purchases": 0,        "bot_visitors": 0      },      "previous_week": {        "pageviews": 0,        "visitors": 0,        "purchases": 0,        "bot_visitors": 0      }    }  ],  "traffic_total": {    "pageviews": 0,    "visitors": 0,    "purchases": 0,    "bot_visitors": 0,    "previous_period": {      "pageviews": 0,      "visitors": 0,      "purchases": 0,      "bot_visitors": 0    },    "previous_week": {      "pageviews": 0,      "visitors": 0,      "purchases": 0,      "bot_visitors": 0    }  },  "today": {    "visitors": 0,    "purchases": 0,    "bot_visitors": 0,    "sources": [      {        "referrer_source": "string",        "visitors": 0,        "share": 0      }    ],    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    },    "previous_week": {      "visitors": 0,      "purchases": 0,      "time_range": {        "from": "2019-08-24T14:15:22Z",        "to": "2019-08-24T14:15:22Z"      },      "whole_day": {        "visitors": 0,        "purchases": 0,        "time_range": {          "from": "2019-08-24T14:15:22Z",          "to": "2019-08-24T14:15:22Z"        }      }    }  },  "performance": [    {      "page_type": "string",      "p75_lcp_ms": 0,      "sample_count": 0    }  ],  "shares": [    {      "page_type": "string",      "pageviews": 0,      "share": 0    }  ]}