---
title: "Get Bucket Usage"
method: GET
path: "/storage/buckets/{bucketName}/usage/storage"
tags: ["Bucket Usage"]
---

# Get Bucket Usage

`GET /storage/buckets/{bucketName}/usage/storage`

Returns the amount of storage space and number of files a bucket takes up.

## Path parameters

- `bucketName` string, required

## Response `200`

Bucket Storage Usage

- object
  - `data` BucketUsage[]
    - `size` integer — The size of the bucket in bytes
    - `size_kb` integer — The size of the bucket in kilobytes
    - `num_objects` integer — The number of objects in the bucket
    - `timestamp` string, date-time — The time the snapshot was taken
  - `meta` PaginationMetaSimple
    - `page_number` integer, required
    - `page_size` integer
    - `total_pages` integer, required
    - `total_results` integer

## Other responses

- `401` — Unauthorized
- `404` — Bucket not found
- `422` — Unprocessable Entity

---

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