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 orgs API

The following endpoints let you interact with Hub Organizations and their members.

Hugging Face Transformers orgs 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 orgs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 14 operations across 13 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 13 paths 0 schemas 11 GET1 PATCH1 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 orgs 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 13 paths, the API surfaces 14 operations — 11 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

orgs 14

The following endpoints let you interact with Hub Organizations and their members.

POST
/api/organizations/{name}/settings/tokens/revoke
Revoke a member's access token from the organization
1 param body
GET
/api/organizations/{name}/settings/repositories
List organization repositories with storage info
6 params → 200
GET
/api/organizations/{name}/audit-log/export
Export the audit log
2 params → 200
GET
/api/organizations/{name}/settings/network-security
Get network security settings
1 param → 200
PATCH
/api/organizations/{name}/settings/network-security
Update network security settings
1 param body → 200
GET
/api/organizations/{name}/avatar
Get avatar
2 params → 200
GET
/api/organizations/{name}/members
Get organization members
5 params → 200
PUT
/api/organizations/{name}/members/{username}/role
Change member role
2 params body
GET
/api/organizations/{name}/billing/usage
Get org usage
2 params → 200
GET
/api/organizations/{name}/billing/usage-v2
Get org usage
3 params
GET
/api/organizations/{name}/billing/usage-by-resource-group
Get org usage by resource group
3 params → 200
GET
/api/organizations/{name}/billing/usage/live
Stream usage
1 param
GET
/api/organizations/{name}/socials
Get social handles
1 param → 200
GET
/api/avatars/{namespace}
Get avatar
1 param

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hugging-face-transformers-orgs-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 buckets 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