Hugging Face · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Hugging Face Hub Repos API

4 actions 4 updates phrasing extends openapi/hugging-face-repos-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Hugging Face's API. It is a proposal applied on top of the contract, not a document Hugging Face publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/repos/create'].post
$.paths['/repos/delete'].delete
$.paths['/repos/{repo_type}/{repo_id}/settings'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Hugging Face Hub Repos API
  version: 1.0.0
extends: openapi/hugging-face-repos-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/repos/create'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a model, dataset or Space repo
      effect: write
      questions:
      - How do I create a new model or dataset repository on the Hub through the API?
      - Can I create a repo directly under an organization and make it private?
      - Which SDK do I need to specify when the new repo is a Space?
      instructions:
      - text: Create a new {type} repository named {name}.
        slots:
          type: requestBody.type
          name: requestBody.name
      - text: Create private={private} {type} repo {name} under organization {organization}.
        slots:
          private: requestBody.private
          type: requestBody.type
          name: requestBody.name
          organization: requestBody.organization
      - text: Create a Space called {name} of type {type} using SDK {sdk}.
        slots:
          name: requestBody.name
          type: requestBody.type
          sdk: requestBody.sdk
      method: generated
      generated: '2026-10-01'
- target: $.paths['/repos/delete'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a repository from the Hub
      effect: destructive
      questions:
      - Can I delete a model, dataset or Space repository from the Hub?
      - What do I need to identify a repo I want removed from an organization?
      instructions:
      - text: Delete the {type} repository {name}.
        slots:
          type: requestBody.type
          name: requestBody.name
      - text: Remove {type} repo {name} owned by organization {organization}.
        slots:
          type: requestBody.type
          name: requestBody.name
          organization: requestBody.organization
      method: generated
      generated: '2026-10-01'
- target: $.paths['/repos/{repo_type}/{repo_id}/settings'].put
  update:
    x-apievangelist-phrasing:
      intent: Change a repo's visibility or gating
      effect: write
      questions:
      - Can I switch an existing repository from public to private?
      - Is there a way to require users to request access to a model before downloading it?
      instructions:
      - text: Make {repo_type} repo {repo_id} private={private}.
        slots:
          repo_type: path.repo_type
          repo_id: path.repo_id
          private: requestBody.private
      - text: Set access gating on {repo_type} {repo_id} to {gated}.
        slots:
          repo_type: path.repo_type
          repo_id: path.repo_id
          gated: requestBody.gated
      method: generated
      generated: '2026-10-01'

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-repos-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.