---
title: "Get env variables"
method: GET
path: "/api/v1/deployments/{deploymentId}/env-vars"
tags: ["Env Variables"]
---

# Get env variables

`GET /api/v1/deployments/{deploymentId}/env-vars`

## Path parameters

- `deploymentId` integer, required

## Response `200`

- EnvVariablesListResponse
  - `data` EnvVariableItem[], required
    - `name` string, required
    - `value` string, required

## Changes

- **2026-07-31** `a0c6b1d2ac96` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api/changes/api/v1/deployments/:deploymentId/env-vars/get.md)

---

[API](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api.md) · [All operations](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cube-js/cube-cloud-rest-api/revisions/a0c6b1d2ac96/schema)
