Get top values
get_breakdownTop values of one dimension, by visitors. "total" means pageviews for pathname, occurrences for event, and visits for every other dimension. Dimensions: pathname (pages), entry_page, source, referrer_host, utm_source, utm_medium, utm_campaign, country (ISO code), device, browser, os, event (custom events), hostname (the domain a visit began on, for a site measured on several, e.g. example.com and app.example.com), host_pathname and host_entry_page (pages written with their domain). With filter, only the visits that match it (one dimension of the visit): "where did the visits from Substack land?" is dimension entry_page with filter source = Substack; that answer also gives matching_visits, what those visits brought (goals reached, sales) and, by entry page, what each page brought.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"dimension": "<dimension>"
},
"name": "get_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD (site timezone), included. | |
| from | No | Start date YYYY-MM-DD (site timezone), with `to`. | |
| site | Yes | The site: its domain (example.com), its id, or its public id. See list_sites. | |
| limit | No | Default 10. | |
| filter | No | Only the visits whose dimension has this value, read by their first event (one filter, never more). E.g. the entry pages of the visits from Substack: dimension entry_page, filter { dimension: source, value: Substack }. | |
| period | No | A preset period ending today: today, 7d, 30d, 90d, 1y (one year) or all (everything since the site's first visit, five years at most). Default 30d. Ignored when from/to are given. | |
| dimension | Yes |