User Activity Summary
analytics_user_summaryGet aggregated activity counts for a GitLab user over a date range, broken down by action type, project, and day. Replaces raw event feeds with summarized totals.
Instructions
Aggregated activity summary for a user over a time window — totals by action type (pushes, MRs opened/merged, comments, approvals), breakdown by project and by day. Use this instead of list_user_events when you want counts rather than a raw event feed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Username (e.g. "alice") or numeric user ID | |
| since | Yes | ISO date/datetime, inclusive lower bound (e.g. "2026-03-01" or "2026-03-01T00:00:00Z") | |
| until | No | ISO date/datetime, inclusive upper bound. Defaults to now. | |
| maxEvents | No | Cap on events fetched. Defaults to 2000; returned envelope has truncated:true if reached. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |