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

# List namespace buckets

`GET /api/containers/{namespace}`

## Path parameters

- `namespace` string, required

## Query parameters

- `search` string

## Response `200`

List of buckets

- object[]
  - `_id` string, required — A hex string of 24 characters representing an ObjectId.
  - `author` string, required
  - `id` string, required
  - `private` boolean, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required — Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path.
  - `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' | 'container', 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 — A hex string of 24 characters representing an ObjectId.
    - `name` string, required
    - `numUsers` number

## Changes

- **2026-09-18** `74f2b0d17636` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/containers/: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.dev/huggingface/apis/hub-api-endpoints/revisions/74f2b0d17636?raw)
