---
title: "GET /v2/vals/{val_id}/environment_variables/"
method: GET
path: "/v2/vals/{val_id}/environment_variables/"
tags: ["vals"]
---

# GET /v2/vals/{val_id}/environment_variables/

`GET /v2/vals/{val_id}/environment_variables/`

List environment variables defined in this project. This only includes names, not values.

## Path parameters

- `val_id` string, uuid, required

## Query parameters

- `offset` integer, required
- `limit` integer, required

## Response `200`

A paginated result set

- object — A paginated result set
  - `data` TEnvironmentVariable[], required
    - `key` string, required — Name or key of the environment variable, accessible via Deno.env or process.env
    - `description` string, nullable, required — Optional description of the environment variable
    - `updatedAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
  - `links` PaginationLinks, required — Links to use for pagination
    - `self` string, uri, required — URL of this page
    - `prev` string, uri — URL of the previous page, if any
    - `next` string, uri — URL of the next page, if any

## Changes

- **2026-08-05** `4d8b6d2e6db3` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2026-03-11** `dc1b3c9e3b2a` — 1 breaking
  - response property `data/items/updatedAt` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2025-10-30** `f039435c5e18` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/val-town/apis/val-town-api/changes/v2/vals/:val_id/environment_variables/get.md)

---

[API](https://skmtc.dev/val-town/apis/val-town-api.md) · [All operations](https://skmtc.dev/val-town/apis/val-town-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/val-town/val-town-api/revisions/4d8b6d2e6db3/schema)
