gitlab_list_user_events
Retrieve a user's activity feed from GitLab to track contributions, audit actions, and monitor engagement by filtering events like issues created, comments added, or code pushes.
Instructions
Get user's activity feed Returns: Array of user activities Use when: Tracking user contributions, audit trail Filtering: By action type, target type, date range
Example activities:
Created issue #123
Commented on MR !456
Pushed to branch main
Closed issue #789
Related tools:
gitlab_list_project_members: Find users
gitlab_search_in_project: Search by user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | GitLab username Type: string Format: Username without @ symbol Case: Case-sensitive Required: Yes Examples: - 'johndoe' (for @johndoe) - 'mary-smith' (for @mary-smith) - 'user123' (for @user123) Note: This is the username, not display name or email | |
| action | No | Event action filter Type: string (enum) Options: - 'created': New items created - 'updated': Existing items modified - 'closed': Items closed - 'reopened': Items reopened - 'pushed': Code pushed - 'commented': Comments added - 'merged': MRs merged - 'joined': User joined project - 'left': User left project - 'destroyed': Items deleted - 'expired': Items expired Optional: Yes (returns all actions if not specified) | |
| target_type | No | Event target type filter Type: string (enum) Options: - 'Issue': Issue events - 'MergeRequest': MR events - 'Milestone': Milestone events - 'Note': Comment events - 'Project': Project events - 'Snippet': Snippet events - 'User': User events Optional: Yes (returns all types if not specified) | |
| per_page | No | Number of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing | |
| page | No | Page number for pagination Type: integer Range: ≥1 Default: 1 Example: 3 (to get the third page of results) Note: Use with per_page to navigate large result sets | |
| after | No | Start date for event filtering Type: string Format: ISO 8601 date Inclusive: Yes Optional: Yes Examples: - '2024-01-01' (events from start of 2024) - '2024-06-15T14:00:00Z' (specific time) See also: DESC_DATE_SINCE for similar functionality | |
| before | No | End date for event filtering Type: string Format: ISO 8601 date Inclusive: Yes Optional: Yes Examples: - '2024-12-31' (events until end of 2024) - '2024-06-15T14:00:00Z' (specific time) See also: DESC_DATE_UNTIL for similar functionality |