---
title: "Get a variable set"
method: GET
path: "/runners/variables/variable-sets/{variableSetId}"
tags: ["Variable Sets"]
---

# Get a variable set

`GET /runners/variables/variable-sets/{variableSetId}`

## Path parameters

- `variableSetId` string, required

## Response `200`

Variable set

- VariableSetWithAssociation
  - `id` string
  - `version` integer
  - `consumable` boolean
  - `name` string
  - `labels` string[]
  - `description` string
  - `parents` object[]
    - `id` string
    - `name` string
  - `descendants` object[]
    - `id` string
    - `name` string
    - `parentId` string
    - `relativeDepth` integer
  - `consumers` object
    - `workspaces` object[]
      - `id` string
      - `name` string
      - `parentProjectId` string
    - `projects` object[]
      - `id` string
      - `name` string
      - `parentId` string
      - `relativeDepth` integer

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Insufficient permissions
- `500` — Internal Server Error

---

[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)
