User Activity Summary
analytics_user_summaryGet aggregated activity counts by action type, project, and day for a GitLab user over a specified time window. Ideal for summaries instead of raw event feeds.
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) |