GitLab API

GitlabTool

Actions1095

Projects → getApiV4UsersUserIdProjects

AI-generated

Summary

Retrieves a page of projects associated with a GitLab user using GET /api/v4/users/{user_id}/projects. Set the required user ID or username, then optionally filter, sort, and paginate the results with query parameters; authentication is required unless skipped, and the base URL defaults to https://gitlab.com.

Inputs

  • user_id (required) — The user's ID or username used in the request path.
  • queryParameters — Optional filters include archived status, visibility, search text and namespace matching, ownership, starred or imported status, membership, enabled features, programming language, access level, ID or activity date bounds, storage shard, topics, update dates, deletion state, checksum status, and hidden projects. Use order_by and sort to control ordering. page defaults to 1 and per_page to 20; simple, statistics, and with_custom_attributes control response details. Some fields are limited to administrators.
  • skipAuthentication — Defaults to false. When false, the node requires GitLab API authentication; when true, it skips authentication.
  • baseUrl — Defaults to https://gitlab.com. The source indicates the actual base URL is defined by the GitLab API credential.
  • method — HTTP method selector, defaulting to GET. This operation's declared path is the user's projects endpoint.

Output shape

a list of project records

The operation's parameter schema includes page-based pagination. The provided source pack does not show response transformation or pagination handling.

Links

Discussion