get_file_usage_stats
Get file usage and engagement statistics including download counts, view counts, most active users, search trends, and geographic/browser/OS analytics. Use this to answer questions about file popularity, engagement, user activity, and access patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results per metric (default: 10, max: 50) | |
| date_to | No | Optional ISO date string for end of date range (e.g., "2026-03-04") | |
| metrics | Yes | Array of metrics to retrieve. Options: most_downloaded (top files by download count), most_viewed (top files by view count), active_users (most active users), view_trends (daily view counts), top_searches (most frequent search terms), geo_analytics (access by country), browser_analytics (access by browser), os_analytics (access by OS) | |
| date_from | No | Optional ISO date string for start of date range (e.g., "2026-01-01") | |
| workspace_id | No | Optional workspace ID to filter by. If omitted, searches across all accessible workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |