---
title: "List all containers"
method: GET
path: "/api/containers"
tags: ["Containers"]
---

# List all containers

`GET /api/containers`

Returns all running containers on the target node.

## Query parameters

- `nodeId` integer

## 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.

---

[API](https://skmtc.net/studio-saelix/apis/sencho-api.md) · [All operations](https://skmtc.net/studio-saelix/apis/sencho-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/studio-saelix/sencho-api/versions/f36f82acae1d/schema)
