Hugging Face — list a user's or org's repos
Automatically list a user's or org's repos on huggingface.co. List the models, datasets and Spaces of a Hugging Face user or organization (e.g. "google", or the username from huggingface.co/whoami): each repo's type, id, URL, likes, downloads, private flag, pipeline tag (models), SDK (Spaces) and last-modified date, most downloaded / liked first. Pick which types to list and how many per type. Public repos need no sign-in; when signed in, the account's own private repos are included. An author with no repos returns an empty list.
Input
author requiredHub user or organization name, e.g. "google" or the username from huggingface.co/whoami.
limit optionalMaximum repos per type (default 20), most downloaded / liked first.
types optionalWhich repo types to list (default all three).
Output
repos requiredauthor requiredcounts optionalFAQ
Hugging Face — list invoices
List Hugging Face billing invoices from /settings/billing/invoices (newest first). Each row carries period, status and amount; rows with a finalized Stripe invoice also expose hostedInvoiceUrl (https://invoice.stripe.com/i/...), which is null when HF doesn't render a downloadable invoice for that period. For org billing, set the active org's billing via the org URL first (this reads the personal/default billing scope).
Hugging Face whoami (signed-in account)
Report which Hugging Face account this browser is signed in as: the user id, Hub username, full name, email (and whether it is verified), Pro status, and every organization with the account's role there. Being signed out — including a stale session cookie — is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Hugging Face scripts.
Hugging Face — get a model, dataset or Space
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.
