get_analytics_by_user
Retrieve per-user analytics metrics like agent edits, tabs, models, and more. Filter by date range, specific users, and paginate results to analyze user behavior.
Instructions
Fetch a by-user analytics metric (GET /analytics/by-user/{metric}).
Allowed metrics: agent-edits, tabs, models, top-file-extensions, client-versions, mcp, commands, plans, skills, ask-mode.
Args: metric: Allowlisted metric slug. start_date: Optional start date bound. end_date: Optional end date bound. users: Optional comma-separated emails or user ids. page: Page number (default 1). page_size: Users per page (default 100, max 500 server-side).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| users | No | ||
| metric | Yes | ||
| end_date | No | ||
| page_size | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||