---
title: "List Volume Sessions"
method: GET
path: "/api/v1/training/volumes/{name}/sessions"
tags: ["training"]
---

# List Volume Sessions

`GET /api/v1/training/volumes/{name}/sessions`

## Request

- Base URL: `https://api.primeintellect.ai`
- URL: `https://api.primeintellect.ai/api/v1/training/volumes/{name}/sessions`
- Auth: HTTP bearer

The caller's sessions that still block deleting the volume.

## Path parameters

- `name` string, required

## Query parameters

- `teamId` string, nullable

## Response `200`

Successful Response

- ListVolumeSessionsResponse
  - `sessions` VolumeSessionResponse[], required
    - `id` string, required
    - `volumeName` string, required
    - `status` string, required
    - `readOnly` boolean, required
    - `sshConnection` string, nullable
    - `gateway` VolumeSessionGateway
      - `host` string, required
      - `port` integer, required
      - `certSha256` string, required
    - `hostPublicKey` string, nullable
    - `errorMessage` string, nullable
    - `createdAt` string, date-time, required
    - `phase` string, nullable
    - `progress` string, nullable
    - `liveViewOf` string, nullable

## Other responses

- `401`: Authorization failed
- `422`: Invalid request data

## Changes

> 49 revisions in range; 1 not diffed.

- **2026-10-29** `e96edafbde88`: 1 info
  - added the optional property `sessions/items/liveViewOf` to the response with the `200` status
- **2026-10-10** `4e60263f0880`: 2 info
  - added the optional property `sessions/items/phase` to the response with the `200` status
  - added the optional property `sessions/items/progress` to the response with the `200` status
- **2026-10-01** `78a0717641d2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/primeintellect/apis/pi-api/changes/api/v1/training/volumes/:name/sessions/get.md)

---

[API](https://skmtc.dev/primeintellect/apis/pi-api.md) - [All operations](https://skmtc.dev/primeintellect/apis/pi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/primeintellect/apis/pi-api/revisions/7f032a9306b0?raw)
