Get page-view analytics
analytics_get_viewsReturn page views and unique visitors for an owned media kit, link in bio, agency roster, deck, or campaign report. Omit resource_id to aggregate all owned resources of that type. Link in bio is creator-only; roster and deck are agency-only.
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": {
"resource_type": "<resource_type>"
},
"name": "analytics_get_views"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone for day boundaries, e.g. Europe/Paris | UTC |
| timeframe | No | Reporting period; wtd, mtd, ytd mean week, month, year to date | all |
| resource_id | No | ID of one owned resource; omit to aggregate all of that type | |
| resource_type | Yes | Kind of page to report on |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |