List object cache buckets

List the buckets an object cache serves. Returns every bucket in one page.

GET https://{availability_zone}.betterstackcloud.com/v1/object-proxies/{object_proxy_id}/buckets
object_proxy_id string required

The ID of the object cache.

Authorization string required

Bearer $TOKEN

200 OK
{
  "data": [
    {
      "id": "example",
      "name": "Example object cache bucket",
      "origin_endpoint": "https://s3.us-west-2.amazonaws.com",
      "origin_bucket": "my-bucket",
      "origin_prefix": "example",
      "origin_region": "us-east-1",
      "origin_force_path_style": true,
      "origin_creation_date": "2026-07-01T12:00:00.000Z",
      "scoped_credentials": false,
      "created_at": "2026-07-01T12:00:00.000Z"
    }
  ]
}

Returns the list of object cache buckets.

id string

The bucket's ID, a UUID.

name string

The bucket name clients use with the object cache, 3–63 lowercase letters, digits, dots and hyphens, starting and ending with a letter or digit.

origin_endpoint string

The HTTPS URL of the origin's storage service, such as https://s3.us-east-1.amazonaws.com.

origin_bucket string

The name of the bucket at the origin, at most 255 characters.

origin_prefix string

A folder in the bucket at the origin to serve as the whole bucket, such as tenant-a/. Clients see only the objects under it.

origin_region string

The origin's region, such as us-east-1 or auto. Defaults to us-east-1.

origin_force_path_style boolean

Whether we send the bucket name in the URL path to the origin, instead of in the hostname. Defaults to true.

origin_creation_date datetime or null

When the bucket at the origin was created, as the origin reports it. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

scoped_credentials boolean

Whether the bucket has its own access keys. When it's false, rotate the bucket's keys to create them.

created_at datetime

When the bucket was added. In ISO 8601 format, such as 2026-07-01T12:00:00Z.