> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Buckets

List all buckets in your R2 Object Storage.

<Note>
  External Documentation

  To learn more, visit the [Cloudflare R2 documentation](https://developers.cloudflare.com/r2/api/s3/api/).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                       |
  | --------- | ------------------------------------------------- |
  | Prefix    | Query buckets by the prefix of the bucket's name. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                        | Description                                                                   |
  | -------------------------------- | ----------------------------------------------------------------------------- |
  | Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format. |
</div>

## Example Output

```json theme={"dark"}
{
	"ListAllMyBucketsResult": {
		"-xmlns": "<string>",
		"Buckets": {
			"Bucket": {
				"CreationDate": "2012-10-14T05:46:00.882Z",
				"Name": "<string>"
			}
		},
		"Owner": {
			"ID": "<string>",
			"DisplayName": "<string>"
		}
	}
}
```

## Workflow Library Example

[List Buckets with Cloudflare R2 and Send Results Via Email](https://library.blinkops.com/workflows/list-buckets-with-cloudflare-r2-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-buckets-with-cloudflare-r2-and-send-results-via-email/canvas" />
</div>
