Hanzo AI
OpenapiS3

List buckets

Lists the caller org's own buckets. Only the caller's: every bucket is physically named under a per-org prefix and the listing strips that prefix, so a…

GET /v1/s3/buckets

Addresshttps://api.hanzo.ai/v1/s3/buckets
MethodGET
Operationget_s3_buckets
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the caller org's own buckets.

Only the caller's: every bucket is physically named under a per-org prefix and the listing strips that prefix, so a tenant sees friendly names and another tenant's buckets are not in the answer at all. Another org's bucket is not refused but INVISIBLE, so this cannot be used to learn that a name is taken elsewhere.

Billed per call: the balance is checked BEFORE anything is touched, so an unfunded org is refused with nothing done, and the debit lands only once the work has succeeded.

Request

GET /v1/s3/buckets takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200bucketListok

200 body — 4 fields.

FieldInTypeAlwaysDescription
bucketsbodybucketItem[]Buckets are the caller org's buckets, friendly names, oldest first as the store returns them.
buckets[].createdAtbodyintegerunix seconds
buckets[].namebodystringfriendly name
totalbodyintegerTotal is how many buckets this org has.

Failure carries the platform error shape — see Errors.

Examples

hanzo s3 buckets list

S3 API · All Hanzo APIs · Interactive reference

How is this guide?

On this page