---
title: "Retrieve Container"
method: GET
path: "/v1/containers/{container_id}"
tags: ["containers"]
---

# Retrieve Container

`GET /v1/containers/{container_id}`

Container retrieve endpoint for getting details of a specific container.

Follows the OpenAI Containers API spec:
https://platform.openai.com/docs/api-reference/containers

Example:
```bash
curl -X GET "http://localhost:4000/v1/containers/cntr_123"         -H "Authorization: Bearer sk-1234"
```

Or specify provider via header:
```bash
curl -X GET "http://localhost:4000/v1/containers/cntr_123"         -H "Authorization: Bearer sk-1234"         -H "custom-llm-provider: azure"
```

## Path parameters

- `container_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/containers/:container_id/get.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/3b2b241e4b0b?raw)
