---
title: "List namespace buckets"
method: GET
path: "/api/buckets/{namespace}"
tags: ["buckets"]
---

# List namespace buckets

`GET /api/buckets/{namespace}`

## Path parameters

- `namespace` string, required

## Query parameters

- `search` string

## Response `200`

List of buckets

- object[]
  - `_id` string, required
  - `author` string, required
  - `id` string, required
  - `private` boolean, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `size` number, required — The amount of storage used by the bucket in bytes
  - `totalFiles` number, required — The total number of files in the bucket
  - `repoType` 'bucket', required
  - `adminTags` string[]
  - `disabled` object
    - `reason` string, required
    - `hideReadme` boolean
  - `cdnRegions` object[], required
    - `provider` 'gcp' | 'aws', required
    - `region` 'us' | 'eu', required
  - `resourceGroup` object
    - `id` string, required
    - `name` string, required
    - `numUsers` number

## Changes

> 47 revisions in range; 18 could not be searched.

- **2026-07-26** `36390f25f00f` — 2 info
  - added the optional property `items/adminTags` to the response with the `200` status
  - added the optional property `items/disabled` to the response with the `200` status

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/buckets/:namespace/get.md)

---

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