---
title: "listEnvironmentVariables"
method: GET
path: "/v1/environments"
tags: ["environments"]
---

# listEnvironmentVariables

`GET /v1/environments`

List all environment variables for the organization. Returns metadata only, no secret values.

## Response `200`

List of environment variables

- EnvironmentVariableList
  - `items` EnvironmentVariableListItem[], required
    - `key` string, required
    - `type` 'String' | 'SecretString', required
    - `description` string
    - `group` string — Optional group name for organising variables in the UI
    - `value` string — Value is returned for String type, omitted for SecretString
    - `protected` boolean — Whether the variable is protected from editing
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.dev/epilot/apis/environments-api.md) · [All operations](https://skmtc.dev/epilot/apis/environments-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/epilot/environments-api/revisions/6e9b212bbe77/schema)
