Action domain
ci_variable
Every action this domain exposes through gitlab_execute_action, from the gitlab://tools manifest. Each entry folds out to its full upstream description and required parameters.
15 · actions3 · destructive6 · read-only
Counted against gitlab.com, which is the only host this endpoint talks to, with a token it resolves to the Ultimate tier: to use it against a self-managed instance, run the server yourself — its documentation covers that. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: a Free token sees fewer actions, a member of a group on a paid plan sees that plan's, and administration domains only appear to tokens allowed to use them. That is why the figures differ elsewhere: the upstream project counts 872 operations on Community Edition and up to 1,099 on GitLab.com's top tier, while this deployment publishes 980 because it is OAuth-only and acts with your token, so the administration domains a non-admin account cannot call never appear. All three describe the same catalog, counted from three vantage points.
Each entry also says what a GitLab fine-grained personal access token needs to run it, as GitLab 19.6.1 declares it: every permission of one line, at one of the boundaries named. Where there are alternatives, any one is enough. What follows "Some calls also need" is needed only by the calls that send that request, and the parts of the answer GitLab serves empty to such a token are listed apart.
CI Variable Createci_variable.createCreate a CI/CD variable in a project with type, environment scope, and protected/masked/raw/masked_and_hidden flags. Returns: the created variable's key, value (redacted when masked or hidden), type, flags, environment scope, and description. See also:
ci_variable.list,ci_variable.get,ci_variable.update.Required parameters:
key (string),project_id (string|integer),value (string)Fine-grained token:
Variable: Createat project
CI Variable Deletedestructiveci_variable.deleteDelete a CI/CD variable by key, selecting an environment-scoped instance via the filter. Returns: a success confirmation message. See also:
ci_variable.list,ci_variable.get.Required parameters:
key (string),project_id (string|integer)Fine-grained token:
Variable: Deleteat project
CI Variable Getread-onlyci_variable.getGet a single CI/CD variable by key, optionally selecting an environment-scoped instance via the filter. Returns: the variable's key, value (redacted when masked or hidden), type, protected/masked/hidden/raw flags, environment scope, and description. See also:
ci_variable.list,ci_variable.update,ci_variable.delete.Required parameters:
key (string),project_id (string|integer)Fine-grained token:
Variable: Readat project
Group Variable Createci_variable.group_createCreate a CI/CD variable in a group with type, environment scope, and protected/masked/raw/masked_and_hidden flags. Returns: the created variable's key, value, type, flags, environment scope, and description. See also:
ci_variable.group_list,ci_variable.group_get,ci_variable.group_update.Required parameters:
group_id (string|integer),key (string),value (string)Fine-grained token:
Variable: Createat group
Group Variable Deletedestructiveci_variable.group_deleteDelete a group CI/CD variable by key, selecting an environment-scoped instance via the filter. Returns: a success confirmation message. See also:
ci_variable.group_list,ci_variable.group_get.Required parameters:
group_id (string|integer),key (string)Fine-grained token:
Variable: Deleteat group
Group Variable Getread-onlyci_variable.group_getGet a single group CI/CD variable by key, optionally selecting an environment-scoped instance via the filter. Returns: the variable's key, value, type, protected/masked/hidden/raw flags, environment scope, and description. See also:
ci_variable.group_list,ci_variable.group_update,ci_variable.group_delete.Required parameters:
group_id (string|integer),key (string)Fine-grained token:
Variable: Readat group
Group Variable Listread-onlyci_variable.group_listList a group's CI/CD variables with order_by, sort, and offset pagination. Returns: each variable's key, value, type, protected/masked/hidden/raw flags, environment scope, description, and pagination metadata. See also:
ci_variable.group_get,ci_variable.group_create,ci_variable.group_update.Required parameters:
group_id (string|integer)Fine-grained token:
Variable: Readat group
Group Variable Updateci_variable.group_updateUpdate a group CI/CD variable, selecting an environment-scoped instance via the filter. Replacing its value requires confirmation. Returns: the updated variable's key, value, type, protected/masked/hidden/raw flags, environment scope, and description. See also:
ci_variable.group_get,ci_variable.group_list,ci_variable.group_delete.Required parameters:
group_id (string|integer),key (string)Fine-grained token:
Variable: Updateat group
Instance Variable Createci_variable.instance_createCreate an instance-level CI/CD variable with type and protected/masked/raw flags (admin-only). Returns: the created variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, flags, and description. See also:
ci_variable.instance_list,ci_variable.instance_get,ci_variable.instance_update.Required parameters:
key (string),value (string)Fine-grained token:
Variable: Createat instance
Instance Variable Deletedestructiveci_variable.instance_deleteDelete an instance-level CI/CD variable by key (admin-only). Returns: a success confirmation message. See also:
ci_variable.instance_list,ci_variable.instance_get.Required parameters:
key (string)Fine-grained token:
Variable: Deleteat instance
Instance Variable Getread-onlyci_variable.instance_getGet a single instance-level CI/CD variable by key (admin-only). Returns: the variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, and description. See also:
ci_variable.instance_list,ci_variable.instance_update,ci_variable.instance_delete.Required parameters:
key (string)Fine-grained token:
Variable: Readat instance
Instance Variable Listread-onlyci_variable.instance_listList instance-level CI/CD variables with order_by, sort, and offset pagination (admin-only). Returns: each variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, description, and pagination metadata. See also:
ci_variable.instance_get,ci_variable.instance_create,ci_variable.instance_update,ci_variable.instance_delete.Required parameters: No required parameters
Fine-grained token:
Variable: Readat instance
Instance Variable Updateci_variable.instance_updateUpdate an instance-level CI/CD variable by key, with type and protected/masked/raw flags (admin-only). Replacing its value requires confirmation. Returns: the updated variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, and description. See also:
ci_variable.instance_get,ci_variable.instance_list,ci_variable.instance_delete.Required parameters:
key (string)Fine-grained token:
Variable: Updateat instance
CI Variable Listread-onlyci_variable.listList a project's CI/CD variables with order_by, sort, and offset pagination. Returns: each variable's key, type, protected/masked/hidden/raw flags, environment scope, description, and pagination metadata. See also:
ci_variable.get,ci_variable.create,ci_variable.update.Required parameters:
project_id (string|integer)Fine-grained token:
Variable: Readat project
CI Variable Updateci_variable.updateUpdate a CI/CD variable, selecting an environment-scoped instance via the filter. Replacing its value requires confirmation. Returns: the updated variable's key, value (redacted when masked or hidden), type, protected/masked/hidden/raw flags, environment scope, and description. See also:
ci_variable.get,ci_variable.list,ci_variable.delete.Required parameters:
key (string),project_id (string|integer)Fine-grained token:
Variable: Updateat project