GitLab API

GitlabTool

Actions1095

Ci_variables → getApiV4AdminCiVariables

AI-generated

Summary

Retrieve a paginated list of all CI variables from the GitLab instance's admin API endpoint.

Inputs

  • Skip Authentication — Optional flag to bypass authentication for the request.
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com.
  • Method (required) — HTTP method to use; defaults to GET.
  • Query Parameters — Optional pagination parameters including 'page' (current page number) and 'per_page' (number of items per page).

Output shape

a paginated list of CI variable records from the GitLab admin API

Supports optional pagination via 'page' and 'per_page' query parameters. Requires authentication unless 'Skip Authentication' is enabled. The response schema follows the GitLab admin CI variable API structure.

Examples

Example 1: List first page of admin CI variables with default page size

Method: GET; baseUrl: https://gitlab.com (or custom); page: 1; per_page: 20 (default).

Example 2: List CI variables from a self-hosted GitLab instance

Set baseUrl to the custom GitLab instance URL before making the request.

Links

Discussion