Get app statistics
get_app_statsGet deep statistics for any app: lifetime totals, daily trends, hour-of-day and weekday distributions. Answer questions like when you typically use an app or how its usage trends over time.
Instructions
Deeper statistics for a single app: lifetime totals (days active, first/last seen, average per active day), period totals, top projects, daily series, hour-of-day distribution (24 buckets), and weekday distribution (7 buckets). Use this for usage-pattern questions like 'when do I usually use Cursor?' or 'how has my After Effects time trended this month?'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Exact app name as recorded by Vetroscope (canonical, not display_name). | |
| period | No | today | yesterday | week | month | year | a single date YYYY-MM-DD | an inclusive date range YYYY-MM-DD..YYYY-MM-DD. Defaults to 'week'. | week |
| device | No | Restrict to a single device. Pass 'current' (or 'this') for the local machine, a device UUID from get_device_breakdown, or a platform name like 'darwin', 'win32', 'browser-extension'. Omit or pass 'all' for no device filter. |