Skip to main content
GET

Overview

Returns a list of all Docker volumes in the specified environment. This endpoint requires an environment ID to be provided as a query parameter.

Authentication

This endpoint requires authentication via cookies. The user must have the volumes:view permission for the specified environment.

Query Parameters

env
integer
required
The environment ID to list volumes from. Required parameter.

Response

volumes
array
Array of volume objects

Error Responses

Notes

  • Returns an empty array if no environment ID is provided
  • Volume data is retrieved directly from the Docker API
  • Requires authentication to be enabled and the user to have proper permissions
  • Enterprise users must have access to the specified environment
  • UsageData may not be available for all volume drivers
  • Volumes created by Docker Compose will include stack labels