get_pageviews
Analyze website traffic trends by retrieving pageview data over specified time periods with customizable filters and comparison options.
Instructions
View page traffic over time.
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>"
},
"name": "get_pageviews"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_id | Yes | ||
| start_at | No | ||
| end_at | No | ||
| unit | No | day | |
| timezone | No | UTC | |
| compare | No | ||
| filters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||