Get site analytics
get_site_analyticsAggregated analytics for a site: request totals, unique visitors, bounce rate, top pages, cache hit rate, availability, performance percentiles (avg/p95/p99), and traffic breakdown by geography, referrer, and user-agent. Uses the GraphQL metrics endpoints (not nifex).
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": {
"site_name": "<site_name>"
},
"name": "get_site_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Time window (default 24h) | 24h |
| site_name | Yes | Name of the site |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |