Hugging Face · Schema

Hugging Face Space

Schema for a Space (interactive ML application) hosted on the Hugging Face Hub, including runtime configuration, SDK, hardware, and repository metadata.

Properties

Name Type Description
_id string Internal unique identifier for the Space
id string Space repository ID in the format author/space-name
author string Author or organization that owns the Space
sha string Latest Git commit SHA
lastModified string Timestamp of the last modification
createdAt string Timestamp when the Space was created
private boolean Whether the Space is private
disabled boolean Whether the Space has been disabled
tags array Tags associated with the Space
likes integer Number of likes/favorites
sdk string SDK framework used to build the Space
sdk_version string Version of the SDK
python_version string Python version used
app_file string Main application file (e.g., app.py)
app_port integer Port the application listens on (for Docker Spaces)
emoji string Emoji displayed next to the Space name
colorFrom string Gradient start color for the Space card
colorTo string Gradient end color for the Space card
pinned boolean Whether the Space is pinned on the author's profile
license string License identifier
short_description string Brief description shown on the Space card
models array Model IDs used by this Space
datasets array Dataset IDs used by this Space
runtime object Runtime status and configuration
siblings array Files in the Space repository
cardData object Parsed metadata from the Space card YAML front matter
View JSON Schema on GitHub