---
title: "List containers"
method: GET
path: "/containers"
---

# List containers

`GET /containers`

List Containers

## Query parameters

- `limit` integer
- `order` 'asc' | 'desc'
- `after` string
- `name` string

## Response `200`

Success

- ContainerListResource
  - `object` 'list', required — The type of object returned, must be 'list'.
  - `data` ContainerResource[], required — A list of containers.
    - `id` string, required — Unique identifier for the container.
    - `object` string, required — The type of this object.
    - `name` string, required — Name of the container.
    - `created_at` integer, required — Unix timestamp (in seconds) when the container was created.
    - `status` string, required — Status of the container (e.g., active, deleted).
    - `last_active_at` integer — Unix timestamp (in seconds) when the container was last active.
    - `expires_after` object — The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.
      - `anchor` 'last_active_at' — The reference point for the expiration.
      - `minutes` integer — The number of minutes after the anchor before the container expires.
    - `memory_limit` '1g' | '4g' | '16g' | '64g' — The memory limit configured for the container.
    - `network_policy` object — Network access policy for the container.
      - `type` 'allowlist' | 'disabled', required — The network policy mode.
      - `allowed_domains` string[] — Allowed outbound domains when `type` is `allowlist`.
  - `first_id` string, required — The ID of the first container in the list.
  - `last_id` string, required — The ID of the last container in the list.
  - `has_more` boolean, required — Whether there are more containers available.

---

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