User Activity Summary
analytics_user_summaryRetrieve aggregated activity counts for a user — pushes, MRs opened/merged, comments, approvals — broken down by project and day. Use this for summarized analytics instead of a raw event list.
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) |