GitLab API icon

GitLab API

Gitlab

Actions1062

Events → getApiV4UsersIdEvents

AI-generated

Summary

Retrieves events for a specified GitLab user by calling GET /api/v4/users/{id}/events with optional filtering and pagination.

Inputs

  • id (required) — The ID or username of the user whose events to fetch.
  • page — Page number to retrieve (default: 1).
  • per_page — Number of events per page (default: 20).
  • action — Filter events by action.
  • target_type — Filter events by target type (issue, milestone, merge_request, note, project, snippet, user, wiki, design).
  • before — Include only events created before this date (YYYY-MM-DD).
  • after — Include only events created after this date (YYYY-MM-DD).
  • sort — Sort order of returned events (asc or desc, default: desc).
  • skipAuthentication — If true, skips using GitLab credentials; otherwise uses the gitlabApi credential.
  • baseUrl — Base URL of the GitLab instance (default: https://gitlab.com).

Output shape

array

Array of event objects returned by the GitLab API. Each event contains fields such as id, title, action, target_type, target_id, author, and created_at.

Links

Discussion