Hugging Face Transformers · OpenAPI Overlay 1.0.0

API Evangelist enhancements for Hugging Face Hub API

3 actions 3 updates update extends openapi/hugging-face-transformers-openapi.json
Derived by API Evangelist Built from the contracts Hugging Face Transformers publishes. Hugging Face Transformers did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-providerx-apievangelist-artifactsx-apievangelist-notesOAuth2

Targets 2

$.info
$.components.securitySchemes

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for Hugging Face Hub API
  version: 1.0.0
extends: openapi/hugging-face-transformers-openapi.json
actions:
  - target: $.info
    update:
      x-apievangelist-provider: hugging-face-transformers
      x-apievangelist-artifacts:
        authentication: authentication/hugging-face-transformers-authentication.yml
        scopes: scopes/hugging-face-transformers-scopes.yml
        conventions: conventions/hugging-face-transformers-conventions.yml
        errors: errors/hugging-face-transformers-problem-types.yml
        lifecycle: lifecycle/hugging-face-transformers-lifecycle.yml
        data-model: data-model/hugging-face-transformers-data-model.yml
        mcp: mcp/hugging-face-transformers-mcp.yml
  - target: $.info
    update:
      x-apievangelist-notes: >-
        Hub API is unversioned at https://huggingface.co/api. Auth is bearer
        User Access Token; a full OAuth 2.0 / OIDC server backs Sign in with HF.
        SCIM 2.0 org provisioning and an agentic provisioning surface are
        included. Errors are application/json (not RFC 9457). Pagination is
        cursor-based (cursor + limit) with Link rel=next.
  - target: $.components.securitySchemes
    update:
      OAuth2:
        type: oauth2
        description: >-
          Sign in with Hugging Face (added by API Evangelist from the published
          OIDC discovery document; not declared in the harvested spec, which
          only carries bearerAuth).
        flows:
          authorizationCode:
            authorizationUrl: https://huggingface.co/oauth/authorize
            tokenUrl: https://huggingface.co/oauth/token
            scopes:
              openid: Get the ID token in addition to the access token.
              profile: Get the user's profile information.
              email: Get the user's email address.
              read-repos: Read access to the user's personal repos.
              write-repos: Write/read access to the user's personal repos.
              manage-repos: Full access incl. repo creation and deletion.
              inference-api: Make inference requests on behalf of the user.
              jobs: Run jobs.
              webhooks: Manage webhooks.
              write-discussions: Open discussions and Pull Requests.

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/hugging-face-transformers-hub-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.