---
title: "show container"
method: GET
path: "/containers/{id}"
tags: ["Containers"]
---

# show container

`GET /containers/{id}`

## Request

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

Returns the details of a specific container by ID.

## Path parameters

- `id` integer, required

## Query parameters

- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- Container
  - `id` integer, required
  - `host` string, required
  - `port` integer, required
  - `status` string, required
  - `docker_name` string, required
  - `_type` string, required
  - `created_at` string, dateTime, required
  - `updated_at` string, dateTime, required
  - `layer` string, required
  - `aws_instance_id` string, required
  - `instance_class` string, required
  - `memory_limit` integer, required
  - `port_mapping` array[], required
    - integer[]
  - `allocation` string[], required
  - `mounts` array[], required
    - string[]
  - `_links` ContainerLinks
    - `release` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `vhost` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `log_drain` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `metric_drain` 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`

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