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

# GET /v1/volumes/{id}

`GET /v1/volumes/{id}`

## Request

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

Get storage volume detail by volume ID.

## Path parameters

- `id` string, required

## Response `200`

OK

- VolumeRespSpec: Volume is an device created by storage service, it can be attached to physical machine or virtual machine instance.
  - `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
- `404`: The resource does not exist
- `500`: An unexpected error occured.

## Changes

- **2020-07-14** `f1e0eabbadb5`: 1 warning, 1 info
  - deleted the `path` request parameter `storage_id`
  - added the optional property `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 `allOf[subschema #2]/status` response property for the response status `200`
  - added the new `error` enum value to the `allOf[subschema #2]/status` response property for the response status `200`
  - removed the `abnormal` enum value from the `allOf[subschema #2]/status` response property for the response status `200`
  - removed the `normal` enum value from the `allOf[subschema #2]/status` response property for the response status `200`
  - …1 more
- **2020-06-22** `0fdcb8a77d6a`: 13 breaking, 7 warning, 13 info
  - added the new path request parameter `storage_id`
  - removed the required property `error_args` from the response with the `401` status
  - removed the required property `error_args` from the response with the `403` status
  - removed the required property `error_args` from the response with the `404` status
  - …29 more

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/changes/v1/volumes/:id/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)
