---
title: "show stack"
method: GET
path: "/stacks/{id}"
tags: ["Stacks"]
---

# show stack

`GET /stacks/{id}`

## Request

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

Returns the details of a specific stack by ID.

## Path parameters

- `id` integer, required

## Query parameters

- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- Stack
  - `id` integer, required
  - `_type` string, required
  - `name` string, required
  - `version` 'v1' | 'v2', required
  - `region` string, required
  - `default` boolean, required
  - `public` boolean, required
  - `created_at` string, dateTime, required
  - `updated_at` string, dateTime, required
  - `ssh_host_dsa_public_key` string, required
  - `ssh_host_rsa_public_key` string, required
  - `ssh_host_ecdsa_public_key` string, required
  - `ssh_portal_host` string, required
  - `ssh_portal_port` integer, required
  - `outbound_ip_addresses` string[], required
  - `memory_limits` boolean, required
  - `cpu_limits` boolean, required
  - `intrusion_detection` boolean, required
  - `expose_intrusion_detection_reports` boolean, required
  - `account_id` string, required
  - `vpc_id` string, required
  - `internal_domain` string, required
  - `default_domain` string, required
  - `brickwall_enabled` boolean, required
  - `vpc_cidr` string, required
  - `_links` StackLinks
    - `organization` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `accounts` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `intrusion_detection_reports` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `vpn_tunnels` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `vpc_peers` 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`
- **2025-11-14** `a0af32b45330`: 1 info
  - added the required property `vpc_cidr` to the response with the `200` status

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/stacks/: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)
