Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hugging Face Transformers buckets API

Git-free storage buckets for files, powered by Xet. Buckets provide simple file storage without git versioning.

Hugging Face Transformers buckets API is one of 27 APIs that Hugging Face Transformers publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include buckets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 14 operations across 11 paths. It is described by OpenAPI 3.1.0, at version 0.0.1.

Requests are made against a single base URL, https://huggingface.co.

14 operations 11 paths 0 schemas 1 DELETE7 GET5 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.0.1
Base URL
https://api-inference.huggingface.co
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Hugging Face Transformers buckets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 14

Across 11 paths, the API surfaces 14 operations — 1 DELETE, 7 GET, 5 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

buckets 14

Git-free storage buckets for files, powered by Xet. Buckets provide simple file storage without git versioning.

POST
/api/buckets/{namespace}/{repo}/lfs-files/duplicate
Duplicate xet files
2 params body → 200207
GET
/api/buckets/{namespace}/{repo}/xet-write-token
Xet write token
2 params → 200
GET
/api/buckets/{namespace}/{repo}/xet-read-token
Xet read token
2 params → 200
POST
/api/buckets/{namespace}/{repo}/resource-group
Add resource group
2 params body → 200
GET
/api/buckets/{namespace}/{repo}/resource-group
Get resource group
2 params → 200
POST
/api/buckets/{namespace}/{repo}
Create bucket
2 params body → 200409
DELETE
/api/buckets/{namespace}/{repo}
Delete bucket
2 params
GET
/api/buckets/{namespace}/{repo}
Get bucket details
2 params → 200
PUT
/api/buckets/{namespace}/{repo}/settings
Update bucket settings
2 params body → 200
GET
/api/buckets/{namespace}
List namespace buckets
2 params → 200
GET
/buckets/{namespace}/{repo}/resolve/{path}
Retrieve information about a file in a bucket
6 params → 200302400404
POST
/api/buckets/{namespace}/{repo}/batch
Batch file operations
2 params → 200422
GET
/api/buckets/{namespace}/{repo}/tree/{path}
List files
6 params → 200
POST
/api/buckets/{namespace}/{repo}/paths-info
List paths info
2 params body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hugging-face-transformers-buckets-api-openapi.yml Raw ↑

Other APIs Hugging Face Transformers publishes across the network.

Hugging Face Transformers Library
Hugging Face Inference API
Hugging Face Spaces API
Text Generation Inference (TGI)
Hugging Face Transformers agentic-provisioning API
Hugging Face Transformers auth API
Hugging Face Transformers collections API
Hugging Face Transformers datasets API
Hugging Face Transformers discussions API
Hugging Face Transformers docs API
Hugging Face Transformers inference-endpoints API
Hugging Face Transformers jobs API