---
title: "List block storage volumes"
method: GET
path: "/block-storage"
tags: ["block-storage"]
---

# List block storage volumes

`GET /block-storage`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/block-storage`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/block-storage/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `instance-id` string, uuid

## Response `200`

200

- object
  - `block-storage-volumes` BlockStorageVolume[]
    - `labels` Labels
    - `instance` InstanceRef: Target Instance
      - `id` string, uuid: Instance ID
    - `name` string: Volume name
    - `state` 'snapshotting' | 'deleted' | 'creating' | 'detached' | 'deleting' | 'attaching' | 'error' | 'attached' | 'detaching': Volume state
    - `size` integer: Volume size
    - `blocksize` integer: Volume block size
    - `block-storage-snapshots` BlockStorageSnapshotRef[]: Volume snapshots, if any
      - `id` string, uuid: Block storage snapshot ID
    - `id` string, uuid: Volume ID
    - `encrypted` boolean: Indicates if the block-storage volume is encrypted
    - `created-at` string, date-time: Volume creation date

## Changes

- **2026-11-06** `63da6f74c845`: 1 info
  - added the optional property `block-storage-volumes/items/encrypted` to the response with the `200` status
- **2025-05-22** `37a05010e8b4`: 1 info
  - added the optional property `block-storage-volumes/items/block-storage-snapshots` to the response with the `200` status
- **2025-01-18** `cf1e7ba7143f`: 1 breaking, 1 warning
  - the `block-storage-volumes/items/size` response property's min was decreased from `10.00` to `1.00` for the response status `200`
  - removed the optional property `block-storage-volumes/items/block-storage-snapshots` from the response with the `200` status
- **2024-05-22** `d1903c399d90`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/block-storage/get.md)

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
