List Containers
Query Parameters
string
required
The environment ID from which to list containers. This parameter is required.
boolean
default:"true"
Whether to show all containers (including stopped ones). Defaults to
true if not specified.Response
Returns an array of container objects.array
Error Responses
string
Error message if the request fails
200- Success403- Permission denied or environment access denied404- Environment not found
Example
Response Example
Create Container
Query Parameters
string
required
The environment ID where the container will be created.
Request Body
string
required
The Docker image to use for the container (e.g., “nginx:latest”)
string
Name for the container
boolean
default:"false"
Whether to automatically start the container after creation
array
Array of environment variables in the format [“KEY=value”]
object
Port bindings object mapping container ports to host ports
object
Volume bindings object
object
Labels to attach to the container
Response
boolean
Whether the container was created successfully
string
The ID of the created container
boolean
Whether the image was pulled automatically
Error Responses
string
Error message if the request fails
string
Additional error details
200- Container created successfully403- Permission denied or environment access denied500- Failed to create container or pull image
