get_stats
Retrieve summary website statistics—pageviews, visitors, visits, bounces, and total time—with optional filters by path, event, referrer, hostname, segment, or custom Umami filters.
Instructions
Get summary statistics for a website (pageviews, visitors, visits, bounces, totaltime)
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": {
"websiteId": "<websiteId>",
"startAt": "<startAt>",
"endAt": "<endAt>"
},
"name": "get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter by URL path | |
| endAt | Yes | End timestamp in milliseconds | |
| event | No | Filter by event name | |
| filters | No | Additional Umami v3 filters such as country, device, browser, tag, UTM fields, segment, or cohort | |
| segment | No | Saved segment UUID | |
| startAt | Yes | Start timestamp in milliseconds | |
| hostname | No | Filter by hostname | |
| referrer | No | Filter by referrer | |
| websiteId | Yes | Website UUID |