Hanzo
OpenapiS3

Browse one level of a bucket

Lists one folder level of a bucket: each entry's key, whether it is a folder, its size, last-modified time and ETag.

GET /v1/s3/buckets/{bucket}/objects

Addresshttps://api.hanzo.ai/v1/s3/buckets/{bucket}/objects
MethodGET
Operationget_s3_buckets_by_bucket_objects
AuthAuthorization: Bearer $HANZO_API_KEY

Lists one folder level of a bucket: each entry's key, whether it is a folder, its size, last-modified time and ETag. prefix scopes the read to a sub-folder.

Keys come back RELATIVE to the requested prefix, not absolute, which is what lets a client render a breadcrumb without re-deriving it. The default is the folder view — sub-prefixes are returned as directory entries — and recursive=true flattens it to every key beneath the prefix instead.

The listing is bounded at 1000 entries so a large bucket cannot exhaust memory; treat a full page as "there may be more" rather than as the whole bucket.

A validated principal is required, and every bucket and key is resolved inside the caller's own org: physical bucket names are derived from the org, so a tenant cannot name another's storage. The operation is billed per call — the balance is checked BEFORE anything is touched, so an unfunded org is refused with nothing done, and the debit happens only after the work succeeds. Object storage that is not configured answers 503 under this subsystem's own name rather than falling through to another.

Request

1 field.

FieldInTypeRequiredDescription
bucketpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo s3 buckets objects list <bucket>

S3 API · All Hanzo APIs · Interactive reference

How is this guide?

On this page