GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdStorage

AI-generated

Summary

Retrieve storage information for a specific GitLab project by its project ID.

Inputs

  • Id (required) — The ID of the GitLab project to retrieve storage information for.
  • Skip Authentication — If set to true, skips using authentication credentials for the request.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • Method — HTTP method to use; defaults to GET.

Output shape

a single JSON object containing the storage details of the specified GitLab project

The response corresponds to the GitLab API endpoint GET /api/v4/projects/{id}/storage. Authentication is required unless explicitly skipped. The project ID must be provided as a path parameter.

Examples

Example 1: Retrieve storage info for project with ID 123

Set 'Id' to '123' and keep 'Method' as GET. Use default or custom 'baseUrl'. Ensure authentication is configured unless 'Skip Authentication' is true.

Links

Discussion