---
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

## Changes

- **2024-12-18** `922f156353c9` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-12** `1a4b05c71ba9` — 1 breaking, 4 info
  - the `items/` response's property type/format changed from `string`/`` to `object`/`` for status `200`
  - added the optional property `items/createdAt` to the response with the `200` status
  - added the optional property `items/name` to the response with the `200` status
  - added the optional property `items/policy` to the response with the `200` status
  - …1 more
- **2024-12-11** `68dff202f6ad` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/buckets/get.md)

---

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