Hanzo AI
OpenapiS3

Create buckets

Makes a new bucket for the caller's org and answers 201 with it.

POST /v1/s3/buckets

Addresshttps://api.hanzo.ai/v1/s3/buckets
MethodPOST
Operationpost_s3_buckets
AuthAuthorization: Bearer $HANZO_API_KEY

Makes a new bucket for the caller's org and answers 201 with it.

The physical name is derived from the caller's validated org, so a tenant can only ever create inside its own namespace and no request field can redirect that. A name already taken in the org is 409.

Billed per call: the balance is checked BEFORE anything is touched, so an unfunded org is refused with nothing created, and the debit lands only once the bucket exists.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
namebodystringName is the bucket's friendly name, matching ^a-z0-9?$.

Response

StatusBodyMeaning
201bucketItemcreated

201 body — 2 fields.

FieldInTypeAlwaysDescription
createdAtbodyintegerunix seconds
namebodystringfriendly name

Failure carries the platform error shape — see Errors.

Examples

hanzo s3 buckets create

S3 API · All Hanzo APIs · Interactive reference

How is this guide?

On this page