Page views per page
list_pagesPages by views, paged; search; sort_by views, entries, time_on_page, scroll_depth, page. A page is origin + path (no query/anchor). views: pageview events, not visitors. entries: visitors landing there, from entries_from. avg_time_on_page_seconds, avg_scroll_depth (% down): mean of views reporting one; null: none. avg_scroll_depth_change is in points. Null average change: engagement_change_unavailable, else no previous value. Dates are the project's calendar days, YYYY-MM-DD (timezone: get_project); timestamps are UTC. Omit from/to for the last 28 complete days, ending yesterday. Today is still in progress: a range including it reads as a drop against complete days. A period marked starts_before_data begins before the project has data (see data_from): those days read as zero, not as a quiet period. Quote counts with every percentage; a big change on a small count is noise, not a finding.
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": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD in the project's timezone, inclusive. Default: yesterday, the last complete day. | |
| from | No | First day, YYYY-MM-DD in the project's timezone, inclusive. Default: 27 days before 'to'. | |
| page | No | Page number, from 1. | |
| limit | No | Pages per page, 1-100. Default 50. | |
| trait | No | Only count page views by visitors carrying this session trait value. | |
| search | No | Case-insensitive substring of the page's origin followed by its path, e.g. pricing or app.example.com/settings. | |
| project | No | Project ID, from list_projects. Required when this connection covers more than one project; may be left out when it covers one (and with an API key, which belongs to one project). | |
| sort_by | No | views (default), entries (visitors who landed on the page), time_on_page, scroll_depth (the averages; pages without one last) or page (origin, then path). | |
| sort_dir | No | asc or desc. Default: desc for views, entries, time_on_page and scroll_depth, asc for page. |