---
title: "List stack containers"
method: GET
path: "/api/stacks/{stackName}/containers"
tags: ["Stacks"]
---

# List stack containers

`GET /api/stacks/{stackName}/containers`

Returns all containers belonging to the specified stack.

## Path parameters

- `stackName` string, required

## Headers

- `x-node-id` integer

## Response `200`

Array of container objects.

- Container[]
  - `Id` string — Docker container ID.
  - `Names` string[] — Container names (prefixed with `/`).
  - `Service` string — Compose service name (if part of a stack).
  - `State` 'running' | 'exited' | 'paused' | 'restarting' | 'dead' | 'created' — Container state.
  - `Status` string — Human-readable status string (e.g., "Up 2 hours").
  - `Ports` object[]
    - `PrivatePort` integer
    - `PublicPort` integer

## Other responses

- `401` — Authentication required. Provide a valid Bearer token.
- `500` — Internal server error.

## Changes

- **2026-04-05** `7464894ea582` — 2 warning, 2 info
  - added the new `PAID_REQUIRED` enum value to the `code` response property for the response status `401`
  - added the new `PAID_REQUIRED` enum value to the `code` response property for the response status `500`
  - removed the `PRO_REQUIRED` enum value from the `code` response property for the response status `401`
  - removed the `PRO_REQUIRED` enum value from the `code` response property for the response status `500`
- **2026-04-01** `c62bbceae824` — 1 breaking
  - added the pattern `^[a-zA-Z0-9_-]+$` to the `path` request parameter `stackName`

[Change history](https://skmtc.dev/studio-saelix/apis/sencho-api/changes/api/stacks/:stackName/containers/get.md)

---

[API](https://skmtc.dev/studio-saelix/apis/sencho-api.md) · [All operations](https://skmtc.dev/studio-saelix/apis/sencho-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/studio-saelix/sencho-api/revisions/8db6d8a0b0fe/schema)
