---
title: "List variable sets"
method: GET
path: "/runners/variables/variable-sets"
tags: ["Variable Sets"]
---

# List variable sets

`GET /runners/variables/variable-sets`

## Query parameters

- `searchQuery` string
- `pageSize` integer
- `offset` integer

## Response `200`

List of variable sets

- VariableSet[]
  - `id` string — Unique identifier for the variable set
  - `version` integer — Version number of the variable set
  - `name` string — Name of the variable set
  - `description` string — Description of the variable set
  - `labels` string[] — Labels assigned to the variable set
  - `parents` string[] — Parent variable set IDs
  - `variables` Variable[] — Variables in the variable set
    - `key` string
    - `value` string
    - `sensitivity` 'string' | 'secret'
    - `destination` 'env' | 'iac'
  - `descendants` VariableSetDescendant[] — Descendant variable sets with only id and name
    - `id` string — Unique identifier for the descendant
    - `name` string — Name of the descendant
  - `consumers` VariableSetConsumers
    - `workspaces` VariableSetDescendant[] — Workspaces that consume this variable set (only id and name)
      - `id` string — Unique identifier for the descendant
      - `name` string — Name of the descendant
    - `projects` VariableSetDescendant[] — Projects that consume this variable set (only id and name)
      - `id` string — Unique identifier for the descendant
      - `name` string — Name of the descendant

---

[API](https://skmtc.net/firefly/apis/api-gateway.md) · [All operations](https://skmtc.net/firefly/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/api-gateway/revisions/eea119b4113f/schema)
