get_website_stats
Retrieve website analytics metrics such as pageviews, unique visitors, visits, bounces, and total time for a specified date range.
Instructions
Get overview metrics for a website over a date range.
Returns pageviews, unique visitors, visits, bounces, and total time. If you get no data, double-check the date range before assuming there is none.
Args: website_id: The website id (from get_websites). start_at: Range start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (UTC). end_at: Range end, same formats (a bare date includes the whole day).
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>"
},
"name": "get_website_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_id | Yes | ||
| start_at | Yes | ||
| end_at | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |