GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsId

AI-generated

Summary

Retrieve detailed information about a GitLab project by its ID or URL-encoded path using a specified HTTP method (default GET).

Inputs

  • Id (required) — The ID or URL-encoded path of the project to retrieve.
  • Method — HTTP method to use (GET, POST, PUT, DELETE, HEAD, PATCH). Defaults to GET.
  • Statistics — Optional query parameter to include project statistics in the response (boolean as string).
  • With_custom_attributes — Optional query parameter to include custom attributes in the response (boolean as string).
  • License — Optional query parameter to include project license data (boolean as string).
  • Skip Authentication — Set to true to skip authentication for the request.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.

Output shape

a single record representing the project details as returned by the GitLab API

Response fields vary depending on query parameters (statistics, with_custom_attributes, license). Uses authentication unless 'Skip Authentication' is enabled. The operation supports multiple HTTP methods but defaults to GET.

Links

Discussion