GitLab API icon

GitLab API

Gitlab

Actions1062

Ci_variables → getApiV4ProjectsIdVariables

AI-generated

Summary

Retrieve a list of CI/CD variables for a specific GitLab project by its ID or URL-encoded namespace and project name.

Inputs

  • id (required) — The ID or URL-encoded NAMESPACE/PROJECT_NAME of the GitLab project whose CI/CD variables you want to retrieve.
  • page — The page number for paginated results; defaults to 1 if not specified.
  • per_page — The number of variables to return per page; defaults to 20.
  • skipAuthentication — Optional flag to skip using authentication credentials, default is false.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a paginated list of CI/CD variables associated with the specified project

Supports pagination through 'page' and 'per_page' query parameters. Authentication is required unless skipped explicitly. The project identifier must be provided in the path parameter 'id' as either numeric ID or URL-encoded namespace/project name.

Links

Discussion