Analytics overview
get_analytics[read-only] Engagement overview for the last 7, 30 or 90 days. Pro plan or higher. (Wraps GET /api/v2/analytics.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | 30d | |
| groupBy | No | A label key (e.g. `cut`, `variant`). Returns the per-label / per-experiment breakdown instead of brand totals: the same body as `GET /api/v2/analytics/experiments?key=<groupBy>` (which also takes `window`, `metric`, `brandId`, `format`, `include`). | |
| labelKey | No | FFE-1204: alias of `groupBy`. Use at most one of `groupBy`, `labelKey`, `experimentId` (two → 422). | |
| experimentId | No | FFE-1204: one experiment's per-variant results instead of brand totals: the same body as `GET /api/v2/experiments/{id}/results` (incl. % watched per arm; unreported watch data is `null`, never 0). |