Swagger Petstore - OpenAPI 3.0
GET/containers/{container_id}

Retrieve a container

Retrieves a specific container by its unique identifier. Returns the full container object including its configuration, status, memory limit, and network policy.

1 parameter
container_idstringrequired
The unique identifier of the container to retrieve.

2 status codes
200Returns the container object with its unique identifier, name, creation timestamp, status, memory limit, and network policy.
idstringrequired
Unique identifier for the container.
objectstringrequired
The type of this object.
namestringrequired
Name of the container.
created_atintegerrequired
Unix timestamp (in seconds) when the container was created.
statusstringrequired
Status of the container (e.g., active, deleted).
last_active_atintegeroptional
Unix timestamp (in seconds) when the container was last active.
expires_afterobjectoptional
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.
memory_limitstringoptional
The memory limit configured for the container.
Allowed:1g4g16g64g
network_policyobjectoptional
Network access policy for the container.
429Returned when the request exceeds the rate limit.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds the rate limit. container_id must identify an existing container.