---
title: "List all environment variables"
method: GET
path: "/project/{project-slug}/envvar"
tags: ["Project"]
---

# List all environment variables

`GET /project/{project-slug}/envvar`

Returns four 'x' characters, in addition to the last four ASCII characters of the value, consistent with the display of environment variable values on the CircleCI website.

## Path parameters

- `project-slug` string, required

## Response `200`

A sequence of environment variables.

- object
  - `items` object[], required
    - `name` string, required — The name of the environment variable.
    - `value` string, required — The value of the environment variable.
    - `created-at` string — The creation timestamp of the environment variable.
  - `next_page_token` string, required — A token to pass as a `page-token` query parameter to return the next page of results.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/versions/b9c0e0c24058/schema)
