---
title: "List environment variables"
method: GET
path: "/api/v1/projects/{projectId}/environment-variables"
tags: ["projects"]
---

# List environment variables

`GET /api/v1/projects/{projectId}/environment-variables`

## Request

- Base URL: `https://api.capy.ai`
- URL: `https://api.capy.ai/api/v1/projects/{projectId}/environment-variables`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required

## Response `200`

EnvironmentVariableList

- EnvironmentVariableListEncoded
  - `items` EnvironmentVariableEncoded[], required
    - `name` string, required
    - `description` string, nullable, required
    - `updatedAt` string, required

## Other responses

- `401`: capy/Unauthorized
- `403`: capy/Forbidden
- `404`: capy/ProjectNotFound
- `429`: capy/RateLimited

## Changes

- **2026-09-30** `7187d2287ecd`: 1 info
  - added the non-success response with the status `403`
- **2026-09-11** `5038748830a7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/capy/apis/capy-api/changes/api/v1/projects/:projectId/environment-variables/get.md)

---

[API](https://skmtc.dev/capy/apis/capy-api.md) - [All operations](https://skmtc.dev/capy/apis/capy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/capy/apis/capy-api/revisions/4663f7dc4e39?raw)
