get_pageview_series
Retrieve a time series of pageviews and sessions, bucketed by hour, day, or month, for a specified website and date range.
Instructions
Get a pageviews-and-sessions time series, bucketed by hour, day, or month.
Use 'hour' for short ranges (1-7 days), 'day' for medium ranges, 'month' for long ranges.
Args: website_id: The website id (from get_websites). start_at: Range start (UTC). end_at: Range end (UTC). unit: Bucket size: hour, day, or month. timezone: IANA timezone for bucketing, e.g. 'UTC' or 'Europe/London'.
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": {
"website_id": "<website_id>",
"start_at": "<start_at>",
"end_at": "<end_at>",
"unit": "<unit>"
},
"name": "get_pageview_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_id | Yes | ||
| start_at | Yes | ||
| end_at | Yes | ||
| unit | Yes | ||
| timezone | No | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |