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

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

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

List the environment variable groups attached to this val. This only includes the groups, not the variables in them.

## 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` object[], required
    - `name` string, required — Name of the environment variable group
    - `id` string, uuid, required — The id of the group
    - `orgId` string, uuid, required — The id of the group
    - `count` integer, required
    - `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 info
  - endpoint added

[Change history](https://skmtc.dev/val-town/apis/val-town-api/changes/v2/vals/:val_id/environment_variable_groups/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)
