---
title: "show disk attachment"
method: GET
path: "/disk_attachments/{id}"
tags: ["DiskAttachments"]
---

# show disk attachment

`GET /disk_attachments/{id}`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/disk_attachments/{id}`
- Auth: API key in header `Authorization`

Returns the details of a specific disk attachment by ID.

## Path parameters

- `id` integer, required

## Query parameters

- `with_deleted` boolean
- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

reports deprovisioned when soft-deleted

- DiskAttachment
  - `id` integer, required
  - `_type` string, required
  - `mount_point` string, required
  - `status` string, required
  - `created_at` string, dateTime, required
  - `updated_at` string, dateTime, required
  - `deleted_at` string, dateTime, required
  - `_embedded` DiskAttachmentEmbedded, required
    - `service` Service
      - `id` integer, required
      - `_type` string, required
      - `handle` string, required
      - `docker_repo` string, required
      - `docker_ref` string, required
      - `process_type` string, required
      - `command` string, required
      - `container_count` integer, required
      - `created_at` string, dateTime, required
      - `updated_at` string, dateTime, required
      - `container_memory_limit_mb` integer, required
      - `instance_class` string, required
      - `force_zero_downtime` boolean, required
      - `naive_health_check` boolean, required
      - `restart_free_scaling` boolean, required
      - `stop_timeout` integer, required
      - `_links` ServiceLinks
        - `account` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `current_release` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `app` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `database` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `operations` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `releases` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `vhosts` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `settings` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `current_setting` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `self` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
    - `persistent_disk` PersistentDisk
      - `_type` string, required
      - `id` integer, required
      - `handle` string, required
      - `status` string, required
      - `disk_type` string, required
      - `size` integer, required
      - `provisioned_iops` integer, required
      - `disk_status` string, required
      - `aws_resource_id` string, required
      - `kms_arn` string, required
      - `modification_progress` integer, required
      - `availability_zone` string, required
      - `formatted` boolean, required
      - `created_at` string, dateTime, required
      - `updated_at` string, dateTime, required
      - `modified_at` string, dateTime, required
      - `deleted_at` string, dateTime, required
      - `_links` PersistentDiskLinks
        - `account` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `operations` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `self` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
  - `_links` DiskAttachmentLinks
    - `account` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `service` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `persistent_disk` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `operations` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

- `default`: Error response. Often a 4xx or 5xx status code

## Changes

- **2026-07-24** `1dc1e5b8c6eb`: 2 info
  - added the new optional `header` request parameter `Prefer`
  - added the new optional `query` request parameter `no_embed`
- **2026-07-15** `5c71f4c63067`: 2 info
  - added the new optional `query` request parameter `with_deleted`
  - added the required property `status` to the response with the `200` status
- **2025-11-20** `1a8233ac6563`: 1 info
  - added the required property `_embedded/service/restart_free_scaling` to the response with the `200` status
- **2025-11-14** `a0af32b45330`: 2 info
  - added the optional property `_embedded/service/_links/current_setting` to the response with the `200` status
  - added the optional property `_embedded/service/_links/settings` to the response with the `200` status
- **2025-05-09** `ee2aa8884ffa`: 1 info
  - added the required property `_embedded/service/stop_timeout` to the response with the `200` status

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/disk_attachments/:id/get.md)

---

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