GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdStatistics

AI-generated

Summary

Retrieve statistics for a specific GitLab project identified by its ID or URL-encoded path.

Inputs

  • Id (required) — The ID or URL-encoded path of the project to get statistics for.
  • Skip Authentication — If set to true, skips using authentication for the request; otherwise, uses GitLab API credentials.
  • baseUrl — The GitLab instance base URL, defaulting to https://gitlab.com if not specified.

Output shape

a single JSON object containing the project's statistics data

Returns detailed statistics about the specified project. Authentication is required by default unless 'Skip Authentication' is enabled. The operation uses a GET HTTP method to the path '/api/v4/projects/{id}/statistics'.

Links

Discussion