Get site usage
get_site_usageRead the page views of a hosted site for each UTC day, oldest first, with the monthly cap of the plan if it sets one, and the page views of the current month.
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": {
"siteId": "<siteId>"
},
"name": "get_site_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to read, today included: 1-90 (default 30) | |
| siteId | Yes | Site id, e.g. from list_sites |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| daily | Yes | ||
| siteId | Yes | ||
| currentMonth | Yes | ||
| totalPageViews | Yes | ||
| monthlyPageViewCap | Yes |