GitLab API icon

GitLab API

Gitlab

Actions1062

Members → getApiV4ProjectsIdMembers

AI-generated

Summary

Retrieve the list of members associated with a specific GitLab project by providing the project ID and optional query filters.

Inputs

  • id (required) — The project ID to fetch members for.
  • query — A query string to filter members by name or other attributes.
  • user_ids — An array of user IDs to look up specific memberships.
  • skip_users — An array of user IDs to exclude from the membership results.
  • show_seat_info — Boolean to include seat information in the output for members.
  • with_saml_identity — Boolean to filter only members who have a linked SAML identity.
  • page — Page number for paginated results; defaults to 1.
  • per_page — Number of member items per page; default is 20.

Output shape

a paginated list of project member records as JSON objects

Supports pagination via 'page' and 'per_page' query parameters. The returned data includes member details conforming to the GitLab API v4 /projects/:id/members endpoint specifications. Optional filters modify the list. Authentication is required unless explicitly skipped.

Links

Discussion