GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdEvents

AI-generated

Summary

Retrieve events for a specified GitLab project, optionally filtered and paginated.

Inputs

  • id (required) — The ID or URL-encoded path of the project to retrieve events from.
  • action — Filter events by action type.
  • target_type — Filter events by target type; options include 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 events in ascending or descending order; defaults to descending.
  • page — Page number for paginated results; defaults to 1.
  • per_page — Number of events per page; defaults to 20.

Output shape

a list of event objects related to the specified project, with optional filtering and sorted order

Supports pagination via 'page' and 'per_page' query parameters; filtering by action, target type, and creation date range is optional. Returned data shape follows GitLab API v4 project events schema.

Links

Discussion