Stack Management
List Stacks
Retrieve all compose stacks for an environment
GET
Query Parameters
string
required
Environment ID to list stacks from
Response
Returns an array of compose stack objects.string
Stack name
array
Array of container IDs in the stack
array
Detailed information about each container
string
Overall stack status:
running, stopped, partial, or createdstring
Stack source type:
internal, git, or externalResponse Behavior
- Returns an empty array if no environment ID is provided
- Returns stacks from both Docker and database
- Includes stacks that are currently stopped (status:
created) - Silently returns empty array for offline environments
Error Responses
string
Error message
403 Forbidden
Returned when the user lacks permission to view stacks or access the environment.404 Not Found
Returned when the specified environment does not exist.Permissions
Requiresstacks:view permission for the specified environment.