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