v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBBucket Uploads
List Uploads
List uploads in a bucket with filtering, sorting, search, and pagination.
**Filtering**: Use LogicalOperator with shorthand syntax
- Simple: `{"status": "PENDING", "metadata.campaign": "summer_2024"}`
- Complex: `{"AND": [{"field": "file_size_bytes", "operator": "gte", "value": 1000000}]}`
**Sorting**: Specify field and direction
- Example: `{"field": "created_at", "direction": "desc"}`
**Search**: Full-text search across filename and metadata
- Example: `"search": "video"`
**Pagination**: Use limit and offset
- Example: `"limit": 50, "offset": 100`
post/v1/buckets/{bucket_identifier}/uploads/list
Path parameters
bucket_identifierstring required
The unique identifier of the bucket
The unique identifier of the bucket
Query parameters
limitinteger nullable
page_sizeinteger nullable
offsetinteger nullable
pageinteger nullable
cursorstring nullable
next_cursorstring nullable
afterstring nullable
include_totalboolean
Request body
Example request
{
"description": "List all pending uploads",
"filters": {
"status": "PENDING"
},
"limit": 20,
"offset": 0,
"sort": {
"direction": "desc",
"field": "created_at"
}
}Response
Successful Response
Example response
{
"pagination": {
"has_more": true,
"limit": 20,
"offset": 0,
"total_count": 42
},
"results": [
{
"bucket_id": "bkt_prod",
"created_at": "2024-01-15T10:30:00Z",
"file_size_bytes": 52428800,
"filename": "video1.mp4",
"status": "COMPLETED",
"upload_id": "upl_abc123"
}
],
"stats": {
"avg_file_size_bytes": 12483047,
"total_size_bytes": 524288000,
"total_uploads": 42,
"unique_buckets": 3,
"uploads_by_status": {
"COMPLETED": 35,
"FAILED": 2,
"PENDING": 5
}
}
}