Get scan statistics
get_scan_statsScan analytics for one code over a window (default the last 30 days, at most 92), grouped by day, device, country, city, browser, os or referrer.
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": {
"id": "<id>"
},
"name": "get_scan_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | No | ISO date | |
| from | No | ISO date | |
| group | No | day |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| rows | No | ||
| group | No | ||
| total | No | ||
| code_id | No |