Get workspace analytics
get_workspace_analyticsGet a workspace-wide analytics overview: total visitors and views, top traffic sources, and a per-page ranking by visitors and leads.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workspace_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Which workspace to act in. Only meaningful when this connection can access more than one workspace: omit it and you get an error listing the available workspace ids (also available from list_sites) to choose from. On a single-workspace connection, omit it or pass that workspace's own id; a different id is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| available | Yes | ||
| fetchedAt | No | ||
| pageCount | No | ||
| totalViews | No | ||
| viewsByDay | No | ||
| pageRanking | No | ||
| totalVisitors | No | ||
| trafficSources | No |