---
title: "Get container"
method: GET
path: "/api/v1/container/{container_id}"
tags: ["Containers"]
---

# Get container

`GET /api/v1/container/{container_id}`

Get container.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: Read-only operation.

## Path parameters

- `container_id` string, required

## Headers

- `Accept` string

## Response `200`

OK

- GetContainerResponse — GetContainerResponse schema
  - `data` object
    - `command` string
    - `created` string
    - `host_config` object
      - `cpu_shares` integer
      - `memory` integer
      - `memory_swap` integer
    - `id` string, uuid
    - `image` string
    - `ip_address` string
    - `labels` object
    - `mounts` object[]
      - `destination` string
      - `mode` string
      - `source` string
      - `type` string
    - `name` string
    - `networks` object[]
      - `aliases` string[]
      - `gateway` string
      - `ip_address` string
      - `mac_address` string
      - `name` string
    - `ports` object[]
      - `private_port` integer
      - `public_port` integer
      - `type` string
    - `state` string
    - `status` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4` — 3 info
  - api tag `Containers` added
  - api tag `api/v1/container` removed
  - api tag `{container_id}` removed
- **2026-04-02** `2beb810c5221` — 24 warning, 13 info
  - removed the optional property `detail` from the response with the `400` status (media type: application/json)
  - removed the optional property `detail` from the response with the `400` status (media type: application/xml)
  - removed the optional property `detail` from the response with the `500` status (media type: application/json)
  - removed the optional property `detail` from the response with the `500` status (media type: application/xml)
  - …33 more
- **2026-03-26** `e34b00e45318` — 8 breaking, 4 warning, 25 info
  - removed the required property `code` from the response with the `400` status (media type: application/json)
  - removed the required property `code` from the response with the `400` status (media type: application/xml)
  - removed the required property `code` from the response with the `500` status (media type: application/json)
  - removed the required property `code` from the response with the `500` status (media type: application/xml)
  - …33 more
- …earlier changes not shown

[Full history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/container/:container_id/get.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/c5bacaea7239/schema)
