Hugging Face Transformers collections API
Use Collections to group repositories from the Hub (Models, Datasets, Spaces and Papers) on a dedicated page.You can learn more about it in the Collections [guide](https://huggingface.co/docs/hub/collections). Collections can also be managed using the Python client (see [guide](https://huggingface.co/docs/huggingface_hub/main/en/guides/collections)).
Hugging Face Transformers collections 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 collections. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 14 operations across 9 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.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Hugging Face Transformers collections 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 9 paths, the API surfaces 14 operations — 4 DELETE, 3 GET, 2 PATCH, 5 POST. Each is listed below with its method, path, parameters, and response codes.
Use Collections to group repositories from the Hub (Models, Datasets, Spaces and Papers) on a dedicated page. You can learn more about it in the Collections [guide](https://huggin…
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Hugging Face Transformers 12
Other APIs Hugging Face Transformers publishes across the network.