Hugging Face · GraphQL Specification

Hugging Face GraphQL Schema

This conceptual GraphQL schema models the Hugging Face AI platform, covering the full surface area of its public APIs: the Hub API for managing models, datasets, and spaces; the Inference API for running ML pipelines; Inference Endpoints for dedicated deployments; and the Dataset Viewer API for querying hosted datasets.

Documentation Endpoint View on GitHub GraphQL

Overview

Hugging Face GraphQL Schema is a GraphQL API specification published by Hugging Face on the APIs.io network.

This conceptual GraphQL schema models the Hugging Face AI platform, covering the full surface area of its public APIs: the Hub API for managing models, datasets, and spaces; the Inference API for running ML pipelines; Inference Endpoints for dedicated deployments; and the Dataset Viewer API for querying hosted datasets.

The specification includes 6 reference links.

Endpoint

References

Related API Specs

Hugging Face Audio API (OpenAPI) Hugging Face Chat API (OpenAPI) Hugging Face Chat Completions API (OpenAPI) Hugging Face Computer Vision API (OpenAPI) Hugging Face Data Access API (OpenAPI) Hugging Face Dataset Info API (OpenAPI) Hugging Face Datasets API (OpenAPI) Hugging Face Embeddings API (OpenAPI) Hugging Face Endpoints API (OpenAPI) Hugging Face Files & Metadata API (OpenAPI) Hugging Face Image Generation API (OpenAPI) Hugging Face Info API (OpenAPI) Hugging Face Models API (OpenAPI) Hugging Face Multimodal API (OpenAPI) Hugging Face Natural Language Processing API (OpenAPI) Hugging Face Providers API (OpenAPI) Hugging Face Repos API (OpenAPI) Hugging Face Search & Filter API (OpenAPI) Hugging Face Spaces API (OpenAPI) Hugging Face Text Generation API (OpenAPI) Hugging Face Users API (OpenAPI)
Back to Hugging Face · All GraphQL Specs · GitHub

Work with this as data

Every GraphQL schema 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 graphql

4 MCP tools reach this
  • find_graphqlBrowse and filter every GraphQL schema 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 GraphQL schema
curl "https://apis.io/api/v1/graphql/hugging-face-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

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

Get an API key

Free tier, no email required.

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