List Containers
Containers
List Containers
Retrieve all containers for your account
GET
List Containers
Endpoint
Request Headers
Bearer token for authentication
Response
Array of container objects
Total number of containers
Maximum containers allowed for your tier
Status Codes
- 200 OK - Containers retrieved successfully
- 401 Unauthorized - Missing or invalid API token
- 500 Internal Server Error - Server-side error
Examples
Response Example
Container Status
Thestatus field indicates the current state:
- creating - Container is being initialized (pulling image, setting up environment)
- configuring - Container is running but still installing development tools
- running - Container is fully ready and accepting connections
- stopped - Container is stopped but data is preserved
- error - Container creation or operation failed
Filtering and Pagination
The List endpoint returns all containers for the authenticated user. Containers are sorted by creation date (newest first). For large datasets, consider implementing client-side filtering and pagination.
Usage Statistics
Idle Time
Theidle_seconds field shows how long a container has been inactive. This is useful for:
- Identifying containers to stop to save resources
- Implementing auto-stop policies
- Monitoring usage patterns
Resource Utilization
Including Agents
If you have connected BYOS (Bring Your Own Server) agents, they appear in the containers list with an
agent: prefix in the ID. Agents show status as online or offline.Notes
See Also
- Create Container - Create a new container
- Get Container - Get details for a specific container
- Container Management - Start, stop, and delete operations
Get Container
Path Parameters
Container ID (Docker ID or database ID)
Response
Returns a single container object with the same structure as the list endpoint.Example
Status Codes
- 200 OK - Container found
- 401 Unauthorized - Missing or invalid API token
- 404 Not Found - Container does not exist or you don’t have access