---
title: "GET /v1/volumes"
method: GET
path: "/v1/volumes"
tags: ["Volumes"]
---

# GET /v1/volumes

`GET /v1/volumes`

## Request

- The document declares no server URL.
- Auth: none declared

List all storage volumes.

## Query parameters

- `limit` integer
- `offset` integer
- `sort` string
- `name` string
- `native_storage_pool_id` string
- `native_volume_id` string
- `storage_id` string
- `status` 'noraml' | 'offline' | 'abnormal'

## Response `200`

List volumes operation was successful

- object
  - `volumes` VolumeRespSpec[], required
    - `id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `name` string
    - `description` string
    - `status` 'available' | 'error'
    - `storage_id` string
    - `total_capacity` integer
    - `used_capacity` integer
    - `free_capacity` integer
    - `compressed` boolean
    - `deduplicated` boolean
    - `type` 'thick' | 'thin'
    - `native_volume_id` string
    - `wwn` string
    - `native_storage_pool_id` string

## Other responses

- `401`: NotAuthorized
- `403`: Forbidden
- `500`: An unexpected error occured.

## Changes

- **2020-07-14** `f1e0eabbadb5`: 1 info
  - added the optional property `volumes/items/allOf[subschema #2]/storage_id` to the response with the `200` status
- **2020-06-22** `3d3829cf1352`: 2 warning, 3 info
  - added the new `available` enum value to the `volumes/items/allOf[subschema #2]/status` response property for the response status `200`
  - added the new `error` enum value to the `volumes/items/allOf[subschema #2]/status` response property for the response status `200`
  - removed the `abnormal` enum value from the `volumes/items/allOf[subschema #2]/status` response property for the response status `200`
  - removed the `normal` enum value from the `volumes/items/allOf[subschema #2]/status` response property for the response status `200`
  - …1 more
- **2020-06-22** `5bf6b72adec1`: 4 warning, 5 info
  - deleted the `query` request parameter `pool_id`
  - removed the optional property `volumes/items/allOf[subschema #2]/pool_id` from the response with the `200` status
  - removed the optional property `volumes/items/allOf[subschema #2]/provisioning_policy` from the response with the `200` status
  - removed the optional property `volumes/items/allOf[subschema #2]/volume_id` from the response with the `200` status
  - …5 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/changes/v1/volumes/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/revisions/b2017613d719?raw)
