---
title: "GET /internal/environments/{environment_id}/volumes"
method: GET
path: "/internal/environments/{environment_id}/volumes"
tags: ["Workload Volumes"]
---

# GET /internal/environments/{environment_id}/volumes

`GET /internal/environments/{environment_id}/volumes`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/internal/environments/{environment_id}/volumes`
- Auth: HTTP bearer

## Path parameters

- `environment_id` integer, required

## Query parameters

- `page` integer, nullable
- `page_size` integer, nullable

## Response `200`

- EnvironmentVolumeListResponse
  - `page` integer, required
  - `page_size` integer, required
  - `total` integer, required
  - `volumes` EnvironmentVolumeResponse[], required: Newest first.
    - `attachment` VolumeAttachmentDto, nullable
      - `mount_path` string, required: Absolute path inside every replica.
      - `read_only` boolean, required
    - `backing` string, required: `named` (a Docker named volume).
    - `created_at` string, required: ISO 8601, UTC.
    - `environment_id` integer, required
    - `id` integer, required
    - `name` string, required
    - `node_id` integer, nullable: The node holding the data: `null` until first created, `0` for the control plane. A replica that mounts it is pinned there.
    - `pin_reason` string, nullable: The pin the console shows, e.g. "pinned to node 0 by volume `data`".
    - `retain_on_delete` boolean, required
    - `size_mb` integer, nullable
    - `updated_at` string, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Environment not found
- `500`: Storage failed

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-28** `b8d51a990805`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/internal/environments/:environment_id/volumes/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
