---
title: "Get all buckets"
method: GET
path: "/bus/buckets"
tags: ["bus"]
---

# Get all buckets

`GET /bus/buckets`

Returns all known buckets. Every object is attached to a bucket and every bucket can have its own set of access policies.

## Response `200`

Successfully retrieved buckets

- Bucket[]
  - `name` string — The name of the bucket.
  - `policy` object
    - `publicReadAccess` boolean — Whether the bucket is publicly readable
  - `createdAt` string, date-time — The time the bucket was created

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.net/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/versions/184a3d5207da/schema)
