---
title: "GET /v1beta/{tenantId}/block/attachments"
method: GET
path: "/v1beta/{tenantId}/block/attachments"
tags: ["Block volume attachments"]
---

# GET /v1beta/{tenantId}/block/attachments

`GET /v1beta/{tenantId}/block/attachments`

Lists information for all volume attachments.

## Query parameters

- `volumeId` string
- `hostId` string

## Response `200`

OK

- VolumeAttachmentRespSpec[]
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `tenantId` string
  - `userId` string
  - `attachMode` 'rw' | 'ro'
  - `hostId` string
  - `volumeId` string
  - `mountpoint` string
  - `status` string
  - `connectionInfo` ConnectionInfo — ConnectionInfo is a structure for all properties of connection when creating a volume attachment.
    - `driverVolumeType` string
    - `data` object
    - `extraProperties` object

## Other responses

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

---

[API](https://skmtc.net/sodafoundation/apis/soda-api.md) · [All operations](https://skmtc.net/sodafoundation/apis/soda-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sodafoundation/soda-api/revisions/62ce0f6c94b4/schema)
