List Objects
This endpoint lists objects in a bucket with cursor-based pagination, filtering, and sorting.
**Filtering**: Use dot notation for metadata fields
- Example: ?metadata.type=video&metadata.status=ready
**Sorting**: Specify field and direction
- Example: ?sort_field=metadata.created_at&sort_direction=desc
- Direction: asc (ascending) or desc (descending), defaults to asc
**Pagination**: Cursor-based for efficient deep pagination
- First page: ?limit=100 (omit cursor)
- Next pages: ?limit=100&cursor={next_cursor}
- Use next_cursor from response to navigate
- No limit on pagination depth
**Total Count**: Optional (expensive operation)
- Use ?include_total=true to get total count
- Adds 50-200ms to response time
- Returns total, page, page_size, total_pages fields in pagination response
Path parameters
The unique identifier of the bucket.
The unique identifier of the bucket.
Query parameters
Request body
Example request
{
"filters": {
"AND": [
{
"field": "name",
"operator": "eq",
"value": "John"
},
{
"field": "age",
"operator": "gte",
"value": 30
}
],
"OR": [
{
"field": "status",
"operator": "eq",
"value": "active"
},
{
"field": "role",
"operator": "eq",
"value": "admin"
}
],
"NOT": [
{
"field": "department",
"operator": "eq",
"value": "HR"
},
{
"field": "location",
"operator": "eq",
"value": "remote"
}
],
"case_sensitive": true
},
"sort": {
"field": "created_at"
},
"select": [
"metadata",
"status",
"created_at"
]
}Response
Successful Response
Example response
{
"pagination": {
"has_more": false,
"limit": 10,
"skip": 0
},
"results": [
{
"blobs": [],
"bucket_id": "bkt_9xy8z7",
"created_at": "2024-10-21T10:30:00Z",
"key_prefix": "/contract-2024",
"metadata": {
"category": "contracts",
"year": 2024
},
"object_id": "obj_123abc456def",
"status": "DRAFT",
"updated_at": "2024-10-21T10:30:00Z"
}
]
}Changes
Changed in 5 of the 33 revisions of this API.212
- ●
added the new
signalsenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
DEACTIVATEDenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
- ○
added the new optional
queryrequest parameterafternew-optional-request-parameter
- ○
added the new optional
queryrequest parameternext_cursornew-optional-request-parameter
- ○
- ○
added the new
geo_bounding_boxenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property//////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property//////request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○