GitLab API

GitlabTool

Actions1095

Projects → getApiV4UsersUserIdContributedProjects

AI-generated

Summary

Retrieves projects contributed to by a specified GitLab user. Sends a GET request to /api/v4/users/{user_id}/contributed_projects and returns the GitLab API response.

Inputs

  • user_id (required) — GitLab user ID or username used in the request path.
  • order_by — Sort field for the projects; defaults to created_at. Available fields include ID, name, path, timestamps, star count, and storage metrics. Some storage metrics are admin-only; similarity is available when searching and is limited to projects the user can access.
  • sort — Sort direction, asc or desc; defaults to desc.
  • page — Page number; defaults to 1.
  • per_page — Number of projects per page; defaults to 20.
  • simple — When true, asks GitLab to return only each project's ID, URL, name, and path; defaults to false.
  • baseUrl — Base URL defaults to https://gitlab.com; the source indicates the actual base URL is defined in the GitLab API credential.
  • authentication — Uses the GitLab API credential unless authentication is skipped.
  • skipAuthentication — Defaults to false; when enabled, hides the authentication selection.
  • method — HTTP method selector, defaulting to GET.

Output shape

A list of contributed project records, typically returned in a paginated API response.

The operation's schema declares the endpoint and query parameters, but the source pack delegates request handling to the shared OpenApiToolNode and does not show the response envelope or pagination metadata.

Examples

Example 1: List projects contributed to by a user

Set user_id to a GitLab user ID or username. Optionally set order_by, sort, page, per_page, or simple to control the result fields, ordering, and page size.

Links

Discussion