List storage connections for the authenticated organization.
Returns paginated results with optional filters for provider type, status, and active flag. Results are sorted by creation date (newest first).
Use Cases:
Example:
curl -X POST "http://localhost:8000/v1/organizations/connections/list" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider_type": "google_drive",
"is_active": true
}'
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
Request payload for listing storage connections with filters.
Use this to filter connections by provider type, status, or active flag. Results are paginated automatically.
Use Cases:
Examples:
# List all active Google Drive connections
{
"provider_type": "google_drive",
"is_active": True
}
# Find failed connections
{
"status": "failed"
}
OPTIONAL. Filter connections by provider type. Must be one of: google_drive, s3. If not provided, returns connections of all types.
google_drive, s3 "google_drive"
OPTIONAL. Filter connections by operational status. ACTIVE: Healthy and ready for use. SUSPENDED: Temporarily disabled. FAILED: Health checks failing. ARCHIVED: Permanently retired.
PENDING, IN_PROGRESS, PROCESSING, COMPLETED, COMPLETED_WITH_ERRORS, FAILED, CANCELED, UNKNOWN, SKIPPED, DRAFT, ACTIVE, ARCHIVED, SUSPENDED OPTIONAL. Filter by active flag. True: Returns only active connections (status=ACTIVE). False: Returns only inactive connections (SUSPENDED/FAILED/ARCHIVED). If not provided, returns connections of all active states.
Successful Response
Response envelope for listing storage connections.
Contains paginated results and metadata about the listing operation.
List of storage connections matching the request filters. Results are paginated according to the pagination parameters. SECURITY: Sensitive credential fields are automatically redacted.
Pagination metadata including total count, page number, page size, and navigation links for next/previous pages.
Total number of connections matching the filters (before pagination). Use this to calculate total pages and display pagination controls.
x >= 0