/v1/asset-buckets/{uid}/objectsReturns every object in the bucket, newest first. Deleted objects are not included. Objects
whose upload has not been completed yet are listed with status pending_upload.
This endpoint is not paginated. For private buckets each object includes a freshly signed
read_url and its read_url_expires_at. For public buckets read_url is the public URL.
Objects written directly to the bucket with an S3 client (for example with a bucket access key) also appear here once storage reports them.
Requires read access to the workspace (any role).
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Path parameters
uidstringRequiredThe bucket's uid.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
The bucket's objects.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringRequiredUnique identifier of the object.
bucket_uidstringRequiredUID of the bucket the object belongs to.
keystringRequiredFull object key inside the S3 bucket.
filenamestringRequiredOriginal file name sent when the upload was created, or the last part of the key for objects written directly over S3.
content_typestringRequiredMIME type of the object.
size_bytesintegerRequiredSize of the object in bytes. Until the upload is completed this is the size_bytes sent when the upload was created; completing it replaces it with the size stored in the bucket.
statusstringRequiredpending_upload until the upload is completed, then ready.
One ofpending_uploadreadyfaileddeleted
public_urlstringRequiredPermanent URL of the object on the public assets host. Only readable without a signature in public buckets.
read_urlstringURL to read the object. A presigned URL in private buckets, otherwise the public URL.
read_url_expires_atstring (date-time)When read_url stops working. Only present when it is signed.
read_url_is_signedbooleanRequiredtrue when read_url is a presigned, expiring URL.
created_atstring (date-time)RequiredWhen the object record was created.
last_failurestringWhy the object failed, if it did. Omitted otherwise.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
404 | The bucket does not exist in this workspace. |
Errors use the standard error format.