App Logo
huggingface.co

Hugging Face — get a model, dataset or Space

Automatically get a model, dataset or Space on huggingface.co. Get one Hugging Face model, dataset or Space by id (e.g. "google/gemma-2b"): URL, author, commit sha, private / gated / disabled flags, likes, downloads, pipeline tag, library, license, tags, Space SDK and runtime stage, the full file list, and created / last-modified dates. Public repos need no sign-in; when signed in, the account's own private repos resolve too. An unknown or inaccessible repo is a clear error.

Input

id required

Repo id, e.g. "google/gemma-2b" (from huggingface.co/list_user_repos or the repo URL).

type optional

Repo type (default model).

Output

id required
url required
type required
sdk optional
sha optional
tags optional
files optional
gated optional
likes optional
author optional
license optional
private optional
disabled optional
createdAt optional
downloads optional
libraryName optional
pipelineTag optional
lastModified optional
runtimeStage optional

Spaces only: RUNNING, SLEEPING, BUILDING…

FAQ

Get one Hugging Face model, dataset or Space by id (e.g. "google/gemma-2b"): URL, author, commit sha, private / gated / disabled flags, likes, downloads, pipeline tag, library, license, tags, Space SDK and runtime stage, the full file list, and created / last-modified dates. Public repos need no sign-in; when signed in, the account's own private repos resolve too. An unknown or inaccessible repo is a clear error.
Ask an AI agent connected to Reduck to run reduck/huggingface.co/get_repo, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/huggingface.co/get_repo
You do not need one. "Hugging Face — get a model, dataset or Space" drives the real huggingface.co pages in a browser, so it works whether or not huggingface.co offers an API for this.
Required: id. Optional: type.
It returns id, sdk, sha, url, tags, type, files, gated, likes, author, license, private, disabled, createdAt, downloads, libraryName, pipelineTag, lastModified, runtimeStage.
No. It only uses pages of huggingface.co that are reachable without signing in.
It only reads. It looks things up on huggingface.co and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/huggingface.co/get_repo, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/huggingface.co/get_repo
It is part of Reduck's official curated catalogue.

Start building not clicking