GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdStorage

AI-generated

Summary

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

Inputs

  • Id (required) — The unique identifier of the GitLab project to retrieve storage information for.
  • Skip Authentication — Toggle to skip authentication if needed (default is false).
  • Base URL — The GitLab instance base URL; defaults to https://gitlab.com.
  • Method — HTTP method to use; defaults to GET.

Output shape

a JSON object representing the project's storage statistics.

Requires the 'id' path parameter as a string. Uses the GET method on the endpoint '/api/v4/projects/{id}/storage'. Authentication via the configured 'gitlabApi' credential is required unless skipped. Returns storage-related metrics of the specified project.

Examples

Example 1: Get storage data for project with ID '1234'

Set Path Parameters 'Id' to '1234', keep Method as GET, and ensure authentication is enabled.

Links

Discussion