Hugging Face · Schema

Hugging Face User

Schema for a Hugging Face user account including profile information, organizations, and subscription details.

Properties

Name Type Description
type string Account type
id string Unique user identifier
name string Username (handle)
fullname string Full display name
email string Email address
emailVerified boolean Whether the email has been verified
plan string Subscription plan
isPro boolean Whether the user is on a Pro plan
canPay boolean Whether the user has a payment method configured
avatarUrl string URL to the user's avatar image
orgs array Organizations the user belongs to
auth object Authentication information
View JSON Schema on GitHub

JSON Schema

hugging-face-user-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://huggingface.co/schemas/user.json",
  "title": "Hugging Face User",
  "description": "Schema for a Hugging Face user account including profile information, organizations, and subscription details.",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Account type",
      "enum": [
        "user",
        "org"
      ]
    },
    "id": {
      "type": "string",
      "description": "Unique user identifier"
    },
    "name": {
      "type": "string",
      "description": "Username (handle)",
      "examples": [
        "julien-c",
        "lysandre"
      ]
    },
    "fullname": {
      "type": "string",
      "description": "Full display name"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address"
    },
    "emailVerified": {
      "type": "boolean",
      "description": "Whether the email has been verified"
    },
    "plan": {
      "type": "string",
      "description": "Subscription plan",
      "enum": [
        "free",
        "pro",
        "enterprise"
      ]
    },
    "isPro": {
      "type": "boolean",
      "description": "Whether the user is on a Pro plan"
    },
    "canPay": {
      "type": "boolean",
      "description": "Whether the user has a payment method configured"
    },
    "avatarUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL to the user's avatar image"
    },
    "orgs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Organization username"
          },
          "fullname": {
            "type": "string",
            "description": "Organization display name"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "plan": {
            "type": "string"
          },
          "avatarUrl": {
            "type": "string",
            "format": "uri"
          },
          "isEnterprise": {
            "type": "boolean",
            "description": "Whether this is an Enterprise organization"
          },
          "periodEnd": {
            "type": "string",
            "format": "date-time",
            "description": "Subscription period end date"
          },
          "role": {
            "type": "string",
            "description": "User's role in this organization",
            "enum": [
              "admin",
              "write",
              "read",
              "contributor"
            ]
          }
        }
      },
      "description": "Organizations the user belongs to"
    },
    "auth": {
      "type": "object",
      "description": "Authentication information",
      "properties": {
        "accessToken": {
          "type": "object",
          "properties": {
            "displayName": {
              "type": "string",
              "description": "Token display name"
            },
            "role": {
              "type": "string",
              "description": "Token role/permissions"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/hugging-face-user"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.