Hanzo
OpenapiCloudflare

Lists the R2 buckets on the org's Cloudflare account.

Lists the R2 buckets on the org's Cloudflare account.

GET /v1/cloudflare/r2/buckets

Addresshttps://api.hanzo.ai/v1/cloudflare/r2/buckets
MethodGET
Operationget_cloudflare_r2_buckets
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the R2 buckets on the org's Cloudflare account. Any org member may read.

Request

5 fields.

FieldInTypeRequiredDescription
per_pagequerystringPerPage is how many buckets one page holds.
cursorquerystringCursor continues from the position a previous page returned.
name_containsquerystringNameContains filters to buckets whose name contains this substring.
orderquerystringOrder names the field to sort by, and Direction sorts asc or desc.
directionquerystring

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare r2 buckets list

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page