curl -X GET '{{documentUrl}}/internal/storage/buckets' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Cache-Control: no-cache' \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate, br'
List storage buckets
Retrieve a list of all available storage buckets in the document storage system
GET
{documentUrl}
/
internal
/
storage
/
buckets
curl -X GET '{{documentUrl}}/internal/storage/buckets' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Cache-Control: no-cache' \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate, br'
Reference under review. The path of this endpoint (
/internal/storage/...) indicates it is an internal document-plugin operation used between FlowX services, not a public integration API. For supported integration patterns, see Consuming FlowX from external apps.Storage buckets are logical containers that organize and group related files. Each bucket has unique permissions and configuration settings.
Authentication
This endpoint requires Bearer Token authentication. Include your API token in the Authorization header.string
required
Bearer token for API authentication. Format:
Bearer YOUR_API_TOKENURL Parameters
string
required
The base URL of the document storage service where buckets are managed.Example:
https://document-service.your-domain.comstring
required
Path segment indicating this is an internal API call within the document service. This distinguishes internal system operations from external public APIs.
string
required
Path segment specifying that this endpoint operates on storage resources. This groups all storage-related operations under a common path.
string
required
Path segment identifying the specific storage resource type being accessed. This endpoint targets bucket-level operations for listing available storage containers.
Headers
string
default:"no-cache"
Cache control directive. Use
no-cache to ensure fresh bucket data.string
default:"*/*"
Content type that the client can accept. Supports
*/* for all types.string
default:"gzip, deflate, br"
Acceptable encoding methods for response compression. Supports
gzip, deflate, br.Request examples
curl -X GET '{{documentUrl}}/internal/storage/buckets' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Cache-Control: no-cache' \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate, br'
const response = await fetch('{{documentUrl}}/internal/storage/buckets', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Cache-Control': 'no-cache',
'Accept': '*/*'
}
});
const buckets = await response.json();
import requests
response = requests.get(
'{{documentUrl}}/internal/storage/buckets',
headers={
'Authorization': 'Bearer YOUR_API_TOKEN',
'Cache-Control': 'no-cache',
'Accept': '*/*'
}
)
buckets = response.json()
Last modified on May 12, 2026
Related topics
Listing stored filesData architectureFile StorageDocuments plugin setupAI Platform setup⌘I

