Viewer and page analytics
get_document_analyticsRead aggregate recorded engagement for exactly one document_id, share_link_id or room_id. Use share_link_id for a recipient link; the host may reserve link_id for connected-account selection. Default summary has no sessions or emails. Choose detail=sessions for visit/page detail; include_viewer_identities=true only when the user explicitly asks about recorded viewers. Captured emails are not necessarily verified; anonymous visits do not identify people. Does not record views.
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_document_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| until | No | ||
| cursor | No | ||
| detail | No | Summary by default; choose sessions only for requested visit/page detail. | summary |
| link_id | No | Legacy recipient-link selector. Prefer share_link_id; some hosts reserve link_id for account selection. | |
| room_id | No | Existing data room in the connected organization. | |
| document_id | No | ||
| share_link_id | No | Recipient share-link ID returned by create_share_link; not the host's connected-account ID. | |
| include_viewer_identities | No | Return recorded emails and verification status only for an explicit viewer identity request; requires detail=sessions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |