---
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

---

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