Get User Activity
asana_get_user_activitySummarize a user's Asana activity over a date range: tasks completed, tasks created, optional comment activity, and open workload, aggregated by month and project with coverage reporting.
Instructions
Summarize what a person did in Asana over a date range: tasks completed, tasks created, optional comment activity, and current open workload. Aggregates by month and by project. Uses windowed search to work correctly beyond Asana's 100-result search cap, and always reports coverage so partial results are never mistaken for complete ones. Returns methodology caveats that must be surfaced alongside any figures — notably that assignee reflects the CURRENT assignee, not who did the work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the reporting window (YYYY-MM-DD), inclusive. Defaults to today in the configured timezone. | |
| from | Yes | Start of the reporting window (YYYY-MM-DD), inclusive. Required. | |
| user | No | Who to report on: a user GID, an email address, a display name, or `'me'` for the current token's user. Defaults to `'me'`. | |
| depth | No | `summary` (default) returns aggregate counts only. `detailed` additionally returns up to 100 individual completed tasks with names and permalinks. | |
| include | No | Comma-separated data to gather: `completed`, `created`, `commented`, `open_now`. Defaults to `completed,created`. NOTE: `commented` is expensive — it costs one API request per candidate task (capped at 60) because Asana has no bulk 'stories by user' endpoint. | |
| workspace | No | The GID of the workspace to search. Can be omitted if ASANA_DEFAULT_WORKSPACE_GID is set. | |
| project_filter | No | Comma-separated project GIDs to restrict the report to. Omit to cover the whole workspace. |