---
title: "Get bucket details"
method: GET
path: "/api/containers/{namespace}/{repo}"
tags: ["containers"]
---

# Get bucket details

`GET /api/containers/{namespace}/{repo}`

## Path parameters

- `namespace` string, required
- `repo` string, required

## Response `200`

Bucket overview information

- object
  - `_id` string, required — A hex string of 24 characters representing an ObjectId.
  - `author` string, required
  - `id` string, required
  - `private` boolean, nullable
  - `description` string, nullable — Free-text description of the bucket / container image
  - `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-23** `ea15a26e9ab3` — 1 info
  - added the optional property `description` to the response with the `200` status
- **2026-09-18** `74f2b0d17636` — 1 info
  - endpoint added

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