Skip to content

List all pipeline variables

GET
/api/v4/projects/{id}/pipelines/{pipeline_id}/variables

Lists all pipeline variables for a specified pipeline. Use the page and per_page pagination parameters to control the pagination of results.

id
required
string

The project ID or URL-encoded path

Example
11
pipeline_id
required
integer

The pipeline ID

Example
18

OK

Media type application/json
object
variable_type
string
key
string
value
string
hidden
boolean
protected
boolean
masked
boolean
raw
boolean
environment_scope
string
description
string
Example
{
"variable_type": "env_var",
"key": "TEST_VARIABLE_1",
"value": "TEST_1",
"environment_scope": "*",
"description": "This variable is being used for ..."
}

Bad Request

Unauthorized

Forbidden

Not found