Hugging Face MCP Server: PTC tools

53 typed tools for programmatic tool calling (?bouquet=ptc), covering the OpenAI bouquet and more. 37 anonymous · 40 with a read token · 53 with a write token · 41 read-only.

Mapping: OpenAI bouquet → PTC tools

Each operation of the 11 legacy tools (left) maps to one or more PTC tools (right). Bars count benchmark prompts per tool. Hover or click a node to trace it.

equivalentequivalent + server-side improvementequivalent by client compositionpartial (see note)★ new (no legacy predecessor)
OpenAI bouquet tool Legacy operation / capability PTC tool (shipped) benchmark prompts ★ new capability (no legacy predecessor) hf_fs hub_repo_details hub_repo_search create_repo dynamic_space hf_jobs hf_sandbox hf_sandbox_exec hf_sandbox_fs hf_whoami hf_fs_write ls repo/bucket dir (recursive, glob, type, offset/limit, @re…fs.ls.repo: ls repo/bucket dir (recursive, glob, type, offset/limit, @revision) ls hf://{models,datasets,spaces}/OWNER (+ --sort)fs.ls.namespace: ls hf://{models,datasets,spaces}/OWNER (+ --sort) — authorsAny + explicit sort (legacy default lastModified). ls hf://buckets/OWNERfs.ls.buckets: ls hf://buckets/OWNER ls hf://{models,datasets,spaces}/trendingfs.ls.trending: ls hf://{models,datasets,spaces}/trending find in repo (--name/--path glob, --type)fs.find.repo: find in repo (--name/--path glob, --type) — Server path index; glob fallback. find in owner namespace (name glob)fs.find.namespace: find in owner namespace (name glob) — query prefix + local glob over pages. search models/datasets/spaces (+OWNER, --tag, --sort, limit<…fs.search.repos: search models/datasets/spaces (+OWNER, --tag, --sort, limit<=1000) — 1,000-item searches become cursor loops; likes30d sort to be added. search hf://spaces QUERY / --kind mcp (semantic)fs.search.spaces_semantic: search hf://spaces QUERY / --kind mcp (semantic) — Upstream semantic search needs a query or category and ORs tags: tag-only / all-tags requests go to hf_spaces_list (tagsAll) or a local filter. search hf://collections[/OWNER]fs.search.collections: search hf://collections[/OWNER] cat repo/bucket text file (--offset, --max-bytes)fs.cat.text: cat repo/bucket text file (--offset, --max-bytes) attach JPEG/PNG/WebP (8 MiB batch budget)fs.attach: attach JPEG/PNG/WebP (8 MiB batch budget) — Per-call budget; batch admission semantics change. stat file / dir / repo root / linkfs.stat: stat file / dir / repo root / link search hf://papers QUERYfs.papers.search: search hf://papers QUERY ls hf://papers/daily/latest | YYYY/MM/DDfs.papers.daily: ls hf://papers/daily/latest | YYYY/MM/DD — Adds week/month/submitter. ls hf://papers/trending (limit<=100)fs.papers.trending: ls hf://papers/trending (limit<=100) — sort=trending. cat papers/ID/metadata.json, ls papers/ID (linked repos)fs.papers.meta: cat papers/ID/metadata.json, ls papers/ID (linked repos) cat papers/ID/paper.mdfs.papers.text: cat papers/ID/paper.md ls/cat/stat inside a collection (items, links, history)fs.collections.browse: ls/cat/stat inside a collection (items, links, history) ls/find hf://docs (llms.txt manifests)fs.docs.browse: ls/find hf://docs (llms.txt manifests) search hf://docs[/product/...]fs.docs.search: search hf://docs[/product/...] cat docs page / #anchor sectionfs.docs.read: cat docs page / #anchor section cat hf://README.md and papers README (usage guidance)fs.guidance: cat hf://README.md and papers README (usage guidance) — Superseded by tool descriptions/server instructions: approved-difference candidate. batch <=30 ops, bounded parallelism, ordered partial failuresfs.batch: batch <=30 ops, bounded parallelism, ordered partial failures — Provided by the PTC execution engine (asyncio.gather + per-call errors). accept hf:// URIs and huggingface.co web URLs (blob/resolve/…fs.uri: accept hf:// URIs and huggingface.co web URLs (blob/resolve/tree) — Shared ref parser across repository tools. overview for <=10 repos, model/dataset/space, auto-detectrd.overview: overview for <=10 repos, model/dataset/space, auto-detect — Listing idsAny lacks cardData/vocab_size: hf_repo_info is the full replacement. dataset_structure (configs, splits, sizes, parquet, schema)rd.structure: dataset_structure (configs, splits, sizes, parquet, schema) dataset_preview (config, split, offset, limit<=100)rd.preview: dataset_preview (config, split, offset, limit<=100) — Adds server-side filter/search. query/author/filters/sort/limit across repo typesrs.search: query/author/filters/sort/limit across repo types — One call per repo type. create model/dataset/Space (sdk, private) or bucketcr.create: create model/dataset/Space (sdk, private) or bucket Space hardware at creation (ZeroGPU, paid)cr.hardware: Space hardware at creation (ZeroGPU, paid) duplicate via source_uri (visibility, hardware)cr.duplicate: duplicate via source_uri (visibility, hardware) find MCP Spaces (semantic + mcp kind)dy.find: find MCP Spaces (semantic + mcp kind) — mcpOnly=true. view_parameters (first/selected tool schema)dy.view: view_parameters (first/selected tool schema) invoke with params, file URLs, media results, progressdy.invoke: invoke with params, file URLs, media results, progress discover curated catalog (DYNAMIC_SPACE_DATA mode)dy.discover: discover curated catalog (DYNAMIC_SPACE_DATA mode) run (image / Space image, argv, flavor, timeout, env, secret…jb.run: run (image / Space image, argv, flavor, timeout, env, secrets, volumes, labels) uv (script, deps, python)jb.uv: uv (script, deps, python) psjb.ps: ps inspectjb.inspect: inspect logs (tail / follow)jb.logs: logs (tail / follow) canceljb.cancel: cancel update-labels / scheduled update-labelsjb.labels: update-labels / scheduled update-labels scheduled run / scheduled uvjb.sched.create: scheduled run / scheduled uv scheduled psjb.sched.ps: scheduled ps scheduled inspectjb.sched.inspect: scheduled inspect scheduled delete / suspend / resumejb.sched.ctl: scheduled delete / suspend / resume — run_now added. create (image, flavor, timeout, volumes, bucket, token forwa…sb.create: create (image, flavor, timeout, volumes, bucket, token forwarding) statussb.status: status terminatesb.terminate: terminate ps (detached processes)sb.ps: ps (detached processes) killsb.kill: kill exec (workdir, stdin, env, timeout, detach, tag, progress)sb.exec: exec (workdir, stdin, env, timeout, detach, tag, progress) lssb.fs.ls: ls cat (offset, max-bytes)sb.fs.cat: cat (offset, max-bytes) statsb.fs.stat: stat write (text / base64)sb.fs.write: write (text / base64) rmsb.fs.rm: rm mkdirsb.fs.mkdir: mkdir account, orgs, planwho: account, orgs, plan put (text/base64, branch, create-pr, parent-commit; buckets)fw.put: put (text/base64, branch, create-pr, parent-commit; buckets) rm (commit/PR options; buckets)fw.rm: rm (commit/PR options; buckets) hf_collections_searchhf_collections_search [legacy parity, anonymous OK] Search collections (curated lists, reading lists) by title or description words, owner, or a contained model, dataset, Space or paper. Sort by trending, upvotes or last update. Returns a page of collection URIs with item previews. See hf_collection_get. 3 hf_collection_gethf_collection_get [legacy parity, anonymous OK] Read one collection (curated list, reading list) by slug, URL or hf:// URI. Returns title, description, owner and items with curator notes and item URIs, including models, datasets, Spaces, papers, buckets and nested collections. Optionally include recent change history. See hf_collections_search. 1 hf_buckets_listhf_buckets_list [legacy parity, anonymous OK] List storage buckets (object storage, mutable file stores) owned by a user or organization, optionally matching a bucket name. Returns IDs and hf:// URIs, with stored bytes and file counts when supplied. Results may be truncated locally without paging; narrow the name filter. 2 hf_trendinghf_trending [legacy parity, anonymous OK] Show Hugging Face's curated trending feed of hot models, datasets and Spaces. Browse the mixed feed or select one repository kind. Returns repository IDs, page links and hf:// URIs, with metadata such as likes or downloads when supplied; bounded to 20 items without paging. See hf_models_search. 11 hf_datasets_searchhf_datasets_search [original PTC slice, anonymous OK] Search Hugging Face dataset repositories (training data, benchmarks, eval sets) by name, or browse. Filter by owner, task category, modality, format, language, license, library or size bucket, including benchmark and agent-trace tags. Sort by downloads, likes, trending, date or stored size. For bulk row counts, use sort="numRows" (first page only); batch known IDs with idsAny and set limit to the batch size. Missing numRows means unknown, not zero. Returns repository IDs and hf:// URIs. 39 hf_spaces_listhf_spaces_list [original PTC slice, anonymous OK] List Hugging Face Spaces (apps, demos) by owner or organization, or browse repository names. Filter by SDK such as Gradio, Docker or static, running state, concrete hardware flavor, MCP server tag, exact tags or linked models and datasets. Sort by likes, trending or recency. Returns IDs and links, with optional SDK and runtime hardware details; listings support cursor paging. See hf_spaces_search. 24 hf_models_searchhf_models_search [original PTC slice, anonymous OK] Search Hugging Face model repositories (weights, checkpoints, LLMs) by name, or browse. Find fine-tune, adapter, GGUF and quantized builds using name prefixes and filters for owner, task, library, language, license, parameter size or base-model lineage. Sort by downloads, likes, trending, date or parameter count. Returns repository IDs and hf:// URIs. See hf_repo_fulltext_search, hf_trending. 100 hf_repo_fulltext_search ★hf_repo_fulltext_search [new capability, anonymous OK] Search Hugging Face README text (model cards, dataset cards) for phrases with full-text matching. Find content such as 'trained on SEC filings' across models, datasets and Spaces. Narrow by repository kind and an owner-or-repository selection. Results identify matching repositories and can include matched-file links and text excerpts. Public repositories only. 14 hf_hub_lookup ★hf_hub_lookup [new capability, anonymous OK] Resolve a partial or fuzzy name to an exact ID across models, datasets, Spaces, users, organizations, papers, collections and buckets. Returns best-first matches as one items list (kind tells the type), with hf:// URIs or profile URLs and upstream counts per kind where reported. Results are capped per type. 4 hf_filter_values ★hf_filter_values [new capability, anonymous OK] List exact filter values and tag IDs by group: model task, library, license, language or region; dataset modality, format, size bucket or task category. Also returns the pipeline task catalog. Filter IDs and labels by text; results include per-group counts and truncation flags. 0 hf_spaces_searchhf_spaces_search [original PTC slice, anonymous OK] Find Hugging Face Spaces (apps, Gradio demos) by use case, such as image generation. Multiword queries use hybrid semantic search; one-word queries match names and tags. Select a category or filter by SDK, tags, running state or MCP server tag. Returns relevance-ranked repository IDs and links from a bounded candidate set without paging. See hf_spaces_list. 31 hf_hardware_flavors ★hf_hardware_flavors [new capability, anonymous OK] List Hugging Face hardware flavors (GPU, CPU compute tiers) for Jobs or Spaces. Returns flavor IDs with accelerator model, GPU memory (VRAM), CPU, RAM, disk and USD cost per time unit when supplied. Use the Jobs catalog for sandbox flavor selection too. GPU examples include T4, L4 and A100; the live catalog governs flavors and prices. 9 hf_repo_list_fileshf_repo_list_files [legacy parity, anonymous OK] List Hugging Face repository files and folders (file tree, weights, checkpoints) by folder or revision. Browse models, datasets, Spaces or storage buckets, optionally recursively, and filter by glob such as *.gguf or *.safetensors, path substring or entry type. Returns paths, file sizes, LFS/Xet flags and file URIs. Path-index searches return only the first 100 matches. See hf_repo_read_text. 51 hf_repo_read_imagehf_repo_read_image [legacy parity, anonymous OK] Show a repository or bucket image (PNG, JPEG, WebP) by file URI: charts, diagrams or screenshots. Returns image content with file metadata including MIME type and byte size; images exceeding the chosen size cap, at most 8 MiB, are rejected. 3 hf_repo_history ★hf_repo_history [new capability, anonymous OK] Show repository history (commits, branches, tags) for a model, dataset or Space. Choose a revision's commits with authors, dates and messages, or list branches, tags, converted refs and optional pull-request refs. Results are paged for commits or capped at 500 refs. 2 hf_repo_read_texthf_repo_read_text [legacy parity, anonymous OK] Read Hugging Face repository text files (README, model card, dataset card) by file URI or URL. Open LICENSE, config.json, tokenizer settings, chat templates or source code from a model, dataset, Space or storage bucket. Returns text content and byte offsets, with nextOffset for continuation through a bounded byte window. See hf_repo_list_files. 73 hf_repo_paths_infohf_repo_paths_info [legacy parity, anonymous OK] Check whether known file and folder paths exist in a repository, or whether known file paths exist in a bucket, like stat (buckets check file paths only; list bucket folders or prefixes via hf_repo_list_files). Returns entry type, file size, LFS/Xet flags and missing or invisible paths. Repository options add last-commit details and recursive folder sizes (includeFolderSize)—use this to size dataset folders and balance shards before listing large trees or mounting volumes. Accepts up to 2,000 supplied paths (50 folder sizes) per call. See hf_repo_list_files. 2 hf_repo_infohf_repo_info [legacy parity, anonymous OK] Inspect Hugging Face repository metadata (details, statistics, access status) by ID, URI or URL. Get available details for models, datasets, Spaces or storage buckets: model card metadata including license, base models and training datasets; gated/private status, downloads, likes, parameter counts, GGUF summary, storage size and, on request, chat template. Space details include SDK, runtime stage and hardware. Select the metadata to return for up to 50 repositories per call. 31 hf_papers_searchhf_papers_search [legacy parity, anonymous OK] Search Hugging Face papers (arXiv preprints, research articles) by topic, method, title or question. Returns paper IDs and links, with titles, authors, publication dates, upvotes, AI summaries and abstract excerpts when available. Results are a bounded relevance-ranked set without continuation. See hf_paper_get. 15 hf_daily_papershf_daily_papers [legacy parity, anonymous OK] Browse Hugging Face daily papers (AI research, arXiv preprints) by featured date or trending rank. Select today's date, an ISO week or a month, optionally narrowing to one submitter. Without a period, order by newest featured first or by the global trending rank; a period uses the Hub's period ranking. Returns paper IDs and links, with titles, upvotes, comment counts, summaries and submitters when available; supports pagination. See hf_papers_search. 7 hf_paper_gethf_paper_get [legacy parity, anonymous OK] Get Hugging Face paper details (arXiv metadata, authors, abstract) by ID or URL. Accepts batches and hf://papers URIs. Available details include title, full abstract, AI summary, keywords, publication date, upvotes, GitHub and project links, plus citing models, datasets and Spaces with upstream totals; linked repositories are previews per kind. Returns per-paper errors inline. See hf_paper_read. 8 hf_paper_readhf_paper_read [legacy parity, anonymous OK] Read a research paper's full text as Markdown by arXiv ID, hf://papers URI or paper URL. Returns content and a source marker identifying full text or an abstract-only fallback. Reads byte chunks; pass nextOffset as offset to continue until null. See hf_paper_get. 1 hf_docs_searchhf_docs_search [legacy parity, anonymous OK] Search Hugging Face documentation (docs, how-to guides, API reference) by question or keywords. Find relevant pages for products such as Transformers, Hub or PEFT, optionally restricting results to a product or documentation folder. Returns page URIs with section anchors and excerpts when available; results are bounded search candidates. Then hf_docs_read. 14 hf_docs_readhf_docs_read [legacy parity, anonymous OK] Read Hugging Face documentation pages (docs, guides, sections) by URI or URL. Returns page text or an anchored section as Markdown. Supply a product name to browse its page index, optionally filtered by a page-path glob, or omit the URI to list documentation products. Continue page text with nextOffset or the index with nextCursor. See hf_docs_search. 9 hf_dataset_structurehf_dataset_structure [legacy parity, anonymous OK] Inspect Hugging Face dataset structure (splits, subsets, columns) by dataset ID. Use the Dataset Viewer for one dataset: schema, feature types, split counts, sizes and parquet URLs. For row counts across search hits use hf_datasets_search with sort="numRows" instead of probing each hit; gated datasets may lack Viewer data. Select sections to return or narrow to a subset and split; per-column statistics require both. Results may be partial. See hf_dataset_rows. 18 hf_dataset_rowshf_dataset_rows [legacy parity, anonymous OK] Read Hugging Face dataset rows (samples, previews, records) for a chosen subset and split. Use the Dataset Viewer to filter and sort with SQL-like expressions, or choose a separate full-text search in string columns. Returns row values and indices, column names and types, and indicators of truncated cells. Pages contain up to 100 rows; continue with nextCursor, or start at a row with offset. See hf_dataset_structure. 6 hf_space_toolshf_space_tools [legacy parity, anonymous OK] Inspect Hugging Face Space MCP tools (MCP endpoint only, not plain Gradio API routes) before calling a Space. Select a Space by ID, URI or URL to get tool names, descriptions, argument schemas and file inputs that accept public URLs. Reports runtime stage, SDK and hardware; some Spaces tagged mcp-server expose no MCP tools (for Gradio-only Spaces inspect app.py with hf_repo_read_text). Then hf_space_invoke. 15 hf_space_invokehf_space_invoke [legacy parity, anonymous OK] Run Hugging Face Space tools (Gradio apps, AI demos) by exact tool name and JSON arguments. Select a Space by ID, URI or URL and supply arguments matching its input schema, with file inputs as public HTTP(S) URLs. Results include text, any image, audio or file content returned, warnings and a tool error indicator. The call runs the remote app, which may have side effects; ZeroGPU calls use the caller's quota. See hf_space_tools. 9 hf_job_runhf_job_run [legacy parity, token + Jobs (PRO/Team)] Run Hugging Face Jobs (Python scripts, Docker containers) on cloud CPU or GPU hardware. Execute training, fine-tuning, batch inference, evaluation or data processing using a script with uv dependencies or a command in a Docker or Space image. Choose hardware (T4, L4, A100, H200), env/secrets, and on-demand hf:// FUSE volumes (~50-100 MB/s per job across many files; repos are ro, buckets default rw; shard large scans across parallel jobs with waitSeconds=0, and use large/concurrent reads). Logs retain only the last 80 KB (4,000 chars/line); write larger results to a mounted rw bucket (or upload to a repo with forwardHfToken=true). Paid compute. See hf_job_logs. 38 hf_job_logshf_job_logs [legacy parity, token + Jobs (PRO/Team)] Read Hugging Face job logs (stdout, stderr, console output) by job ID or page URL. Tail recent lines or follow a running job within a bounded window: retains at most the last 80 KB total and 4,000 characters per line, with no forward offset or cursor once older lines are dropped. Format structured stdout as lines under 4,000 chars totaling under ~65 KB, or write larger outputs to a mounted rw bucket (or upload to a repo with forwardHfToken=true). Returns lines, count, finished state, and followStopped/linesTruncated flags. See hf_job_get. 8 hf_jobs_listhf_jobs_list [legacy parity, token + Jobs (PRO/Team)] List Hugging Face Jobs (my runs, scheduled tasks, cron jobs) for a user or organization. Find running, completed, failed or canceled runs by stage and labels, with cursor paging. Results include job IDs, status, hardware and creation time, or recurring schedules with suspension and last/next run details when available. See hf_job_get. 7 hf_job_gethf_job_get [legacy parity, token + Jobs (PRO/Team)] Check one job's status and configuration by ID or job page URL. Read its stage, status message, hardware, command, labels and timing; for a scheduled job, inspect the cron schedule, suspension and last/next run when available. Environment variables and secrets appear as names only. See hf_job_logs. 2 hf_job_schedulehf_job_schedule [legacy parity, token + Jobs (PRO/Team)] Schedule a recurring job (cron task, periodic run) with a cron expression or hourly, daily or weekly shorthand. Use a Python script with uv dependencies or a Docker/Space command; optionally create the schedule suspended or allow overlapping runs. Each run consumes paid compute. See hf_job_run. 0 hf_job_cancelhf_job_cancel [legacy parity, token + Jobs (PRO/Team)] Cancel a running or pending job, or delete a recurring job schedule, by ID or job page URL. This stops the run or removes the schedule. Returns the cancellation or deletion action and the corresponding job details. See hf_job_update. 1 hf_job_updatehf_job_update [legacy parity, token + Jobs (PRO/Team)] Replace or clear a job's labels by ID, or modify a recurring schedule: suspend (pause), resume, change its cron timing or trigger a run now. Triggering a run consumes paid compute. Returns the updated job or schedule and, for an immediate trigger, the started run. See hf_job_cancel. 0 hf_repo_createhf_repo_create [legacy parity, HF token] Create Hugging Face repositories (model, dataset, Space) or a storage bucket by owner and name. Duplicate an existing model, dataset or Space into the same repository type. Choose public or private visibility, a Gradio, Docker or static app SDK, and optional Space GPU hardware. Returns the repository ID, URI and URL. Paid Space hardware bills the owner from creation. 9 hf_whoamihf_whoami [legacy parity (token), HF token] Check whether you are signed in to Hugging Face and as whom: signedIn, username (account.name), Hub account ID, type, profile URL and PRO status. Returns organization memberships (organizations[].name is the handle) with role, plan, access restrictions and resource groups, plus the credential: token role and fine-grained permissions, OAuth scopes and expiry, or app token entities. Signed out (no or rejected token): null account and credential, with sign-in guidance. Use account.name as the owner for my models, datasets or Spaces. The token value stays hidden. 9 hf_repo_write_fileshf_repo_write_files [legacy parity (token), HF token] Upload and save files to a model, dataset or Space repository or storage bucket. Create, overwrite, rename, move or delete paths using text or base64 content. Repository changes can target a branch or open a pull request. Overwriting replaces file content; deleting removes files. 0 hf_sandbox_createhf_sandbox_create [legacy parity, token + Jobs (PRO/Team)] Sandbox: Create a Hugging Face sandbox (cloud shell, dev container) on CPU or GPU hardware. Choose a Docker image, idle lifetime and optional volume mounts. Returns a sandbox handle and readiness flag. Consumes paid compute billed to the owning user or organization while running. 0 hf_sandbox_statushf_sandbox_status [legacy parity, token + Jobs (PRO/Team)] Sandbox: Check Hugging Face sandbox status, server health and background processes by handle. Returns job stage, hardware flavor, image, idle lifetime and volume mounts, plus detached process IDs, tags, running states and exit codes when process listing is available. 0 hf_sandbox_terminatehf_sandbox_terminate [legacy parity, token + Jobs (PRO/Team)] Sandbox: Stop and terminate a Hugging Face sandbox by its handle. Ends the sandbox and returns termination confirmation, the sandbox ID, the underlying job ID and a link to its job page. 0 hf_sandbox_killhf_sandbox_kill [legacy parity, token + Jobs (PRO/Team)] Sandbox: Kill a background process in a Hugging Face sandbox by process ID or tag. A tag stops every matching process. Returns the killed process records and match method; the sandbox itself keeps running. 0 hf_sandbox_exechf_sandbox_exec [legacy parity, token + Jobs (PRO/Team)] Sandbox: Run a shell command in an existing Hugging Face sandbox using /bin/sh, with pipes and redirects. Returns exit code, stdout and stderr, or starts a background process and returns its ID. Choose a working directory and command environment. Commands can modify or delete sandbox data. 0 hf_sandbox_fs_readhf_sandbox_fs_read [legacy parity, token + Jobs (PRO/Team)] Sandbox: Read a Hugging Face sandbox file, list a directory or inspect a path by absolute sandbox path. Returns file bytes as UTF-8 text or base64, directory entries, or existence, type, size and mode. File reads return a continuation offset for chunked access. 0 hf_sandbox_fs_writehf_sandbox_fs_write [legacy parity, token + Jobs (PRO/Team)] Sandbox: Write a Hugging Face sandbox file from text or base64 content at an absolute sandbox path. Create or overwrite files, create directories, or delete files and recursively remove directory contents. Overwrites replace existing file content. Returns completion and, for writes, bytes written. 0 hf_profile_get ★hf_profile_get [new capability, anonymous OK] Look up Hugging Face user or organization profiles by handle: full name, bio, avatar, follower and following counts, numbers of models, datasets and Spaces, organizations, plan and social links (GitHub, X/Twitter, LinkedIn). Accepts several handles at once; user vs organization is detected automatically. Counts come from the profile overview and may include items an anonymous listing cannot see. For the signed-in account see hf_whoami. 0 hf_org_members ★hf_org_members [new capability, anonymous OK] List the members of a Hugging Face organization (team, company or community org): usernames, full names, avatars, PRO status and roles where visible, with cursor paging. Set adminsOnly to list only the organization admins; that needs an access token (not OAuth) of an organization member. If the token is refused for the organization the public list is read anonymously and the result carries an access block explaining why (roles are then omitted). Member lists are bounded per call; continue with nextCursor. For the organization overview and member count see hf_profile_get. 0 hf_follow_graph ★hf_follow_graph [new capability, anonymous OK] List who follows a Hugging Face user or organization, or who a user follows (people, or organizations with following_orgs), with cursor paging. Returns usernames or organization names with full names, avatars and PRO status; each record uri is accepted by hf_profile_get. User vs organization is detected automatically; organizations only have followers. Use it to explore a community around an author or lab. 0 hf_user_likes ★hf_user_likes [new capability, anonymous OK] List the models, datasets and Spaces a Hugging Face user has liked (favorites, bookmarks), most recent first with cursor paging, or ranked by the liked repositories' likes or downloads within a bounded window of the most recent likes. Filter by repository kind. Returns repository hf:// URIs with the like date, ready for repository tools. For who liked a given repository see hf_repo_likers. 0 hf_repo_likers ★hf_repo_likers [new capability, anonymous OK] List the users who liked a Hugging Face model, dataset or Space (its fans, likers, stargazers), most recent first, with cursor paging. Returns usernames, full names, avatars and PRO status; each record uri is accepted by hf_profile_get and hf_user_likes. The Hub returns the whole liker list at once, so each page re-reads it and applies the offset locally. 0 hf_activity ★hf_activity [new capability, anonymous OK] Recent public activity of a Hugging Face user or organization (feed, timeline): new and updated models, datasets and Spaces, likes, upvotes, papers, collections, articles, posts and discussions, newest first, with cursor paging. Filter by event type; pass typesAny: ["upvote"] alone to query the Hub upvotes feed directly (filter by targetType "paper" for upvoted papers). Each event links its target as an hf:// uri for follow-up calls. The feed is not exhaustive: counts derived from it are lower bounds. For commits of one repository see hf_repo_history. 0 hf_discussions_list ★hf_discussions_list [new capability, anonymous OK] List discussions and pull requests on a Hugging Face model, dataset or Space (community tab), or across the repositories of a user or organization: title, author, status, type, comment count and dates, newest first, filtered by status, type or author. On Hugging Face, the Discussions/Community tab includes both discussions and pull requests; leave type at its default "all" unless explicitly excluding pull requests or listing PRs only. Owner mode scans a bounded set of the most-liked repositories and reports its coverage. Read one thread with hf_discussion_get. 0 hf_discussion_get ★hf_discussion_get [new capability, anonymous OK] Read one Hugging Face discussion or pull request (community tab thread): title, status, author, comments in order (bounded text, with cursor continuation), the event timeline (commits, status and title changes) and, for pull requests, the changed files parsed from the diff. Pass the repository and the discussion number from hf_discussions_list. Comment text is markdown and may be truncated per comment. 0
Capability table (57 equivalent, 13 equivalent + server-side improvement, 4 equivalent by client composition, 3 partial (see note))
Legacy toolOperationPTC tool(s)Note
hf_fsls repo/bucket dir (recursive, glob, type, offset/limit, @revision)hf_repo_list_files
hf_fsls hf://{models,datasets,spaces}/OWNER (+ --sort)hf_models_search hf_datasets_search hf_spaces_listauthorsAny + explicit sort (legacy default lastModified).
hf_fsls hf://buckets/OWNERhf_buckets_list
hf_fsls hf://{models,datasets,spaces}/trendinghf_trending
hf_fsfind in repo (--name/--path glob, --type)hf_repo_list_files hf_repo_list_filesServer path index; glob fallback.
hf_fsfind in owner namespace (name glob)hf_models_search hf_datasets_search hf_spaces_listquery prefix + local glob over pages.
hf_fssearch models/datasets/spaces (+OWNER, --tag, --sort, limit<=1000)hf_models_search hf_datasets_search hf_spaces_list1,000-item searches become cursor loops; likes30d sort to be added.
hf_fssearch hf://spaces QUERY / --kind mcp (semantic)hf_spaces_search hf_spaces_listUpstream semantic search needs a query or category and ORs tags: tag-only / all-tags requests go to hf_spaces_list (tagsAll) or a local filter.
hf_fssearch hf://collections[/OWNER]hf_collections_search
hf_fscat repo/bucket text file (--offset, --max-bytes)hf_repo_read_text
hf_fsattach JPEG/PNG/WebP (8 MiB batch budget)hf_repo_read_imagePer-call budget; batch admission semantics change.
hf_fsstat file / dir / repo root / linkhf_repo_paths_info hf_repo_info
hf_fssearch hf://papers QUERYhf_papers_search
hf_fsls hf://papers/daily/latest | YYYY/MM/DDhf_daily_papersAdds week/month/submitter.
hf_fsls hf://papers/trending (limit<=100)hf_daily_paperssort=trending.
hf_fscat papers/ID/metadata.json, ls papers/ID (linked repos)hf_paper_get
hf_fscat papers/ID/paper.mdhf_paper_read
hf_fsls/cat/stat inside a collection (items, links, history)hf_collection_get
hf_fsls/find hf://docs (llms.txt manifests)hf_docs_read
hf_fssearch hf://docs[/product/...]hf_docs_search
hf_fscat docs page / #anchor sectionhf_docs_read
hf_fscat hf://README.md and papers README (usage guidance)PTC engine / descriptionsSuperseded by tool descriptions/server instructions: approved-difference candidate.
hf_fsbatch <=30 ops, bounded parallelism, ordered partial failuresPTC engine / descriptionsProvided by the PTC execution engine (asyncio.gather + per-call errors).
hf_fsaccept hf:// URIs and huggingface.co web URLs (blob/resolve/tree)hf_repo_info hf_repo_list_files hf_repo_read_text hf_repo_paths_infoShared ref parser across repository tools.
hub_repo_detailsoverview for <=10 repos, model/dataset/space, auto-detecthf_repo_info hf_models_search hf_spaces_listListing idsAny lacks cardData/vocab_size: hf_repo_info is the full replacement.
hub_repo_detailsdataset_structure (configs, splits, sizes, parquet, schema)hf_dataset_structure
hub_repo_detailsdataset_preview (config, split, offset, limit<=100)hf_dataset_rowsAdds server-side filter/search.
hub_repo_searchquery/author/filters/sort/limit across repo typeshf_models_search hf_datasets_search hf_spaces_listOne call per repo type.
create_repocreate model/dataset/Space (sdk, private) or buckethf_repo_create
create_repoSpace hardware at creation (ZeroGPU, paid)hf_repo_create hf_hardware_flavors
create_repoduplicate via source_uri (visibility, hardware)hf_repo_create
dynamic_spacefind MCP Spaces (semantic + mcp kind)hf_spaces_searchmcpOnly=true.
dynamic_spaceview_parameters (first/selected tool schema)hf_space_tools
dynamic_spaceinvoke with params, file URLs, media results, progresshf_space_invoke
dynamic_spacediscover curated catalog (DYNAMIC_SPACE_DATA mode)hf_spaces_search
hf_jobsrun (image / Space image, argv, flavor, timeout, env, secrets, volumes, labels)hf_job_run
hf_jobsuv (script, deps, python)hf_job_run
hf_jobspshf_jobs_list
hf_jobsinspecthf_job_get
hf_jobslogs (tail / follow)hf_job_logs
hf_jobscancelhf_job_cancel
hf_jobsupdate-labels / scheduled update-labelshf_job_update
hf_jobsscheduled run / scheduled uvhf_job_schedule
hf_jobsscheduled pshf_jobs_list
hf_jobsscheduled inspecthf_job_get
hf_jobsscheduled delete / suspend / resumehf_job_cancel hf_job_updaterun_now added.
hf_sandboxcreate (image, flavor, timeout, volumes, bucket, token forwarding)hf_sandbox_create
hf_sandboxstatushf_sandbox_status
hf_sandboxterminatehf_sandbox_terminate
hf_sandboxps (detached processes)hf_sandbox_status
hf_sandboxkillhf_sandbox_kill
hf_sandbox_execexec (workdir, stdin, env, timeout, detach, tag, progress)hf_sandbox_exec
hf_sandbox_fslshf_sandbox_fs_read
hf_sandbox_fscat (offset, max-bytes)hf_sandbox_fs_read
hf_sandbox_fsstathf_sandbox_fs_read
hf_sandbox_fswrite (text / base64)hf_sandbox_fs_write
hf_sandbox_fsrmhf_sandbox_fs_write
hf_sandbox_fsmkdirhf_sandbox_fs_write
hf_whoamiaccount, orgs, planhf_whoami
hf_fs_writeput (text/base64, branch, create-pr, parent-commit; buckets)hf_repo_write_files
hf_fs_writerm (commit/PR options; buckets)hf_repo_write_files

Chaining: the hf:// thread

Every record carries kind, id, uri and url. Every argument that names a Hub resource accepts that uri unchanged (IDs and huggingface.co URLs also work).

formnamesreturned byaccepted by
hf://models/{owner}/{name}model repohf_models_search hf_trending hf_repo_fulltext_search hf_hub_lookup hf_paper_get hf_collection_get hf_repo_infohf_repo_info hf_repo_list_files hf_repo_paths_info hf_repo_history hf_collections_search hf_repo_create hf_repo_write_files hf_job_run hf_sandbox_create
hf://datasets/{owner}/{name}dataset repohf_datasets_search hf_trending hf_repo_fulltext_search hf_hub_lookup hf_paper_get hf_collection_get hf_repo_infohf_repo_info hf_repo_list_files hf_dataset_structure hf_dataset_rows hf_collections_search hf_repo_write_files hf_job_run hf_sandbox_create
hf://spaces/{owner}/{name}Space repohf_spaces_list hf_spaces_search hf_trending hf_hub_lookup hf_paper_get hf_collection_gethf_repo_info hf_repo_list_files hf_space_tools hf_space_invoke hf_repo_create hf_job_run
hf://buckets/{owner}/{name}buckethf_buckets_list hf_hub_lookuphf_repo_info hf_repo_list_files hf_repo_paths_info hf_repo_write_files hf_job_run hf_sandbox_create
hf://{type}/{owner}/{name}[@rev]/{path}file or folder (revision optional)hf_repo_list_files hf_repo_paths_infohf_repo_read_text hf_repo_read_image hf_repo_paths_info hf_repo_list_files hf_job_run (volume) hf_sandbox_create (volume)
hf://papers/{arxiv_id}paperhf_papers_search hf_daily_papers hf_hub_lookup hf_collection_gethf_paper_get hf_paper_read hf_collections_search hf_models_search (papersAny)
hf://collections/{owner}/{slug}-{id}collectionhf_collections_search hf_hub_lookuphf_collection_get
hf://docs/{product}/{version}/{page}[#anchor]documentation page/sectionhf_docs_search hf_docs_readhf_docs_read hf_docs_search (scope)

Not hf://: Jobs (job + namespace (Hub job IDs; web URL returned as url)); Sandboxes (opaque sandbox handle from hf_sandbox_create; sandbox paths are local POSIX paths); Space tools (tool name inside a Space (from hf_space_tools)); Users / orgs (plain names or the profile-page URL that people records return as uri (accepted by every handle argument)).

Producer → consumer graph
returns urihf:// formaccepts it (repo / uri / volume) hf_models_searchhf_models_search [original PTC slice, anonymous OK] Search Hugging Face model repositories (weights, checkpoints, LLMs) by name, or browse. Find fine-tune, adapter, GGUF and quantized builds using name prefixes and filters for owner, task, library, language, license, parameter size or base-model lineage. Sort by downloads, likes, trending, date or parameter count. Returns repository IDs and hf:// URIs. See hf_repo_fulltext_search, hf_trending. hf_datasets_searchhf_datasets_search [original PTC slice, anonymous OK] Search Hugging Face dataset repositories (training data, benchmarks, eval sets) by name, or browse. Filter by owner, task category, modality, format, language, license, library or size bucket, including benchmark and agent-trace tags. Sort by downloads, likes, trending, date or stored size. For bulk row counts, use sort="numRows" (first page only); batch known IDs with idsAny and set limit to the batch size. Missing numRows means unknown, not zero. Returns repository IDs and hf:// URIs. hf_spaces_listhf_spaces_list [original PTC slice, anonymous OK] List Hugging Face Spaces (apps, demos) by owner or organization, or browse repository names. Filter by SDK such as Gradio, Docker or static, running state, concrete hardware flavor, MCP server tag, exact tags or linked models and datasets. Sort by likes, trending or recency. Returns IDs and links, with optional SDK and runtime hardware details; listings support cursor paging. See hf_spaces_search. hf_spaces_searchhf_spaces_search [original PTC slice, anonymous OK] Find Hugging Face Spaces (apps, Gradio demos) by use case, such as image generation. Multiword queries use hybrid semantic search; one-word queries match names and tags. Select a category or filter by SDK, tags, running state or MCP server tag. Returns relevance-ranked repository IDs and links from a bounded candidate set without paging. See hf_spaces_list. hf_trendinghf_trending [legacy parity, anonymous OK] Show Hugging Face's curated trending feed of hot models, datasets and Spaces. Browse the mixed feed or select one repository kind. Returns repository IDs, page links and hf:// URIs, with metadata such as likes or downloads when supplied; bounded to 20 items without paging. See hf_models_search. hf_repo_fulltext_search ★hf_repo_fulltext_search [new capability, anonymous OK] Search Hugging Face README text (model cards, dataset cards) for phrases with full-text matching. Find content such as 'trained on SEC filings' across models, datasets and Spaces. Narrow by repository kind and an owner-or-repository selection. Results identify matching repositories and can include matched-file links and text excerpts. Public repositories only. hf_hub_lookup ★hf_hub_lookup [new capability, anonymous OK] Resolve a partial or fuzzy name to an exact ID across models, datasets, Spaces, users, organizations, papers, collections and buckets. Returns best-first matches as one items list (kind tells the type), with hf:// URIs or profile URLs and upstream counts per kind where reported. Results are capped per type. hf_buckets_listhf_buckets_list [legacy parity, anonymous OK] List storage buckets (object storage, mutable file stores) owned by a user or organization, optionally matching a bucket name. Returns IDs and hf:// URIs, with stored bytes and file counts when supplied. Results may be truncated locally without paging; narrow the name filter. hf_repo_infohf_repo_info [legacy parity, anonymous OK] Inspect Hugging Face repository metadata (details, statistics, access status) by ID, URI or URL. Get available details for models, datasets, Spaces or storage buckets: model card metadata including license, base models and training datasets; gated/private status, downloads, likes, parameter counts, GGUF summary, storage size and, on request, chat template. Space details include SDK, runtime stage and hardware. Select the metadata to return for up to 50 repositories per call. hf_repo_list_fileshf_repo_list_files [legacy parity, anonymous OK] List Hugging Face repository files and folders (file tree, weights, checkpoints) by folder or revision. Browse models, datasets, Spaces or storage buckets, optionally recursively, and filter by glob such as *.gguf or *.safetensors, path substring or entry type. Returns paths, file sizes, LFS/Xet flags and file URIs. Path-index searches return only the first 100 matches. See hf_repo_read_text. hf_repo_paths_infohf_repo_paths_info [legacy parity, anonymous OK] Check whether known file and folder paths exist in a repository, or whether known file paths exist in a bucket, like stat (buckets check file paths only; list bucket folders or prefixes via hf_repo_list_files). Returns entry type, file size, LFS/Xet flags and missing or invisible paths. Repository options add last-commit details and recursive folder sizes (includeFolderSize)—use this to size dataset folders and balance shards before listing large trees or mounting volumes. Accepts up to 2,000 supplied paths (50 folder sizes) per call. See hf_repo_list_files. hf_papers_searchhf_papers_search [legacy parity, anonymous OK] Search Hugging Face papers (arXiv preprints, research articles) by topic, method, title or question. Returns paper IDs and links, with titles, authors, publication dates, upvotes, AI summaries and abstract excerpts when available. Results are a bounded relevance-ranked set without continuation. See hf_paper_get. hf_daily_papershf_daily_papers [legacy parity, anonymous OK] Browse Hugging Face daily papers (AI research, arXiv preprints) by featured date or trending rank. Select today's date, an ISO week or a month, optionally narrowing to one submitter. Without a period, order by newest featured first or by the global trending rank; a period uses the Hub's period ranking. Returns paper IDs and links, with titles, upvotes, comment counts, summaries and submitters when available; supports pagination. See hf_papers_search. hf_paper_gethf_paper_get [legacy parity, anonymous OK] Get Hugging Face paper details (arXiv metadata, authors, abstract) by ID or URL. Accepts batches and hf://papers URIs. Available details include title, full abstract, AI summary, keywords, publication date, upvotes, GitHub and project links, plus citing models, datasets and Spaces with upstream totals; linked repositories are previews per kind. Returns per-paper errors inline. See hf_paper_read. hf_collections_searchhf_collections_search [legacy parity, anonymous OK] Search collections (curated lists, reading lists) by title or description words, owner, or a contained model, dataset, Space or paper. Sort by trending, upvotes or last update. Returns a page of collection URIs with item previews. See hf_collection_get. hf_collection_gethf_collection_get [legacy parity, anonymous OK] Read one collection (curated list, reading list) by slug, URL or hf:// URI. Returns title, description, owner and items with curator notes and item URIs, including models, datasets, Spaces, papers, buckets and nested collections. Optionally include recent change history. See hf_collections_search. hf_docs_searchhf_docs_search [legacy parity, anonymous OK] Search Hugging Face documentation (docs, how-to guides, API reference) by question or keywords. Find relevant pages for products such as Transformers, Hub or PEFT, optionally restricting results to a product or documentation folder. Returns page URIs with section anchors and excerpts when available; results are bounded search candidates. Then hf_docs_read. hf_docs_readhf_docs_read [legacy parity, anonymous OK] Read Hugging Face documentation pages (docs, guides, sections) by URI or URL. Returns page text or an anchored section as Markdown. Supply a product name to browse its page index, optionally filtered by a page-path glob, or omit the URI to list documentation products. Continue page text with nextOffset or the index with nextCursor. See hf_docs_search. hf://models/{owner}/{name}model repo hf://datasets/{owner}/{name}dataset repo hf://spaces/{owner}/{name}Space repo hf://buckets/{owner}/{name}bucket hf://{type}/{owner}/{name}[@rev]/{path}file or folder (revision optional) hf://papers/{arxiv_id}paper hf://collections/{owner}/{slug}-{id}collection hf://docs/{product}/{version}/{page}[#anchor]documentation page/section hf_repo_history hf_dataset_rows hf_dataset_structure hf_repo_create hf_repo_write_files hf_sandbox_create hf_job_run hf_repo_info hf_collections_search hf_repo_list_files hf_space_invoke hf_space_tools hf_repo_paths_info hf_job_run (volume) hf_repo_read_image hf_repo_read_text hf_sandbox_create (volume) hf_models_search (papersAny) hf_paper_get hf_paper_read hf_collection_get hf_docs_read hf_docs_search (scope)

Examples

Search, list files, read a file

found = await hf_models_search(query="Qwen3-8B", authorsAny=["Qwen"], sort="downloads", limit=1)
repo = found["items"][0]["uri"]                      # e.g. hf://models/Qwen/Qwen3-8B
files = await hf_repo_list_files(repo=repo, glob="*.json")
config_uri = next(f["uri"] for f in files["items"] if f["path"] == "config.json")
config = await hf_repo_read_text(uri=config_uri)     # pass the returned uri unchanged
print(config["content"][:500])
const found = await hf_models_search({ query: "Qwen3-8B", authorsAny: ["Qwen"], sort: "downloads", limit: 1 });
const repo = found.items[0].uri;                     // e.g. hf://models/Qwen/Qwen3-8B
const files = await hf_repo_list_files({ repo, glob: "*.json" });
const configUri = files.items.find((f) => f.path === "config.json")!.uri;
const config = await hf_repo_read_text({ uri: configUri }); // pass the returned uri unchanged
console.log(config.content.slice(0, 500));

Dataset structure, then rows

ds = (await hf_datasets_search(query="ultrachat", authorsAny=["HuggingFaceH4"], limit=1))["items"][0]
info = await hf_dataset_structure(dataset=ds["uri"], include=["splits", "schema"])
first = info["splits"][0]
rows = await hf_dataset_rows(dataset=ds["uri"], config=first["config"], split=first["split"], limit=3)
const ds = (await hf_datasets_search({ query: "ultrachat", authorsAny: ["HuggingFaceH4"], limit: 1 })).items[0];
const info = await hf_dataset_structure({ dataset: ds.uri, include: ["splits", "schema"] });
const first = info.splits![0];
const rows = await hf_dataset_rows({ dataset: ds.uri, config: first.config, split: first.split, limit: 3 });

Page with nextCursor (other arguments unchanged)

ids, cursor = [], None
while True:
    page = await hf_spaces_list(authorsAny=["black-forest-labs"], sort="likes", limit=100, cursor=cursor)
    ids += [s["id"] for s in page["items"]]
    cursor = page["nextCursor"]
    if not cursor:
        break
const ids: string[] = [];
let cursor: string | undefined;
do {
  const page = await hf_spaces_list({ authorsAny: ["black-forest-labs"], sort: "likes", limit: 100, cursor });
  ids.push(...page.items.map((s) => s.id));
  cursor = page.nextCursor ?? undefined;
} while (cursor);

Paper to models, likers to profiles

paper = (await hf_paper_get(papers=["2505.09388"]))["items"][0]
models = await hf_models_search(papersAny=[paper["uri"]], sort="downloads", limit=5)  # hf://papers/... accepted
likers = await hf_repo_likers(repo=models["items"][0]["uri"], limit=20)
profiles = await hf_profile_get(handles=[u["id"] for u in likers["items"]])        # people are plain handles
const paper = (await hf_paper_get({ papers: ["2505.09388"] })).items[0];
const models = await hf_models_search({ papersAny: [paper.uri], sort: "downloads", limit: 5 }); // hf://papers/... accepted
const likers = await hf_repo_likers({ repo: models.items[0].uri, limit: 20 });
const profiles = await hf_profile_get({ handles: likers.items.map((u) => u.id) });     // people are plain handles

Mount a returned uri into a Job

job = await hf_job_run(
    command=["/bin/sh", "-lc", "ls -la /data | head"],
    volumes=[ds["uri"] + ":/data:ro"],                # hf://datasets/...:/data:ro
    flavor="cpu-basic",
)
logs = await hf_job_logs(job=job["job"]["id"], tail=50)
const job = await hf_job_run({
  command: ["/bin/sh", "-lc", "ls -la /data | head"],
  volumes: [`${ds.uri}:/data:ro`],                    // hf://datasets/...:/data:ro
  flavor: "cpu-basic",
});
const logs = await hf_job_logs({ job: job.job.id, tail: 50 });

Chain check

A static checker loads the tool registry and passes each returned id/uri to every argument that takes one, using the real argument parsers (commit 9166afc).

68/73named hops pass
9 chains
5,117verbatim producer → consumer edges
of 5,625 carrying a Hub identity
516 / 111producer fields / consumer arguments
0 consumers with no producer
producer family (returns the value)consumer family (accepts it verbatim) papers → sandbox: 1 tool pairs dataset → dataset: 2 tool pairs dataset → collections: 2 tool pairs dataset → sandbox: 2 tool pairs papers → account: 2 tool pairs papers → jobs: 2 tool pairs papers → dataset: 2 tool pairs papers → spaces: 2 tool pairs collections → collections: 2 tool pairs collections → sandbox: 2 tool pairs spaces → collections: 2 tool pairs spaces → spaces: 2 tool pairs spaces → sandbox: 2 tool pairs account → collections: 2 tool pairs account → account: 2 tool pairs account → sandbox: 2 tool pairs sandbox → collections: 2 tool pairs discovery → papers: 3 tool pairs papers → people: 3 tool pairs repo → sandbox: 4 tool pairs dataset → account: 4 tool pairs dataset → jobs: 4 tool pairs papers → collections: 4 tool pairs papers → repo: 4 tool pairs collections → dataset: 4 tool pairs collections → papers: 4 tool pairs collections → spaces: 4 tool pairs collections → account: 4 tool pairs collections → jobs: 4 tool pairs spaces → discovery: 4 tool pairs spaces → account: 4 tool pairs spaces → jobs: 4 tool pairs account → dataset: 4 tool pairs account → spaces: 4 tool pairs account → jobs: 4 tool pairs sandbox → dataset: 4 tool pairs sandbox → spaces: 4 tool pairs sandbox → account: 4 tool pairs repo → collections: 6 tool pairs dataset → people: 6 tool pairs papers → papers: 6 tool pairs collections → people: 6 tool pairs spaces → people: 6 tool pairs people → papers: 6 tool pairs account → people: 6 tool pairs jobs → collections: 6 tool pairs sandbox → people: 6 tool pairs discovery → sandbox: 8 tool pairs repo → dataset: 8 tool pairs repo → spaces: 8 tool pairs repo → account: 8 tool pairs repo → jobs: 8 tool pairs dataset → discovery: 8 tool pairs dataset → repo: 8 tool pairs collections → discovery: 8 tool pairs collections → repo: 8 tool pairs spaces → repo: 8 tool pairs people → sandbox: 8 tool pairs people → dataset: 8 tool pairs people → spaces: 8 tool pairs people → account: 8 tool pairs account → discovery: 8 tool pairs sandbox → discovery: 8 tool pairs discovery → collections: 9 tool pairs people → collections: 9 tool pairs account → repo: 10 tool pairs sandbox → repo: 10 tool pairs discovery → spaces: 12 tool pairs repo → people: 12 tool pairs jobs → discovery: 12 tool pairs jobs → spaces: 12 tool pairs jobs → account: 12 tool pairs papers → discovery: 13 tool pairs discovery → dataset: 14 tool pairs discovery → account: 16 tool pairs people → repo: 16 tool pairs sandbox → jobs: 16 tool pairs repo → discovery: 18 tool pairs jobs → people: 18 tool pairs sandbox → sandbox: 18 tool pairs discovery → jobs: 21 tool pairs jobs → repo: 24 tool pairs discovery → discovery: 25 tool pairs discovery → people: 26 tool pairs repo → repo: 26 tool pairs people → people: 31 tool pairs jobs → jobs: 31 tool pairs discovery → repo: 33 tool pairs people → discovery: 36 tool pairs people → jobs: 36 tool pairs jobs → sandbox: 36 tool pairs discovery discovery repo repo dataset dataset papers papers collections collections spaces spaces account account jobs jobs sandbox sandbox people people
Named chains
chainproducer field → consumer argumentresult
search-inspect-read
models search -> repo info -> list files -> read file -> history
hf_models_search:items[].uri → hf_repo_info.repospass
hf_repo_info:items[].uri → hf_repo_list_files.repopass
hf_repo_list_files:items[].uri → hf_repo_read_text.uripass
hf_repo_read_text:uri → hf_repo_history.repopass
hf_repo_history:items[].id → hf_repo_list_files.revisionpass
lineage
model -> base model / training dataset -> dataset structure -> rows
hf_repo_info:items[].baseModels[].uri → hf_repo_info.repospass
hf_repo_info:items[].datasets[].uri → hf_dataset_structure.datasetpass
hf_dataset_structure:splits[].config → hf_dataset_rows.configpass
hf_dataset_structure:splits[].split → hf_dataset_rows.splitpass
papers-repos
paper <-> models/datasets/spaces
hf_papers_search:items[].uri → hf_paper_get.paperspass
hf_paper_get:items[].linked.models.items[].uri → hf_repo_info.repospass
hf_paper_get:items[].id → hf_models_search.papersAnypass
hf_repo_info:items[].tags → hf_paper_get.paperspass
hf_paper_get:items[].uri → hf_collections_search.containspass
hf_repo_info:items[].tags → hf_models_search.papersAnypass
collections
collections <-> items
hf_repo_info:items[].uri → hf_collections_search.containspass
hf_collections_search:items[].uri → hf_collection_get.collectionpass
hf_collection_get:items[].uri → hf_repo_info.repospass
hf_collection_get:items[].uri → hf_paper_get.paperspass
hf_collection_get:items[].uri → hf_collection_get.collectionpass
hf_collection_get:owner → hf_profile_get.handlespass
people
people -> repos -> discussions -> discussion
hf_models_search:items[].author → hf_profile_get.handlespass
hf_profile_get:items[].uri → hf_follow_graph.handlepass
hf_follow_graph:items[].uri → hf_user_likes.handlepass
hf_user_likes:items[].uri → hf_repo_likers.repopass
hf_repo_likers:items[].uri → hf_profile_get.handlespass
hf_profile_get:items[].organizations[].uri → hf_org_members.handlepass
hf_org_members:items[].uri → hf_activity.handlepass
hf_activity:items[].target.uri → hf_repo_info.repospass
hf_repo_info:items[].uri → hf_discussions_list.repopass
hf_discussions_list:items[].repo.uri → hf_discussion_get.discussionpass
hf_discussions_list:items[].num → hf_discussion_get.numpass
hf_discussions_list:items[].uri → hf_discussion_get.discussionpass
hf_discussion_get:author → hf_profile_get.handlespass
hf_daily_papers:items[].submittedBy → hf_daily_papers.submittedBypass
hf_profile_get:items[].uri → hf_models_search.authorsAnypass
hf_profile_get:items[].organizations[].uri → hf_buckets_list.ownerpass
hf_org_members:items[].uri → hf_collections_search.ownersAnypass
hf_follow_graph:items[].uri → hf_repo_fulltext_search.authorsAnypass
hf_repo_likers:items[].uri → hf_daily_papers.submittedBypass
hf_repo_likers:items[].uri → hf_discussions_list.authorpass
hf_discussions_list:items[].id → hf_discussion_get.discussionpass
hf_activity:items[].discussion.url → hf_discussion_get.discussionpass
hf_repo_list_files:items[].uri → hf_discussions_list.reporejected
hf_repo_list_files:items[].uri → hf_repo_likers.reporejected
spaces
space search -> tools -> invoke
hf_spaces_search:items[].uri → hf_space_tools.spacepass
hf_space_tools:tools[].name → hf_space_invoke.toolpass
hf_spaces_list:items[].models[].id → hf_spaces_list.modelsAnypass
hf_repo_info:items[].spaces[].uri → hf_space_tools.spacepass
jobs
jobs: flavor -> run -> get/logs/cancel; scheduled
hf_hardware_flavors:items[].id → hf_job_run.flavorpass
hf_whoami:organizations[].name → hf_job_run.namespacepass
hf_job_run:job.id → hf_job_logs.jobpass
hf_job_run:job.url → hf_job_get.jobpass
hf_jobs_list:items[].id → hf_job_cancel.jobpass
hf_jobs_list:items[].kind → hf_job_get.kindpass
hf_whoami:organizations[].name → hf_jobs_list.namespacepass
hf_job_schedule:scheduledJob.id → hf_job_get.job (kind scheduled)pass
sandbox
sandbox handle -> exec -> process -> kill
hf_sandbox_create:id → hf_sandbox_exec.sandboxpass
hf_sandbox_create:jobId → hf_sandbox_status.sandboxpass
hf_sandbox_create:url → hf_sandbox_status.sandboxrejected
hf_sandbox_exec:process.id → hf_sandbox_kill.processpass
hf_sandbox_fs_read:items[].id → hf_sandbox_fs_read.pathpass
hf_buckets_list:items[].uri → hf_sandbox_create.bucketpass
discovery-misc
lookup / fulltext / trending / docs
hf_hub_lookup:items[].uri → hf_repo_info.repospass
hf_hub_lookup:items[].uri → hf_profile_get.handlespass
hf_repo_fulltext_search:items[].fileUri → hf_repo_read_text.uripass
hf_repo_fulltext_search:items[].uri → hf_repo_fulltext_search.idsAnypass
hf_buckets_list:items[].uri → hf_collections_search.containserror:UNSUPPORTED
hf_trending:items[].uri → hf_repo_info.repospass
hf_docs_search:items[].uri → hf_docs_read.uriunverified
hf_buckets_list:items[].uri → hf_repo_list_files.repopass
hf_repo_write_files:changes[].file.uri → hf_repo_read_text.uripass
hf_repo_create:repo.uri → hf_repo_write_files.repopass

Name simplifications

One casing, one name per concept. Old spellings and common Python/REST names (repo_id, repo_type, author, search…) are still accepted as inputs but not advertised.

camelCase everywhere

Every argument, output key, paging field and fields/sort value is lowerCamelCase, including Hub-native names (pipeline_tag → pipelineTag). Tool names stay hf_*; opaque upstream data (config.json, dataset rows, job env) keeps its own keys.

57arguments renamed
450output fields renamed
29fields/sort values renamed
146 → 140distinct argument names

One name per subject

SubjectArgumentWas (still accepted)
any repository (model, dataset, Space, bucket)repo / reposref, refs, uri (create), plus the existing repo_id... aliases
one datasetdatasetunchanged
one Spacespaceunchanged
one collectioncollectionunchanged
one discussion or PRdiscussion (+ optional num)ref, repo (with num)
paperspaper / paperspaper_id, paper_ids, arxiv_id(s)
one jobjobjob_id, id, job_url, url
one sandboxsandboxunchanged
a file or docs pageuriunchanged
person(s)handle / handlesuser, org, entity, username, ...

People: handle, owner and author

A user and an org cannot share a name, so every person argument is handle/handles. Person-valued outputs are plain name strings; people records are {kind: user|org, id, uri, url}.

RoleNameWhereWas
target person (whose profile, likes, followers...)handle / handlesprofile, follow graph, likes, org members, activityhandles, handle, user, org, entity
owning namespace of a repository (filter)authorsAnymodels/datasets/Spaces search, full-text searchauthors_any, owners (full-text)
owning namespace of another resource (filter)owner / ownersAnybuckets, discussions (owner mode) / collections searchowner, owners
creator (filter)author, submittedBydiscussions / daily papersauthor, submitter
account to act innamespacejobs, sandbox createunchanged

Shared conventions

ConceptConvention
FiltersNamed after the field they test: xxxAny (OR), xxxAll (AND), xxxMin / xxxMax; query for free text
Paginglimit for page size; nextCursor (reads: nextOffset); returnedCount counts this page
Completenesscompleteness {hasMore, truncated?, reason?, hint?} plus per-tool extras
Lists and errorsEvery list is items; one inline error shape {ref, error: {code, message}}
TimestampscreatedAt, lastModified, <verb>At (publishedAt, likedAt…)
Counts and sizesnumX (numRows, numComments); size stored bytes, bytes returned bytes

Before and after

MeasureBeforeAfter
distinct argument names (53 tools)146140
person argument names118
names for "a repository" in arguments75
page-size names42
timestamp names in outputs1510
shapes of a comment count31
completeness keys (all tools)3316 (4 core + 12 extras)
batch error shapes21
tools with two continuations in one mode10
list results not called items20
distinct snake_case output names (excluding config.json keys)1570
Per tool: old → new names
hf_models_search (23 arguments, 5 values, 26 output rename, 1 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
authors_anyauthorsAnyrenameauthors_any author authors owner owners
ids_anyidsAnyrenameids_any ids repo_ids
arxiv_idspapersAnysprawlarxiv_ids arxiv_id paper_ids papersalso accepts arxiv: tags
tags_alltagsAllrenametags_all tags filter filters
tags_any_groupstagsAnyGroupsrenametags_any_groups
librarieslibrariesAllsprawllibraries library library_nameAND today
languageslanguagesAllsprawllanguages languageAND today
licenseslicensesAllsprawllicenses licenseAND today
providers_anyprovidersAnyrenameproviders_any providers provider inference_provider
any_provideranyProviderrenameany_provider
parameters_minnumParametersMinsprawlparameters_min num_parameters_min min_parametersrecord field numParameters
parameters_maxnumParametersMaxsprawlparameters_max num_parameters_max max_parameters
parameters_exactnumParametersAnysprawlparameters_exact num_parametersOR of exact counts
created_atcreatedAtrenamecreated_at
created_at.gtcreatedAt.gtrename—
created_at.gtecreatedAt.gterename—
created_at.ltcreatedAt.ltrename—
created_at.ltecreatedAt.lterename—
base_model_relationsbaseModelRelationsAnysprawlbase_model_relationsOR
base_models_allbaseModelsAllrenamebase_models_all
base_model_relationbaseModelRelationrenamebase_model_relation
datasets_anydatasetsAnyrenamedatasets_any datasets trained_dataset
apps_anyappsAnyrenameapps_any
fields / sort values
argumentoldnewold still acceptedrule
fieldspipeline_tagpipelineTagyes
fieldslibrary_namelibraryNameyes
fieldsinferenceProviderMappinginferenceProvidersyes
fields—datasets (derived from dataset: tags; was training_datasets, returned with tags)no
sortnum_parametersnumParametersyes
Output fields
oldnewchangenote
next_cursornextCursorrename
returned_countreturnedCountrename
completeness.unknown_ownerscompleteness.unknownOwnersrename
items[].created_atitems[].createdAtrename
items[].last_modifieditems[].lastModifiedrename
items[].trending_scoreitems[].trendingScorerename
items[].downloads_all_timeitems[].downloadsAllTimerename
items[].pipeline_tagitems[].pipelineTagrename
items[].library_nameitems[].libraryNamerename
items[].num_parametersitems[].numParametersrename
items[].transformersitems[].transformersInforename
items[].transformers.auto_modelitems[].transformersInfo.autoModelrename
items[].transformers.pipeline_tagitems[].transformersInfo.pipelineTagrename
items[].transformers.processoritems[].transformersInfo.processorrename
items[].inference_providersitems[].inferenceProvidersrename
items[].inference_providers[].provideritems[].inferenceProviders[].providerrename
items[].inference_providers[].providerIditems[].inferenceProviders[].providerIdrename
items[].inference_providers[].statusitems[].inferenceProviders[].statusrename
items[].inference_providers[].taskitems[].inferenceProviders[].taskrename
items[].inference_providers[].typeitems[].inferenceProviders[].typerename
items[].inference_providers[].isModelAuthoritems[].inferenceProviders[].isModelAuthorrename
items[].base_modelsitems[].baseModelsshape{relation, models[]} -> baseModels[] + baseModelRelation (as hf_repo_info)
items[].training_datasetsitems[].datasetsrename
items[].training_datasets[].kinditems[].datasets[].kindrename
items[].training_datasets[].iditems[].datasets[].idrename
items[].training_datasets[].uriitems[].datasets[].urirename
items[].training_datasets[].urlitems[].datasets[].urlrename
hf_datasets_search (13 arguments, 3 values, 11 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
authors_anyauthorsAnyrenameauthors_any author authors owner owners
ids_anyidsAnyrenameids_any ids repo_ids
arxiv_idspapersAnysprawlarxiv_ids arxiv_id paper_ids papersalso accepts arxiv: tags
tags_alltagsAllrenametags_all tags filter filters
tags_any_groupstagsAnyGroupsrenametags_any_groups
task_categoriestaskCategoriesAllsprawltask_categories task_categoryAND today
size_categoriessizeCategoriesAllsprawlsize_categories size_categoryAND today
modalitiesmodalitiesAllsprawlmodalities modalityAND today
formatsformatsAllsprawlformats formatAND today
librarieslibrariesAllsprawllibraries library library_nameAND today
languageslanguagesAllsprawllanguages languageAND today
licenseslicensesAllsprawllicenses licenseAND today
dataset_typedatasetTyperenamedataset_type
fields / sort values
argumentoldnewold still acceptedrule
fieldspaperswithcode_idpaperswithcodeIdyes
sortrowsnumRowsyes
sortbytesmainSizeyes
Output fields
oldnewchangenote
next_cursornextCursorrename
returned_countreturnedCountrename
completeness.unknown_ownerscompleteness.unknownOwnersrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
items[].created_atitems[].createdAtrename
items[].last_modifieditems[].lastModifiedrename
items[].trending_scoreitems[].trendingScorerename
items[].downloads_all_timeitems[].downloadsAllTimerename
items[].rowsitems[].numRowsrename
items[].bytesitems[].mainSizerenameHub name; was the only "bytes" meaning stored size
items[].paperswithcode_iditems[].paperswithcodeIdrename
hf_spaces_list (13 arguments, 1 value, 9 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
authors_anyauthorsAnyrenameauthors_any author authors owner owners
ids_anyidsAnyrenameids_any ids repo_ids
arxiv_idspapersAnysprawlarxiv_ids arxiv_id paper_ids papersalso accepts arxiv: tags
tags_alltagsAllrenametags_all tags filter filters
tags_any_groupstagsAnyGroupsrenametags_any_groups
sdkssdksAnysprawlsdks sdkOR today
stages_anystagesAnyrenamestages_any stages stage
running_onlyrunningOnlyrenamerunning_only
hardware_current_anyhardwareCurrentAnyrenamehardware_current_any
hardware_requested_anyhardwareRequestedAnyrenamehardware_requested_any
models_anymodelsAnyrenamemodels_any models
datasets_anydatasetsAnyrenamedatasets_any datasets trained_dataset
mcp_onlymcpOnlyrenamemcp_only
fields / sort values
argumentoldnewold still acceptedrule
fieldscardDatatitle + emoji + shortDescriptionyes
Output fields
oldnewchangenote
next_cursornextCursorrename
returned_countreturnedCountrename
completeness.unknown_ownerscompleteness.unknownOwnersrename
items[].created_atitems[].createdAtrename
items[].last_modifieditems[].lastModifiedrename
items[].trending_scoreitems[].trendingScorerename
items[].short_descriptionitems[].shortDescriptionrename
items[].ai_short_descriptionitems[].aiShortDescriptionrename
items[].semantic_scoreitems[].semanticScorerename
hf_spaces_search (4 arguments, 10 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
sdkssdksAnysprawlsdks sdkOR today
tags_anytagsAnyrenametags_any
include_non_runningincludeNonRunningrenameinclude_non_running
mcp_onlymcpOnlyrenamemcp_only
Output fields
oldnewchangenote
next_cursornextCursorrename
returned_countreturnedCountrename
items[].created_atitems[].createdAtrename
items[].last_modifieditems[].lastModifiedrename
items[].trending_scoreitems[].trendingScorerename
items[].short_descriptionitems[].shortDescriptionrename
items[].ai_short_descriptionitems[].aiShortDescriptionrename
items[].semantic_scoreitems[].semanticScorerename
candidate_countcandidateCountrename
eligible_counteligibleCountrename
hf_trending (8 output rename)
Output fields
oldnewchangenote
items[].pipeline_tagitems[].pipelineTagrename
items[].num_parametersitems[].numParametersrename
items[].last_modifieditems[].lastModifiedrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
completeness.public_onlycompleteness.publicOnlyrename
completeness.estimated_total_hitscompleteness.estimatedTotalrename
hf_repo_fulltext_search (3 arguments, 7 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
kindskindsAnysprawlkinds types repo_types
ownersauthorsAnysprawlowners authors_any author authors ownerresults are repositories: same name as the search tools
repo_idsidsAnysprawlrepo_ids ids_any idssame as the search tools
Output fields
oldnewchangenote
items[].file_uriitems[].fileUrirename
items[].updated_atitems[].lastModifiedrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
completeness.public_onlycompleteness.publicOnlyrename
completeness.estimated_total_hitscompleteness.estimatedTotalrename
hf_hub_lookup (1 argument, 1 output rename, 7 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
typeskindsAnysprawltypes kinds repo_types
Output fields
oldnewchangenote
resultsitemsshapegrouped map results.{type}[] -> flat items[] (kind tells the type)
results{}[].kinditems[].kindshape
results{}[].iditems[].idshape
results{}[].uriitems[].urishape
results{}[].urlitems[].urlshape
results{}[].titleitems[].titleshape
results{}[].privateitems[].privateshape
countsnumByKindrename
hf_filter_values (1 argument, 3 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
kindcatalogsprawlkindnot a resource kind
Output fields
oldnewchangenote
groups[].values[].sub_typegroups[].values[].subTyperename
groups[].returned_countgroups[].returnedCountrename
groups[].available_countgroups[].numValuesrename
hf_hardware_flavors (6 output rename)
Output fields
oldnewchangenote
items[].nameitems[].idrenameflavor id, as every other record
items[].pretty_nameitems[].prettyNamerename
items[].ephemeral_storageitems[].ephemeralStoragerename
items[].unit_cost_usditems[].unitCostUsdrename
items[].unit_labelitems[].unitLabelrename
returned_countreturnedCountrename
hf_buckets_list (8 output rename)
Output fields
oldnewchangenote
items[].total_filesitems[].numFilesrename
items[].created_atitems[].createdAtrename
items[].updated_atitems[].lastModifiedrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
completeness.public_onlycompleteness.publicOnlyrename
completeness.estimated_total_hitscompleteness.estimatedTotalrename
hf_repo_info (1 argument, 21 values, 33 output rename, 8 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refsrepossprawlrefs repo_ids repoIds repositories model_ids dataset_ids space_ids ids uris urls repo_id repo model_id dataset_id space_id ref id uri url
fields / sort values
argumentoldnewold still acceptedrule
fieldscreated_atcreatedAtyes
fieldslast_modifiedlastModifiedyes
fieldsdownloads_all_timedownloadsAllTimeyes
fieldspipeline_tagpipelineTagyes
fieldslibrary_namelibraryNameyes
fieldsbase_modelsbaseModelsyes
fieldsbase_model_relationbaseModelRelationyes
fieldsspaces_countnumSpacesyes
fieldschildren_model_countnumChildModelsyes
fieldsparameterssafetensorsyes
fieldschat_templatechatTemplateyes
fieldschat_template_truncatedchatTemplateTruncatedyes
fieldsauto_modeltransformersInfoyes
fieldsinference_providersinferenceProvidersyes
fieldsused_storageusedStorageyes
fieldspaperswithcode_idpaperswithcodeIdyes
fieldspretty_nameprettyNameyes
fieldstask_categoriestaskCategoriesyes
fieldssize_categoriessizeCategoriesyes
fieldsshort_descriptionshortDescriptionyes
fieldstotal_filesnumFilesyes
Output fields
oldnewchangenote
items[].created_atitems[].createdAtrename
items[].last_modifieditems[].lastModifiedrename
items[].downloads_all_timeitems[].downloadsAllTimerename
items[].pipeline_tagitems[].pipelineTagrename
items[].library_nameitems[].libraryNamerename
items[].base_modelsitems[].baseModelsrename
items[].base_models[].kinditems[].baseModels[].kindrename
items[].base_models[].iditems[].baseModels[].idrename
items[].base_models[].uriitems[].baseModels[].urirename
items[].base_models[].urlitems[].baseModels[].urlrename
items[].base_model_relationitems[].baseModelRelationrename
items[].spaces_countitems[].numSpacesrename
items[].children_model_countitems[].numChildModelsrename
items[].parametersitems[].safetensorsshaperepo_info: parameters{total,by_dtype} -> safetensors{total,parameters}
items[].parameters.totalitems[].safetensors.totalshape
items[].parameters.by_dtypeitems[].safetensors.parametersshape
items[].gguf.context_lengthitems[].gguf.contextLengthrename
items[].gguf.bos_tokenitems[].gguf.bosTokenrename
items[].gguf.eos_tokenitems[].gguf.eosTokenrename
items[].chat_templateitems[].chatTemplaterename
items[].chat_template_truncateditems[].chatTemplateTruncatedrename
items[].auto_modelitems[].transformersInfo.autoModelshapesame object as search records
items[].inference_providersitems[].inferenceProvidersrename
items[].inference_providers[].provideritems[].inferenceProviders[].providerrename
items[].inference_providers[].provider_iditems[].inferenceProviders[].providerIdrename
items[].inference_providers[].statusitems[].inferenceProviders[].statusrename
items[].inference_providers[].taskitems[].inferenceProviders[].taskrename
items[].used_storageitems[].usedStoragerename
items[].paperswithcode_iditems[].paperswithcodeIdrename
items[].pretty_nameitems[].prettyNamerename
items[].task_categoriesitems[].taskCategoriesrename
items[].size_categoriesitems[].sizeCategoriesrename
items[].short_descriptionitems[].shortDescriptionrename
items[].runtime.hardwareitems[].runtime.hardware.currentshapestring -> {current, requested}
items[].runtime.requested_hardwareitems[].runtime.hardware.requestedshape
items[].runtime.sleep_time_secondsitems[].runtime.gcTimeoutrename
items[].total_filesitems[].numFilesrename
items[].erroritems[].error.codeshapeerror string -> {code, message}
items[].messageitems[].error.messageshape
returned_countreturnedCountrename
error_counterrorCountrename
hf_repo_list_files (3 arguments, 10 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refreposprawlref repo_id repoId repository repo_ref model_id dataset_id space_id id uri url
path_containspathContainsrenamepath_contains
typekindsprawltyperecords already say kind
Output fields
oldnewchangenote
items[].last_commititems[].lastCommitrename
items[].last_commit.iditems[].lastCommit.idrename
items[].last_commit.titleitems[].lastCommit.titlerename
items[].last_commit.dateitems[].lastCommit.createdAtrename
items[].uploaded_atitems[].uploadedAtrename
items[].mtimeitems[].lastModifiedrename
items[].content_typeitems[].contentTyperename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.total_matchescompleteness.totalrename
hf_repo_paths_info (2 arguments, 18 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refreposprawlref repo_id repoId repository repo_ref model_id dataset_id space_id id uri url
include_folder_sizeincludeFolderSizerenameinclude_folder_size
Output fields
oldnewchangenote
entriesitemsrename
entries[].kinditems[].kindrename
entries[].iditems[].idrename
entries[].uriitems[].urirename
entries[].urlitems[].urlrename
entries[].pathitems[].pathrename
entries[].sizeitems[].sizerename
entries[].lfsitems[].lfsrename
entries[].xetitems[].xetrename
entries[].oiditems[].oidrename
entries[].last_commititems[].lastCommitrename
entries[].last_commit.iditems[].lastCommit.idrename
entries[].last_commit.titleitems[].lastCommit.titlerename
entries[].last_commit.dateitems[].lastCommit.createdAtrename
entries[].uploaded_atitems[].uploadedAtrename
entries[].mtimeitems[].lastModifiedrename
entries[].content_typeitems[].contentTyperename
returned_countreturnedCountrename
hf_repo_read_text (1 argument, 2 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
max_bytesmaxBytesrenamemax_bytes
Output fields
oldnewchangenote
total_bytessizerename
next_offsetnextOffsetrename
hf_repo_read_image (1 argument, 1 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
max_bytesmaxBytesrenamemax_bytes
Output fields
oldnewchangenote
mime_typemimeTyperename
hf_repo_history (2 arguments, 5 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refreposprawlref repo_id repoId repository repo_ref model_id dataset_id space_id id uri url
include_prsincludePrsrenameinclude_prs include_pull_requests
Output fields
oldnewchangenote
items[].dateitems[].createdAtrename
items[].target_commititems[].targetCommitrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.upstream_totalcompleteness.totalrename
hf_dataset_structure (19 output rename)
Output fields
oldnewchangenote
splits[].num_rowssplits[].numRowsrename
splits[].num_columnssplits[].numColumnsrename
splits[].parquet_bytessplits[].parquetSizerename
splits[].memory_bytessplits[].memorySizerename
splits[].original_bytessplits[].originalSizerename
splits_truncatedsplitsTruncatedrename
splits_totalnumSplitsrename
totals.num_rowstotals.numRowsrename
totals.parquet_bytestotals.parquetSizerename
totals.memory_bytestotals.memorySizerename
totals.original_bytestotals.originalSizerename
schema[].columns_truncatedschema[].columnsTruncatedrename
schema[].columns_totalschema[].numColumnsrename
schema_truncatedschemaTruncatedrename
schema_configs_totalnumSchemaConfigsrename
parquet.total_filesparquet.numFilesrename
statistics.num_examplesstatistics.numExamplesrename
statistics.columns_truncatedstatistics.columnsTruncatedrename
statistics.columns_totalstatistics.numColumnsrename
hf_dataset_rows (1 argument, 6 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
lengthlimitsprawllength max_results top_k page_size comments_limit
Output fields
oldnewchangenote
items[].row_idxitems[].rowIdxrename
items[].truncated_cellsitems[].truncatedCellsrename
items[].omitted_columnsitems[].omittedColumnsrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.num_rows_totalcompleteness.totalrename
hf_papers_search (11 output rename)
Output fields
oldnewchangenote
items[].ai_summaryitems[].aiSummaryrename
items[].published_atitems[].publishedAtrename
items[].arxiv_urlitems[].arxivUrlrename
items[].github_repoitems[].githubReporename
items[].project_pageitems[].projectPagerename
items[].submitted_on_daily_atitems[].submittedOnDailyAtrename
items[].submitted_byitems[].submittedByrename
items[].num_commentsitems[].numCommentsrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
hf_daily_papers (1 argument, 11 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
submittersubmittedBysprawlsubmitter submitted_byrecords say submittedBy
Output fields
oldnewchangenote
items[].ai_summaryitems[].aiSummaryrename
items[].published_atitems[].publishedAtrename
items[].arxiv_urlitems[].arxivUrlrename
items[].github_repoitems[].githubReporename
items[].project_pageitems[].projectPagerename
items[].submitted_on_daily_atitems[].submittedOnDailyAtrename
items[].submitted_byitems[].submittedByrename
items[].num_commentsitems[].numCommentsrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
hf_paper_get (1 argument, 8 output rename, 2 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
paper_idspaperssprawlpaper_ids paper_id arxiv_id arxiv_ids ids uris urls id uri url
Output fields
oldnewchangenote
items[].ai_summaryitems[].aiSummaryrename
items[].published_atitems[].publishedAtrename
items[].arxiv_urlitems[].arxivUrlrename
items[].github_repoitems[].githubReporename
items[].project_pageitems[].projectPagerename
items[].ai_keywordsitems[].aiKeywordsrename
items[].github_starsitems[].githubStarsrename
items[].erroritems[].error.codeshapeerror string -> {code, message}
items[].messageitems[].error.messageshape
returned_countreturnedCountrename
hf_paper_read (2 arguments, 2 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
paper_idpapersprawlpaper_id arxiv_id paper_ids arxiv_ids id uri url
max_bytesmaxBytesrenamemax_bytes
Output fields
oldnewchangenote
total_bytessizerename
next_offsetnextOffsetrename
hf_collections_search (1 argument, 8 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
ownersownersAnysprawlowners owner author
Output fields
oldnewchangenote
items[].last_updateditems[].lastModifiedrename
items[].items_previewitems[].itemsPreviewrename
items[].items_preview[].kinditems[].itemsPreview[].kindrename
items[].items_preview[].iditems[].itemsPreview[].idrename
items[].items_preview[].uriitems[].itemsPreview[].urirename
items[].items_preview[].urlitems[].itemsPreview[].urlrename
returned_countreturnedCountrename
next_cursornextCursorrename
hf_collection_get (1 argument, 7 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
include_historyincludeHistoryrenameinclude_history
Output fields
oldnewchangenote
last_updatedlastModifiedrename
items[].pipeline_tagitems[].pipelineTagrename
returned_countreturnedCountrename
history[].datehistory[].createdAtrename
completeness.items_totalcompleteness.totalrename
completeness.skipped_itemscompleteness.skippedItemsrename
completeness.history_totalcompleteness.numHistoryrename
hf_docs_search (2 output rename)
Output fields
oldnewchangenote
returned_countreturnedCountrename
next_cursornextCursorrename
hf_docs_read (1 argument, 3 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
max_bytesmaxBytesrenamemax_bytes
Output fields
oldnewchangenote
returned_countreturnedCountrename
next_cursornextCursorrename
next_offsetnextOffsetrename
hf_space_tools (5 output rename)
Output fields
oldnewchangenote
tools[].input_schematools[].inputSchemarename
tools[].file_inputstools[].fileInputsrename
tools[].locally_validatedtools[].locallyValidatedrename
tools[].schema_omittedtools[].schemaOmittedrename
returned_countreturnedCountrename
hf_space_invoke (3 output rename)
Output fields
oldnewchangenote
is_errorisErrorrename
text_truncatedtextTruncatedrename
media[].mime_typemedia[].mimeTyperename
hf_profile_get (1 argument, 5 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
include_socialsincludeSocialsrenameinclude_socials
Output fields
oldnewchangenote
items[].avatar_urlitems[].avatarUrlrename
items[].is_proitems[].isProrename
items[].created_atitems[].createdAtrename
items[].handleitems[].refrenameecho of the input as given
returned_countreturnedCountrename
hf_org_members (2 arguments, 5 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
orghandlesprawlorg handles user entity username usernames users organization orgs uri url id
admins_onlyadminsOnlyrenameadmins_only
Output fields
oldnewchangenote
items[].avatar_urlitems[].avatarUrlrename
items[].is_proitems[].isProrename
items[].org_typeitems[].orgTyperename
returned_countreturnedCountrename
next_cursornextCursorrename
hf_follow_graph (5 output rename)
Output fields
oldnewchangenote
items[].avatar_urlitems[].avatarUrlrename
items[].is_proitems[].isProrename
items[].org_typeitems[].orgTyperename
returned_countreturnedCountrename
next_cursornextCursorrename
hf_user_likes (2 arguments, 7 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
userhandlesprawluser handles org entity username usernames users organization orgs uri url id
kindskindsAnysprawlkinds types repo_types
Output fields
oldnewchangenote
items[].liked_atitems[].likedAtrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pages_scannedcompleteness.pagesScannedrename
completeness.rows_scannedcompleteness.rowsScannedrename
completeness.ranking_windowcompleteness.rankingWindowrename
completeness.notecompleteness.hintrename
hf_repo_likers (1 argument, 5 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refreposprawlref repo_id repoId repository repo_ref model_id dataset_id space_id id uri url
Output fields
oldnewchangenote
items[].avatar_urlitems[].avatarUrlrename
items[].is_proitems[].isProrename
items[].org_typeitems[].orgTyperename
returned_countreturnedCountrename
next_cursornextCursorrename
hf_activity (2 arguments, 6 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
entityhandlesprawlentity handles user org username usernames users organization orgs uri url id
typestypesAnysprawltypes typeevent types
Output fields
oldnewchangenote
items[].timeitems[].createdAtrename
items[].target_typeitems[].targetTyperename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pages_scannedcompleteness.pagesScannedrename
completeness.rows_scannedcompleteness.rowsScannedrename
hf_discussions_list (1 argument, 9 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refreposprawlref repo_id repoId repository repo_ref model_id dataset_id space_id id uri url
Output fields
oldnewchangenote
items[].created_atitems[].createdAtrename
items[].commentsitems[].numCommentsrenamewas a number named like the comments[] array
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.total_upstreamcompleteness.totalrename
completeness.repos_scannedcompleteness.reposScannedrename
completeness.repos_total_knowncompleteness.totalrenamerepositories known for the owner
completeness.repos_failedcompleteness.reposFailedrename
completeness.notecompleteness.hintrename
hf_discussion_get (2 arguments, 12 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refdiscussionsprawlref repo (with num) repo_id (with num) discussion_id uri url idrepo + num still accepted
comments_limitlimitsprawlcomments_limit max_results top_k page_size lengthcomments are the paged list
Output fields
oldnewchangenote
created_atcreatedAtrename
comments[].created_atcomments[].createdAtrename
comments[].text_truncatedcomments[].textTruncatedrename
comment_countnumCommentsrename
returned_countreturnedCountrename
next_cursornextCursorrename
timeline[].created_attimeline[].createdAtrename
files_truncatedfilesTruncatedrename
diff_urldiffUrlrename
target_branchtargetBranchrename
merge_commitmergeCommitrename
conflicting_filesconflictingFilesrename
hf_whoami (5 output rename)
Output fields
oldnewchangenote
usernameidrenamewhoami becomes a person record
typekindrenamevalues user | org
is_proisProrename
orgs[].nameorgs[].idrenameorgs[] become person records (+kind, uri)
token.fine_grainedtoken.fineGrainedrename
hf_repo_create (2 arguments, 4 output rename, 5 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
urireposprawluri ref repo_id repoId repository repo_ref model_id dataset_id space_id id urlcreate and write now share the name
hardwareflavorsprawlhardware14 other places say flavor
Output fields
oldnewchangenote
hardwareruntimeshapesame object as Space records
hardware.requestedruntime.hardware.requestedshape
hardware.currentruntime.hardware.currentshape
hardware.stageruntime.stageshape
hardware.confirmedruntime.confirmedshape
copy_statuscopyStatusrename
copy_status.pendingcopyStatus.pendingrename
copy_status.files_totalcopyStatus.numFilesrename
copy_status.files_copiedcopyStatus.filesCopiedrename
hf_repo_write_files (3 arguments, 1 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
refreposprawlref repo_id repoId repository repo_ref model_id dataset_id space_id id uri url
create_prcreatePrrenamecreate_pr
parent_commitparentCommitrenameparent_commit
Output fields
oldnewchangenote
pull_request_urlpullRequestUrlrename
hf_job_run (4 arguments, 10 output rename, 3 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
script_argsscriptArgsrenamescript_args
forward_hf_tokenforwardHfTokenrenameforward_hf_token
resource_group_idresourceGroupIdrenameresource_group_id
wait_secondswaitSecondsrenamewait_seconds
Output fields
oldnewchangenote
job.created_atjob.createdAtrename
job.finished_atjob.finishedAtrename
job.docker_imagejob.dockerImagerename
job.space_idjob.spaceIdrename
job.environment_variable_namesjob.environmentVariableNamesrename
job.secret_namesjob.secretNamesrename
job.status.expose_urlsjob.status.exposeUrlsrename
job.owner.namejob.ownershape
job.created_byjob.createdByshape{id, name, type} -> name string
job.created_by.namejob.createdByshape
job.timeout_secondsjob.timeoutSecondsrename
logs.follow_stoppedlogs.followStoppedrename
logs.lines_truncatedlogs.linesTruncatedrename
hf_job_schedule (3 arguments, 11 output rename, 2 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
script_argsscriptArgsrenamescript_args
forward_hf_tokenforwardHfTokenrenameforward_hf_token
resource_group_idresourceGroupIdrenameresource_group_id
Output fields
oldnewchangenote
scheduled_jobscheduledJobrename
scheduled_job.idscheduledJob.idrename
scheduled_job.schedulescheduledJob.schedulerename
scheduled_job.suspendedscheduledJob.suspendedrename
scheduled_job.last_runscheduledJob.lastRunAtrename
scheduled_job.next_runscheduledJob.nextRunAtrename
scheduled_job.ownerscheduledJob.ownershape{id, name, type} -> name string
scheduled_job.owner.namescheduledJob.ownershape
scheduled_job.created_atscheduledJob.createdAtrename
scheduled_job.job_specscheduledJob.jobSpecrename
scheduled_job.kindscheduledJob.kindrename
scheduled_job.namespacescheduledJob.namespacerename
scheduled_job.concurrencyscheduledJob.concurrencyrename
hf_jobs_list (2 arguments, 14 output rename, 3 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
stagesstagesAnysprawlstages stages_any stage
—limitaddmax_results top_k page_size length comments_limitnew: page size 1-100, default 20
Output fields
oldnewchangenote
items[].created_atitems[].createdAtrename
items[].finished_atitems[].finishedAtrename
items[].docker_imageitems[].dockerImagerename
items[].space_iditems[].spaceIdrename
items[].environment_variable_namesitems[].environmentVariableNamesrename
items[].secret_namesitems[].secretNamesrename
items[].status.expose_urlsitems[].status.exposeUrlsrename
items[].owner.nameitems[].ownershape
items[].created_byitems[].createdByshape{id, name, type} -> name string
items[].created_by.nameitems[].createdByshape
items[].timeout_secondsitems[].timeoutSecondsrename
items[].last_runitems[].lastRunAtrename
items[].next_runitems[].nextRunAtrename
items[].job_specitems[].jobSpecrename
returned_countreturnedCountrename
next_cursornextCursorrename
completeness.pagination_blocked_reasoncompleteness.reasonrenamesame codes
hf_job_get (1 argument, 19 output rename, 5 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
job_idjobsprawljob_id id job_url url
Output fields
oldnewchangenote
job.created_atjob.createdAtrename
job.finished_atjob.finishedAtrename
job.docker_imagejob.dockerImagerename
job.space_idjob.spaceIdrename
job.environment_variable_namesjob.environmentVariableNamesrename
job.secret_namesjob.secretNamesrename
job.status.expose_urlsjob.status.exposeUrlsrename
job.owner.namejob.ownershape
job.created_byjob.createdByshape{id, name, type} -> name string
job.created_by.namejob.createdByshape
job.timeout_secondsjob.timeoutSecondsrename
scheduled_jobscheduledJobrename
scheduled_job.idscheduledJob.idrename
scheduled_job.schedulescheduledJob.schedulerename
scheduled_job.suspendedscheduledJob.suspendedrename
scheduled_job.last_runscheduledJob.lastRunAtrename
scheduled_job.next_runscheduledJob.nextRunAtrename
scheduled_job.ownerscheduledJob.ownershape{id, name, type} -> name string
scheduled_job.owner.namescheduledJob.ownershape
scheduled_job.created_atscheduledJob.createdAtrename
scheduled_job.job_specscheduledJob.jobSpecrename
scheduled_job.kindscheduledJob.kindrename
scheduled_job.namespacescheduledJob.namespacerename
scheduled_job.concurrencyscheduledJob.concurrencyrename
hf_job_logs (2 arguments, 3 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
job_idjobsprawljob_id id job_url url
follow_secondsfollowSecondsrenamefollow_seconds
Output fields
oldnewchangenote
follow_stoppedfollowStoppedrename
lines_truncatedlinesTruncatedrename
returned_countreturnedCountrename
hf_job_cancel (1 argument, 12 output rename, 3 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
job_idjobsprawljob_id id job_url url
Output fields
oldnewchangenote
job.created_atjob.createdAtrename
job.finished_atjob.finishedAtrename
job.docker_imagejob.dockerImagerename
job.space_idjob.spaceIdrename
job.environment_variable_namesjob.environmentVariableNamesrename
job.secret_namesjob.secretNamesrename
job.status.expose_urlsjob.status.exposeUrlsrename
job.owner.namejob.ownershape
job.created_byjob.createdByshape{id, name, type} -> name string
job.created_by.namejob.createdByshape
job.timeout_secondsjob.timeoutSecondsrename
scheduled_jobscheduledJobrename
scheduled_job.kindscheduledJob.kindrename
scheduled_job.idscheduledJob.idrename
scheduled_job.namespacescheduledJob.namespacerename
hf_job_update (1 argument, 41 output rename, 9 output shape)
Arguments
oldnewchangeaccepted aliases (not advertised)note
job_idjobsprawljob_id id job_url url
Output fields
oldnewchangenote
job.created_atjob.createdAtrename
job.finished_atjob.finishedAtrename
job.docker_imagejob.dockerImagerename
job.space_idjob.spaceIdrename
job.environment_variable_namesjob.environmentVariableNamesrename
job.secret_namesjob.secretNamesrename
job.status.expose_urlsjob.status.exposeUrlsrename
job.owner.namejob.ownershape
job.created_byjob.createdByshape{id, name, type} -> name string
job.created_by.namejob.createdByshape
job.timeout_secondsjob.timeoutSecondsrename
scheduled_jobscheduledJobrename
scheduled_job.idscheduledJob.idrename
scheduled_job.schedulescheduledJob.schedulerename
scheduled_job.suspendedscheduledJob.suspendedrename
scheduled_job.last_runscheduledJob.lastRunAtrename
scheduled_job.next_runscheduledJob.nextRunAtrename
scheduled_job.ownerscheduledJob.ownershape{id, name, type} -> name string
scheduled_job.owner.namescheduledJob.ownershape
scheduled_job.created_atscheduledJob.createdAtrename
scheduled_job.job_specscheduledJob.jobSpecrename
scheduled_job.kindscheduledJob.kindrename
scheduled_job.namespacescheduledJob.namespacerename
scheduled_job.concurrencyscheduledJob.concurrencyrename
triggered_jobtriggeredJobrename
triggered_job.idtriggeredJob.idrename
triggered_job.urltriggeredJob.urlrename
triggered_job.endpointtriggeredJob.endpointrename
triggered_job.created_attriggeredJob.createdAtrename
triggered_job.finished_attriggeredJob.finishedAtrename
triggered_job.docker_imagetriggeredJob.dockerImagerename
triggered_job.space_idtriggeredJob.spaceIdrename
triggered_job.commandtriggeredJob.commandrename
triggered_job.argumentstriggeredJob.argumentsrename
triggered_job.environment_variable_namestriggeredJob.environmentVariableNamesrename
triggered_job.secret_namestriggeredJob.secretNamesrename
triggered_job.flavortriggeredJob.flavorrename
triggered_job.statustriggeredJob.statusrename
triggered_job.status.stagetriggeredJob.status.stagerename
triggered_job.status.messagetriggeredJob.status.messagerename
triggered_job.status.expose_urlstriggeredJob.status.exposeUrlsrename
triggered_job.ownertriggeredJob.ownershape{id, name, type} -> name string
triggered_job.owner.nametriggeredJob.ownershape
triggered_job.created_bytriggeredJob.createdByshape{id, name, type} -> name string
triggered_job.created_by.nametriggeredJob.createdByshape
triggered_job.tagstriggeredJob.tagsrename
triggered_job.labelstriggeredJob.labelsrename
triggered_job.timeout_secondstriggeredJob.timeoutSecondsrename
triggered_job.kindtriggeredJob.kindrename
triggered_job.namespacetriggeredJob.namespacerename
hf_sandbox_create (2 arguments, 5 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
forward_hf_tokenforwardHfTokenrenameforward_hf_token
resource_group_idresourceGroupIdrenameresource_group_id
Output fields
oldnewchangenote
job_idjobIdrename
server_urlserverUrlrename
volumes[].mount_pathvolumes[].mountPathrename
volumes[].read_onlyvolumes[].readOnlyrename
hf_token_forwardedhfTokenForwardedrename
hf_sandbox_status (11 output rename)
Output fields
oldnewchangenote
job_idjobIdrename
server_urlserverUrlrename
stage_messagestageMessagerename
health_errorhealthErrorrename
created_atcreatedAtrename
idle_lifetime_secondsidleLifetimeSecondsrename
volumes[].mount_pathvolumes[].mountPathrename
volumes[].read_onlyvolumes[].readOnlyrename
processes.returned_countprocesses.returnedCountrename
processes.next_cursorprocesses.nextCursorrename
processes.completeness.availableprocesses.completeness.totalrenameprocesses known
hf_sandbox_terminate (1 output rename)
Output fields
oldnewchangenote
job_idjobIdrename
hf_sandbox_exec (7 output rename)
Output fields
oldnewchangenote
exit_codeexitCoderename
timed_outtimedOutrename
duration_msdurationMsrename
stdout_truncatedstdoutTruncatedrename
stderr_truncatedstderrTruncatedrename
process.exit_codeprocess.exitCoderename
process.started_atprocess.startedAtrename
hf_sandbox_kill (4 output rename)
Output fields
oldnewchangenote
matched_bymatchedByrename
killed[].exit_codekilled[].exitCoderename
killed[].started_atkilled[].startedAtrename
returned_countreturnedCountrename
hf_sandbox_fs_read (1 argument, 5 output rename)
Arguments
oldnewchangeaccepted aliases (not advertised)note
max_bytesmaxBytesrenamemax_bytes
Output fields
oldnewchangenote
entry.mtimeentry.lastModifiedrename
next_offsetnextOffsetrename
items[].mtimeitems[].lastModifiedrename
returned_countreturnedCountrename
next_cursornextCursorrename

Tool definitions

53 tools: 37 anonymous, 40 with a read token, all 53 with a write token. Shown as Python stubs or TypeScript declarations (toggle at the top), generated from the tools/list schemas.

Server instructions (248 chars): Pass returned uris unchanged to later calls. Page with nextCursor (reads: nextOffset), same other arguments; returnedCount is per page. completeness: hasMore with null cursor = paging blocked; truncated = results no page returns (see reason, hint).

Hub discovery (10)

ToolDefinitionEndpoints
hf_models_search
anonymousread-only
replaces hf_fs, hub_repo_details, hub_repo_search
async def hf_models_search(
    *,
    query: str | None = None,
    authorsAny: list[str] | None = None,
    idsAny: list[str] | None = None,
    papersAny: list[str] | None = None,
    tagsAll: list[str] | None = None,
    tagsAnyGroups: list[list[str]] | None = None,
    direction: Literal["asc", "desc"] = "desc",
    limit: int = 20,
    cursor: str | None | None = None,
    sort: Literal["trendingScore", "likes", "likes30d", "lastModified", "createdAt", "id", "downloads", "numParameters"] = "trendingScore",
    fields: list[Literal["author", "createdAt", "lastModified", "likes", "private", "disabled", "sha", "tags", "trendingScore", "downloads", "downloadsAllTime", "gated", "pipelineTag", "libraryName", "safetensors", "numParameters", "baseModels", "inferenceProviders", "spaces", "datasets", "config", "transformersInfo"]] | None = None,
    task: str | None = None,
    librariesAll: list[str] | None = None,
    languagesAll: list[str] | None = None,
    licensesAll: list[str] | None = None,
    gated: bool | None = None,
    providersAny: list[str] | None = None,
    anyProvider: Literal[True] | None = None,
    inference: Literal["warm", "cold", "frozen"] | None = None,
    numParametersMin: int | None = None,
    numParametersMax: int | None = None,
    numParametersAny: list[int] | None = None,
    createdAt: dict[str, Any] | None = None,
    baseModelRelationsAny: list[Literal["base", "adapter", "merge", "quantized", "finetune"]] | None = None,
    baseModelsAll: list[str] | None = None,
    baseModelRelation: Literal["adapter", "merge", "quantized", "finetune"] | None = None,
    datasetsAny: list[str] | None = None,
    appsAny: list[str] | None = None,
) -> dict[str, Any]:
    """Search Hugging Face model repositories (weights, checkpoints, LLMs) by name, or browse. Find
    fine-tune, adapter, GGUF and quantized builds using name prefixes and filters for owner, task,
    library, language, license, parameter size or base-model lineage. Sort by downloads, likes,
    trending, date or parameter count. Returns repository IDs and hf:// URIs. See
    hf_repo_fulltext_search, hf_trending.

    Args:
        query: Name/prefix search (not semantic or README text). Omit to browse.
        authorsAny: OR of owners: user/org names or profile uris (items[].author).
        idsAny: OR of exact repository IDs (items[].id).
        papersAny: OR of paper arXiv IDs (or hf://papers/ID uris).
        tagsAll: AND of exact stored tags (no commas or spaces; dataset tags are namespaced).
        tagsAnyGroups: AND of OR groups of tags; values without slash, space, plus or comma.
        direction: asc only for id, createdAt, numParameters, numRows or mainSize.
        limit: Maximum items to return (default 20, max 100).
        cursor: nextCursor from a previous call (same args); full scans take 100s of pages.
        sort: Sort key; numParameters asc puts unknown first (use numParametersMin=1).
        fields: Fields to return instead of the defaults; kind/id/uri/url are always included.
        task: Single pipeline tag, e.g. text-generation.
        librariesAll: AND of bare model library tags, e.g. transformers or diffusers.
        languagesAll: AND of bare model language tags, e.g. en.
        licensesAll: AND of licenses, e.g. apache-2.0.
        gated: True matches auto/manual gating; false matches ungated.
        providersAny: OR of provider IDs, e.g. groq, together, hf-inference, openrouter.
        anyProvider: Require any live provider; inference_provider=all.
        inference: warm: any live provider; cold/frozen: no provider.
        numParametersAny: OR of exact parameter counts (numbers, not "7B" strings).
        createdAt: Bounds object {gt|gte, lt|lte}: ISO date or datetime.
        baseModelRelationsAny: OR of lineage relations (base is a heuristic).
        baseModelsAll: AND of base_model:ID tags. Reuse model items[].id.
        baseModelRelation: Relation for baseModelsAll, e.g. quantized.
        datasetsAny: OR of linked training dataset IDs.
        appsAny: OR of local app IDs, e.g. llama.cpp, ollama, vllm, mlx-lm.

    Returns: {
        nextCursor: str | None,
        returnedCount: int,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, unknownOwners: list[str]},
        items: list[{kind: Literal["model"], id: str, uri: str, url: str, author: str, createdAt: str, lastModified: str, likes: float, private: bool, disabled: bool, sha: str, tags: list[str], trendingScore: float, downloads: float, downloadsAllTime: float, gated: bool | Literal["auto", "manual"], pipelineTag: str, libraryName: str, numParameters: float, safetensors: dict[str, Any], config: dict[str, Any], transformersInfo: dict[str, Any], inferenceProviders: list[dict[str, Any]], baseModels: list[dict[str, Any]], baseModelRelation: str, spaces: list[dict[str, Any]], datasets: list[dict[str, Any]]}],
    }
    """
    ...
/**
 * Search Hugging Face model repositories (weights, checkpoints, LLMs) by name, or browse. Find
 * fine-tune, adapter, GGUF and quantized builds using name prefixes and filters for owner, task,
 * library, language, license, parameter size or base-model lineage. Sort by downloads, likes,
 * trending, date or parameter count. Returns repository IDs and hf:// URIs. See
 * hf_repo_fulltext_search, hf_trending.
 */
declare function hf_models_search(args: {
  // Name/prefix search (not semantic or README text). Omit to browse.
  query?: string;
  // OR of owners: user/org names or profile uris (items[].author).
  authorsAny?: string[];
  // OR of exact repository IDs (items[].id).
  idsAny?: string[];
  // OR of paper arXiv IDs (or hf://papers/ID uris).
  papersAny?: string[];
  // AND of exact stored tags (no commas or spaces; dataset tags are namespaced).
  tagsAll?: string[];
  // AND of OR groups of tags; values without slash, space, plus or comma.
  tagsAnyGroups?: string[][];
  // asc only for id, createdAt, numParameters, numRows or mainSize. @default "desc"
  direction?: "asc" | "desc";
  // Maximum items to return (default 20, max 100). @default 20
  limit?: number;
  // nextCursor from a previous call (same args); full scans take 100s of pages.
  cursor?: string | null;
  // Sort key; numParameters asc puts unknown first (use numParametersMin=1). @default "trendingScore"
  sort?: "trendingScore" | "likes" | "likes30d" | "lastModified" | "createdAt" | "id" | "downloads" | "numParameters";
  // Fields to return instead of the defaults; kind/id/uri/url are always included.
  fields?: Array<"author" | "createdAt" | "lastModified" | "likes" | "private" | "disabled" | "sha" | "tags" | "trendingScore" | "downloads" | "downloadsAllTime" | "gated" | "pipelineTag" | "libraryName" | "safetensors" | "numParameters" | "baseModels" | "inferenceProviders" | "spaces" | "datasets" | "config" | "transformersInfo">;
  // Single pipeline tag, e.g. text-generation.
  task?: string;
  // AND of bare model library tags, e.g. transformers or diffusers.
  librariesAll?: string[];
  // AND of bare model language tags, e.g. en.
  languagesAll?: string[];
  // AND of licenses, e.g. apache-2.0.
  licensesAll?: string[];
  // True matches auto/manual gating; false matches ungated.
  gated?: boolean;
  // OR of provider IDs, e.g. groq, together, hf-inference, openrouter.
  providersAny?: string[];
  // Require any live provider; inference_provider=all.
  anyProvider?: true;
  // warm: any live provider; cold/frozen: no provider.
  inference?: "warm" | "cold" | "frozen";
  numParametersMin?: number;
  numParametersMax?: number;
  // OR of exact parameter counts (numbers, not "7B" strings).
  numParametersAny?: number[];
  // Bounds object {gt|gte, lt|lte}: ISO date or datetime.
  createdAt?: { gt?: string; gte?: string; lt?: string; lte?: string; };
  // OR of lineage relations (base is a heuristic).
  baseModelRelationsAny?: Array<"base" | "adapter" | "merge" | "quantized" | "finetune">;
  // AND of base_model:ID tags. Reuse model items[].id.
  baseModelsAll?: string[];
  // Relation for baseModelsAll, e.g. quantized.
  baseModelRelation?: "adapter" | "merge" | "quantized" | "finetune";
  // OR of linked training dataset IDs.
  datasetsAny?: string[];
  // OR of local app IDs, e.g. llama.cpp, ollama, vllm, mlx-lm.
  appsAny?: string[];
}): Promise<{
  nextCursor: string | null;
  returnedCount: number;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; unknownOwners?: string[]; };
  items: Array<{ kind: "model"; id: string; uri: string; url: string; author?: string; createdAt?: string; lastModified?: string; likes?: number; private?: boolean; disabled?: boolean; sha?: string; tags?: string[]; trendingScore?: number; downloads?: number; downloadsAllTime?: number; gated?: boolean | "auto" | "manual"; pipelineTag?: string; libraryName?: string; numParameters?: number; safetensors?: Record<string, unknown>; config?: Record<string, unknown>; transformersInfo?: Record<string, unknown>; inferenceProviders?: Record<string, unknown>[]; baseModels?: Record<string, unknown>[]; baseModelRelation?: string; spaces?: Record<string, unknown>[]; datasets?: Record<string, unknown>[]; }>;
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "description": "Name/prefix search (not semantic or README text). Omit to browse.",
   "type": "string"
  },
  "authorsAny": {
   "description": "OR of owners: user/org names or profile uris (items[].author).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "idsAny": {
   "description": "OR of exact repository IDs (items[].id).",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "papersAny": {
   "description": "OR of paper arXiv IDs (or hf://papers/ID uris).",
   "type": "array",
   "items": {
    "type": "string",
    "description": "arXiv ID, e.g. 2501.00001; hf://papers/ID uris are accepted."
   }
  },
  "tagsAll": {
   "description": "AND of exact stored tags (no commas or spaces; dataset tags are namespaced).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "tagsAnyGroups": {
   "description": "AND of OR groups of tags; values without slash, space, plus or comma.",
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "type": "string"
    }
   }
  },
  "direction": {
   "default": "desc",
   "description": "asc only for id, createdAt, numParameters, numRows or mainSize.",
   "type": "string",
   "enum": [
    "asc",
    "desc"
   ]
  },
  "limit": {
   "default": 20,
   "description": "Maximum items to return (default 20, max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); full scans take 100s of pages.",
   "type": [
    "string",
    "null"
   ]
  },
  "sort": {
   "default": "trendingScore",
   "description": "Sort key; numParameters asc puts unknown first (use numParametersMin=1).",
   "type": "string",
   "enum": [
    "trendingScore",
    "likes",
    "likes30d",
    "lastModified",
    "createdAt",
    "id",
    "downloads",
    "numParameters"
   ]
  },
  "fields": {
   "description": "Fields to return instead of the defaults; kind/id/uri/url are always included.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "author",
     "createdAt",
     "lastModified",
     "likes",
     "private",
     "disabled",
     "sha",
     "tags",
     "trendingScore",
     "downloads",
     "downloadsAllTime",
     "gated",
     "pipelineTag",
     "libraryName",
     "safetensors",
     "numParameters",
     "baseModels",
     "inferenceProviders",
     "spaces",
     "datasets",
     "config",
     "transformersInfo"
    ]
   }
  },
  "task": {
   "description": "Single pipeline tag, e.g. text-generation.",
   "type": "string"
  },
  "librariesAll": {
   "description": "AND of bare model library tags, e.g. transformers or diffusers.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "languagesAll": {
   "description": "AND of bare model language tags, e.g. en.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "licensesAll": {
   "description": "AND of licenses, e.g. apache-2.0.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "gated": {
   "description": "True matches auto/manual gating; false matches ungated.",
   "type": "boolean"
  },
  "providersAny": {
   "description": "OR of provider IDs, e.g. groq, together, hf-inference, openrouter.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "anyProvider": {
   "description": "Require any live provider; inference_provider=all.",
   "type": "boolean",
   "const": true
  },
  "inference": {
   "description": "warm: any live provider; cold/frozen: no provider.",
   "type": "string",
   "enum": [
    "warm",
    "cold",
    "frozen"
   ]
  },
  "numParametersMin": {
   "type": "integer"
  },
  "numParametersMax": {
   "type": "integer"
  },
  "numParametersAny": {
   "description": "OR of exact parameter counts (numbers, not \"7B\" strings).",
   "type": "array",
   "items": {
    "type": "integer"
   }
  },
  "createdAt": {
   "type": "object",
   "properties": {
    "gt": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "string"
      }
     ]
    },
    "gte": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "string"
      }
     ]
    },
    "lt": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "string"
      }
     ]
    },
    "lte": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "string"
      }
     ]
    }
   },
   "additionalProperties": false,
   "description": "Bounds object {gt|gte, lt|lte}: ISO date or datetime."
  },
  "baseModelRelationsAny": {
   "description": "OR of lineage relations (base is a heuristic).",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "base",
     "adapter",
     "merge",
     "quantized",
     "finetune"
    ]
   }
  },
  "baseModelsAll": {
   "description": "AND of base_model:ID tags. Reuse model items[].id.",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "baseModelRelation": {
   "description": "Relation for baseModelsAll, e.g. quantized.",
   "type": "string",
   "enum": [
    "adapter",
    "merge",
    "quantized",
    "finetune"
   ]
  },
  "datasetsAny": {
   "description": "OR of linked training dataset IDs.",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "appsAny": {
   "description": "OR of local app IDs, e.g. llama.cpp, ollama, vllm, mlx-lm.",
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "nextCursor": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "returnedCount": {
   "type": "integer"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "unknownOwners": {
     "description": "authorsAny names matching no user or organization.",
     "type": "array",
     "items": {
      "type": "string"
     }
    }
   },
   "required": [
    "hasMore"
   ]
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "model"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     },
     "likes": {
      "type": "number"
     },
     "private": {
      "type": "boolean"
     },
     "disabled": {
      "type": "boolean"
     },
     "sha": {
      "type": "string"
     },
     "tags": {
      "description": "Exact values for tag filters.",
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "trendingScore": {
      "type": "number"
     },
     "downloads": {
      "type": "number",
      "description": "Last 30 days."
     },
     "downloadsAllTime": {
      "type": "number"
     },
     "gated": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "auto",
         "manual"
        ]
       }
      ]
     },
     "pipelineTag": {
      "description": "Value for task.",
      "type": "string"
     },
     "libraryName": {
      "type": "string"
     },
     "numParameters": {
      "description": "Safetensors, else GGUF, total, as numParameters filters match. Request with fields numParameters; may also come with safetensors or sort numParameters.",
      "type": "number"
     },
     "safetensors": {
      "type": "object",
      "properties": {
       "total": {
        "description": "Parameters, not bytes.",
        "type": "number"
       },
       "parameters": {
        "type": "object",
        "additionalProperties": {
         "type": "number"
        }
       }
      }
     },
     "config": {
      "type": "object"
     },
     "transformersInfo": {
      "type": "object",
      "properties": {
       "autoModel": {
        "type": "string"
       },
       "pipelineTag": {
        "type": "string"
       },
       "processor": {
        "type": "string"
       }
      }
     },
     "inferenceProviders": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "provider": {
         "type": "string"
        },
        "providerId": {
         "type": "string"
        },
        "status": {
         "type": "string"
        },
        "task": {
         "type": "string"
        },
        "type": {
         "type": "string"
        },
        "isModelAuthor": {
         "type": "boolean"
        }
       },
       "required": [
        "provider"
       ]
      }
     },
     "baseModels": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "model"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     },
     "baseModelRelation": {
      "type": "string"
     },
     "spaces": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "space"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     },
     "datasets": {
      "description": "From dataset: tags only; not a full training-data list.",
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "dataset"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  }
 },
 "required": [
  "nextCursor",
  "returnedCount",
  "completeness",
  "items"
 ]
}
GET /api/models
hf_datasets_search
anonymousread-only
replaces hf_fs, hub_repo_search
async def hf_datasets_search(
    *,
    query: str | None = None,
    authorsAny: list[str] | None = None,
    idsAny: list[str] | None = None,
    papersAny: list[str] | None = None,
    tagsAll: list[str] | None = None,
    tagsAnyGroups: list[list[str]] | None = None,
    direction: Literal["asc", "desc"] = "desc",
    limit: int = 20,
    cursor: str | None | None = None,
    sort: Literal["trendingScore", "likes", "likes30d", "lastModified", "createdAt", "id", "downloads", "numRows", "mainSize"] = "trendingScore",
    fields: list[Literal["author", "createdAt", "lastModified", "likes", "private", "disabled", "sha", "tags", "trendingScore", "downloads", "downloadsAllTime", "gated", "mainSize", "description", "citation", "paperswithcodeId"]] | None = None,
    gated: bool | None = None,
    taskCategoriesAll: list[str] | None = None,
    sizeCategoriesAll: list[str] | None = None,
    modalitiesAll: list[str] | None = None,
    formatsAll: list[str] | None = None,
    librariesAll: list[str] | None = None,
    languagesAll: list[str] | None = None,
    licensesAll: list[str] | None = None,
    datasetType: Literal["benchmark", "agent-traces", "rl-environment"] | None = None,
) -> dict[str, Any]:
    """Search Hugging Face dataset repositories (training data, benchmarks, eval sets) by name, or
    browse. Filter by owner, task category, modality, format, language, license, library or size
    bucket, including benchmark and agent-trace tags. Sort by downloads, likes, trending, date or
    stored size. For bulk row counts, use sort="numRows" (first page only); batch known IDs with
    idsAny and set limit to the batch size. Missing numRows means unknown, not zero. Returns
    repository IDs and hf:// URIs.

    Args:
        query: Name/prefix search (not semantic or README text). Omit to browse.
        authorsAny: OR of owners: user/org names or profile uris (items[].author).
        idsAny: OR of exact repository IDs (items[].id).
        papersAny: OR of paper arXiv IDs (or hf://papers/ID uris).
        tagsAll: AND of exact stored tags (no commas or spaces; dataset tags are namespaced).
        tagsAnyGroups: AND of OR groups of tags; values without slash, space, plus or comma.
        direction: asc only for id, createdAt, numParameters, numRows or mainSize.
        limit: Maximum items to return (default 20, max 100).
        cursor: nextCursor from a previous call (same args); full scans take 100s of pages.
        sort: Sort key; numRows returns the first page only (no cursor).
        fields: Fields to return instead of the defaults; kind/id/uri/url are always included.
        taskCategoriesAll: AND of task categories, e.g. text-classification.
        sizeCategoriesAll: AND of size buckets, e.g. 1K<n<10K.
        modalitiesAll: AND of modalities (text, image, audio, video, tabular, 3d, geospatial, document)
        formatsAll: AND of format values, e.g. parquet; compiled as format:VALUE.
        librariesAll: AND of dataset libraries, e.g. pandas.
        languagesAll: AND of language codes, e.g. en.
        licensesAll: AND of licenses, e.g. apache-2.0.
        datasetType: Only official benchmarks, agent traces or RL environments.

    Returns: {
        nextCursor: str | None,
        returnedCount: int,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, unknownOwners: list[str]},
        items: list[{kind: Literal["dataset"], id: str, uri: str, url: str, author: str, createdAt: str, lastModified: str, likes: float, private: bool, disabled: bool, sha: str, tags: list[str], trendingScore: float, downloads: float, downloadsAllTime: float, gated: bool | Literal["auto", "manual"], numRows: float, mainSize: float, description: str, citation: str, paperswithcodeId: str}],
    }
    """
    ...
/**
 * Search Hugging Face dataset repositories (training data, benchmarks, eval sets) by name, or
 * browse. Filter by owner, task category, modality, format, language, license, library or size
 * bucket, including benchmark and agent-trace tags. Sort by downloads, likes, trending, date or
 * stored size. For bulk row counts, use sort="numRows" (first page only); batch known IDs with
 * idsAny and set limit to the batch size. Missing numRows means unknown, not zero. Returns
 * repository IDs and hf:// URIs.
 */
declare function hf_datasets_search(args: {
  // Name/prefix search (not semantic or README text). Omit to browse.
  query?: string;
  // OR of owners: user/org names or profile uris (items[].author).
  authorsAny?: string[];
  // OR of exact repository IDs (items[].id).
  idsAny?: string[];
  // OR of paper arXiv IDs (or hf://papers/ID uris).
  papersAny?: string[];
  // AND of exact stored tags (no commas or spaces; dataset tags are namespaced).
  tagsAll?: string[];
  // AND of OR groups of tags; values without slash, space, plus or comma.
  tagsAnyGroups?: string[][];
  // asc only for id, createdAt, numParameters, numRows or mainSize. @default "desc"
  direction?: "asc" | "desc";
  // Maximum items to return (default 20, max 100). @default 20
  limit?: number;
  // nextCursor from a previous call (same args); full scans take 100s of pages.
  cursor?: string | null;
  // Sort key; numRows returns the first page only (no cursor). @default "trendingScore"
  sort?: "trendingScore" | "likes" | "likes30d" | "lastModified" | "createdAt" | "id" | "downloads" | "numRows" | "mainSize";
  // Fields to return instead of the defaults; kind/id/uri/url are always included.
  fields?: Array<"author" | "createdAt" | "lastModified" | "likes" | "private" | "disabled" | "sha" | "tags" | "trendingScore" | "downloads" | "downloadsAllTime" | "gated" | "mainSize" | "description" | "citation" | "paperswithcodeId">;
  gated?: boolean;
  // AND of task categories, e.g. text-classification.
  taskCategoriesAll?: string[];
  // AND of size buckets, e.g. 1K<n<10K.
  sizeCategoriesAll?: string[];
  // AND of modalities (text, image, audio, video, tabular, 3d, geospatial, document)
  modalitiesAll?: string[];
  // AND of format values, e.g. parquet; compiled as format:VALUE.
  formatsAll?: string[];
  // AND of dataset libraries, e.g. pandas.
  librariesAll?: string[];
  // AND of language codes, e.g. en.
  languagesAll?: string[];
  // AND of licenses, e.g. apache-2.0.
  licensesAll?: string[];
  // Only official benchmarks, agent traces or RL environments.
  datasetType?: "benchmark" | "agent-traces" | "rl-environment";
}): Promise<{
  nextCursor: string | null;
  returnedCount: number;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; unknownOwners?: string[]; };
  items: Array<{ kind: "dataset"; id: string; uri: string; url: string; author?: string; createdAt?: string; lastModified?: string; likes?: number; private?: boolean; disabled?: boolean; sha?: string; tags?: string[]; trendingScore?: number; downloads?: number; downloadsAllTime?: number; gated?: boolean | "auto" | "manual"; numRows?: number; mainSize?: number; description?: string; citation?: string; paperswithcodeId?: string; }>;
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "description": "Name/prefix search (not semantic or README text). Omit to browse.",
   "type": "string"
  },
  "authorsAny": {
   "description": "OR of owners: user/org names or profile uris (items[].author).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "idsAny": {
   "description": "OR of exact repository IDs (items[].id).",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "papersAny": {
   "description": "OR of paper arXiv IDs (or hf://papers/ID uris).",
   "type": "array",
   "items": {
    "type": "string",
    "description": "arXiv ID, e.g. 2501.00001; hf://papers/ID uris are accepted."
   }
  },
  "tagsAll": {
   "description": "AND of exact stored tags (no commas or spaces; dataset tags are namespaced).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "tagsAnyGroups": {
   "description": "AND of OR groups of tags; values without slash, space, plus or comma.",
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "type": "string"
    }
   }
  },
  "direction": {
   "default": "desc",
   "description": "asc only for id, createdAt, numParameters, numRows or mainSize.",
   "type": "string",
   "enum": [
    "asc",
    "desc"
   ]
  },
  "limit": {
   "default": 20,
   "description": "Maximum items to return (default 20, max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); full scans take 100s of pages.",
   "type": [
    "string",
    "null"
   ]
  },
  "sort": {
   "default": "trendingScore",
   "description": "Sort key; numRows returns the first page only (no cursor).",
   "type": "string",
   "enum": [
    "trendingScore",
    "likes",
    "likes30d",
    "lastModified",
    "createdAt",
    "id",
    "downloads",
    "numRows",
    "mainSize"
   ]
  },
  "fields": {
   "description": "Fields to return instead of the defaults; kind/id/uri/url are always included.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "author",
     "createdAt",
     "lastModified",
     "likes",
     "private",
     "disabled",
     "sha",
     "tags",
     "trendingScore",
     "downloads",
     "downloadsAllTime",
     "gated",
     "mainSize",
     "description",
     "citation",
     "paperswithcodeId"
    ]
   }
  },
  "gated": {
   "type": "boolean"
  },
  "taskCategoriesAll": {
   "description": "AND of task categories, e.g. text-classification.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "sizeCategoriesAll": {
   "description": "AND of size buckets, e.g. 1K<n<10K.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "modalitiesAll": {
   "description": "AND of modalities (text, image, audio, video, tabular, 3d, geospatial, document)",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "formatsAll": {
   "description": "AND of format values, e.g. parquet; compiled as format:VALUE.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "librariesAll": {
   "description": "AND of dataset libraries, e.g. pandas.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "languagesAll": {
   "description": "AND of language codes, e.g. en.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "licensesAll": {
   "description": "AND of licenses, e.g. apache-2.0.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "datasetType": {
   "description": "Only official benchmarks, agent traces or RL environments.",
   "type": "string",
   "enum": [
    "benchmark",
    "agent-traces",
    "rl-environment"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "nextCursor": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "returnedCount": {
   "type": "integer"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "unknownOwners": {
     "description": "authorsAny names matching no user or organization.",
     "type": "array",
     "items": {
      "type": "string"
     }
    }
   },
   "required": [
    "hasMore"
   ]
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "dataset"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     },
     "likes": {
      "type": "number"
     },
     "private": {
      "type": "boolean"
     },
     "disabled": {
      "type": "boolean"
     },
     "sha": {
      "type": "string"
     },
     "tags": {
      "description": "Exact values for tag filters.",
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "trendingScore": {
      "type": "number"
     },
     "downloads": {
      "type": "number",
      "description": "Last 30 days."
     },
     "downloadsAllTime": {
      "type": "number"
     },
     "gated": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "auto",
         "manual"
        ]
       }
      ]
     },
     "numRows": {
      "description": "Only with sort numRows.",
      "type": "number"
     },
     "mainSize": {
      "description": "Bytes on the main branch.",
      "type": "number"
     },
     "description": {
      "type": "string"
     },
     "citation": {
      "type": "string"
     },
     "paperswithcodeId": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  }
 },
 "required": [
  "nextCursor",
  "returnedCount",
  "completeness",
  "items"
 ]
}
GET /api/datasets
hf_spaces_list
anonymousread-only
replaces hf_fs, hub_repo_details, hub_repo_search
async def hf_spaces_list(
    *,
    query: str | None = None,
    authorsAny: list[str] | None = None,
    idsAny: list[str] | None = None,
    papersAny: list[str] | None = None,
    tagsAll: list[str] | None = None,
    tagsAnyGroups: list[list[str]] | None = None,
    direction: Literal["asc", "desc"] = "desc",
    limit: int = 20,
    cursor: str | None | None = None,
    sort: Literal["trendingScore", "likes", "likes30d", "lastModified", "createdAt", "id"] = "trendingScore",
    fields: list[Literal["author", "createdAt", "lastModified", "likes", "private", "disabled", "sha", "tags", "trendingScore", "sdk", "runtime", "models", "datasets", "region", "subdomain", "title", "emoji", "shortDescription"]] | None = None,
    sdksAny: list[Literal["gradio", "docker", "static", "streamlit"]] | None = None,
    stagesAny: list[Literal["NO_APP_FILE", "CONFIG_ERROR", "BUILDING", "BUILD_ERROR", "APP_STARTING", "RUNNING", "RUNNING_BUILDING", "RUNNING_APP_STARTING", "RUNTIME_ERROR", "DELETING", "STOPPED", "PAUSED", "SLEEPING"]] | None = None,
    runningOnly: bool | None = None,
    hardwareCurrentAny: list[str] | None = None,
    hardwareRequestedAny: list[str] | None = None,
    modelsAny: list[str] | None = None,
    datasetsAny: list[str] | None = None,
    mcpOnly: bool = False,
) -> dict[str, Any]:
    """List Hugging Face Spaces (apps, demos) by owner or organization, or browse repository names.
    Filter by SDK such as Gradio, Docker or static, running state, concrete hardware flavor, MCP
    server tag, exact tags or linked models and datasets. Sort by likes, trending or recency.
    Returns IDs and links, with optional SDK and runtime hardware details; listings support cursor
    paging. See hf_spaces_search.

    Args:
        query: Name/prefix search (not semantic or README text). Omit to browse.
        authorsAny: OR of owners: user/org names or profile uris (items[].author).
        idsAny: OR of exact repository IDs (items[].id).
        papersAny: OR of paper arXiv IDs (or hf://papers/ID uris).
        tagsAll: AND of exact stored tags (no commas or spaces; dataset tags are namespaced).
        tagsAnyGroups: AND of OR groups of tags; values without slash, space, plus or comma.
        direction: asc only for id, createdAt, numParameters, numRows or mainSize.
        limit: Maximum items to return (default 20, max 100).
        cursor: nextCursor from a previous call (same args); full scans take 100s of pages.
        fields: Fields to return instead of the defaults; kind/id/uri/url are always included.
        sdksAny: OR of SDKs; streamlit is deprecated.
        stagesAny: OR of runtime stages, e.g. RUNNING, SLEEPING or BUILD_ERROR.
        runningOnly: Only running Spaces; not with stagesAny.
        hardwareCurrentAny: OR of hf_hardware_flavors ids (e.g. t4-small); avoid pairing with query/tags.
        hardwareRequestedAny: OR of requested flavor ids, e.g. zero-a10g, t4-small (may differ from current).
        modelsAny: OR of linked model IDs from hf_models_search items[].id.
        datasetsAny: OR of linked dataset IDs from hf_datasets_search items[].id.
        mcpOnly: Require the stored mcp-server tag; this is not a live MCP health check.

    Returns: {
        nextCursor: str | None,
        returnedCount: int,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, unknownOwners: list[str]},
        items: list[{kind: Literal["space"], id: str, uri: str, url: str, author: str, createdAt: str, lastModified: str, likes: float, private: bool, disabled: bool, sha: str, tags: list[str], trendingScore: float, sdk: str, runtime: dict[str, Any], models: list[dict[str, Any]], datasets: list[dict[str, Any]], region: str, subdomain: str, title: str, emoji: str, shortDescription: str, aiShortDescription: str, category: str, semanticScore: float}],
    }
    """
    ...
/**
 * List Hugging Face Spaces (apps, demos) by owner or organization, or browse repository names.
 * Filter by SDK such as Gradio, Docker or static, running state, concrete hardware flavor, MCP
 * server tag, exact tags or linked models and datasets. Sort by likes, trending or recency.
 * Returns IDs and links, with optional SDK and runtime hardware details; listings support cursor
 * paging. See hf_spaces_search.
 */
declare function hf_spaces_list(args: {
  // Name/prefix search (not semantic or README text). Omit to browse.
  query?: string;
  // OR of owners: user/org names or profile uris (items[].author).
  authorsAny?: string[];
  // OR of exact repository IDs (items[].id).
  idsAny?: string[];
  // OR of paper arXiv IDs (or hf://papers/ID uris).
  papersAny?: string[];
  // AND of exact stored tags (no commas or spaces; dataset tags are namespaced).
  tagsAll?: string[];
  // AND of OR groups of tags; values without slash, space, plus or comma.
  tagsAnyGroups?: string[][];
  // asc only for id, createdAt, numParameters, numRows or mainSize. @default "desc"
  direction?: "asc" | "desc";
  // Maximum items to return (default 20, max 100). @default 20
  limit?: number;
  // nextCursor from a previous call (same args); full scans take 100s of pages.
  cursor?: string | null;
  // @default "trendingScore"
  sort?: "trendingScore" | "likes" | "likes30d" | "lastModified" | "createdAt" | "id";
  // Fields to return instead of the defaults; kind/id/uri/url are always included.
  fields?: Array<"author" | "createdAt" | "lastModified" | "likes" | "private" | "disabled" | "sha" | "tags" | "trendingScore" | "sdk" | "runtime" | "models" | "datasets" | "region" | "subdomain" | "title" | "emoji" | "shortDescription">;
  // OR of SDKs; streamlit is deprecated.
  sdksAny?: Array<"gradio" | "docker" | "static" | "streamlit">;
  // OR of runtime stages, e.g. RUNNING, SLEEPING or BUILD_ERROR.
  stagesAny?: Array<"NO_APP_FILE" | "CONFIG_ERROR" | "BUILDING" | "BUILD_ERROR" | "APP_STARTING" | "RUNNING" | "RUNNING_BUILDING" | "RUNNING_APP_STARTING" | "RUNTIME_ERROR" | "DELETING" | "STOPPED" | "PAUSED" | "SLEEPING">;
  // Only running Spaces; not with stagesAny.
  runningOnly?: boolean;
  // OR of hf_hardware_flavors ids (e.g. t4-small); avoid pairing with query/tags.
  hardwareCurrentAny?: string[];
  // OR of requested flavor ids, e.g. zero-a10g, t4-small (may differ from current).
  hardwareRequestedAny?: string[];
  // OR of linked model IDs from hf_models_search items[].id.
  modelsAny?: string[];
  // OR of linked dataset IDs from hf_datasets_search items[].id.
  datasetsAny?: string[];
  // Require the stored mcp-server tag; this is not a live MCP health check. @default false
  mcpOnly?: boolean;
}): Promise<{
  nextCursor: string | null;
  returnedCount: number;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; unknownOwners?: string[]; };
  items: Array<{ kind: "space"; id: string; uri: string; url: string; author?: string; createdAt?: string; lastModified?: string; likes?: number; private?: boolean; disabled?: boolean; sha?: string; tags?: string[]; trendingScore?: number; sdk?: string; runtime?: Record<string, unknown>; models?: Record<string, unknown>[]; datasets?: Record<string, unknown>[]; region?: string; subdomain?: string; title?: string; emoji?: string; shortDescription?: string; aiShortDescription?: string; category?: string; semanticScore?: number; }>;
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "description": "Name/prefix search (not semantic or README text). Omit to browse.",
   "type": "string"
  },
  "authorsAny": {
   "description": "OR of owners: user/org names or profile uris (items[].author).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "idsAny": {
   "description": "OR of exact repository IDs (items[].id).",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "papersAny": {
   "description": "OR of paper arXiv IDs (or hf://papers/ID uris).",
   "type": "array",
   "items": {
    "type": "string",
    "description": "arXiv ID, e.g. 2501.00001; hf://papers/ID uris are accepted."
   }
  },
  "tagsAll": {
   "description": "AND of exact stored tags (no commas or spaces; dataset tags are namespaced).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "tagsAnyGroups": {
   "description": "AND of OR groups of tags; values without slash, space, plus or comma.",
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "type": "string"
    }
   }
  },
  "direction": {
   "default": "desc",
   "description": "asc only for id, createdAt, numParameters, numRows or mainSize.",
   "type": "string",
   "enum": [
    "asc",
    "desc"
   ]
  },
  "limit": {
   "default": 20,
   "description": "Maximum items to return (default 20, max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); full scans take 100s of pages.",
   "type": [
    "string",
    "null"
   ]
  },
  "sort": {
   "default": "trendingScore",
   "type": "string",
   "enum": [
    "trendingScore",
    "likes",
    "likes30d",
    "lastModified",
    "createdAt",
    "id"
   ]
  },
  "fields": {
   "description": "Fields to return instead of the defaults; kind/id/uri/url are always included.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "author",
     "createdAt",
     "lastModified",
     "likes",
     "private",
     "disabled",
     "sha",
     "tags",
     "trendingScore",
     "sdk",
     "runtime",
     "models",
     "datasets",
     "region",
     "subdomain",
     "title",
     "emoji",
     "shortDescription"
    ]
   }
  },
  "sdksAny": {
   "description": "OR of SDKs; streamlit is deprecated.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "gradio",
     "docker",
     "static",
     "streamlit"
    ]
   }
  },
  "stagesAny": {
   "description": "OR of runtime stages, e.g. RUNNING, SLEEPING or BUILD_ERROR.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "NO_APP_FILE",
     "CONFIG_ERROR",
     "BUILDING",
     "BUILD_ERROR",
     "APP_STARTING",
     "RUNNING",
     "RUNNING_BUILDING",
     "RUNNING_APP_STARTING",
     "RUNTIME_ERROR",
     "DELETING",
     "STOPPED",
     "PAUSED",
     "SLEEPING"
    ]
   }
  },
  "runningOnly": {
   "description": "Only running Spaces; not with stagesAny.",
   "type": "boolean"
  },
  "hardwareCurrentAny": {
   "description": "OR of hf_hardware_flavors ids (e.g. t4-small); avoid pairing with query/tags.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "hardwareRequestedAny": {
   "description": "OR of requested flavor ids, e.g. zero-a10g, t4-small (may differ from current).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "modelsAny": {
   "description": "OR of linked model IDs from hf_models_search items[].id.",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "datasetsAny": {
   "description": "OR of linked dataset IDs from hf_datasets_search items[].id.",
   "type": "array",
   "items": {
    "description": "Repository ID (owner/name) or returned uri.",
    "type": "string"
   }
  },
  "mcpOnly": {
   "default": false,
   "description": "Require the stored mcp-server tag; this is not a live MCP health check.",
   "type": "boolean"
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "nextCursor": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "returnedCount": {
   "type": "integer"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "unknownOwners": {
     "description": "authorsAny names matching no user or organization.",
     "type": "array",
     "items": {
      "type": "string"
     }
    }
   },
   "required": [
    "hasMore"
   ]
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "space"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     },
     "likes": {
      "type": "number"
     },
     "private": {
      "type": "boolean"
     },
     "disabled": {
      "type": "boolean"
     },
     "sha": {
      "type": "string"
     },
     "tags": {
      "description": "Exact values for tag filters.",
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "trendingScore": {
      "type": "number"
     },
     "sdk": {
      "type": "string"
     },
     "runtime": {
      "type": "object"
     },
     "models": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "model"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     },
     "datasets": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "dataset"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     },
     "region": {
      "type": "string"
     },
     "subdomain": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "emoji": {
      "type": "string"
     },
     "shortDescription": {
      "type": "string"
     },
     "aiShortDescription": {
      "type": "string"
     },
     "category": {
      "description": "Upstream label; not always a valid category argument.",
      "type": "string"
     },
     "semanticScore": {
      "description": "Relevance, not a probability.",
      "type": "number"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  }
 },
 "required": [
  "nextCursor",
  "returnedCount",
  "completeness",
  "items"
 ]
}
GET /api/spaces
hf_spaces_search
anonymousread-only
replaces hf_fs, dynamic_space
async def hf_spaces_search(
    *,
    query: str | None = None,
    category: Literal["image-generation", "video-generation", "text-generation", "language-translation", "speech-synthesis", "voice-cloning", "face-recognition", "object-detection", "pose-estimation", "text-analysis", "sentiment-analysis", "question-answering", "code-generation", "data-visualization", "3d-modeling", "image-editing", "background-removal", "image-upscaling", "ocr", "document-analysis", "visual-qa", "image-captioning", "chatbots", "text-summarization", "music-generation", "medical-imaging", "financial-analysis", "game-ai", "model-benchmarking", "fine-tuning-tools", "dataset-creation", "anomaly-detection", "recommendation-systems", "character-animation", "style-transfer", "agent-environment", "image", "other"] | None = None,
    sdksAny: list[Literal["gradio", "docker", "static", "streamlit"]] | None = None,
    tagsAny: list[str] | None = None,
    includeNonRunning: bool = False,
    mcpOnly: bool = False,
    limit: int = 20,
    source: Literal["hub", "curated"] = "hub",
) -> dict[str, Any]:
    """Find Hugging Face Spaces (apps, Gradio demos) by use case, such as image generation. Multiword
    queries use hybrid semantic search; one-word queries match names and tags. Select a category or
    filter by SDK, tags, running state or MCP server tag. Returns relevance-ranked repository IDs
    and links from a bounded candidate set without paging. See hf_spaces_list.

    Args:
        query: What the Space should do, in plain words (semantic search).
        category: Space category slug, e.g. image-generation, chatbots or ocr.
        sdksAny: OR of SDKs; sent as repeated sdk parameters, never CSV.
        tagsAny: OR of tags, ANDed with the other filters.
        includeNonRunning: Also return Spaces that are not running.
        mcpOnly: Only Spaces tagged mcp-server (not a health check).
        limit: Maximum items to return (default 20, max 100).
        source: hub: Hub search; curated: this server's curated Space list, if configured.

    Returns: {
        nextCursor: None,
        returnedCount: int,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
        items: list[{kind: Literal["space"], id: str, uri: str, url: str, author: str, createdAt: str, lastModified: str, likes: float, private: bool, disabled: bool, sha: str, tags: list[str], trendingScore: float, sdk: str, runtime: dict[str, Any], models: list[dict[str, Any]], datasets: list[dict[str, Any]], region: str, subdomain: str, title: str, emoji: str, shortDescription: str, aiShortDescription: str, category: str, semanticScore: float}],
        candidateCount: int,  # Candidates checked (semantic search returns at most 120), not a total.
        eligibleCount: int,  # Candidates passing the filters; above returnedCount means limit dropped some.
    }
    """
    ...
/**
 * Find Hugging Face Spaces (apps, Gradio demos) by use case, such as image generation. Multiword
 * queries use hybrid semantic search; one-word queries match names and tags. Select a category or
 * filter by SDK, tags, running state or MCP server tag. Returns relevance-ranked repository IDs
 * and links from a bounded candidate set without paging. See hf_spaces_list.
 */
declare function hf_spaces_search(args: {
  // What the Space should do, in plain words (semantic search).
  query?: string;
  // Space category slug, e.g. image-generation, chatbots or ocr.
  category?: "image-generation" | "video-generation" | "text-generation" | "language-translation" | "speech-synthesis" | "voice-cloning" | "face-recognition" | "object-detection" | "pose-estimation" | "text-analysis" | "sentiment-analysis" | "question-answering" | "code-generation" | "data-visualization" | "3d-modeling" | "image-editing" | "background-removal" | "image-upscaling" | "ocr" | "document-analysis" | "visual-qa" | "image-captioning" | "chatbots" | "text-summarization" | "music-generation" | "medical-imaging" | "financial-analysis" | "game-ai" | "model-benchmarking" | "fine-tuning-tools" | "dataset-creation" | "anomaly-detection" | "recommendation-systems" | "character-animation" | "style-transfer" | "agent-environment" | "image" | "other";
  // OR of SDKs; sent as repeated sdk parameters, never CSV.
  sdksAny?: Array<"gradio" | "docker" | "static" | "streamlit">;
  // OR of tags, ANDed with the other filters.
  tagsAny?: string[];
  // Also return Spaces that are not running. @default false
  includeNonRunning?: boolean;
  // Only Spaces tagged mcp-server (not a health check). @default false
  mcpOnly?: boolean;
  // Maximum items to return (default 20, max 100). @default 20
  limit?: number;
  // hub: Hub search; curated: this server's curated Space list, if configured. @default "hub"
  source?: "hub" | "curated";
}): Promise<{
  nextCursor: null;
  returnedCount: number;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
  items: Array<{ kind: "space"; id: string; uri: string; url: string; author?: string; createdAt?: string; lastModified?: string; likes?: number; private?: boolean; disabled?: boolean; sha?: string; tags?: string[]; trendingScore?: number; sdk?: string; runtime?: Record<string, unknown>; models?: Record<string, unknown>[]; datasets?: Record<string, unknown>[]; region?: string; subdomain?: string; title?: string; emoji?: string; shortDescription?: string; aiShortDescription?: string; category?: string; semanticScore?: number; }>;
  // Candidates checked (semantic search returns at most 120), not a total.
  candidateCount: number;
  // Candidates passing the filters; above returnedCount means limit dropped some.
  eligibleCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "description": "What the Space should do, in plain words (semantic search).",
   "type": "string"
  },
  "category": {
   "description": "Space category slug, e.g. image-generation, chatbots or ocr.",
   "type": "string",
   "enum": [
    "image-generation",
    "video-generation",
    "text-generation",
    "language-translation",
    "speech-synthesis",
    "voice-cloning",
    "face-recognition",
    "object-detection",
    "pose-estimation",
    "text-analysis",
    "sentiment-analysis",
    "question-answering",
    "code-generation",
    "data-visualization",
    "3d-modeling",
    "image-editing",
    "background-removal",
    "image-upscaling",
    "ocr",
    "document-analysis",
    "visual-qa",
    "image-captioning",
    "chatbots",
    "text-summarization",
    "music-generation",
    "medical-imaging",
    "financial-analysis",
    "game-ai",
    "model-benchmarking",
    "fine-tuning-tools",
    "dataset-creation",
    "anomaly-detection",
    "recommendation-systems",
    "character-animation",
    "style-transfer",
    "agent-environment",
    "image",
    "other"
   ]
  },
  "sdksAny": {
   "description": "OR of SDKs; sent as repeated sdk parameters, never CSV.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "gradio",
     "docker",
     "static",
     "streamlit"
    ]
   }
  },
  "tagsAny": {
   "description": "OR of tags, ANDed with the other filters.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "includeNonRunning": {
   "default": false,
   "description": "Also return Spaces that are not running.",
   "type": "boolean"
  },
  "mcpOnly": {
   "default": false,
   "description": "Only Spaces tagged mcp-server (not a health check).",
   "type": "boolean"
  },
  "limit": {
   "default": 20,
   "description": "Maximum items to return (default 20, max 100).",
   "type": "integer"
  },
  "source": {
   "default": "hub",
   "description": "hub: Hub search; curated: this server's curated Space list, if configured.",
   "type": "string",
   "enum": [
    "hub",
    "curated"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "nextCursor": {
   "type": "null"
  },
  "returnedCount": {
   "type": "integer"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "space"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     },
     "likes": {
      "type": "number"
     },
     "private": {
      "type": "boolean"
     },
     "disabled": {
      "type": "boolean"
     },
     "sha": {
      "type": "string"
     },
     "tags": {
      "description": "Exact values for tag filters.",
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "trendingScore": {
      "type": "number"
     },
     "sdk": {
      "type": "string"
     },
     "runtime": {
      "type": "object"
     },
     "models": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "model"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     },
     "datasets": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string",
         "const": "dataset"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      }
     },
     "region": {
      "type": "string"
     },
     "subdomain": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "emoji": {
      "type": "string"
     },
     "shortDescription": {
      "type": "string"
     },
     "aiShortDescription": {
      "type": "string"
     },
     "category": {
      "description": "Upstream label; not always a valid category argument.",
      "type": "string"
     },
     "semanticScore": {
      "description": "Relevance, not a probability.",
      "type": "number"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "candidateCount": {
   "type": "integer",
   "description": "Candidates checked (semantic search returns at most 120), not a total."
  },
  "eligibleCount": {
   "type": "integer",
   "description": "Candidates passing the filters; above returnedCount means limit dropped some."
  }
 },
 "required": [
  "nextCursor",
  "returnedCount",
  "completeness",
  "items",
  "candidateCount",
  "eligibleCount"
 ]
}
GET /api/spaces/semantic-search
hf_trending
anonymousread-only
replaces hf_fs
async def hf_trending(
    *,
    kind: Literal["all", "model", "dataset", "space"] = "all",
    limit: int = 20,
) -> dict[str, Any]:
    """Show Hugging Face's curated trending feed of hot models, datasets and Spaces. Browse the mixed
    feed or select one repository kind. Returns repository IDs, page links and hf:// URIs, with
    metadata such as likes or downloads when supplied; bounded to 20 items without paging. See
    hf_models_search.

    Args:
        kind: Repository kind; "all" mixes models, datasets and Spaces.
        limit: Items to return (upstream maximum 20).

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, title: str, description: str, pipelineTag: str, sdk: str, likes: float, downloads: float, numParameters: float, gated: bool | str, private: bool, lastModified: str}],
        returnedCount: int,
        nextCursor: None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, publicOnly: bool, estimatedTotal: float},
    }
    """
    ...
/**
 * Show Hugging Face's curated trending feed of hot models, datasets and Spaces. Browse the mixed
 * feed or select one repository kind. Returns repository IDs, page links and hf:// URIs, with
 * metadata such as likes or downloads when supplied; bounded to 20 items without paging. See
 * hf_models_search.
 */
declare function hf_trending(args: {
  // Repository kind; "all" mixes models, datasets and Spaces. @default "all"
  kind?: "all" | "model" | "dataset" | "space";
  // Items to return (upstream maximum 20). @default 20
  limit?: number;
}): Promise<{
  items: Array<{ kind: string; id: string; uri: string; url: string; title?: string; description?: string; pipelineTag?: string; sdk?: string; likes?: number; downloads?: number; numParameters?: number; gated?: boolean | string; private?: boolean; lastModified?: string; }>;
  returnedCount: number;
  nextCursor: null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; publicOnly?: boolean; estimatedTotal?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "kind": {
   "default": "all",
   "description": "Repository kind; \"all\" mixes models, datasets and Spaces.",
   "type": "string",
   "enum": [
    "all",
    "model",
    "dataset",
    "space"
   ]
  },
  "limit": {
   "default": 20,
   "description": "Items to return (upstream maximum 20).",
   "type": "integer"
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "description": {
      "type": "string"
     },
     "pipelineTag": {
      "type": "string"
     },
     "sdk": {
      "type": "string"
     },
     "likes": {
      "type": "number"
     },
     "downloads": {
      "type": "number"
     },
     "numParameters": {
      "type": "number"
     },
     "gated": {
      "type": [
       "boolean",
       "string"
      ]
     },
     "private": {
      "type": "boolean"
     },
     "lastModified": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": "null"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "publicOnly": {
     "type": "boolean"
    },
    "estimatedTotal": {
     "description": "Estimate, not exact.",
     "type": "number"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/trending
hf_repo_fulltext_search
anonymousread-only
new
async def hf_repo_fulltext_search(
    *,
    query: str,
    kindsAny: list[Literal["model", "dataset", "space"]] | None = None,
    authorsAny: list[str] | None = None,
    idsAny: list[str] | None = None,
    limit: int = 20,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Search Hugging Face README text (model cards, dataset cards) for phrases with full-text
    matching. Find content such as 'trained on SEC filings' across models, datasets and Spaces.
    Narrow by repository kind and an owner-or-repository selection. Results identify matching
    repositories and can include matched-file links and text excerpts. Public repositories only.

    Args:
        query: Phrase to find in README/card text, e.g. "trained on SEC filings".
        kindsAny: Restrict to these repository kinds; default all.
        authorsAny: Only repositories of these users/orgs (names or profile uris; max 10).
        idsAny: Only these repositories (items[].uri or owner/name); ORed with authorsAny.
        limit: Hits per page (max 100).
        cursor: nextCursor from a previous call (same args); stops at 1000 hits per query.

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, file: str, fileUri: str, excerpt: str, likes: float, tags: list[str], lastModified: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, publicOnly: bool, estimatedTotal: float},
    }
    """
    ...
/**
 * Search Hugging Face README text (model cards, dataset cards) for phrases with full-text
 * matching. Find content such as 'trained on SEC filings' across models, datasets and Spaces.
 * Narrow by repository kind and an owner-or-repository selection. Results identify matching
 * repositories and can include matched-file links and text excerpts. Public repositories only.
 */
declare function hf_repo_fulltext_search(args: {
  // Phrase to find in README/card text, e.g. "trained on SEC filings".
  query: string;
  // Restrict to these repository kinds; default all.
  kindsAny?: Array<"model" | "dataset" | "space">;
  // Only repositories of these users/orgs (names or profile uris; max 10).
  authorsAny?: string[];
  // Only these repositories (items[].uri or owner/name); ORed with authorsAny.
  idsAny?: string[];
  // Hits per page (max 100). @default 20
  limit?: number;
  // nextCursor from a previous call (same args); stops at 1000 hits per query.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: string; id: string; uri: string; url: string; file?: string; fileUri?: string; excerpt?: string; likes?: number; tags?: string[]; lastModified?: string; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; publicOnly?: boolean; estimatedTotal?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Phrase to find in README/card text, e.g. \"trained on SEC filings\"."
  },
  "kindsAny": {
   "description": "Restrict to these repository kinds; default all.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "model",
     "dataset",
     "space"
    ]
   }
  },
  "authorsAny": {
   "description": "Only repositories of these users/orgs (names or profile uris; max 10).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "idsAny": {
   "description": "Only these repositories (items[].uri or owner/name); ORed with authorsAny.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "limit": {
   "default": 20,
   "description": "Hits per page (max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); stops at 1000 hits per query.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "query"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "file": {
      "type": "string"
     },
     "fileUri": {
      "description": "For hf_repo_read_text.",
      "type": "string"
     },
     "excerpt": {
      "type": "string"
     },
     "likes": {
      "type": "number"
     },
     "tags": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "lastModified": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "publicOnly": {
     "type": "boolean"
    },
    "estimatedTotal": {
     "description": "Estimate, not exact.",
     "type": "number"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/search/full-text
hf_hub_lookup
anonymousread-only
new
async def hf_hub_lookup(
    *,
    query: str,
    kindsAny: list[Literal["model", "dataset", "space", "user", "org", "paper", "collection", "bucket"]] | None = None,
    limit: int = 5,
) -> dict[str, Any]:
    """Resolve a partial or fuzzy name to an exact ID across models, datasets, Spaces, users,
    organizations, papers, collections and buckets. Returns best-first matches as one items list
    (kind tells the type), with hf:// URIs or profile URLs and upstream counts per kind where
    reported. Results are capped per type.

    Args:
        query: Partial or fuzzy name to look up.
        kindsAny: Result types to include; default all.
        limit: Maximum matches per type (max 20).

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, title: str, private: bool}],  # Best first within each kind.
        returnedCount: int,
        numByKind: dict[str, float],  # Upstream totals, where reported.
    }
    """
    ...
/**
 * Resolve a partial or fuzzy name to an exact ID across models, datasets, Spaces, users,
 * organizations, papers, collections and buckets. Returns best-first matches as one items list
 * (kind tells the type), with hf:// URIs or profile URLs and upstream counts per kind where
 * reported. Results are capped per type.
 */
declare function hf_hub_lookup(args: {
  // Partial or fuzzy name to look up.
  query: string;
  // Result types to include; default all.
  kindsAny?: Array<"model" | "dataset" | "space" | "user" | "org" | "paper" | "collection" | "bucket">;
  // Maximum matches per type (max 20). @default 5
  limit?: number;
}): Promise<{
  // Best first within each kind.
  items: Array<{ kind: string; id: string; uri: string; url: string; title?: string; private?: boolean; }>;
  returnedCount: number;
  // Upstream totals, where reported.
  numByKind: Record<string, number>;
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Partial or fuzzy name to look up."
  },
  "kindsAny": {
   "description": "Result types to include; default all.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "model",
     "dataset",
     "space",
     "user",
     "org",
     "paper",
     "collection",
     "bucket"
    ]
   }
  },
  "limit": {
   "default": 5,
   "description": "Maximum matches per type (max 20).",
   "type": "integer"
  }
 },
 "required": [
  "query"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "private": {
      "type": "boolean"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   },
   "description": "Best first within each kind."
  },
  "returnedCount": {
   "type": "integer"
  },
  "numByKind": {
   "type": "object",
   "description": "Upstream totals, where reported.",
   "additionalProperties": {
    "type": "number"
   }
  }
 },
 "required": [
  "items",
  "returnedCount",
  "numByKind"
 ]
}
GET /api/quicksearch
hf_filter_values
anonymousread-only
new
async def hf_filter_values(
    *,
    catalog: Literal["model_tags", "dataset_tags", "tasks"],
    group: str | None = None,
    query: str | None = None,
    limit: int = 100,
) -> dict[str, Any]:
    """List exact filter values and tag IDs by group: model task, library, license, language or region;
    dataset modality, format, size bucket or task category. Also returns the pipeline task catalog.
    Filter IDs and labels by text; results include per-group counts and truncation flags.

    Args:
        catalog: model_tags/dataset_tags: tag values by group; tasks: pipeline tasks.
        group: Tag group, e.g. library, license, language, task_categories. Omit for all.
        query: Case-insensitive substring matched against value id and label.
        limit: Maximum values per group (max 1000).

    Returns: {
        catalog: str,
        groups: list[{group: str, values: list[dict[str, Any]], returnedCount: int, numValues: int, truncated: bool}],
    }
    """
    ...
/**
 * List exact filter values and tag IDs by group: model task, library, license, language or region;
 * dataset modality, format, size bucket or task category. Also returns the pipeline task catalog.
 * Filter IDs and labels by text; results include per-group counts and truncation flags.
 */
declare function hf_filter_values(args: {
  // model_tags/dataset_tags: tag values by group; tasks: pipeline tasks.
  catalog: "model_tags" | "dataset_tags" | "tasks";
  // Tag group, e.g. library, license, language, task_categories. Omit for all.
  group?: string;
  // Case-insensitive substring matched against value id and label.
  query?: string;
  // Maximum values per group (max 1000). @default 100
  limit?: number;
}): Promise<{
  catalog: string;
  groups: Array<{ group: string; values: Record<string, unknown>[]; returnedCount: number; numValues: number; truncated: boolean; }>;
}>;
input schema
{
 "type": "object",
 "properties": {
  "catalog": {
   "type": "string",
   "enum": [
    "model_tags",
    "dataset_tags",
    "tasks"
   ],
   "description": "model_tags/dataset_tags: tag values by group; tasks: pipeline tasks."
  },
  "group": {
   "description": "Tag group, e.g. library, license, language, task_categories. Omit for all.",
   "type": "string"
  },
  "query": {
   "description": "Case-insensitive substring matched against value id and label.",
   "type": "string"
  },
  "limit": {
   "default": 100,
   "description": "Maximum values per group (max 1000).",
   "type": "integer"
  }
 },
 "required": [
  "catalog"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "catalog": {
   "type": "string"
  },
  "groups": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "group": {
      "type": "string"
     },
     "values": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string",
         "description": "Exact filter value, e.g. license:mit."
        },
        "label": {
         "type": "string"
        },
        "subType": {
         "type": "string"
        },
        "libraries": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       },
       "required": [
        "id"
       ]
      }
     },
     "returnedCount": {
      "type": "integer"
     },
     "numValues": {
      "type": "integer",
      "description": "Before query/limit."
     },
     "truncated": {
      "type": "boolean"
     }
    },
    "required": [
     "group",
     "values",
     "returnedCount",
     "numValues",
     "truncated"
    ]
   }
  }
 },
 "required": [
  "catalog",
  "groups"
 ]
}
GET /api/models-tags-by-type
GET /api/datasets-tags-by-type
GET /api/tasks
hf_hardware_flavors
anonymousread-only
replaces create_repo
async def hf_hardware_flavors(*, scope: Literal["spaces", "jobs"] = "jobs") -> dict[str, Any]:
    """List Hugging Face hardware flavors (GPU, CPU compute tiers) for Jobs or Spaces. Returns flavor
    IDs with accelerator model, GPU memory (VRAM), CPU, RAM, disk and USD cost per time unit when
    supplied. Use the Jobs catalog for sandbox flavor selection too. GPU examples include T4, L4 and
    A100; the live catalog governs flavors and prices.

    Args:
        scope: Catalog: "jobs" (flavor for Jobs/sandboxes) or "spaces" (Space hardware).

    Returns: {
        scope: Literal["spaces", "jobs"],
        items: list[{id: str, prettyName: str, cpu: str, ram: str, ephemeralStorage: str, accelerator: dict[str, Any] | None, unitCostUsd: float, unitLabel: str}],
        returnedCount: int,
    }
    """
    ...
/**
 * List Hugging Face hardware flavors (GPU, CPU compute tiers) for Jobs or Spaces. Returns flavor
 * IDs with accelerator model, GPU memory (VRAM), CPU, RAM, disk and USD cost per time unit when
 * supplied. Use the Jobs catalog for sandbox flavor selection too. GPU examples include T4, L4 and
 * A100; the live catalog governs flavors and prices.
 */
declare function hf_hardware_flavors(args: {
  // Catalog: "jobs" (flavor for Jobs/sandboxes) or "spaces" (Space hardware). @default "jobs"
  scope?: "spaces" | "jobs";
}): Promise<{
  scope: "spaces" | "jobs";
  items: Array<{ id: string; prettyName?: string; cpu?: string; ram?: string; ephemeralStorage?: string; accelerator: Record<string, unknown> | null; unitCostUsd?: number; unitLabel?: string; }>;
  returnedCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "scope": {
   "default": "jobs",
   "description": "Catalog: \"jobs\" (flavor for Jobs/sandboxes) or \"spaces\" (Space hardware).",
   "type": "string",
   "enum": [
    "spaces",
    "jobs"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "scope": {
   "type": "string",
   "enum": [
    "spaces",
    "jobs"
   ]
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "description": "Value for flavor."
     },
     "prettyName": {
      "type": "string"
     },
     "cpu": {
      "type": "string"
     },
     "ram": {
      "type": "string"
     },
     "ephemeralStorage": {
      "type": "string"
     },
     "accelerator": {
      "anyOf": [
       {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "model": {
          "type": "string"
         },
         "manufacturer": {
          "type": "string"
         },
         "quantity": {
          "type": "string"
         },
         "vram": {
          "type": "string"
         }
        }
       },
       {
        "type": "null"
       }
      ]
     },
     "unitCostUsd": {
      "type": "number"
     },
     "unitLabel": {
      "type": "string"
     }
    },
    "required": [
     "id",
     "accelerator"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  }
 },
 "required": [
  "scope",
  "items",
  "returnedCount"
 ]
}
GET /api/spaces/hardware
GET /api/jobs/hardware (both documented, same shape)
hf_buckets_list
anonymousread-only
replaces hf_fs
async def hf_buckets_list(*, owner: str, query: str | None = None, limit: int = 100) -> dict[str, Any]:
    """List storage buckets (object storage, mutable file stores) owned by a user or organization,
    optionally matching a bucket name. Returns IDs and hf:// URIs, with stored bytes and file counts
    when supplied. Results may be truncated locally without paging; narrow the name filter.

    Args:
        owner: User or org owning the buckets: name or profile uri.
        query: Case-insensitive substring of the bucket name.
        limit: Maximum buckets returned (max 500).

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, private: bool, size: float, numFiles: float, createdAt: str, lastModified: str}],
        returnedCount: int,
        nextCursor: None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, publicOnly: bool, estimatedTotal: float},
    }
    """
    ...
/**
 * List storage buckets (object storage, mutable file stores) owned by a user or organization,
 * optionally matching a bucket name. Returns IDs and hf:// URIs, with stored bytes and file counts
 * when supplied. Results may be truncated locally without paging; narrow the name filter.
 */
declare function hf_buckets_list(args: {
  // User or org owning the buckets: name or profile uri.
  owner: string;
  // Case-insensitive substring of the bucket name.
  query?: string;
  // Maximum buckets returned (max 500). @default 100
  limit?: number;
}): Promise<{
  items: Array<{ kind: string; id: string; uri: string; url: string; private?: boolean; size?: number; numFiles?: number; createdAt?: string; lastModified?: string; }>;
  returnedCount: number;
  nextCursor: null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; publicOnly?: boolean; estimatedTotal?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "owner": {
   "description": "User or org owning the buckets: name or profile uri.",
   "type": "string"
  },
  "query": {
   "description": "Case-insensitive substring of the bucket name.",
   "type": "string"
  },
  "limit": {
   "default": 100,
   "description": "Maximum buckets returned (max 500).",
   "type": "integer"
  }
 },
 "required": [
  "owner"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "private": {
      "type": "boolean"
     },
     "size": {
      "description": "Bytes.",
      "type": "number"
     },
     "numFiles": {
      "type": "number"
     },
     "createdAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": "null"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "publicOnly": {
     "type": "boolean"
    },
    "estimatedTotal": {
     "description": "Estimate, not exact.",
     "type": "number"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/buckets/{namespace}

Repository & bucket inspection (6)

ToolDefinitionEndpoints
hf_repo_info
anonymousread-only
replaces hf_fs, hub_repo_details
async def hf_repo_info(
    *,
    repos: list[str],
    kind: Literal["model", "dataset", "space", "bucket"] | None = None,
    revision: str | None = None,
    fields: list[Literal["revision", "sha", "author", "private", "gated", "disabled", "createdAt", "lastModified", "downloads", "downloadsAllTime", "likes", "tags", "pipelineTag", "libraryName", "license", "languages", "baseModels", "baseModelRelation", "datasets", "models", "spaces", "numSpaces", "numChildModels", "safetensors", "gguf", "chatTemplate", "chatTemplateTruncated", "config", "transformersInfo", "inferenceProviders", "usedStorage", "description", "citation", "paperswithcodeId", "prettyName", "taskCategories", "sizeCategories", "sdk", "title", "emoji", "shortDescription", "subdomain", "runtime", "size", "numFiles"]] | None = None,
) -> dict[str, Any]:
    """Inspect Hugging Face repository metadata (details, statistics, access status) by ID, URI or URL.
    Get available details for models, datasets, Spaces or storage buckets: model card metadata
    including license, base models and training datasets; gated/private status, downloads, likes,
    parameter counts, GGUF summary, storage size and, on request, chat template. Space details
    include SDK, runtime stage and hardware. Select the metadata to return for up to 50 repositories
    per call.

    Args:
        repos: Up to 50 repositories: returned uris (hf://...), owner/name IDs or URLs.
        kind: Kind for bare IDs. Omit to auto-detect model, then dataset, then Space.
        revision: Branch, tag or commit for every repo (not buckets).
        fields: Fields beyond kind/id/uri/url. Default: all but chatTemplate, spaces, numSpaces.

    Returns: {
        items: list[{kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str, redirectedFrom: str, revision: str, sha: str, author: str, private: bool, gated: bool | str, disabled: bool, createdAt: str, lastModified: str, downloads: int, downloadsAllTime: int, likes: int, tags: list[str], pipelineTag: str, libraryName: str, license: str, languages: list[str], baseModels: list[dict[str, Any]], baseModelRelation: str, datasets: list[dict[str, Any]], models: list[dict[str, Any]], spaces: list[dict[str, Any]], numSpaces: int, numChildModels: int, safetensors: dict[str, Any], gguf: dict[str, Any], chatTemplate: str, chatTemplateTruncated: bool, config: dict[str, Any], transformersInfo: dict[str, Any], inferenceProviders: list[dict[str, Any]], usedStorage: int, description: str, citation: str, paperswithcodeId: str, prettyName: str, taskCategories: list[str], sizeCategories: list[str], sdk: str, title: str, emoji: str, shortDescription: str, subdomain: str, runtime: dict[str, Any], size: int, numFiles: int} | {ref: str, error: dict[str, Any]}],  # One per requested repo, in order: a record or {ref, error}.
        returnedCount: int,
        errorCount: int,
    }
    """
    ...
/**
 * Inspect Hugging Face repository metadata (details, statistics, access status) by ID, URI or URL.
 * Get available details for models, datasets, Spaces or storage buckets: model card metadata
 * including license, base models and training datasets; gated/private status, downloads, likes,
 * parameter counts, GGUF summary, storage size and, on request, chat template. Space details
 * include SDK, runtime stage and hardware. Select the metadata to return for up to 50 repositories
 * per call.
 */
declare function hf_repo_info(args: {
  // Up to 50 repositories: returned uris (hf://...), owner/name IDs or URLs.
  repos: string[];
  // Kind for bare IDs. Omit to auto-detect model, then dataset, then Space.
  kind?: "model" | "dataset" | "space" | "bucket";
  // Branch, tag or commit for every repo (not buckets).
  revision?: string;
  // Fields beyond kind/id/uri/url. Default: all but chatTemplate, spaces, numSpaces.
  fields?: Array<"revision" | "sha" | "author" | "private" | "gated" | "disabled" | "createdAt" | "lastModified" | "downloads" | "downloadsAllTime" | "likes" | "tags" | "pipelineTag" | "libraryName" | "license" | "languages" | "baseModels" | "baseModelRelation" | "datasets" | "models" | "spaces" | "numSpaces" | "numChildModels" | "safetensors" | "gguf" | "chatTemplate" | "chatTemplateTruncated" | "config" | "transformersInfo" | "inferenceProviders" | "usedStorage" | "description" | "citation" | "paperswithcodeId" | "prettyName" | "taskCategories" | "sizeCategories" | "sdk" | "title" | "emoji" | "shortDescription" | "subdomain" | "runtime" | "size" | "numFiles">;
}): Promise<{
  // One per requested repo, in order: a record or {ref, error}.
  items: Array<{ kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; redirectedFrom?: string; revision?: string; sha?: string; author?: string; private?: boolean; gated?: boolean | string; disabled?: boolean; createdAt?: string; lastModified?: string; downloads?: number; downloadsAllTime?: number; likes?: number; tags?: string[]; pipelineTag?: string; libraryName?: string; license?: string; languages?: string[]; baseModels?: Record<string, unknown>[]; baseModelRelation?: string; datasets?: Record<string, unknown>[]; models?: Record<string, unknown>[]; spaces?: Record<string, unknown>[]; numSpaces?: number; numChildModels?: number; safetensors?: Record<string, unknown>; gguf?: Record<string, unknown>; chatTemplate?: string; chatTemplateTruncated?: boolean; config?: Record<string, unknown>; transformersInfo?: Record<string, unknown>; inferenceProviders?: Record<string, unknown>[]; usedStorage?: number; description?: string; citation?: string; paperswithcodeId?: string; prettyName?: string; taskCategories?: string[]; sizeCategories?: string[]; sdk?: string; title?: string; emoji?: string; shortDescription?: string; subdomain?: string; runtime?: Record<string, unknown>; size?: number; numFiles?: number; } | { ref: string; error: Record<string, unknown>; }>;
  returnedCount: number;
  errorCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "repos": {
   "type": "array",
   "items": {
    "type": "string",
    "description": "Repository or file: hf:// uri (preferred), owner/name or URL."
   },
   "description": "Up to 50 repositories: returned uris (hf://...), owner/name IDs or URLs."
  },
  "kind": {
   "description": "Kind for bare IDs. Omit to auto-detect model, then dataset, then Space.",
   "type": "string",
   "enum": [
    "model",
    "dataset",
    "space",
    "bucket"
   ]
  },
  "revision": {
   "description": "Branch, tag or commit for every repo (not buckets).",
   "type": "string"
  },
  "fields": {
   "description": "Fields beyond kind/id/uri/url. Default: all but chatTemplate, spaces, numSpaces.",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "revision",
     "sha",
     "author",
     "private",
     "gated",
     "disabled",
     "createdAt",
     "lastModified",
     "downloads",
     "downloadsAllTime",
     "likes",
     "tags",
     "pipelineTag",
     "libraryName",
     "license",
     "languages",
     "baseModels",
     "baseModelRelation",
     "datasets",
     "models",
     "spaces",
     "numSpaces",
     "numChildModels",
     "safetensors",
     "gguf",
     "chatTemplate",
     "chatTemplateTruncated",
     "config",
     "transformersInfo",
     "inferenceProviders",
     "usedStorage",
     "description",
     "citation",
     "paperswithcodeId",
     "prettyName",
     "taskCategories",
     "sizeCategories",
     "sdk",
     "title",
     "emoji",
     "shortDescription",
     "subdomain",
     "runtime",
     "size",
     "numFiles"
    ]
   }
  }
 },
 "required": [
  "repos"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string",
        "enum": [
         "model",
         "dataset",
         "space",
         "bucket"
        ]
       },
       "id": {
        "type": "string"
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       },
       "redirectedFrom": {
        "description": "Previous repository ID when a rename redirect was followed.",
        "type": "string"
       },
       "revision": {
        "type": "string"
       },
       "sha": {
        "type": "string"
       },
       "author": {
        "type": "string"
       },
       "private": {
        "type": "boolean"
       },
       "gated": {
        "description": "false, auto or manual.",
        "type": [
         "boolean",
         "string"
        ]
       },
       "disabled": {
        "type": "boolean"
       },
       "createdAt": {
        "type": "string"
       },
       "lastModified": {
        "type": "string"
       },
       "downloads": {
        "description": "Last 30 days.",
        "type": "integer"
       },
       "downloadsAllTime": {
        "type": "integer"
       },
       "likes": {
        "type": "integer"
       },
       "tags": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "pipelineTag": {
        "type": "string"
       },
       "libraryName": {
        "type": "string"
       },
       "license": {
        "type": "string"
       },
       "languages": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "baseModels": {
        "description": "First 20.",
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "kind": {
           "type": "string",
           "enum": [
            "model",
            "dataset",
            "space",
            "bucket"
           ]
          },
          "id": {
           "type": "string"
          },
          "uri": {
           "type": "string"
          },
          "url": {
           "type": "string"
          }
         },
         "required": [
          "kind",
          "id",
          "uri",
          "url"
         ]
        }
       },
       "baseModelRelation": {
        "type": "string"
       },
       "datasets": {
        "description": "Models: declared in the card. Spaces: linked. First 20.",
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "kind": {
           "type": "string",
           "enum": [
            "model",
            "dataset",
            "space",
            "bucket"
           ]
          },
          "id": {
           "type": "string"
          },
          "uri": {
           "type": "string"
          },
          "url": {
           "type": "string"
          }
         },
         "required": [
          "kind",
          "id",
          "uri",
          "url"
         ]
        }
       },
       "models": {
        "description": "Spaces: linked models, first 20.",
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "kind": {
           "type": "string",
           "enum": [
            "model",
            "dataset",
            "space",
            "bucket"
           ]
          },
          "id": {
           "type": "string"
          },
          "uri": {
           "type": "string"
          },
          "url": {
           "type": "string"
          }
         },
         "required": [
          "kind",
          "id",
          "uri",
          "url"
         ]
        }
       },
       "spaces": {
        "description": "Models: Spaces using it, first 20. Only when requested in fields.",
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "kind": {
           "type": "string",
           "enum": [
            "model",
            "dataset",
            "space",
            "bucket"
           ]
          },
          "id": {
           "type": "string"
          },
          "uri": {
           "type": "string"
          },
          "url": {
           "type": "string"
          }
         },
         "required": [
          "kind",
          "id",
          "uri",
          "url"
         ]
        }
       },
       "numSpaces": {
        "description": "Only when requested in fields.",
        "type": "integer"
       },
       "numChildModels": {
        "description": "Fine-tunes, adapters, merges and quantizations.",
        "type": "integer"
       },
       "safetensors": {
        "description": "Parameter counts (not bytes).",
        "type": "object",
        "properties": {
         "total": {
          "type": "integer"
         },
         "parameters": {
          "type": "object",
          "additionalProperties": {
           "type": "integer"
          }
         }
        }
       },
       "gguf": {
        "type": "object",
        "properties": {
         "total": {
          "description": "Parameter count.",
          "type": "integer"
         },
         "architecture": {
          "type": "string"
         },
         "contextLength": {
          "type": "integer"
         },
         "bosToken": {
          "type": "string"
         },
         "eosToken": {
          "type": "string"
         }
        }
       },
       "chatTemplate": {
        "description": "Jinja, from GGUF or tokenizer_config.json. Only when requested in fields.",
        "type": "string"
       },
       "chatTemplateTruncated": {
        "type": "boolean"
       },
       "config": {
        "type": "object",
        "properties": {
         "model_type": {
          "type": "string"
         },
         "architectures": {
          "type": "array",
          "items": {
           "type": "string"
          }
         },
         "vocab_size": {
          "type": "integer"
         }
        }
       },
       "transformersInfo": {
        "type": "object",
        "properties": {
         "autoModel": {
          "type": "string"
         },
         "pipelineTag": {
          "type": "string"
         },
         "processor": {
          "type": "string"
         }
        }
       },
       "inferenceProviders": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "provider": {
           "type": "string"
          },
          "providerId": {
           "type": "string"
          },
          "status": {
           "type": "string"
          },
          "task": {
           "type": "string"
          }
         },
         "required": [
          "provider"
         ]
        }
       },
       "usedStorage": {
        "description": "Bytes, all revisions.",
        "type": "integer"
       },
       "description": {
        "type": "string"
       },
       "citation": {
        "type": "string"
       },
       "paperswithcodeId": {
        "type": "string"
       },
       "prettyName": {
        "type": "string"
       },
       "taskCategories": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "sizeCategories": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "sdk": {
        "type": "string"
       },
       "title": {
        "type": "string"
       },
       "emoji": {
        "type": "string"
       },
       "shortDescription": {
        "type": "string"
       },
       "subdomain": {
        "type": "string"
       },
       "runtime": {
        "type": "object"
       },
       "size": {
        "description": "Buckets: total bytes.",
        "type": "integer"
       },
       "numFiles": {
        "description": "Buckets only.",
        "type": "integer"
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url"
      ]
     },
     {
      "type": "object",
      "properties": {
       "ref": {
        "type": "string"
       },
       "error": {
        "type": "object",
        "properties": {
         "code": {
          "type": "string",
          "enum": [
           "not_found",
           "auth_required",
           "gated",
           "invalid",
           "upstream_error"
          ]
         },
         "message": {
          "type": "string"
         }
        },
        "required": [
         "code",
         "message"
        ]
       }
      },
      "required": [
       "ref",
       "error"
      ]
     }
    ]
   },
   "description": "One per requested repo, in order: a record or {ref, error}."
  },
  "returnedCount": {
   "type": "integer"
  },
  "errorCount": {
   "type": "integer"
  }
 },
 "required": [
  "items",
  "returnedCount",
  "errorCount"
 ]
}
GET /api/{models,datasets,spaces}/{id}[/revision/{rev}]?expand=...
GET /api/buckets/{id}
hf_repo_list_files
anonymousread-only
replaces hf_fs
async def hf_repo_list_files(
    *,
    repo: str,
    path: str = "",
    revision: str | None = None,
    recursive: bool = False,
    glob: str | None = None,
    pathContains: str | None = None,
    kind: Literal["file", "dir"] | None = None,
    expand: bool = False,
    limit: int = 200,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """List Hugging Face repository files and folders (file tree, weights, checkpoints) by folder or
    revision. Browse models, datasets, Spaces or storage buckets, optionally recursively, and filter
    by glob such as *.gguf or *.safetensors, path substring or entry type. Returns paths, file
    sizes, LFS/Xet flags and file URIs. Path-index searches return only the first 100 matches. See
    hf_repo_read_text.

    Args:
        repo: Repository or bucket (hf:// uri preferred; a uri with a path lists that folder).
        path: Folder inside the repository, relative to repo ("" = root).
        revision: Branch, tag or commit id (hf_repo_history items[].id); not buckets.
        recursive: Include all nested files and folders (implied by glob).
        glob: Glob, e.g. "*.gguf" (any depth) or "onnx/**/*.onnx" (from path).
        pathContains: Path substring, searched repository-wide (first 100 matches).
        kind: Only files or only folders (items[].kind).
        expand: Add last commit info per entry (repositories only; slower).
        limit: Maximum entries to return (default 200, max 1000).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        repo: {kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str},
        revision: str,
        path: str,
        items: list[{kind: Literal["file", "dir"], id: str, uri: str, url: str, path: str, size: int, lfs: bool, xet: bool, oid: str, lastCommit: dict[str, Any], uploadedAt: str, lastModified: str, contentType: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, total: int},
    }
    """
    ...
/**
 * List Hugging Face repository files and folders (file tree, weights, checkpoints) by folder or
 * revision. Browse models, datasets, Spaces or storage buckets, optionally recursively, and filter
 * by glob such as *.gguf or *.safetensors, path substring or entry type. Returns paths, file
 * sizes, LFS/Xet flags and file URIs. Path-index searches return only the first 100 matches. See
 * hf_repo_read_text.
 */
declare function hf_repo_list_files(args: {
  // Repository or bucket (hf:// uri preferred; a uri with a path lists that folder).
  repo: string;
  // Folder inside the repository, relative to repo ("" = root). @default ""
  path?: string;
  // Branch, tag or commit id (hf_repo_history items[].id); not buckets.
  revision?: string;
  // Include all nested files and folders (implied by glob). @default false
  recursive?: boolean;
  // Glob, e.g. "*.gguf" (any depth) or "onnx/**/*.onnx" (from path).
  glob?: string;
  // Path substring, searched repository-wide (first 100 matches).
  pathContains?: string;
  // Only files or only folders (items[].kind).
  kind?: "file" | "dir";
  // Add last commit info per entry (repositories only; slower). @default false
  expand?: boolean;
  // Maximum entries to return (default 200, max 1000). @default 200
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  repo: { kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; };
  revision?: string;
  path: string;
  items: Array<{ kind: "file" | "dir"; id: string; uri: string; url: string; path: string; size?: number; lfs?: boolean; xet?: boolean; oid?: string; lastCommit?: Record<string, unknown>; uploadedAt?: string; lastModified?: string; contentType?: string; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; total?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "Repository or bucket (hf:// uri preferred; a uri with a path lists that folder)."
  },
  "path": {
   "default": "",
   "description": "Folder inside the repository, relative to repo (\"\" = root).",
   "type": "string"
  },
  "revision": {
   "description": "Branch, tag or commit id (hf_repo_history items[].id); not buckets.",
   "type": "string"
  },
  "recursive": {
   "default": false,
   "description": "Include all nested files and folders (implied by glob).",
   "type": "boolean"
  },
  "glob": {
   "description": "Glob, e.g. \"*.gguf\" (any depth) or \"onnx/**/*.onnx\" (from path).",
   "type": "string"
  },
  "pathContains": {
   "description": "Path substring, searched repository-wide (first 100 matches).",
   "type": "string"
  },
  "kind": {
   "description": "Only files or only folders (items[].kind).",
   "type": "string",
   "enum": [
    "file",
    "dir"
   ]
  },
  "expand": {
   "default": false,
   "description": "Add last commit info per entry (repositories only; slower).",
   "type": "boolean"
  },
  "limit": {
   "default": 200,
   "description": "Maximum entries to return (default 200, max 1000).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "repo"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "enum": [
      "model",
      "dataset",
      "space",
      "bucket"
     ]
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "revision": {
   "type": "string"
  },
  "path": {
   "type": "string"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "file",
       "dir"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "path": {
      "type": "string"
     },
     "size": {
      "description": "Bytes; folders only with includeFolderSize.",
      "type": "integer"
     },
     "lfs": {
      "type": "boolean"
     },
     "xet": {
      "type": "boolean"
     },
     "oid": {
      "type": "string"
     },
     "lastCommit": {
      "description": "Only with expand.",
      "type": "object",
      "properties": {
       "id": {
        "type": "string"
       },
       "title": {
        "type": "string"
       },
       "createdAt": {
        "type": "string"
       }
      },
      "required": [
       "id"
      ]
     },
     "uploadedAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     },
     "contentType": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url",
     "path"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "total": {
     "description": "pathContains: matches upstream, files and folders; only the first 100 are returned.",
     "type": "integer"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "repo",
  "path",
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/{t}/{id}/tree/{rev}/{path}
GET /api/buckets/{id}/tree/{path}
GET /api/{t}/{id}/paths-search/{rev}
hf_repo_paths_info
anonymousread-only
replaces hf_fs
async def hf_repo_paths_info(
    *,
    repo: str,
    paths: list[str] = [],
    revision: str | None = None,
    expand: bool = False,
    includeFolderSize: bool = False,
) -> dict[str, Any]:
    """Check whether known file and folder paths exist in a repository, or whether known file paths
    exist in a bucket, like stat (buckets check file paths only; list bucket folders or prefixes via
    hf_repo_list_files). Returns entry type, file size, LFS/Xet flags and missing or invisible
    paths. Repository options add last-commit details and recursive folder sizes
    (includeFolderSize)—use this to size dataset folders and balance shards before listing large
    trees or mounting volumes. Accepts up to 2,000 supplied paths (50 folder sizes) per call. See
    hf_repo_list_files.

    Args:
        repo: Repository or bucket. A path in the uri is checked too.
        paths: Paths from the repository root (max 2000), e.g. ["config.json", "onnx"].
        revision: Branch, tag or commit id (hf_repo_history items[].id); not buckets.
        expand: Add last commit info (repositories only).
        includeFolderSize: Compute recursive byte totals for up to 50 folders (repositories only).

    Returns: {
        repo: {kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str},
        revision: str,
        items: list[{kind: Literal["file", "dir"], id: str, uri: str, url: str, path: str, size: int, lfs: bool, xet: bool, oid: str, lastCommit: dict[str, Any], uploadedAt: str, lastModified: str, contentType: str}],  # Existing paths, in request order.
        missing: list[str],
        returnedCount: int,
        warnings: list[str],
    }
    """
    ...
/**
 * Check whether known file and folder paths exist in a repository, or whether known file paths
 * exist in a bucket, like stat (buckets check file paths only; list bucket folders or prefixes via
 * hf_repo_list_files). Returns entry type, file size, LFS/Xet flags and missing or invisible
 * paths. Repository options add last-commit details and recursive folder sizes
 * (includeFolderSize)—use this to size dataset folders and balance shards before listing large
 * trees or mounting volumes. Accepts up to 2,000 supplied paths (50 folder sizes) per call. See
 * hf_repo_list_files.
 */
declare function hf_repo_paths_info(args: {
  // Repository or bucket. A path in the uri is checked too.
  repo: string;
  // Paths from the repository root (max 2000), e.g. ["config.json", "onnx"]. @default []
  paths?: string[];
  // Branch, tag or commit id (hf_repo_history items[].id); not buckets.
  revision?: string;
  // Add last commit info (repositories only). @default false
  expand?: boolean;
  // Compute recursive byte totals for up to 50 folders (repositories only). @default false
  includeFolderSize?: boolean;
}): Promise<{
  repo: { kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; };
  revision?: string;
  // Existing paths, in request order.
  items: Array<{ kind: "file" | "dir"; id: string; uri: string; url: string; path: string; size?: number; lfs?: boolean; xet?: boolean; oid?: string; lastCommit?: Record<string, unknown>; uploadedAt?: string; lastModified?: string; contentType?: string; }>;
  missing: string[];
  returnedCount: number;
  warnings?: string[];
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "Repository or bucket. A path in the uri is checked too."
  },
  "paths": {
   "default": [],
   "description": "Paths from the repository root (max 2000), e.g. [\"config.json\", \"onnx\"].",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "revision": {
   "description": "Branch, tag or commit id (hf_repo_history items[].id); not buckets.",
   "type": "string"
  },
  "expand": {
   "default": false,
   "description": "Add last commit info (repositories only).",
   "type": "boolean"
  },
  "includeFolderSize": {
   "default": false,
   "description": "Compute recursive byte totals for up to 50 folders (repositories only).",
   "type": "boolean"
  }
 },
 "required": [
  "repo"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "enum": [
      "model",
      "dataset",
      "space",
      "bucket"
     ]
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "revision": {
   "type": "string"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "file",
       "dir"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "path": {
      "type": "string"
     },
     "size": {
      "description": "Bytes; folders only with includeFolderSize.",
      "type": "integer"
     },
     "lfs": {
      "type": "boolean"
     },
     "xet": {
      "type": "boolean"
     },
     "oid": {
      "type": "string"
     },
     "lastCommit": {
      "description": "Only with expand.",
      "type": "object",
      "properties": {
       "id": {
        "type": "string"
       },
       "title": {
        "type": "string"
       },
       "createdAt": {
        "type": "string"
       }
      },
      "required": [
       "id"
      ]
     },
     "uploadedAt": {
      "type": "string"
     },
     "lastModified": {
      "type": "string"
     },
     "contentType": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url",
     "path"
    ]
   },
   "description": "Existing paths, in request order."
  },
  "missing": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "warnings": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 },
 "required": [
  "repo",
  "items",
  "missing",
  "returnedCount"
 ]
}
POST /api/{t}/{id}/paths-info/{rev}
POST /api/buckets/{id}/paths-info
GET /api/{t}/{id}/treesize/{rev}/{path}
hf_repo_read_text
anonymousread-only
replaces hf_fs
async def hf_repo_read_text(*, uri: str, offset: int | None = 0, maxBytes: int = 20000) -> dict[str, Any]:
    """Read Hugging Face repository text files (README, model card, dataset card) by file URI or URL.
    Open LICENSE, config.json, tokenizer settings, chat templates or source code from a model,
    dataset, Space or storage bucket. Returns text content and byte offsets, with nextOffset for
    continuation through a bounded byte window. See hf_repo_list_files.

    Args:
        uri: File uri (items[].uri of hf_repo_list_files) or a huggingface.co blob URL.
        offset: Byte offset to start from (use nextOffset to continue).
        maxBytes: Maximum bytes to read (default 20000, max 80000).

    Returns: {
        kind: Literal["file"],
        id: str,
        uri: str,
        url: str,
        path: str,
        content: str,
        offset: int,  # Adjusted to a UTF-8 character boundary.
        bytes: int,
        size: int,  # Whole file, bytes.
        truncated: bool,  # More content follows (nextOffset).
        nextOffset: int | None,
    }
    """
    ...
/**
 * Read Hugging Face repository text files (README, model card, dataset card) by file URI or URL.
 * Open LICENSE, config.json, tokenizer settings, chat templates or source code from a model,
 * dataset, Space or storage bucket. Returns text content and byte offsets, with nextOffset for
 * continuation through a bounded byte window. See hf_repo_list_files.
 */
declare function hf_repo_read_text(args: {
  // File uri (items[].uri of hf_repo_list_files) or a huggingface.co blob URL.
  uri: string;
  // Byte offset to start from (use nextOffset to continue). @default 0
  offset?: number | null;
  // Maximum bytes to read (default 20000, max 80000). @default 20000
  maxBytes?: number;
}): Promise<{
  kind: "file";
  id: string;
  uri: string;
  url: string;
  path: string;
  content: string;
  // Adjusted to a UTF-8 character boundary.
  offset: number;
  bytes: number;
  // Whole file, bytes.
  size?: number;
  // More content follows (nextOffset).
  truncated: boolean;
  nextOffset: number | null;
}>;
input schema
{
 "type": "object",
 "properties": {
  "uri": {
   "type": "string",
   "description": "File uri (items[].uri of hf_repo_list_files) or a huggingface.co blob URL."
  },
  "offset": {
   "default": 0,
   "description": "Byte offset to start from (use nextOffset to continue).",
   "type": [
    "integer",
    "null"
   ]
  },
  "maxBytes": {
   "default": 20000,
   "description": "Maximum bytes to read (default 20000, max 80000).",
   "type": "integer"
  }
 },
 "required": [
  "uri"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "file"
  },
  "id": {
   "type": "string"
  },
  "uri": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "path": {
   "type": "string"
  },
  "content": {
   "type": "string"
  },
  "offset": {
   "type": "integer",
   "description": "Adjusted to a UTF-8 character boundary."
  },
  "bytes": {
   "type": "integer"
  },
  "size": {
   "description": "Whole file, bytes.",
   "type": "integer"
  },
  "truncated": {
   "type": "boolean",
   "description": "More content follows (nextOffset)."
  },
  "nextOffset": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  }
 },
 "required": [
  "kind",
  "id",
  "uri",
  "url",
  "path",
  "content",
  "offset",
  "bytes",
  "truncated",
  "nextOffset"
 ]
}
GET /{t}/{id}/resolve/{rev}/{path} (Range)
GET /buckets/{id}/resolve/{path}
hf_repo_read_image
anonymousread-only
replaces hf_fs
async def hf_repo_read_image(*, uri: str, maxBytes: int = 8388608) -> dict[str, Any]:
    """Show a repository or bucket image (PNG, JPEG, WebP) by file URI: charts, diagrams or
    screenshots. Returns image content with file metadata including MIME type and byte size; images
    exceeding the chosen size cap, at most 8 MiB, are rejected.

    Args:
        uri: Image file uri ending in .jpg, .jpeg, .png or .webp.
        maxBytes: Reject images larger than this many bytes (max 8 MiB).

    Returns: {
        kind: Literal["file"],
        id: str,
        uri: str,
        url: str,
        path: str,
        mimeType: Literal["image/jpeg", "image/png", "image/webp"],
        bytes: int,
    }
    """
    ...
/**
 * Show a repository or bucket image (PNG, JPEG, WebP) by file URI: charts, diagrams or
 * screenshots. Returns image content with file metadata including MIME type and byte size; images
 * exceeding the chosen size cap, at most 8 MiB, are rejected.
 */
declare function hf_repo_read_image(args: {
  // Image file uri ending in .jpg, .jpeg, .png or .webp.
  uri: string;
  // Reject images larger than this many bytes (max 8 MiB). @default 8388608
  maxBytes?: number;
}): Promise<{
  kind: "file";
  id: string;
  uri: string;
  url: string;
  path: string;
  mimeType: "image/jpeg" | "image/png" | "image/webp";
  bytes: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "uri": {
   "type": "string",
   "description": "Image file uri ending in .jpg, .jpeg, .png or .webp."
  },
  "maxBytes": {
   "default": 8388608,
   "description": "Reject images larger than this many bytes (max 8 MiB).",
   "type": "integer"
  }
 },
 "required": [
  "uri"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "file"
  },
  "id": {
   "type": "string"
  },
  "uri": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "path": {
   "type": "string"
  },
  "mimeType": {
   "type": "string",
   "enum": [
    "image/jpeg",
    "image/png",
    "image/webp"
   ]
  },
  "bytes": {
   "type": "integer"
  }
 },
 "required": [
  "kind",
  "id",
  "uri",
  "url",
  "path",
  "mimeType",
  "bytes"
 ]
}
GET /{t}/{id}/resolve/{rev}/{path}
hf_repo_history
anonymousread-only
new
async def hf_repo_history(
    *,
    repo: str,
    mode: Literal["commits", "refs"] = "commits",
    revision: str | None = None,
    includePrs: bool = False,
    limit: int = 50,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Show repository history (commits, branches, tags) for a model, dataset or Space. Choose a
    revision's commits with authors, dates and messages, or list branches, tags, converted refs and
    optional pull-request refs. Results are paged for commits or capped at 500 refs.

    Args:
        repo: Repository: returned uri (a file uri works), owner/name or URL; no buckets.
        mode: commits: history; refs: branches/tags/PRs.
        revision: Branch, tag or commit to list history from (default: main).
        includePrs: refs mode: include pull-request refs.
        limit: Commits per page (default 50, max 200).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        repo: {kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str},
        mode: Literal["commits", "refs"],
        items: list[{kind: Literal["commit", "branch", "tag", "convert", "pull_request"], id: str, uri: str, url: str, title: str, message: str, authors: list[str], createdAt: str, ref: str, targetCommit: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, total: int},
    }
    """
    ...
/**
 * Show repository history (commits, branches, tags) for a model, dataset or Space. Choose a
 * revision's commits with authors, dates and messages, or list branches, tags, converted refs and
 * optional pull-request refs. Results are paged for commits or capped at 500 refs.
 */
declare function hf_repo_history(args: {
  // Repository: returned uri (a file uri works), owner/name or URL; no buckets.
  repo: string;
  // commits: history; refs: branches/tags/PRs. @default "commits"
  mode?: "commits" | "refs";
  // Branch, tag or commit to list history from (default: main).
  revision?: string;
  // refs mode: include pull-request refs. @default false
  includePrs?: boolean;
  // Commits per page (default 50, max 200). @default 50
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  repo: { kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; };
  mode: "commits" | "refs";
  items: Array<{ kind: "commit" | "branch" | "tag" | "convert" | "pull_request"; id: string; uri: string; url: string; title?: string; message?: string; authors?: string[]; createdAt?: string; ref?: string; targetCommit?: string; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; total?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "Repository: returned uri (a file uri works), owner/name or URL; no buckets."
  },
  "mode": {
   "default": "commits",
   "description": "commits: history; refs: branches/tags/PRs.",
   "type": "string",
   "enum": [
    "commits",
    "refs"
   ]
  },
  "revision": {
   "description": "Branch, tag or commit to list history from (default: main).",
   "type": "string"
  },
  "includePrs": {
   "default": false,
   "description": "refs mode: include pull-request refs.",
   "type": "boolean"
  },
  "limit": {
   "default": 50,
   "description": "Commits per page (default 50, max 200).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "repo"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "enum": [
      "model",
      "dataset",
      "space",
      "bucket"
     ]
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "mode": {
   "type": "string",
   "enum": [
    "commits",
    "refs"
   ]
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "commit",
       "branch",
       "tag",
       "convert",
       "pull_request"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "message": {
      "type": "string"
     },
     "authors": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "createdAt": {
      "type": "string"
     },
     "ref": {
      "description": "Full git ref, e.g. refs/pr/3; usable as revision.",
      "type": "string"
     },
     "targetCommit": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "total": {
     "description": "Commits on this revision.",
     "type": "integer"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "repo",
  "mode",
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/{t}/{id}/refs
GET /api/{t}/{id}/commits/{rev} (page p + Link + X-Total-Count)

Dataset contents (Dataset Viewer) (2)

ToolDefinitionEndpoints
hf_dataset_structure
anonymousread-only
replaces hub_repo_details
async def hf_dataset_structure(
    *,
    dataset: str,
    config: str | None = None,
    split: str | None = None,
    include: list[Literal["splits", "schema", "sizes", "parquet", "statistics"]] | None = None,
    splitsOffset: int = 0,
    schemaOffset: int = 0,
) -> dict[str, Any]:
    """Inspect Hugging Face dataset structure (splits, subsets, columns) by dataset ID. Use the Dataset
    Viewer for one dataset: schema, feature types, split counts, sizes and parquet URLs. For row
    counts across search hits use hf_datasets_search with sort="numRows" instead of probing each
    hit; gated datasets may lack Viewer data. Select sections to return or narrow to a subset and
    split; per-column statistics require both. Results may be partial. See hf_dataset_rows.

    Args:
        dataset: Dataset: hf://datasets/owner/name (preferred), "owner/name" or URL.
        config: Limit to one config (subset): a splits[].config value.
        split: Limit to one split (splits[].split); required for statistics.
        include: Sections to return (default splits, schema, sizes, parquet).
        splitsOffset: Start index into splits (pages of 200 when splitsTruncated).
        schemaOffset: Start index into schema configs (pages of 20 when schemaTruncated).

    Returns: {
        dataset: {kind: Literal["dataset"], id: str, uri: str, url: str},
        config: str,
        split: str,
        splits: list[{config: str, split: str, numRows: int, numColumns: int, parquetSize: int, memorySize: int, originalSize: int}],
        splitsTruncated: bool,  # Only the first 200 splits; numSplits is the total.
        numSplits: int,
        totals: {numRows: int, parquetSize: int, memorySize: int, originalSize: int},  # Whole dataset, or the config when set.
        schema: list[{config: str, columns: list[dict[str, Any]], columnsTruncated: bool, numColumns: int}],
        schemaTruncated: bool,  # Only the first 20 configs; pass config for others.
        numSchemaConfigs: int,
        parquet: {files: list[dict[str, Any]], truncated: bool, numFiles: int},
        statistics: {numExamples: int, columns: list[dict[str, Any]], columnsTruncated: bool, numColumns: int, partial: bool},
        partial: bool,  # The Dataset Viewer processed only part of the data.
        pending: int,  # Pending processing entries.
        failed: int,  # Failed processing entries.
        unavailable: list[{section: Literal["splits", "schema", "sizes", "parquet", "statistics"], code: str, message: str}],
        hints: list[str],
    }
    """
    ...
/**
 * Inspect Hugging Face dataset structure (splits, subsets, columns) by dataset ID. Use the Dataset
 * Viewer for one dataset: schema, feature types, split counts, sizes and parquet URLs. For row
 * counts across search hits use hf_datasets_search with sort="numRows" instead of probing each
 * hit; gated datasets may lack Viewer data. Select sections to return or narrow to a subset and
 * split; per-column statistics require both. Results may be partial. See hf_dataset_rows.
 */
declare function hf_dataset_structure(args: {
  // Dataset: hf://datasets/owner/name (preferred), "owner/name" or URL.
  dataset: string;
  // Limit to one config (subset): a splits[].config value.
  config?: string;
  // Limit to one split (splits[].split); required for statistics.
  split?: string;
  // Sections to return (default splits, schema, sizes, parquet).
  include?: Array<"splits" | "schema" | "sizes" | "parquet" | "statistics">;
  // Start index into splits (pages of 200 when splitsTruncated). @default 0
  splitsOffset?: number;
  // Start index into schema configs (pages of 20 when schemaTruncated). @default 0
  schemaOffset?: number;
}): Promise<{
  dataset: { kind: "dataset"; id: string; uri: string; url: string; };
  config?: string;
  split?: string;
  splits?: Array<{ config: string; split: string; numRows?: number; numColumns?: number; parquetSize?: number; memorySize?: number; originalSize?: number; }>;
  // Only the first 200 splits; numSplits is the total.
  splitsTruncated?: boolean;
  numSplits?: number;
  // Whole dataset, or the config when set.
  totals?: { numRows?: number; parquetSize?: number; memorySize?: number; originalSize?: number; };
  schema?: Array<{ config: string; columns: Record<string, unknown>[]; columnsTruncated?: boolean; numColumns?: number; }>;
  // Only the first 20 configs; pass config for others.
  schemaTruncated?: boolean;
  numSchemaConfigs?: number;
  parquet?: { files: Record<string, unknown>[]; truncated: boolean; numFiles: number; };
  statistics?: { numExamples?: number; columns: Record<string, unknown>[]; columnsTruncated?: boolean; numColumns?: number; partial?: boolean; };
  // The Dataset Viewer processed only part of the data.
  partial: boolean;
  // Pending processing entries.
  pending: number;
  // Failed processing entries.
  failed: number;
  unavailable?: Array<{ section: "splits" | "schema" | "sizes" | "parquet" | "statistics"; code: string; message: string; }>;
  hints?: string[];
}>;
input schema
{
 "type": "object",
 "properties": {
  "dataset": {
   "type": "string",
   "description": "Dataset: hf://datasets/owner/name (preferred), \"owner/name\" or URL."
  },
  "config": {
   "description": "Limit to one config (subset): a splits[].config value.",
   "type": "string"
  },
  "split": {
   "description": "Limit to one split (splits[].split); required for statistics.",
   "type": "string"
  },
  "include": {
   "description": "Sections to return (default splits, schema, sizes, parquet).",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "splits",
     "schema",
     "sizes",
     "parquet",
     "statistics"
    ]
   }
  },
  "splitsOffset": {
   "default": 0,
   "description": "Start index into splits (pages of 200 when splitsTruncated).",
   "type": "integer"
  },
  "schemaOffset": {
   "default": 0,
   "description": "Start index into schema configs (pages of 20 when schemaTruncated).",
   "type": "integer"
  }
 },
 "required": [
  "dataset"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "dataset": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "dataset"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "config": {
   "type": "string"
  },
  "split": {
   "type": "string"
  },
  "splits": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "config": {
      "type": "string"
     },
     "split": {
      "type": "string"
     },
     "numRows": {
      "type": "integer"
     },
     "numColumns": {
      "type": "integer"
     },
     "parquetSize": {
      "type": "integer"
     },
     "memorySize": {
      "type": "integer"
     },
     "originalSize": {
      "type": "integer"
     }
    },
    "required": [
     "config",
     "split"
    ]
   }
  },
  "splitsTruncated": {
   "description": "Only the first 200 splits; numSplits is the total.",
   "type": "boolean"
  },
  "numSplits": {
   "type": "integer"
  },
  "totals": {
   "description": "Whole dataset, or the config when set.",
   "type": "object",
   "properties": {
    "numRows": {
     "type": "integer"
    },
    "parquetSize": {
     "type": "integer"
    },
    "memorySize": {
     "type": "integer"
    },
    "originalSize": {
     "type": "integer"
    }
   }
  },
  "schema": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "config": {
      "type": "string"
     },
     "columns": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "type": {
         "type": "string"
        }
       },
       "required": [
        "name",
        "type"
       ]
      }
     },
     "columnsTruncated": {
      "type": "boolean"
     },
     "numColumns": {
      "description": "Total, when columnsTruncated.",
      "type": "integer"
     }
    },
    "required": [
     "config",
     "columns"
    ]
   }
  },
  "schemaTruncated": {
   "description": "Only the first 20 configs; pass config for others.",
   "type": "boolean"
  },
  "numSchemaConfigs": {
   "type": "integer"
  },
  "parquet": {
   "type": "object",
   "properties": {
    "files": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "config": {
        "type": "string"
       },
       "split": {
        "type": "string"
       },
       "url": {
        "type": "string"
       },
       "filename": {
        "type": "string"
       },
       "size": {
        "type": "integer"
       }
      },
      "required": [
       "config",
       "split",
       "url"
      ]
     }
    },
    "truncated": {
     "type": "boolean"
    },
    "numFiles": {
     "type": "integer",
     "description": "All matching files."
    }
   },
   "required": [
    "files",
    "truncated",
    "numFiles"
   ]
  },
  "statistics": {
   "type": "object",
   "properties": {
    "numExamples": {
     "type": "integer"
    },
    "columns": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "name": {
        "type": "string"
       },
       "type": {
        "type": "string"
       },
       "statistics": {
        "type": "object"
       }
      },
      "required": [
       "name",
       "type",
       "statistics"
      ]
     }
    },
    "columnsTruncated": {
     "type": "boolean"
    },
    "numColumns": {
     "description": "Total, when columnsTruncated.",
     "type": "integer"
    },
    "partial": {
     "type": "boolean"
    }
   },
   "required": [
    "columns"
   ]
  },
  "partial": {
   "type": "boolean",
   "description": "The Dataset Viewer processed only part of the data."
  },
  "pending": {
   "type": "integer",
   "description": "Pending processing entries."
  },
  "failed": {
   "type": "integer",
   "description": "Failed processing entries."
  },
  "unavailable": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "section": {
      "type": "string",
      "enum": [
       "splits",
       "schema",
       "sizes",
       "parquet",
       "statistics"
      ]
     },
     "code": {
      "type": "string"
     },
     "message": {
      "type": "string"
     }
    },
    "required": [
     "section",
     "code",
     "message"
    ]
   }
  },
  "hints": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 },
 "required": [
  "dataset",
  "partial",
  "pending",
  "failed"
 ]
}
datasets-server /splits, /info, /size, /parquet, /statistics
hf_dataset_rows
anonymousread-only
replaces hub_repo_details
async def hf_dataset_rows(
    *,
    dataset: str,
    config: str,
    split: str,
    offset: int | None = 0,
    limit: int = 20,
    where: str | None = None,
    orderby: str | None = None,
    search: str | None = None,
    maxCellChars: int = 2000,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Read Hugging Face dataset rows (samples, previews, records) for a chosen subset and split. Use
    the Dataset Viewer to filter and sort with SQL-like expressions, or choose a separate full-text
    search in string columns. Returns row values and indices, column names and types, and indicators
    of truncated cells. Pages contain up to 100 rows; continue with nextCursor, or start at a row
    with offset. See hf_dataset_structure.

    Args:
        dataset: Dataset: hf://datasets/owner/name (preferred), "owner/name" or URL.
        config: Config from hf_dataset_structure splits[].config, e.g. "default".
        split: Split from hf_dataset_structure splits[].split, e.g. "train".
        offset: First row index.
        limit: Rows to return (max 100).
        where: SQL filter, columns double-quoted: "label" = 1 AND "lang" = 'en'.
        orderby: Sort, columns double-quoted: "score" DESC (Dataset Viewer /filter).
        search: Full-text search in string columns; cannot be combined with where/orderby.
        maxCellChars: Max chars per cell before truncation (default 2000, max 20000).
        cursor: nextCursor from a previous call with the same arguments (overrides offset).

    Returns: {
        dataset: {kind: Literal["dataset"], id: str, uri: str, url: str},
        config: str,
        split: str,
        mode: Literal["rows", "filter", "search"],
        columns: list[{name: str, type: str}],
        items: list[{rowIdx: int, row: dict[str, Any], truncatedCells: list[str], omittedColumns: int}],
        returnedCount: int,
        offset: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, total: int, partial: bool},
    }
    """
    ...
/**
 * Read Hugging Face dataset rows (samples, previews, records) for a chosen subset and split. Use
 * the Dataset Viewer to filter and sort with SQL-like expressions, or choose a separate full-text
 * search in string columns. Returns row values and indices, column names and types, and indicators
 * of truncated cells. Pages contain up to 100 rows; continue with nextCursor, or start at a row
 * with offset. See hf_dataset_structure.
 */
declare function hf_dataset_rows(args: {
  // Dataset: hf://datasets/owner/name (preferred), "owner/name" or URL.
  dataset: string;
  // Config from hf_dataset_structure splits[].config, e.g. "default".
  config: string;
  // Split from hf_dataset_structure splits[].split, e.g. "train".
  split: string;
  // First row index. @default 0
  offset?: number | null;
  // Rows to return (max 100). @default 20
  limit?: number;
  // SQL filter, columns double-quoted: "label" = 1 AND "lang" = 'en'.
  where?: string;
  // Sort, columns double-quoted: "score" DESC (Dataset Viewer /filter).
  orderby?: string;
  // Full-text search in string columns; cannot be combined with where/orderby.
  search?: string;
  // Max chars per cell before truncation (default 2000, max 20000). @default 2000
  maxCellChars?: number;
  // nextCursor from a previous call with the same arguments (overrides offset).
  cursor?: string | null;
}): Promise<{
  dataset: { kind: "dataset"; id: string; uri: string; url: string; };
  config: string;
  split: string;
  mode: "rows" | "filter" | "search";
  columns: Array<{ name: string; type: string; }>;
  items: Array<{ rowIdx: number; row: Record<string, unknown>; truncatedCells?: string[]; omittedColumns?: number; }>;
  returnedCount: number;
  offset: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; total?: number; partial?: boolean; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "dataset": {
   "type": "string",
   "description": "Dataset: hf://datasets/owner/name (preferred), \"owner/name\" or URL."
  },
  "config": {
   "type": "string",
   "description": "Config from hf_dataset_structure splits[].config, e.g. \"default\"."
  },
  "split": {
   "type": "string",
   "description": "Split from hf_dataset_structure splits[].split, e.g. \"train\"."
  },
  "offset": {
   "default": 0,
   "description": "First row index.",
   "type": [
    "integer",
    "null"
   ]
  },
  "limit": {
   "default": 20,
   "description": "Rows to return (max 100).",
   "type": "integer"
  },
  "where": {
   "description": "SQL filter, columns double-quoted: \"label\" = 1 AND \"lang\" = 'en'.",
   "type": "string"
  },
  "orderby": {
   "description": "Sort, columns double-quoted: \"score\" DESC (Dataset Viewer /filter).",
   "type": "string"
  },
  "search": {
   "description": "Full-text search in string columns; cannot be combined with where/orderby.",
   "type": "string"
  },
  "maxCellChars": {
   "default": 2000,
   "description": "Max chars per cell before truncation (default 2000, max 20000).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments (overrides offset).",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "dataset",
  "config",
  "split"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "dataset": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "dataset"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "config": {
   "type": "string"
  },
  "split": {
   "type": "string"
  },
  "mode": {
   "type": "string",
   "enum": [
    "rows",
    "filter",
    "search"
   ]
  },
  "columns": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "type": {
      "type": "string"
     }
    },
    "required": [
     "name",
     "type"
    ]
   }
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "rowIdx": {
      "type": "integer"
     },
     "row": {
      "type": "object"
     },
     "truncatedCells": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "omittedColumns": {
      "description": "Columns past the first 200, left out of row.",
      "type": "integer"
     }
    },
    "required": [
     "rowIdx",
     "row"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "offset": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "total": {
     "description": "Rows in the split, or matches for filter/search.",
     "type": "integer"
    },
    "partial": {
     "description": "Only part of a large split was searched.",
     "type": "boolean"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "dataset",
  "config",
  "split",
  "mode",
  "columns",
  "items",
  "returnedCount",
  "offset",
  "nextCursor",
  "completeness"
 ]
}
datasets-server /rows, /first-rows, /filter, /search

Papers (4)

ToolDefinitionEndpoints
hf_papers_search
anonymousread-only
replaces hf_fs
async def hf_papers_search(*, query: str, limit: int = 20) -> dict[str, Any]:
    """Search Hugging Face papers (arXiv preprints, research articles) by topic, method, title or
    question. Returns paper IDs and links, with titles, authors, publication dates, upvotes, AI
    summaries and abstract excerpts when available. Results are a bounded relevance-ranked set
    without continuation. See hf_paper_get.

    Args:
        query: Topic, method name, title words or question.
        limit: Maximum papers (max 120; no continuation).

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, title: str, aiSummary: str, abstract: str, authors: list[str], publishedAt: str, upvotes: float, arxivUrl: str, githubRepo: str, projectPage: str, submittedOnDailyAt: str, submittedBy: str, numComments: float}],
        returnedCount: int,
        nextCursor: None,  # No paging: raise limit (max 120).
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
    }
    """
    ...
/**
 * Search Hugging Face papers (arXiv preprints, research articles) by topic, method, title or
 * question. Returns paper IDs and links, with titles, authors, publication dates, upvotes, AI
 * summaries and abstract excerpts when available. Results are a bounded relevance-ranked set
 * without continuation. See hf_paper_get.
 */
declare function hf_papers_search(args: {
  // Topic, method name, title words or question.
  query: string;
  // Maximum papers (max 120; no continuation). @default 20
  limit?: number;
}): Promise<{
  items: Array<{ kind: string; id: string; uri: string; url: string; title?: string; aiSummary?: string; abstract?: string; authors?: string[]; publishedAt?: string; upvotes?: number; arxivUrl?: string; githubRepo?: string; projectPage?: string; submittedOnDailyAt?: string; submittedBy?: string; numComments?: number; }>;
  returnedCount: number;
  // No paging: raise limit (max 120).
  nextCursor: null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Topic, method name, title words or question."
  },
  "limit": {
   "default": 20,
   "description": "Maximum papers (max 120; no continuation).",
   "type": "integer"
  }
 },
 "required": [
  "query"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string",
      "description": "arXiv ID."
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "aiSummary": {
      "type": "string"
     },
     "abstract": {
      "description": "Clipped in lists; full in hf_paper_get.",
      "type": "string"
     },
     "authors": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "publishedAt": {
      "type": "string"
     },
     "upvotes": {
      "type": "number"
     },
     "arxivUrl": {
      "type": "string"
     },
     "githubRepo": {
      "type": "string"
     },
     "projectPage": {
      "type": "string"
     },
     "submittedOnDailyAt": {
      "description": "Date the paper was featured in Daily Papers.",
      "type": "string"
     },
     "submittedBy": {
      "type": "string"
     },
     "numComments": {
      "type": "number"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": "null",
   "description": "No paging: raise limit (max 120)."
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/papers/search
hf_daily_papers
anonymousread-only
replaces hf_fs
async def hf_daily_papers(
    *,
    date: str | None = None,
    week: str | None = None,
    month: str | None = None,
    sort: Literal["publishedAt", "trending"] = "publishedAt",
    submittedBy: str | None = None,
    limit: int = 50,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Browse Hugging Face daily papers (AI research, arXiv preprints) by featured date or trending
    rank. Select today's date, an ISO week or a month, optionally narrowing to one submitter.
    Without a period, order by newest featured first or by the global trending rank; a period uses
    the Hub's period ranking. Returns paper IDs and links, with titles, upvotes, comment counts,
    summaries and submitters when available; supports pagination. See hf_papers_search.

    Args:
        date: Papers featured on this day (YYYY-MM-DD).
        week: Papers featured in this ISO week, e.g. 2026-W46.
        month: Papers featured in this month (YYYY-MM).
        sort: publishedAt: newest, or the Hub period ranking; trending: global, no filters.
        submittedBy: Only papers submitted by this user (name or profile uri).
        limit: Papers per page (max 100).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, title: str, aiSummary: str, abstract: str, authors: list[str], publishedAt: str, upvotes: float, arxivUrl: str, githubRepo: str, projectPage: str, submittedOnDailyAt: str, submittedBy: str, numComments: float}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
    }
    """
    ...
/**
 * Browse Hugging Face daily papers (AI research, arXiv preprints) by featured date or trending
 * rank. Select today's date, an ISO week or a month, optionally narrowing to one submitter.
 * Without a period, order by newest featured first or by the global trending rank; a period uses
 * the Hub's period ranking. Returns paper IDs and links, with titles, upvotes, comment counts,
 * summaries and submitters when available; supports pagination. See hf_papers_search.
 */
declare function hf_daily_papers(args: {
  // Papers featured on this day (YYYY-MM-DD).
  date?: string;
  // Papers featured in this ISO week, e.g. 2026-W46.
  week?: string;
  // Papers featured in this month (YYYY-MM).
  month?: string;
  // publishedAt: newest, or the Hub period ranking; trending: global, no filters. @default "publishedAt"
  sort?: "publishedAt" | "trending";
  // Only papers submitted by this user (name or profile uri).
  submittedBy?: string;
  // Papers per page (max 100). @default 50
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: string; id: string; uri: string; url: string; title?: string; aiSummary?: string; abstract?: string; authors?: string[]; publishedAt?: string; upvotes?: number; arxivUrl?: string; githubRepo?: string; projectPage?: string; submittedOnDailyAt?: string; submittedBy?: string; numComments?: number; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "date": {
   "description": "Papers featured on this day (YYYY-MM-DD).",
   "type": "string"
  },
  "week": {
   "description": "Papers featured in this ISO week, e.g. 2026-W46.",
   "type": "string"
  },
  "month": {
   "description": "Papers featured in this month (YYYY-MM).",
   "type": "string"
  },
  "sort": {
   "default": "publishedAt",
   "description": "publishedAt: newest, or the Hub period ranking; trending: global, no filters.",
   "type": "string",
   "enum": [
    "publishedAt",
    "trending"
   ]
  },
  "submittedBy": {
   "description": "Only papers submitted by this user (name or profile uri).",
   "type": "string"
  },
  "limit": {
   "default": 50,
   "description": "Papers per page (max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string",
      "description": "arXiv ID."
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "aiSummary": {
      "type": "string"
     },
     "abstract": {
      "description": "Clipped in lists; full in hf_paper_get.",
      "type": "string"
     },
     "authors": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "publishedAt": {
      "type": "string"
     },
     "upvotes": {
      "type": "number"
     },
     "arxivUrl": {
      "type": "string"
     },
     "githubRepo": {
      "type": "string"
     },
     "projectPage": {
      "type": "string"
     },
     "submittedOnDailyAt": {
      "description": "Date the paper was featured in Daily Papers.",
      "type": "string"
     },
     "submittedBy": {
      "type": "string"
     },
     "numComments": {
      "type": "number"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/daily_papers
hf_paper_get
anonymousread-only
replaces hf_fs
async def hf_paper_get(*, papers: list[str]) -> dict[str, Any]:
    """Get Hugging Face paper details (arXiv metadata, authors, abstract) by ID or URL. Accepts batches
    and hf://papers URIs. Available details include title, full abstract, AI summary, keywords,
    publication date, upvotes, GitHub and project links, plus citing models, datasets and Spaces
    with upstream totals; linked repositories are previews per kind. Returns per-paper errors
    inline. See hf_paper_read.

    Args:
        papers: Up to 20 arXiv IDs (2405.02730), hf://papers uris or paper URLs.

    Returns: {
        items: list[{kind: str, id: str, uri: str, url: str, title: str, aiSummary: str, abstract: str, authors: list[str], publishedAt: str, upvotes: float, arxivUrl: str, githubRepo: str, projectPage: str, aiKeywords: list[str], githubStars: float, linked: dict[str, Any]} | {ref: str, error: dict[str, Any]}],
        returnedCount: int,
    }
    """
    ...
/**
 * Get Hugging Face paper details (arXiv metadata, authors, abstract) by ID or URL. Accepts batches
 * and hf://papers URIs. Available details include title, full abstract, AI summary, keywords,
 * publication date, upvotes, GitHub and project links, plus citing models, datasets and Spaces
 * with upstream totals; linked repositories are previews per kind. Returns per-paper errors
 * inline. See hf_paper_read.
 */
declare function hf_paper_get(args: {
  // Up to 20 arXiv IDs (2405.02730), hf://papers uris or paper URLs.
  papers: string[];
}): Promise<{
  items: Array<{ kind: string; id: string; uri: string; url: string; title?: string; aiSummary?: string; abstract?: string; authors?: string[]; publishedAt?: string; upvotes?: number; arxivUrl?: string; githubRepo?: string; projectPage?: string; aiKeywords?: string[]; githubStars?: number; linked: Record<string, unknown>; } | { ref: string; error: Record<string, unknown>; }>;
  returnedCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "papers": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Up to 20 arXiv IDs (2405.02730), hf://papers uris or paper URLs."
  }
 },
 "required": [
  "papers"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string"
       },
       "id": {
        "type": "string",
        "description": "arXiv ID."
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       },
       "title": {
        "type": "string"
       },
       "aiSummary": {
        "type": "string"
       },
       "abstract": {
        "description": "Clipped in lists; full in hf_paper_get.",
        "type": "string"
       },
       "authors": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "publishedAt": {
        "type": "string"
       },
       "upvotes": {
        "type": "number"
       },
       "arxivUrl": {
        "type": "string"
       },
       "githubRepo": {
        "type": "string"
       },
       "projectPage": {
        "type": "string"
       },
       "aiKeywords": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "githubStars": {
        "type": "number"
       },
       "linked": {
        "type": "object",
        "description": "Citing repositories: per kind, the first few items and the upstream total. Full lists: hf_models_search / hf_datasets_search / hf_spaces_list with papersAny=[ID]."
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url",
       "linked"
      ]
     },
     {
      "type": "object",
      "properties": {
       "ref": {
        "type": "string"
       },
       "error": {
        "type": "object",
        "properties": {
         "code": {
          "type": "string",
          "enum": [
           "not_found",
           "auth_required",
           "gated",
           "invalid",
           "upstream_error"
          ]
         },
         "message": {
          "type": "string"
         }
        },
        "required": [
         "code",
         "message"
        ]
       }
      },
      "required": [
       "ref",
       "error"
      ]
     }
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  }
 },
 "required": [
  "items",
  "returnedCount"
 ]
}
GET /api/papers/{id}
hf_paper_read
anonymousread-only
replaces hf_fs
async def hf_paper_read(*, paper: str, offset: int | None = 0, maxBytes: int = 20000) -> dict[str, Any]:
    """Read a research paper's full text as Markdown by arXiv ID, hf://papers URI or paper URL. Returns
    content and a source marker identifying full text or an abstract-only fallback. Reads byte
    chunks; pass nextOffset as offset to continue until null. See hf_paper_get.

    Args:
        paper: arXiv ID, hf://papers URI, or paper/arXiv URL.
        offset: Byte offset to start reading from (use nextOffset).
        maxBytes: Maximum bytes of Markdown to return (default 20000, max 80000).

    Returns: {
        kind: str,
        id: str,  # arXiv ID.
        uri: str,
        url: str,
        source: Literal["full_text", "abstract_only"],
        content: str,
        offset: int,
        bytes: int,
        size: int,
        nextOffset: int | None,
    }
    """
    ...
/**
 * Read a research paper's full text as Markdown by arXiv ID, hf://papers URI or paper URL. Returns
 * content and a source marker identifying full text or an abstract-only fallback. Reads byte
 * chunks; pass nextOffset as offset to continue until null. See hf_paper_get.
 */
declare function hf_paper_read(args: {
  // arXiv ID, hf://papers URI, or paper/arXiv URL.
  paper: string;
  // Byte offset to start reading from (use nextOffset). @default 0
  offset?: number | null;
  // Maximum bytes of Markdown to return (default 20000, max 80000). @default 20000
  maxBytes?: number;
}): Promise<{
  kind: string;
  // arXiv ID.
  id: string;
  uri: string;
  url: string;
  source: "full_text" | "abstract_only";
  content: string;
  offset: number;
  bytes: number;
  size: number;
  nextOffset: number | null;
}>;
input schema
{
 "type": "object",
 "properties": {
  "paper": {
   "type": "string",
   "description": "arXiv ID, hf://papers URI, or paper/arXiv URL."
  },
  "offset": {
   "default": 0,
   "description": "Byte offset to start reading from (use nextOffset).",
   "type": [
    "integer",
    "null"
   ]
  },
  "maxBytes": {
   "default": 20000,
   "description": "Maximum bytes of Markdown to return (default 20000, max 80000).",
   "type": "integer"
  }
 },
 "required": [
  "paper"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string"
  },
  "id": {
   "type": "string",
   "description": "arXiv ID."
  },
  "uri": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "source": {
   "type": "string",
   "enum": [
    "full_text",
    "abstract_only"
   ]
  },
  "content": {
   "type": "string"
  },
  "offset": {
   "type": "integer"
  },
  "bytes": {
   "type": "integer"
  },
  "size": {
   "type": "integer"
  },
  "nextOffset": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  }
 },
 "required": [
  "kind",
  "id",
  "uri",
  "url",
  "source",
  "content",
  "offset",
  "bytes",
  "size",
  "nextOffset"
 ]
}
GET /papers/{id}.md

Collections (2)

ToolDefinitionEndpoints
hf_collections_search
anonymousread-only
replaces hf_fs
async def hf_collections_search(
    *,
    query: str | None = None,
    ownersAny: list[str] | None = None,
    contains: str | None = None,
    sort: Literal["trending", "upvotes", "lastModified"] = "trending",
    limit: int = 10,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Search collections (curated lists, reading lists) by title or description words, owner, or a
    contained model, dataset, Space or paper. Sort by trending, upvotes or last update. Returns a
    page of collection URIs with item previews. See hf_collection_get.

    Args:
        query: Title/description substring (try shorter or singular keywords if empty).
        ownersAny: Only collections of these users/orgs (names or profile uris; max 10).
        contains: Only collections containing this repo or paper (hf:// uri or ID).
        sort: Ordering.
        limit: Collections per page (max 100).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        items: list[{kind: Literal["collection"], id: str, uri: str, url: str, title: str, description: str, owner: str, upvotes: float, private: bool, gated: bool, lastModified: str, itemsPreview: list[dict[str, Any]]}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
    }
    """
    ...
/**
 * Search collections (curated lists, reading lists) by title or description words, owner, or a
 * contained model, dataset, Space or paper. Sort by trending, upvotes or last update. Returns a
 * page of collection URIs with item previews. See hf_collection_get.
 */
declare function hf_collections_search(args: {
  // Title/description substring (try shorter or singular keywords if empty).
  query?: string;
  // Only collections of these users/orgs (names or profile uris; max 10).
  ownersAny?: string[];
  // Only collections containing this repo or paper (hf:// uri or ID).
  contains?: string;
  // Ordering. @default "trending"
  sort?: "trending" | "upvotes" | "lastModified";
  // Collections per page (max 100). @default 10
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "collection"; id: string; uri: string; url: string; title?: string; description?: string; owner?: string; upvotes?: number; private?: boolean; gated?: boolean; lastModified?: string; itemsPreview: Record<string, unknown>[]; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "description": "Title/description substring (try shorter or singular keywords if empty).",
   "type": "string"
  },
  "ownersAny": {
   "description": "Only collections of these users/orgs (names or profile uris; max 10).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "contains": {
   "description": "Only collections containing this repo or paper (hf:// uri or ID).",
   "type": "string"
  },
  "sort": {
   "default": "trending",
   "description": "Ordering.",
   "type": "string",
   "enum": [
    "trending",
    "upvotes",
    "lastModified"
   ]
  },
  "limit": {
   "default": 10,
   "description": "Collections per page (max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "collection"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "description": {
      "type": "string"
     },
     "owner": {
      "type": "string"
     },
     "upvotes": {
      "type": "number"
     },
     "private": {
      "type": "boolean"
     },
     "gated": {
      "type": "boolean"
     },
     "lastModified": {
      "type": "string"
     },
     "itemsPreview": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "kind": {
         "type": "string"
        },
        "id": {
         "type": "string"
        },
        "uri": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       },
       "required": [
        "kind",
        "id",
        "uri",
        "url"
       ]
      },
      "description": "First few; full list via hf_collection_get."
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url",
     "itemsPreview"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/collections
hf_collection_get
anonymousread-only
replaces hf_fs
async def hf_collection_get(*, collection: str, includeHistory: bool = False) -> dict[str, Any]:
    """Read one collection (curated list, reading list) by slug, URL or hf:// URI. Returns title,
    description, owner and items with curator notes and item URIs, including models, datasets,
    Spaces, papers, buckets and nested collections. Optionally include recent change history. See
    hf_collections_search.

    Args:
        collection: hf://collections/OWNER/SLUG-ID, OWNER/SLUG-ID or collection URL.
        includeHistory: Also return recent change history (up to 100 entries).

    Returns: {
        kind: Literal["collection"],
        id: str,
        uri: str,
        url: str,
        title: str,
        description: str,
        owner: str,
        upvotes: float,
        private: bool,
        gated: bool,
        lastModified: str,
        items: list[{kind: str, id: str, uri: str, url: str, title: str, note: str, position: float, likes: float, upvotes: float, downloads: float, pipelineTag: str}],
        returnedCount: int,
        history: list[{action: str, item: dict[str, Any], createdAt: str, author: str}],
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, total: int, skippedItems: int, numHistory: int},
    }
    """
    ...
/**
 * Read one collection (curated list, reading list) by slug, URL or hf:// URI. Returns title,
 * description, owner and items with curator notes and item URIs, including models, datasets,
 * Spaces, papers, buckets and nested collections. Optionally include recent change history. See
 * hf_collections_search.
 */
declare function hf_collection_get(args: {
  // hf://collections/OWNER/SLUG-ID, OWNER/SLUG-ID or collection URL.
  collection: string;
  // Also return recent change history (up to 100 entries). @default false
  includeHistory?: boolean;
}): Promise<{
  kind: "collection";
  id: string;
  uri: string;
  url: string;
  title?: string;
  description?: string;
  owner?: string;
  upvotes?: number;
  private?: boolean;
  gated?: boolean;
  lastModified?: string;
  items: Array<{ kind: string; id: string; uri: string; url: string; title?: string; note?: string; position?: number; likes?: number; upvotes?: number; downloads?: number; pipelineTag?: string; }>;
  returnedCount: number;
  history?: Array<{ action: string; item?: Record<string, unknown>; createdAt?: string; author?: string; }>;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; total: number; skippedItems?: number; numHistory?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "collection": {
   "type": "string",
   "description": "hf://collections/OWNER/SLUG-ID, OWNER/SLUG-ID or collection URL."
  },
  "includeHistory": {
   "default": false,
   "description": "Also return recent change history (up to 100 entries).",
   "type": "boolean"
  }
 },
 "required": [
  "collection"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "collection"
  },
  "id": {
   "type": "string"
  },
  "uri": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "title": {
   "type": "string"
  },
  "description": {
   "type": "string"
  },
  "owner": {
   "type": "string"
  },
  "upvotes": {
   "type": "number"
  },
  "private": {
   "type": "boolean"
  },
  "gated": {
   "type": "boolean"
  },
  "lastModified": {
   "type": "string"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "note": {
      "type": "string"
     },
     "position": {
      "type": "number"
     },
     "likes": {
      "type": "number"
     },
     "upvotes": {
      "type": "number"
     },
     "downloads": {
      "type": "number"
     },
     "pipelineTag": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "history": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "action": {
      "type": "string"
     },
     "item": {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string"
       },
       "id": {
        "type": "string"
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url"
      ]
     },
     "createdAt": {
      "type": "string"
     },
     "author": {
      "type": "string"
     }
    },
    "required": [
     "action"
    ]
   }
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "total": {
     "type": "integer",
     "description": "Upstream items, including skipped ones."
    },
    "skippedItems": {
     "description": "Unsupported types (e.g. kernels) or malformed IDs, left out.",
     "type": "integer"
    },
    "numHistory": {
     "type": "integer"
    }
   },
   "required": [
    "hasMore",
    "total"
   ]
  }
 },
 "required": [
  "kind",
  "id",
  "uri",
  "url",
  "items",
  "returnedCount",
  "completeness"
 ]
}
GET /api/collections/{namespace}/{slug}-{id}
…/history

Documentation (2)

ToolDefinitionEndpoints
hf_docs_search
anonymousread-only
replaces hf_fs
async def hf_docs_search(
    *,
    query: str,
    product: str | None = None,
    scope: str | None = None,
    limit: int = 10,
) -> dict[str, Any]:
    """Search Hugging Face documentation (docs, how-to guides, API reference) by question or keywords.
    Find relevant pages for products such as Transformers, Hub or PEFT, optionally restricting
    results to a product or documentation folder. Returns page URIs with section anchors and
    excerpts when available; results are bounded search candidates. Then hf_docs_read.

    Args:
        query: Question or keywords, e.g. "load a LoRA adapter".
        product: Docs product, e.g. transformers, hub, peft (see hf_docs_read).
        scope: hf://docs/PRODUCT[/PATH] to search one folder; overrides product.
        limit: Maximum hits (max 25).

    Returns: {
        items: list[{kind: Literal["doc"], id: str, uri: str, url: str, title: str, anchor: str, excerpt: str, category: str}],
        returnedCount: int,
        nextCursor: None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
    }
    """
    ...
/**
 * Search Hugging Face documentation (docs, how-to guides, API reference) by question or keywords.
 * Find relevant pages for products such as Transformers, Hub or PEFT, optionally restricting
 * results to a product or documentation folder. Returns page URIs with section anchors and
 * excerpts when available; results are bounded search candidates. Then hf_docs_read.
 */
declare function hf_docs_search(args: {
  // Question or keywords, e.g. "load a LoRA adapter".
  query: string;
  // Docs product, e.g. transformers, hub, peft (see hf_docs_read).
  product?: string;
  // hf://docs/PRODUCT[/PATH] to search one folder; overrides product.
  scope?: string;
  // Maximum hits (max 25). @default 10
  limit?: number;
}): Promise<{
  items: Array<{ kind: "doc"; id: string; uri: string; url: string; title?: string; anchor?: string; excerpt?: string; category?: string; }>;
  returnedCount: number;
  nextCursor: null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Question or keywords, e.g. \"load a LoRA adapter\"."
  },
  "product": {
   "description": "Docs product, e.g. transformers, hub, peft (see hf_docs_read).",
   "type": "string"
  },
  "scope": {
   "description": "hf://docs/PRODUCT[/PATH] to search one folder; overrides product.",
   "type": "string"
  },
  "limit": {
   "default": 10,
   "description": "Maximum hits (max 25).",
   "type": "integer"
  }
 },
 "required": [
  "query"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "doc"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "anchor": {
      "type": "string"
     },
     "excerpt": {
      "type": "string"
     },
     "category": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": "null"
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/docs/search
GET /api/docs/search/full-text (domain scope)
hf_docs_read
anonymousread-only
replaces hf_fs
async def hf_docs_read(
    *,
    uri: str | None = None,
    glob: str | None = None,
    offset: int | None = 0,
    maxBytes: int = 20000,
    limit: int = 200,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Read Hugging Face documentation pages (docs, guides, sections) by URI or URL. Returns page text
    or an anchored section as Markdown. Supply a product name to browse its page index, optionally
    filtered by a page-path glob, or omit the URI to list documentation products. Continue page text
    with nextOffset or the index with nextCursor. See hf_docs_search.

    Args:
        uri: hf://docs/PRODUCT[/PAGE.md], product, docs URL, or /.well-known/openapi.md.
        glob: Index mode: glob over page paths, e.g. "**/quicktour*".
        offset: Page mode: byte offset to start from (use nextOffset).
        maxBytes: Page mode: maximum bytes of Markdown (default 20000, max 80000).
        limit: Index mode: maximum pages listed (max 1000).
        cursor: Index mode: nextCursor from a previous call.

    Returns: {
        mode: Literal["products", "index", "page"],  # products, index: items; page: content.
        uri: str,
        items: list[{kind: Literal["doc"], id: str, uri: str, url: str, title: str, anchor: str, excerpt: str, category: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
        kind: Literal["doc"],
        id: str,
        url: str,
        section: str,
        content: str,
        offset: int,
        bytes: int,
        nextOffset: int | None,
    }
    """
    ...
/**
 * Read Hugging Face documentation pages (docs, guides, sections) by URI or URL. Returns page text
 * or an anchored section as Markdown. Supply a product name to browse its page index, optionally
 * filtered by a page-path glob, or omit the URI to list documentation products. Continue page text
 * with nextOffset or the index with nextCursor. See hf_docs_search.
 */
declare function hf_docs_read(args: {
  // hf://docs/PRODUCT[/PAGE.md], product, docs URL, or /.well-known/openapi.md.
  uri?: string;
  // Index mode: glob over page paths, e.g. "**/quicktour*".
  glob?: string;
  // Page mode: byte offset to start from (use nextOffset). @default 0
  offset?: number | null;
  // Page mode: maximum bytes of Markdown (default 20000, max 80000). @default 20000
  maxBytes?: number;
  // Index mode: maximum pages listed (max 1000). @default 200
  limit?: number;
  // Index mode: nextCursor from a previous call.
  cursor?: string | null;
}): Promise<{
  // products, index: items; page: content.
  mode: "products" | "index" | "page";
  uri: string;
  items?: Array<{ kind: "doc"; id: string; uri: string; url: string; title?: string; anchor?: string; excerpt?: string; category?: string; }>;
  returnedCount?: number;
  nextCursor?: string | null;
  completeness?: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
  kind?: "doc";
  id?: string;
  url?: string;
  section?: string;
  content?: string;
  offset?: number;
  bytes?: number;
  nextOffset?: number | null;
}>;
input schema
{
 "type": "object",
 "properties": {
  "uri": {
   "description": "hf://docs/PRODUCT[/PAGE.md], product, docs URL, or /.well-known/openapi.md.",
   "type": "string"
  },
  "glob": {
   "description": "Index mode: glob over page paths, e.g. \"**/quicktour*\".",
   "type": "string"
  },
  "offset": {
   "default": 0,
   "description": "Page mode: byte offset to start from (use nextOffset).",
   "type": [
    "integer",
    "null"
   ]
  },
  "maxBytes": {
   "default": 20000,
   "description": "Page mode: maximum bytes of Markdown (default 20000, max 80000).",
   "type": "integer"
  },
  "limit": {
   "default": 200,
   "description": "Index mode: maximum pages listed (max 1000).",
   "type": "integer"
  },
  "cursor": {
   "description": "Index mode: nextCursor from a previous call.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "mode": {
   "type": "string",
   "enum": [
    "products",
    "index",
    "page"
   ],
   "description": "products, index: items; page: content."
  },
  "uri": {
   "type": "string"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "doc"
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "anchor": {
      "type": "string"
     },
     "excerpt": {
      "type": "string"
     },
     "category": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  },
  "kind": {
   "type": "string",
   "const": "doc"
  },
  "id": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "section": {
   "type": "string"
  },
  "content": {
   "type": "string"
  },
  "offset": {
   "type": "integer"
  },
  "bytes": {
   "type": "integer"
  },
  "nextOffset": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  }
 },
 "required": [
  "mode",
  "uri"
 ]
}
GET /api/docs
GET /docs/{product}/llms.txt
GET /docs/{product}/{version}/{page}.md

Callable Spaces (2)

ToolDefinitionEndpoints
hf_space_tools
anonymousread-only
replaces dynamic_space
async def hf_space_tools(*, space: str) -> dict[str, Any]:
    """Inspect Hugging Face Space MCP tools (MCP endpoint only, not plain Gradio API routes) before
    calling a Space. Select a Space by ID, URI or URL to get tool names, descriptions, argument
    schemas and file inputs that accept public URLs. Reports runtime stage, SDK and hardware; some
    Spaces tagged mcp-server expose no MCP tools (for Gradio-only Spaces inspect app.py with
    hf_repo_read_text). Then hf_space_invoke.

    Args:
        space: Space: hf://spaces/owner/name (preferred), owner/name or URL.

    Returns: {
        space: {kind: str, id: str, uri: str, url: str, sdk: str, stage: str, running: bool, hardware: str},
        tools: list[{name: str, description: str, inputSchema: dict[str, Any], fileInputs: list[str], locallyValidated: bool, schemaOmitted: bool}],
        returnedCount: int,
        truncated: bool,  # More tools exist than were returned.
        note: str,
    }
    """
    ...
/**
 * Inspect Hugging Face Space MCP tools (MCP endpoint only, not plain Gradio API routes) before
 * calling a Space. Select a Space by ID, URI or URL to get tool names, descriptions, argument
 * schemas and file inputs that accept public URLs. Reports runtime stage, SDK and hardware; some
 * Spaces tagged mcp-server expose no MCP tools (for Gradio-only Spaces inspect app.py with
 * hf_repo_read_text). Then hf_space_invoke.
 */
declare function hf_space_tools(args: {
  // Space: hf://spaces/owner/name (preferred), owner/name or URL.
  space: string;
}): Promise<{
  space: { kind: string; id: string; uri: string; url: string; sdk?: string; stage?: string; running: boolean; hardware?: string; };
  tools: Array<{ name: string; description: string; inputSchema: Record<string, unknown>; fileInputs: string[]; locallyValidated: boolean; schemaOmitted?: boolean; }>;
  returnedCount: number;
  // More tools exist than were returned.
  truncated: boolean;
  note?: string;
}>;
input schema
{
 "type": "object",
 "properties": {
  "space": {
   "type": "string",
   "description": "Space: hf://spaces/owner/name (preferred), owner/name or URL."
  }
 },
 "required": [
  "space"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "space": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "sdk": {
     "type": "string"
    },
    "stage": {
     "type": "string"
    },
    "running": {
     "type": "boolean"
    },
    "hardware": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url",
    "running"
   ]
  },
  "tools": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "description": "Pass as tool to hf_space_invoke."
     },
     "description": {
      "type": "string"
     },
     "inputSchema": {
      "type": "object"
     },
     "fileInputs": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Parameters that take a file: pass a public http(s) URL as the value."
     },
     "locallyValidated": {
      "type": "boolean",
      "description": "False: arguments are passed through unchecked."
     },
     "schemaOmitted": {
      "description": "Too large to return; see the Space docs.",
      "type": "boolean"
     }
    },
    "required": [
     "name",
     "description",
     "inputSchema",
     "fileInputs",
     "locallyValidated"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "truncated": {
   "type": "boolean",
   "description": "More tools exist than were returned."
  },
  "note": {
   "type": "string"
  }
 },
 "required": [
  "space",
  "tools",
  "returnedCount",
  "truncated"
 ]
}
GET /api/spaces/{id}?expand=subdomain&expand=runtime
GET https://{sub}.hf.space/gradio_api/mcp/schema
hf_space_invoke
anonymousmutating
replaces dynamic_space
async def hf_space_invoke(*, space: str, tool: str, arguments: dict[str, Any] = {}) -> dict[str, Any]:
    """Run Hugging Face Space tools (Gradio apps, AI demos) by exact tool name and JSON arguments.
    Select a Space by ID, URI or URL and supply arguments matching its input schema, with file
    inputs as public HTTP(S) URLs. Results include text, any image, audio or file content returned,
    warnings and a tool error indicator. The call runs the remote app, which may have side effects;
    ZeroGPU calls use the caller's quota. See hf_space_tools.

    Args:
        space: Space to run: hf://spaces/owner/name (preferred), "owner/name", or a Space URL.
        tool: Exact tool name from hf_space_tools.
        arguments: Arguments matching the tool's inputSchema; files as public http(s) URLs.

    Returns: {
        space: {kind: str, id: str, uri: str, url: str},
        tool: str,
        isError: bool,  # The error message is in text.
        text: str,  # About 20,000 characters at most.
        textTruncated: bool,
        media: list[{type: Literal["image", "audio", "resource_link", "resource"], mimeType: str, uri: str}],  # 8 MiB of media in total; includes links to Gradio file outputs found in text.
        warnings: list[str],
    }
    """
    ...
/**
 * Run Hugging Face Space tools (Gradio apps, AI demos) by exact tool name and JSON arguments.
 * Select a Space by ID, URI or URL and supply arguments matching its input schema, with file
 * inputs as public HTTP(S) URLs. Results include text, any image, audio or file content returned,
 * warnings and a tool error indicator. The call runs the remote app, which may have side effects;
 * ZeroGPU calls use the caller's quota. See hf_space_tools.
 */
declare function hf_space_invoke(args: {
  // Space to run: hf://spaces/owner/name (preferred), "owner/name", or a Space URL.
  space: string;
  // Exact tool name from hf_space_tools.
  tool: string;
  // Arguments matching the tool's inputSchema; files as public http(s) URLs. @default {}
  arguments?: Record<string, unknown>;
}): Promise<{
  space: { kind: string; id: string; uri: string; url: string; };
  tool: string;
  // The error message is in text.
  isError: boolean;
  // About 20,000 characters at most.
  text: string;
  textTruncated: boolean;
  // 8 MiB of media in total; includes links to Gradio file outputs found in text.
  media: Array<{ type: "image" | "audio" | "resource_link" | "resource"; mimeType?: string; uri?: string; }>;
  warnings: string[];
}>;
input schema
{
 "type": "object",
 "properties": {
  "space": {
   "type": "string",
   "description": "Space to run: hf://spaces/owner/name (preferred), \"owner/name\", or a Space URL."
  },
  "tool": {
   "type": "string",
   "description": "Exact tool name from hf_space_tools."
  },
  "arguments": {
   "default": {},
   "description": "Arguments matching the tool's inputSchema; files as public http(s) URLs.",
   "type": "object",
   "additionalProperties": {}
  }
 },
 "required": [
  "space",
  "tool"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "space": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "tool": {
   "type": "string"
  },
  "isError": {
   "type": "boolean",
   "description": "The error message is in text."
  },
  "text": {
   "type": "string",
   "description": "About 20,000 characters at most."
  },
  "textTruncated": {
   "type": "boolean"
  },
  "media": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string",
      "enum": [
       "image",
       "audio",
       "resource_link",
       "resource"
      ]
     },
     "mimeType": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     }
    },
    "required": [
     "type"
    ]
   },
   "description": "8 MiB of media in total; includes links to Gradio file outputs found in text."
  },
  "warnings": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 },
 "required": [
  "space",
  "tool",
  "isError",
  "text",
  "textTruncated",
  "media",
  "warnings"
 ]
}
POST https://{sub}.hf.space/gradio_api/mcp/ (tools/call)

Account & repository writes (3)

ToolDefinitionEndpoints
hf_whoami
anonymousread-only
replaces hf_whoami
async def hf_whoami() -> dict[str, Any]:
    """Check whether you are signed in to Hugging Face and as whom: signedIn, username (account.name),
    Hub account ID, type, profile URL and PRO status. Returns organization memberships
    (organizations[].name is the handle) with role, plan, access restrictions and resource groups,
    plus the credential: token role and fine-grained permissions, OAuth scopes and expiry, or app
    token entities. Signed out (no or rejected token): null account and credential, with sign-in
    guidance. Use account.name as the owner for my models, datasets or Spaces. The token value stays
    hidden.

    Returns: {
        signedIn: bool,
        account: {id: str, type: Literal["user", "org", "app"], name: str, url: str, isPro: bool} | None,  # null when signed out.
        organizations: list[{id: str, name: str, displayName: str, url: str, role: str, plan: str, securityRestrictions: list[str], resourceGroups: list[dict[str, Any]]}],
        credential: {type: Literal["personal_access_token"], role: Literal["read", "write", "fine_grained"], createdAt: str, fineGrained: dict[str, Any]} | {type: Literal["oauth"], expiresAt: str, scopes: list[str]} | {type: Literal["app_token"], role: str, entities: list[dict[str, Any]]} | {type: Literal["other"], expiresAt: str} | None,  # The current credential (type, role, scopes); never its value. null when signed out.
        guidance: str,  # Only when signed out: how to sign in.
    }
    """
    ...
/**
 * Check whether you are signed in to Hugging Face and as whom: signedIn, username (account.name),
 * Hub account ID, type, profile URL and PRO status. Returns organization memberships
 * (organizations[].name is the handle) with role, plan, access restrictions and resource groups,
 * plus the credential: token role and fine-grained permissions, OAuth scopes and expiry, or app
 * token entities. Signed out (no or rejected token): null account and credential, with sign-in
 * guidance. Use account.name as the owner for my models, datasets or Spaces. The token value stays
 * hidden.
 */
declare function hf_whoami(): Promise<{
  signedIn: boolean;
  // null when signed out.
  account: { id: string; type: "user" | "org" | "app"; name: string; url?: string; isPro?: boolean; } | null;
  organizations: Array<{ id: string; name: string; displayName: string; url: string; role?: string; plan?: string; securityRestrictions?: string[]; resourceGroups?: Record<string, unknown>[]; }>;
  // The current credential (type, role, scopes); never its value. null when signed out.
  credential: { type: "personal_access_token"; role: "read" | "write" | "fine_grained"; createdAt?: string; fineGrained?: Record<string, unknown>; } | { type: "oauth"; expiresAt?: string; scopes?: string[]; } | { type: "app_token"; role?: string; entities: Record<string, unknown>[]; } | { type: "other"; expiresAt?: string; } | null;
  // Only when signed out: how to sign in.
  guidance?: string;
}>;
input schema
{
 "type": "object",
 "properties": {},
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "signedIn": {
   "type": "boolean"
  },
  "account": {
   "anyOf": [
    {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "type": {
       "type": "string",
       "enum": [
        "user",
        "org",
        "app"
       ]
      },
      "name": {
       "type": "string",
       "description": "Username: use as namespace, author or owner."
      },
      "url": {
       "type": "string"
      },
      "isPro": {
       "type": "boolean"
      }
     },
     "required": [
      "id",
      "type",
      "name"
     ]
    },
    {
     "type": "null"
    }
   ],
   "description": "null when signed out."
  },
  "organizations": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string",
      "description": "Organization handle: use as namespace or author."
     },
     "displayName": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "role": {
      "type": "string"
     },
     "plan": {
      "type": "string"
     },
     "securityRestrictions": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "resourceGroups": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string"
        },
        "name": {
         "type": "string"
        },
        "role": {
         "type": "string"
        }
       },
       "required": [
        "id",
        "name",
        "role"
       ]
      }
     }
    },
    "required": [
     "id",
     "name",
     "displayName",
     "url"
    ]
   }
  },
  "credential": {
   "anyOf": [
    {
     "oneOf": [
      {
       "type": "object",
       "properties": {
        "type": {
         "type": "string",
         "const": "personal_access_token"
        },
        "role": {
         "type": "string",
         "enum": [
          "read",
          "write",
          "fine_grained"
         ]
        },
        "createdAt": {
         "type": "string"
        },
        "fineGrained": {
         "type": "object",
         "description": "Only for fine_grained tokens."
        }
       },
       "required": [
        "type",
        "role"
       ]
      },
      {
       "type": "object",
       "properties": {
        "type": {
         "type": "string",
         "const": "oauth"
        },
        "expiresAt": {
         "type": "string"
        },
        "scopes": {
         "description": "Absent when the scope claim could not be read.",
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       },
       "required": [
        "type"
       ]
      },
      {
       "type": "object",
       "properties": {
        "type": {
         "type": "string",
         "const": "app_token"
        },
        "role": {
         "type": "string"
        },
        "entities": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "type": {
            "type": "string",
            "enum": [
             "model",
             "dataset",
             "space",
             "bucket",
             "container",
             "kernel",
             "org"
            ]
           },
           "name": {
            "type": "string"
           }
          },
          "required": [
           "name"
          ]
         }
        }
       },
       "required": [
        "type",
        "entities"
       ]
      },
      {
       "type": "object",
       "properties": {
        "type": {
         "type": "string",
         "const": "other"
        },
        "expiresAt": {
         "type": "string"
        }
       },
       "required": [
        "type"
       ]
      }
     ]
    },
    {
     "type": "null"
    }
   ],
   "description": "The current credential (type, role, scopes); never its value. null when signed out."
  },
  "guidance": {
   "description": "Only when signed out: how to sign in.",
   "type": "string"
  }
 },
 "required": [
  "signedIn",
  "account",
  "organizations",
  "credential"
 ]
}
GET /api/whoami-v2
hf_repo_create
canCreateReposmutating
replaces create_repo
async def hf_repo_create(
    *,
    repo: str,
    private: bool | None = None,
    sdk: Literal["gradio", "docker", "static"] | None = None,
    flavor: str | None = None,
    source: str | None = None,
) -> dict[str, Any]:
    """Create Hugging Face repositories (model, dataset, Space) or a storage bucket by owner and name.
    Duplicate an existing model, dataset or Space into the same repository type. Choose public or
    private visibility, a Gradio, Docker or static app SDK, and optional Space GPU hardware. Returns
    the repository ID, URI and URL. Paid Space hardware bills the owner from creation.

    Args:
        repo: New repository, e.g. hf://spaces/OWNER/NAME (bare OWNER/NAME = model).
        private: Visibility (default public, or the source's when duplicating).
        sdk: Space SDK (default static, or gradio with zero-a10g).
        flavor: Space flavor, e.g. zero-a10g (PRO), t4-small; paid flavors bill at once.
        source: Repository to duplicate (same type as repo) instead of creating empty.

    Returns: {
        action: Literal["created", "duplicated"],
        repo: {kind: str, id: str, uri: str, url: str},
        source: dict[str, Any],
        sdk: str,
        runtime: {stage: str, hardware: {requested: str, current: str}, confirmed: bool},  # Only when flavor was set.
        copyStatus: {pending: bool, numFiles: float, filesCopied: float},  # Duplication: polled once; files may still be copying.
    }
    """
    ...
/**
 * Create Hugging Face repositories (model, dataset, Space) or a storage bucket by owner and name.
 * Duplicate an existing model, dataset or Space into the same repository type. Choose public or
 * private visibility, a Gradio, Docker or static app SDK, and optional Space GPU hardware. Returns
 * the repository ID, URI and URL. Paid Space hardware bills the owner from creation.
 */
declare function hf_repo_create(args: {
  // New repository, e.g. hf://spaces/OWNER/NAME (bare OWNER/NAME = model).
  repo: string;
  // Visibility (default public, or the source's when duplicating).
  private?: boolean;
  // Space SDK (default static, or gradio with zero-a10g).
  sdk?: "gradio" | "docker" | "static";
  // Space flavor, e.g. zero-a10g (PRO), t4-small; paid flavors bill at once.
  flavor?: string;
  // Repository to duplicate (same type as repo) instead of creating empty.
  source?: string;
}): Promise<{
  action: "created" | "duplicated";
  repo: { kind: string; id: string; uri: string; url: string; };
  source?: Record<string, unknown>;
  sdk?: string;
  // Only when flavor was set.
  runtime?: { stage?: string; hardware: { requested: string; current?: string; }; confirmed: boolean; };
  // Duplication: polled once; files may still be copying.
  copyStatus?: { pending: boolean; numFiles?: number; filesCopied?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "New repository, e.g. hf://spaces/OWNER/NAME (bare OWNER/NAME = model)."
  },
  "private": {
   "description": "Visibility (default public, or the source's when duplicating).",
   "type": "boolean"
  },
  "sdk": {
   "description": "Space SDK (default static, or gradio with zero-a10g).",
   "type": "string",
   "enum": [
    "gradio",
    "docker",
    "static"
   ]
  },
  "flavor": {
   "description": "Space flavor, e.g. zero-a10g (PRO), t4-small; paid flavors bill at once.",
   "type": "string"
  },
  "source": {
   "description": "Repository to duplicate (same type as repo) instead of creating empty.",
   "type": "string"
  }
 },
 "required": [
  "repo"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "action": {
   "type": "string",
   "enum": [
    "created",
    "duplicated"
   ]
  },
  "repo": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "source": {
   "type": "object"
  },
  "sdk": {
   "type": "string"
  },
  "runtime": {
   "description": "Only when flavor was set.",
   "type": "object",
   "properties": {
    "stage": {
     "type": "string"
    },
    "hardware": {
     "type": "object",
     "properties": {
      "requested": {
       "type": "string"
      },
      "current": {
       "type": "string"
      }
     },
     "required": [
      "requested"
     ]
    },
    "confirmed": {
     "type": "boolean"
    }
   },
   "required": [
    "hardware",
    "confirmed"
   ]
  },
  "copyStatus": {
   "description": "Duplication: polled once; files may still be copying.",
   "type": "object",
   "properties": {
    "pending": {
     "type": "boolean"
    },
    "numFiles": {
     "type": "number"
    },
    "filesCopied": {
     "type": "number"
    }
   },
   "required": [
    "pending"
   ]
  }
 },
 "required": [
  "action",
  "repo"
 ]
}
POST /api/repos/create
POST /api/buckets/{ns}/{name}
POST /api/{t}/{id}/duplicate + GET …/duplicate/status
hf_repo_write_files
canWriteFilesdestructive
replaces hf_fs_write
async def hf_repo_write_files(
    *,
    repo: str,
    changes: list[dict[str, Any]],
    message: str,
    revision: str | None = None,
    createPr: bool = False,
    description: str | None = None,
    parentCommit: str | None = None,
) -> dict[str, Any]:
    """Upload and save files to a model, dataset or Space repository or storage bucket. Create,
    overwrite, rename, move or delete paths using text or base64 content. Repository changes can
    target a branch or open a pull request. Overwriting replaces file content; deleting removes
    files.

    Args:
        repo: Target repository or bucket, e.g. hf://spaces/owner/app[@branch].
        changes: One commit (max 100 ops): put (path, text|base64), delete (path), move.
        message: Commit title.
        revision: Target branch (default main). Not for buckets.
        createPr: Open a pull request instead of committing to the branch.
        description: Commit or pull request description.
        parentCommit: Fail if the branch head moved past this commit SHA (optimistic concurrency).

    Returns: {
        repo: {kind: str, id: str, uri: str, url: str},
        revision: str,
        commit: {oid: str, url: str},
        pullRequestUrl: str,
        changes: list[{op: Literal["put", "delete", "move"], path: str, from: str, bytes: int, file: dict[str, Any]}],
    }
    """
    ...
/**
 * Upload and save files to a model, dataset or Space repository or storage bucket. Create,
 * overwrite, rename, move or delete paths using text or base64 content. Repository changes can
 * target a branch or open a pull request. Overwriting replaces file content; deleting removes
 * files.
 */
declare function hf_repo_write_files(args: {
  // Target repository or bucket, e.g. hf://spaces/owner/app[@branch].
  repo: string;
  // One commit (max 100 ops): put (path, text|base64), delete (path), move.
  changes: Array<{ op: "put"; path: string; text?: string; base64?: string; } | { op: "delete"; path: string; } | { op: "move"; from: string; to: string; }>;
  // Commit title.
  message: string;
  // Target branch (default main). Not for buckets.
  revision?: string;
  // Open a pull request instead of committing to the branch. @default false
  createPr?: boolean;
  // Commit or pull request description.
  description?: string;
  // Fail if the branch head moved past this commit SHA (optimistic concurrency).
  parentCommit?: string;
}): Promise<{
  repo: { kind: string; id: string; uri: string; url: string; };
  revision?: string;
  commit?: { oid: string; url: string; };
  pullRequestUrl?: string;
  changes: Array<{ op: "put" | "delete" | "move"; path: string; from?: string; bytes?: number; file?: Record<string, unknown>; }>;
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "Target repository or bucket, e.g. hf://spaces/owner/app[@branch]."
  },
  "changes": {
   "type": "array",
   "items": {
    "oneOf": [
     {
      "type": "object",
      "properties": {
       "op": {
        "type": "string",
        "const": "put"
       },
       "path": {
        "type": "string",
        "description": "File path inside the repository, e.g. \"src/app.py\"."
       },
       "text": {
        "description": "UTF-8 file content.",
        "type": "string"
       },
       "base64": {
        "description": "Binary file content as standard base64.",
        "type": "string"
       }
      },
      "required": [
       "op",
       "path"
      ],
      "additionalProperties": false
     },
     {
      "type": "object",
      "properties": {
       "op": {
        "type": "string",
        "const": "delete"
       },
       "path": {
        "type": "string",
        "description": "File path inside the repository, e.g. \"src/app.py\"."
       }
      },
      "required": [
       "op",
       "path"
      ],
      "additionalProperties": false
     },
     {
      "type": "object",
      "properties": {
       "op": {
        "type": "string",
        "const": "move"
       },
       "from": {
        "type": "string",
        "description": "Existing file path."
       },
       "to": {
        "type": "string",
        "description": "New file path."
       }
      },
      "required": [
       "op",
       "from",
       "to"
      ],
      "additionalProperties": false
     }
    ]
   },
   "description": "One commit (max 100 ops): put (path, text|base64), delete (path), move."
  },
  "message": {
   "type": "string",
   "description": "Commit title."
  },
  "revision": {
   "description": "Target branch (default main). Not for buckets.",
   "type": "string"
  },
  "createPr": {
   "default": false,
   "description": "Open a pull request instead of committing to the branch.",
   "type": "boolean"
  },
  "description": {
   "description": "Commit or pull request description.",
   "type": "string"
  },
  "parentCommit": {
   "description": "Fail if the branch head moved past this commit SHA (optimistic concurrency).",
   "type": "string"
  }
 },
 "required": [
  "repo",
  "changes",
  "message"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "revision": {
   "type": "string"
  },
  "commit": {
   "type": "object",
   "properties": {
    "oid": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "oid",
    "url"
   ]
  },
  "pullRequestUrl": {
   "type": "string"
  },
  "changes": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "op": {
      "type": "string",
      "enum": [
       "put",
       "delete",
       "move"
      ]
     },
     "path": {
      "type": "string"
     },
     "from": {
      "type": "string"
     },
     "bytes": {
      "type": "integer"
     },
     "file": {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string"
       },
       "id": {
        "type": "string"
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url"
      ]
     }
    },
    "required": [
     "op",
     "path"
    ]
   }
  }
 },
 "required": [
  "repo",
  "changes"
 ]
}
POST /api/{t}/{id}/preupload/{rev}
POST /api/{t}/{id}/commit/{rev}
POST /api/buckets/{id}/batch

People & community (read-only) (8)

ToolDefinitionEndpoints
hf_profile_get
anonymousread-only
new
async def hf_profile_get(
    *,
    handles: list[str],
    kind: Literal["user", "org"] | None = None,
    includeSocials: bool = True,
) -> dict[str, Any]:
    """Look up Hugging Face user or organization profiles by handle: full name, bio, avatar, follower
    and following counts, numbers of models, datasets and Spaces, organizations, plan and social
    links (GitHub, X/Twitter, LinkedIn). Accepts several handles at once; user vs organization is
    detected automatically. Counts come from the profile overview and may include items an anonymous
    listing cannot see. For the signed-in account see hf_whoami.

    Args:
        handles: Up to 20 usernames or organization names (or profile uris).
        kind: Skip auto-detection: look up only users or only organizations.
        includeSocials: Also fetch social profile links (one extra request per handle).

    Returns: {
        items: list[{kind: Literal["user", "org"], id: str, uri: str, url: str, fullname: str, bio: str, avatarUrl: str, isPro: bool, plan: str, verified: bool, createdAt: str, counts: dict[str, Any], organizations: list[dict[str, Any]], organizationsTruncated: Literal[True], numOrganizations: int, socials: dict[str, str]} | {ref: str, error: dict[str, Any]}],  # One per handle, in order: a profile or {ref, error}.
        returnedCount: float,
    }
    """
    ...
/**
 * Look up Hugging Face user or organization profiles by handle: full name, bio, avatar, follower
 * and following counts, numbers of models, datasets and Spaces, organizations, plan and social
 * links (GitHub, X/Twitter, LinkedIn). Accepts several handles at once; user vs organization is
 * detected automatically. Counts come from the profile overview and may include items an anonymous
 * listing cannot see. For the signed-in account see hf_whoami.
 */
declare function hf_profile_get(args: {
  // Up to 20 usernames or organization names (or profile uris).
  handles: string[];
  // Skip auto-detection: look up only users or only organizations.
  kind?: "user" | "org";
  // Also fetch social profile links (one extra request per handle). @default true
  includeSocials?: boolean;
}): Promise<{
  // One per handle, in order: a profile or {ref, error}.
  items: Array<{ kind: "user" | "org"; id: string; uri: string; url: string; fullname?: string; bio?: string; avatarUrl?: string; isPro?: boolean; plan?: string; verified?: boolean; createdAt?: string; counts: Record<string, unknown>; organizations?: Record<string, unknown>[]; organizationsTruncated?: true; numOrganizations?: number; socials?: Record<string, string>; } | { ref: string; error: Record<string, unknown>; }>;
  returnedCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "handles": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Up to 20 usernames or organization names (or profile uris)."
  },
  "kind": {
   "description": "Skip auto-detection: look up only users or only organizations.",
   "type": "string",
   "enum": [
    "user",
    "org"
   ]
  },
  "includeSocials": {
   "default": true,
   "description": "Also fetch social profile links (one extra request per handle).",
   "type": "boolean"
  }
 },
 "required": [
  "handles"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string",
        "enum": [
         "user",
         "org"
        ]
       },
       "id": {
        "type": "string"
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       },
       "fullname": {
        "type": "string"
       },
       "bio": {
        "type": "string"
       },
       "avatarUrl": {
        "type": "string"
       },
       "isPro": {
        "type": "boolean"
       },
       "plan": {
        "type": "string"
       },
       "verified": {
        "type": "boolean"
       },
       "createdAt": {
        "type": "string"
       },
       "counts": {
        "type": "object",
        "description": "May include private or gated items that listings do not show."
       },
       "organizations": {
        "description": "First 100; numOrganizations is the total when organizationsTruncated.",
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "kind": {
           "type": "string",
           "enum": [
            "user",
            "org"
           ]
          },
          "id": {
           "type": "string"
          },
          "uri": {
           "type": "string"
          },
          "url": {
           "type": "string"
          }
         },
         "required": [
          "kind",
          "id",
          "uri",
          "url"
         ]
        }
       },
       "organizationsTruncated": {
        "type": "boolean",
        "const": true
       },
       "numOrganizations": {
        "type": "integer"
       },
       "socials": {
        "type": "object",
        "additionalProperties": {
         "type": "string"
        }
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url",
       "counts"
      ]
     },
     {
      "type": "object",
      "properties": {
       "ref": {
        "type": "string"
       },
       "error": {
        "type": "object",
        "properties": {
         "code": {
          "type": "string"
         },
         "message": {
          "type": "string"
         }
        },
        "required": [
         "code",
         "message"
        ]
       }
      },
      "required": [
       "ref",
       "error"
      ]
     }
    ]
   },
   "description": "One per handle, in order: a profile or {ref, error}."
  },
  "returnedCount": {
   "type": "number"
  }
 },
 "required": [
  "items",
  "returnedCount"
 ]
}
GET /api/users/{u}/overview
GET /api/organizations/{o}/overview
GET /api/{users|organizations}/{h}/socials
hf_org_members
anonymousread-only
new
async def hf_org_members(
    *,
    handle: str,
    adminsOnly: bool = False,
    limit: int = 100,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """List the members of a Hugging Face organization (team, company or community org): usernames,
    full names, avatars, PRO status and roles where visible, with cursor paging. Set adminsOnly to
    list only the organization admins; that needs an access token (not OAuth) of an organization
    member. If the token is refused for the organization the public list is read anonymously and the
    result carries an access block explaining why (roles are then omitted). Member lists are bounded
    per call; continue with nextCursor. For the organization overview and member count see
    hf_profile_get.

    Args:
        handle: Organization: a username, organization name or profile uri.
        adminsOnly: List only admins (needs a member's access token; OAuth is not accepted).
        limit: Maximum items to return (default 100, max 500).
        cursor: nextCursor from a previous call (same args); large lists take 10s of pages.

    Returns: {
        items: list[{kind: Literal["user", "org"], id: str, uri: str, url: str, fullname: str, avatarUrl: str, isPro: bool, role: str, orgType: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
        access: {mode: Literal["anonymous-fallback"], reason: Literal["sso", "sso-welcome", "ip-allowlist", "token-policy", "token-revoked", "mfa", "oauth-bound-org", "token-invalid", "forbidden"], rolesOmitted: Literal[True], note: str},  # Present only when the token was refused and the page was read anonymously.
    }
    """
    ...
/**
 * List the members of a Hugging Face organization (team, company or community org): usernames,
 * full names, avatars, PRO status and roles where visible, with cursor paging. Set adminsOnly to
 * list only the organization admins; that needs an access token (not OAuth) of an organization
 * member. If the token is refused for the organization the public list is read anonymously and the
 * result carries an access block explaining why (roles are then omitted). Member lists are bounded
 * per call; continue with nextCursor. For the organization overview and member count see
 * hf_profile_get.
 */
declare function hf_org_members(args: {
  // Organization: a username, organization name or profile uri.
  handle: string;
  // List only admins (needs a member's access token; OAuth is not accepted). @default false
  adminsOnly?: boolean;
  // Maximum items to return (default 100, max 500). @default 100
  limit?: number;
  // nextCursor from a previous call (same args); large lists take 10s of pages.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "user" | "org"; id: string; uri: string; url: string; fullname?: string; avatarUrl?: string; isPro?: boolean; role?: string; orgType?: string; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
  // Present only when the token was refused and the page was read anonymously.
  access?: { mode: "anonymous-fallback"; reason: "sso" | "sso-welcome" | "ip-allowlist" | "token-policy" | "token-revoked" | "mfa" | "oauth-bound-org" | "token-invalid" | "forbidden"; rolesOmitted: true; note: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "handle": {
   "description": "Organization: a username, organization name or profile uri.",
   "type": "string"
  },
  "adminsOnly": {
   "default": false,
   "description": "List only admins (needs a member's access token; OAuth is not accepted).",
   "type": "boolean"
  },
  "limit": {
   "default": 100,
   "description": "Maximum items to return (default 100, max 500).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); large lists take 10s of pages.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "handle"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "user",
       "org"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "fullname": {
      "type": "string"
     },
     "avatarUrl": {
      "type": "string"
     },
     "isPro": {
      "type": "boolean"
     },
     "role": {
      "description": "admin, write, contributor or read; when visible to the token.",
      "type": "string"
     },
     "orgType": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  },
  "access": {
   "type": "object",
   "properties": {
    "mode": {
     "type": "string",
     "const": "anonymous-fallback"
    },
    "reason": {
     "type": "string",
     "enum": [
      "sso",
      "sso-welcome",
      "ip-allowlist",
      "token-policy",
      "token-revoked",
      "mfa",
      "oauth-bound-org",
      "token-invalid",
      "forbidden"
     ]
    },
    "rolesOmitted": {
     "type": "boolean",
     "const": true
    },
    "note": {
     "type": "string"
    }
   },
   "required": [
    "mode",
    "reason",
    "rolesOmitted",
    "note"
   ],
   "description": "Present only when the token was refused and the page was read anonymously."
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/organizations/{o}/members
GET /api/organizations/{o}/members/admins (token)
hf_follow_graph
anonymousread-only
new
async def hf_follow_graph(
    *,
    handle: str,
    relation: Literal["followers", "following", "following_orgs"] = "followers",
    kind: Literal["user", "org"] | None = None,
    limit: int = 100,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """List who follows a Hugging Face user or organization, or who a user follows (people, or
    organizations with following_orgs), with cursor paging. Returns usernames or organization names
    with full names, avatars and PRO status; each record uri is accepted by hf_profile_get. User vs
    organization is detected automatically; organizations only have followers. Use it to explore a
    community around an author or lab.

    Args:
        handle: User or organization: a username, organization name or profile uri.
        relation: followers, following, or organizations followed (users only).
        kind: Skip auto-detection of user vs organization.
        limit: Maximum items to return (default 100, max 500).
        cursor: nextCursor from a previous call (same args); large lists take 10s of pages.

    Returns: {
        items: list[{kind: Literal["user", "org"], id: str, uri: str, url: str, fullname: str, avatarUrl: str, isPro: bool, role: str, orgType: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
    }
    """
    ...
/**
 * List who follows a Hugging Face user or organization, or who a user follows (people, or
 * organizations with following_orgs), with cursor paging. Returns usernames or organization names
 * with full names, avatars and PRO status; each record uri is accepted by hf_profile_get. User vs
 * organization is detected automatically; organizations only have followers. Use it to explore a
 * community around an author or lab.
 */
declare function hf_follow_graph(args: {
  // User or organization: a username, organization name or profile uri.
  handle: string;
  // followers, following, or organizations followed (users only). @default "followers"
  relation?: "followers" | "following" | "following_orgs";
  // Skip auto-detection of user vs organization.
  kind?: "user" | "org";
  // Maximum items to return (default 100, max 500). @default 100
  limit?: number;
  // nextCursor from a previous call (same args); large lists take 10s of pages.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "user" | "org"; id: string; uri: string; url: string; fullname?: string; avatarUrl?: string; isPro?: boolean; role?: string; orgType?: string; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "handle": {
   "description": "User or organization: a username, organization name or profile uri.",
   "type": "string"
  },
  "relation": {
   "default": "followers",
   "description": "followers, following, or organizations followed (users only).",
   "type": "string",
   "enum": [
    "followers",
    "following",
    "following_orgs"
   ]
  },
  "kind": {
   "description": "Skip auto-detection of user vs organization.",
   "type": "string",
   "enum": [
    "user",
    "org"
   ]
  },
  "limit": {
   "default": 100,
   "description": "Maximum items to return (default 100, max 500).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); large lists take 10s of pages.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "handle"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "user",
       "org"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "fullname": {
      "type": "string"
     },
     "avatarUrl": {
      "type": "string"
     },
     "isPro": {
      "type": "boolean"
     },
     "role": {
      "description": "admin, write, contributor or read; when visible to the token.",
      "type": "string"
     },
     "orgType": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/users/{u}/followers|following|following/orgs
GET /api/organizations/{o}/followers
hf_user_likes
anonymousread-only
new
async def hf_user_likes(
    *,
    handle: str,
    kindsAny: list[Literal["model", "dataset", "space"]] | None = None,
    sort: Literal["recent", "likes", "downloads"] = "recent",
    limit: int = 50,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """List the models, datasets and Spaces a Hugging Face user has liked (favorites, bookmarks), most
    recent first with cursor paging, or ranked by the liked repositories' likes or downloads within
    a bounded window of the most recent likes. Filter by repository kind. Returns repository hf://
    URIs with the like date, ready for repository tools. For who liked a given repository see
    hf_repo_likers.

    Args:
        handle: User: a username, organization name or profile uri.
        kindsAny: Only these repository kinds (default: all).
        sort: recent (paged); likes/downloads rerank the 50 latest likes (no paging).
        limit: Maximum items to return (default 50, max 100).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        items: list[{kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str, likedAt: str, likes: float, downloads: float}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, pagesScanned: int, rowsScanned: int, rankingWindow: int},
    }
    """
    ...
/**
 * List the models, datasets and Spaces a Hugging Face user has liked (favorites, bookmarks), most
 * recent first with cursor paging, or ranked by the liked repositories' likes or downloads within
 * a bounded window of the most recent likes. Filter by repository kind. Returns repository hf://
 * URIs with the like date, ready for repository tools. For who liked a given repository see
 * hf_repo_likers.
 */
declare function hf_user_likes(args: {
  // User: a username, organization name or profile uri.
  handle: string;
  // Only these repository kinds (default: all).
  kindsAny?: Array<"model" | "dataset" | "space">;
  // recent (paged); likes/downloads rerank the 50 latest likes (no paging). @default "recent"
  sort?: "recent" | "likes" | "downloads";
  // Maximum items to return (default 50, max 100). @default 50
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; likedAt?: string; likes?: number; downloads?: number; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; pagesScanned?: number; rowsScanned?: number; rankingWindow?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "handle": {
   "description": "User: a username, organization name or profile uri.",
   "type": "string"
  },
  "kindsAny": {
   "description": "Only these repository kinds (default: all).",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "model",
     "dataset",
     "space"
    ]
   }
  },
  "sort": {
   "default": "recent",
   "description": "recent (paged); likes/downloads rerank the 50 latest likes (no paging).",
   "type": "string",
   "enum": [
    "recent",
    "likes",
    "downloads"
   ]
  },
  "limit": {
   "default": 50,
   "description": "Maximum items to return (default 50, max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "handle"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "model",
       "dataset",
       "space",
       "bucket"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "likedAt": {
      "type": "string"
     },
     "likes": {
      "description": "Popularity sorts only.",
      "type": "number"
     },
     "downloads": {
      "description": "Last 30 days; popularity sorts only.",
      "type": "number"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "pagesScanned": {
     "type": "integer"
    },
    "rowsScanned": {
     "type": "integer"
    },
    "rankingWindow": {
     "description": "Popularity sorts rank only this many most recent likes.",
     "type": "integer"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/users/{u}/likes
hf_repo_likers
anonymousread-only
new
async def hf_repo_likers(*, repo: str, limit: int = 100, cursor: str | None | None = None) -> dict[str, Any]:
    """List the users who liked a Hugging Face model, dataset or Space (its fans, likers, stargazers),
    most recent first, with cursor paging. Returns usernames, full names, avatars and PRO status;
    each record uri is accepted by hf_profile_get and hf_user_likes. The Hub returns the whole liker
    list at once, so each page re-reads it and applies the offset locally.

    Args:
        repo: Model, dataset or Space: hf:// uri (preferred), owner/name (models), or URL.
        limit: Maximum items to return (default 100, max 1000).
        cursor: nextCursor from a previous call (same args); large lists take 10s of pages.

    Returns: {
        items: list[{kind: Literal["user", "org"], id: str, uri: str, url: str, fullname: str, avatarUrl: str, isPro: bool, role: str, orgType: str}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str},
    }
    """
    ...
/**
 * List the users who liked a Hugging Face model, dataset or Space (its fans, likers, stargazers),
 * most recent first, with cursor paging. Returns usernames, full names, avatars and PRO status;
 * each record uri is accepted by hf_profile_get and hf_user_likes. The Hub returns the whole liker
 * list at once, so each page re-reads it and applies the offset locally.
 */
declare function hf_repo_likers(args: {
  // Model, dataset or Space: hf:// uri (preferred), owner/name (models), or URL.
  repo: string;
  // Maximum items to return (default 100, max 1000). @default 100
  limit?: number;
  // nextCursor from a previous call (same args); large lists take 10s of pages.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "user" | "org"; id: string; uri: string; url: string; fullname?: string; avatarUrl?: string; isPro?: boolean; role?: string; orgType?: string; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "Model, dataset or Space: hf:// uri (preferred), owner/name (models), or URL."
  },
  "limit": {
   "default": 100,
   "description": "Maximum items to return (default 100, max 1000).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call (same args); large lists take 10s of pages.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "repo"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "user",
       "org"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "fullname": {
      "type": "string"
     },
     "avatarUrl": {
      "type": "string"
     },
     "isPro": {
      "type": "boolean"
     },
     "role": {
      "description": "admin, write, contributor or read; when visible to the token.",
      "type": "string"
     },
     "orgType": {
      "type": "string"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/{type}s/{id}/likers
hf_activity
anonymousread-only
new
async def hf_activity(
    *,
    handle: str,
    kind: Literal["user", "org"] | None = None,
    typesAny: list[Literal["like", "update", "publish", "discussion", "upvote", "paper", "paper-daily", "paper-discussion", "collection", "article", "social-post"]] | None = None,
    limit: int = 50,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Recent public activity of a Hugging Face user or organization (feed, timeline): new and updated
    models, datasets and Spaces, likes, upvotes, papers, collections, articles, posts and
    discussions, newest first, with cursor paging. Filter by event type; pass typesAny: ["upvote"]
    alone to query the Hub upvotes feed directly (filter by targetType "paper" for upvoted papers).
    Each event links its target as an hf:// uri for follow-up calls. The feed is not exhaustive:
    counts derived from it are lower bounds. For commits of one repository see hf_repo_history.

    Args:
        handle: User or organization: a username, organization name or profile uri.
        kind: Skip auto-detection of user vs organization feed.
        typesAny: Filter by event type (single upvote/like/discussion/article queries Hub).
        limit: Maximum items to return (default 50, max 100).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        items: list[{type: str, createdAt: str, actor: str, org: str, target: dict[str, Any], targetType: str, title: str, discussion: dict[str, Any]}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, pagesScanned: int, rowsScanned: int},
    }
    """
    ...
/**
 * Recent public activity of a Hugging Face user or organization (feed, timeline): new and updated
 * models, datasets and Spaces, likes, upvotes, papers, collections, articles, posts and
 * discussions, newest first, with cursor paging. Filter by event type; pass typesAny: ["upvote"]
 * alone to query the Hub upvotes feed directly (filter by targetType "paper" for upvoted papers).
 * Each event links its target as an hf:// uri for follow-up calls. The feed is not exhaustive:
 * counts derived from it are lower bounds. For commits of one repository see hf_repo_history.
 */
declare function hf_activity(args: {
  // User or organization: a username, organization name or profile uri.
  handle: string;
  // Skip auto-detection of user vs organization feed.
  kind?: "user" | "org";
  // Filter by event type (single upvote/like/discussion/article queries Hub).
  typesAny?: Array<"like" | "update" | "publish" | "discussion" | "upvote" | "paper" | "paper-daily" | "paper-discussion" | "collection" | "article" | "social-post">;
  // Maximum items to return (default 50, max 100). @default 50
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  items: Array<{ type: string; createdAt?: string; actor?: string; org?: string; target?: Record<string, unknown>; targetType?: string; title?: string; discussion?: Record<string, unknown>; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; pagesScanned?: number; rowsScanned?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "handle": {
   "description": "User or organization: a username, organization name or profile uri.",
   "type": "string"
  },
  "kind": {
   "description": "Skip auto-detection of user vs organization feed.",
   "type": "string",
   "enum": [
    "user",
    "org"
   ]
  },
  "typesAny": {
   "description": "Filter by event type (single upvote/like/discussion/article queries Hub).",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "like",
     "update",
     "publish",
     "discussion",
     "upvote",
     "paper",
     "paper-daily",
     "paper-discussion",
     "collection",
     "article",
     "social-post"
    ]
   }
  },
  "limit": {
   "default": 50,
   "description": "Maximum items to return (default 50, max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "handle"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "actor": {
      "type": "string"
     },
     "org": {
      "type": "string"
     },
     "target": {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string"
       },
       "id": {
        "type": "string"
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url"
      ]
     },
     "targetType": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "discussion": {
      "type": "object",
      "properties": {
       "num": {
        "type": "number"
       },
       "title": {
        "type": "string"
       },
       "status": {
        "type": "string"
       },
       "type": {
        "type": "string",
        "enum": [
         "discussion",
         "pull_request"
        ]
       },
       "url": {
        "type": "string"
       }
      },
      "required": [
       "num",
       "type",
       "url"
      ]
     }
    },
    "required": [
     "type"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "pagesScanned": {
     "type": "integer"
    },
    "rowsScanned": {
     "type": "integer"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/recent-activity?feedType=user|org&entity=X
hf_discussions_list
anonymousread-only
new
async def hf_discussions_list(
    *,
    repo: str | None = None,
    owner: str | None = None,
    status: Literal["open", "closed", "all"] = "open",
    type: Literal["all", "discussion", "pull_request"] = "all",
    author: str | None = None,
    limit: int = 50,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """List discussions and pull requests on a Hugging Face model, dataset or Space (community tab), or
    across the repositories of a user or organization: title, author, status, type, comment count
    and dates, newest first, filtered by status, type or author. On Hugging Face, the
    Discussions/Community tab includes both discussions and pull requests; leave type at its default
    "all" unless explicitly excluding pull requests or listing PRs only. Owner mode scans a bounded
    set of the most-liked repositories and reports its coverage. Read one thread with
    hf_discussion_get.

    Args:
        repo: Repository: hf:// uri (preferred), owner/name or URL. Not with owner.
        owner: Owner to scan (not with repo): a username, organization name or profile uri.
        status: open (incl. draft PRs), closed (incl. merged), or all.
        type: all (default, incl. PRs), discussion (excl. PRs), or pull_request.
        author: Only threads opened by this user (name or profile uri).
        limit: Maximum items to return (default 50, max 100).
        cursor: nextCursor from a previous call with the same arguments.

    Returns: {
        items: list[{kind: Literal["discussion"], id: str, uri: str, url: str, repo: dict[str, Any], num: float, title: str, status: str, type: Literal["discussion", "pull_request"], author: str, createdAt: str, numComments: float, pinned: bool}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, total: int, reposScanned: int, numRepos: int, reposFailed: int, reposAtThreadCap: int},
    }
    """
    ...
/**
 * List discussions and pull requests on a Hugging Face model, dataset or Space (community tab), or
 * across the repositories of a user or organization: title, author, status, type, comment count
 * and dates, newest first, filtered by status, type or author. On Hugging Face, the
 * Discussions/Community tab includes both discussions and pull requests; leave type at its default
 * "all" unless explicitly excluding pull requests or listing PRs only. Owner mode scans a bounded
 * set of the most-liked repositories and reports its coverage. Read one thread with
 * hf_discussion_get.
 */
declare function hf_discussions_list(args: {
  // Repository: hf:// uri (preferred), owner/name or URL. Not with owner.
  repo?: string;
  // Owner to scan (not with repo): a username, organization name or profile uri.
  owner?: string;
  // open (incl. draft PRs), closed (incl. merged), or all. @default "open"
  status?: "open" | "closed" | "all";
  // all (default, incl. PRs), discussion (excl. PRs), or pull_request. @default "all"
  type?: "all" | "discussion" | "pull_request";
  // Only threads opened by this user (name or profile uri).
  author?: string;
  // Maximum items to return (default 50, max 100). @default 50
  limit?: number;
  // nextCursor from a previous call with the same arguments.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "discussion"; id: string; uri: string; url: string; repo: Record<string, unknown>; num: number; title?: string; status?: string; type: "discussion" | "pull_request"; author?: string; createdAt?: string; numComments?: number; pinned?: boolean; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; total?: number; reposScanned?: number; numRepos?: number; reposFailed?: number; reposAtThreadCap?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "repo": {
   "description": "Repository: hf:// uri (preferred), owner/name or URL. Not with owner.",
   "type": "string"
  },
  "owner": {
   "description": "Owner to scan (not with repo): a username, organization name or profile uri.",
   "type": "string"
  },
  "status": {
   "default": "open",
   "description": "open (incl. draft PRs), closed (incl. merged), or all.",
   "type": "string",
   "enum": [
    "open",
    "closed",
    "all"
   ]
  },
  "type": {
   "default": "all",
   "description": "all (default, incl. PRs), discussion (excl. PRs), or pull_request.",
   "type": "string",
   "enum": [
    "all",
    "discussion",
    "pull_request"
   ]
  },
  "author": {
   "description": "Only threads opened by this user (name or profile uri).",
   "type": "string"
  },
  "limit": {
   "default": 50,
   "description": "Maximum items to return (default 50, max 100).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call with the same arguments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "discussion"
     },
     "id": {
      "type": "string",
      "description": "owner/name#num"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "repo": {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string"
       },
       "id": {
        "type": "string"
       },
       "uri": {
        "type": "string"
       },
       "url": {
        "type": "string"
       }
      },
      "required": [
       "kind",
       "id",
       "uri",
       "url"
      ]
     },
     "num": {
      "type": "number"
     },
     "title": {
      "type": "string"
     },
     "status": {
      "description": "open, closed, merged or draft.",
      "type": "string"
     },
     "type": {
      "type": "string",
      "enum": [
       "discussion",
       "pull_request"
      ]
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "numComments": {
      "type": "number"
     },
     "pinned": {
      "type": "boolean"
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url",
     "repo",
     "num",
     "type"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "total": {
     "description": "Hub match count, when reported.",
     "type": "integer"
    },
    "reposScanned": {
     "description": "owner: repositories read, of numRepos.",
     "type": "integer"
    },
    "numRepos": {
     "type": "integer"
    },
    "reposFailed": {
     "description": "owner: repositories that could not be read.",
     "type": "integer"
    },
    "reposAtThreadCap": {
     "description": "owner: repositories that hit the 50-thread-per-repo cap.",
     "type": "integer"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/{type}s/{id}/discussions
fan-out over an owner's repos via listings
hf_discussion_get
anonymousread-only
new
async def hf_discussion_get(
    *,
    discussion: str,
    num: int | None = None,
    include: list[Literal["comments", "files"]] | None = None,
    limit: int = 50,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Read one Hugging Face discussion or pull request (community tab thread): title, status, author,
    comments in order (bounded text, with cursor continuation), the event timeline (commits, status
    and title changes) and, for pull requests, the changed files parsed from the diff. Pass the
    repository and the discussion number from hf_discussions_list. Comment text is markdown and may
    be truncated per comment.

    Args:
        discussion: Discussion uri or id (owner/name#N), or a repository uri with num.
        num: Discussion or pull request number (not needed when discussion names one).
        include: Parts to include (default both; files: pull requests only).
        limit: Maximum comments to return (default 50, max 200).
        cursor: nextCursor from a previous call: continues the comments.

    Returns: {
        kind: Literal["discussion"],
        id: str,  # owner/name#num
        uri: str,
        url: str,
        repo: {kind: str, id: str, uri: str, url: str},
        num: float,
        title: str,
        status: str,  # open, closed, merged or draft.
        type: Literal["discussion", "pull_request"],
        author: str,
        createdAt: str,
        numComments: float,  # Whole thread.
        pinned: bool,
        locked: bool,
        comments: list[{id: str, author: str, createdAt: str, text: str, textTruncated: bool, edited: bool, hidden: bool}],
        returnedCount: float,  # Comments in this page.
        nextCursor: str | None,
        timeline: list[{type: str, author: str, createdAt: str, detail: str}],  # Non-comment events; first page only, up to 100.
        files: list[{path: str, change: Literal["added", "deleted", "modified", "renamed"], from: str}],  # Pull requests: first page only.
        filesTruncated: bool,  # More files changed, or the diff hit the size budget.
        diffUrl: str,
        targetBranch: str,
        mergeCommit: str,
        conflictingFiles: list[str],
    }
    """
    ...
/**
 * Read one Hugging Face discussion or pull request (community tab thread): title, status, author,
 * comments in order (bounded text, with cursor continuation), the event timeline (commits, status
 * and title changes) and, for pull requests, the changed files parsed from the diff. Pass the
 * repository and the discussion number from hf_discussions_list. Comment text is markdown and may
 * be truncated per comment.
 */
declare function hf_discussion_get(args: {
  // Discussion uri or id (owner/name#N), or a repository uri with num.
  discussion: string;
  // Discussion or pull request number (not needed when discussion names one).
  num?: number;
  // Parts to include (default both; files: pull requests only).
  include?: Array<"comments" | "files">;
  // Maximum comments to return (default 50, max 200). @default 50
  limit?: number;
  // nextCursor from a previous call: continues the comments.
  cursor?: string | null;
}): Promise<{
  kind: "discussion";
  // owner/name#num
  id: string;
  uri: string;
  url: string;
  repo: { kind: string; id: string; uri: string; url: string; };
  num: number;
  title?: string;
  // open, closed, merged or draft.
  status?: string;
  type: "discussion" | "pull_request";
  author?: string;
  createdAt?: string;
  // Whole thread.
  numComments: number;
  pinned?: boolean;
  locked?: boolean;
  comments?: Array<{ id?: string; author?: string; createdAt?: string; text?: string; textTruncated?: boolean; edited?: boolean; hidden?: boolean; }>;
  // Comments in this page.
  returnedCount: number;
  nextCursor: string | null;
  // Non-comment events; first page only, up to 100.
  timeline?: Array<{ type: string; author?: string; createdAt?: string; detail?: string; }>;
  // Pull requests: first page only.
  files?: Array<{ path: string; change: "added" | "deleted" | "modified" | "renamed"; from?: string; }>;
  // More files changed, or the diff hit the size budget.
  filesTruncated?: boolean;
  diffUrl?: string;
  targetBranch?: string;
  mergeCommit?: string;
  conflictingFiles?: string[];
}>;
input schema
{
 "type": "object",
 "properties": {
  "discussion": {
   "type": "string",
   "description": "Discussion uri or id (owner/name#N), or a repository uri with num."
  },
  "num": {
   "description": "Discussion or pull request number (not needed when discussion names one).",
   "type": "integer"
  },
  "include": {
   "description": "Parts to include (default both; files: pull requests only).",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "comments",
     "files"
    ]
   }
  },
  "limit": {
   "default": 50,
   "description": "Maximum comments to return (default 50, max 200).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call: continues the comments.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "discussion"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "discussion"
  },
  "id": {
   "type": "string",
   "description": "owner/name#num"
  },
  "uri": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "repo": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string"
    },
    "id": {
     "type": "string"
    },
    "uri": {
     "type": "string"
    },
    "url": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "uri",
    "url"
   ]
  },
  "num": {
   "type": "number"
  },
  "title": {
   "type": "string"
  },
  "status": {
   "description": "open, closed, merged or draft.",
   "type": "string"
  },
  "type": {
   "type": "string",
   "enum": [
    "discussion",
    "pull_request"
   ]
  },
  "author": {
   "type": "string"
  },
  "createdAt": {
   "type": "string"
  },
  "numComments": {
   "type": "number",
   "description": "Whole thread."
  },
  "pinned": {
   "type": "boolean"
  },
  "locked": {
   "type": "boolean"
  },
  "comments": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "text": {
      "description": "Markdown, clipped; absent for hidden comments.",
      "type": "string"
     },
     "textTruncated": {
      "type": "boolean"
     },
     "edited": {
      "type": "boolean"
     },
     "hidden": {
      "type": "boolean"
     }
    }
   }
  },
  "returnedCount": {
   "type": "number",
   "description": "Comments in this page."
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "timeline": {
   "description": "Non-comment events; first page only, up to 100.",
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "createdAt": {
      "type": "string"
     },
     "detail": {
      "type": "string"
     }
    },
    "required": [
     "type"
    ]
   }
  },
  "files": {
   "description": "Pull requests: first page only.",
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "path": {
      "type": "string"
     },
     "change": {
      "type": "string",
      "enum": [
       "added",
       "deleted",
       "modified",
       "renamed"
      ]
     },
     "from": {
      "type": "string"
     }
    },
    "required": [
     "path",
     "change"
    ]
   }
  },
  "filesTruncated": {
   "description": "More files changed, or the diff hit the size budget.",
   "type": "boolean"
  },
  "diffUrl": {
   "type": "string"
  },
  "targetBranch": {
   "type": "string"
  },
  "mergeCommit": {
   "type": "string"
  },
  "conflictingFiles": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 },
 "required": [
  "kind",
  "id",
  "uri",
  "url",
  "repo",
  "num",
  "type",
  "numComments",
  "returnedCount",
  "nextCursor"
 ]
}
GET /api/{type}s/{id}/discussions/{num}

Jobs (7)

ToolDefinitionEndpoints
hf_job_run
canManageJobsAndSandboxesdestructive
replaces hf_jobs
async def hf_job_run(
    *,
    script: str | None = None,
    dependencies: list[str] | None = None,
    python: str | None = None,
    scriptArgs: list[str] | None = None,
    command: list[str] | str | None = None,
    image: str | None = None,
    space: str | None = None,
    flavor: str = "cpu-basic",
    timeout: str | int = "30m",
    env: dict[str, str] | None = None,
    secrets: dict[str, str] | None = None,
    forwardHfToken: bool = False,
    volumes: list[str] | None = None,
    labels: dict[str, str] | None = None,
    namespace: str | None = None,
    resourceGroupId: str | None = None,
    waitSeconds: int = 0,
) -> dict[str, Any]:
    """Run Hugging Face Jobs (Python scripts, Docker containers) on cloud CPU or GPU hardware. Execute
    training, fine-tuning, batch inference, evaluation or data processing using a script with uv
    dependencies or a command in a Docker or Space image. Choose hardware (T4, L4, A100, H200),
    env/secrets, and on-demand hf:// FUSE volumes (~50-100 MB/s per job across many files; repos are
    ro, buckets default rw; shard large scans across parallel jobs with waitSeconds=0, and use
    large/concurrent reads). Logs retain only the last 80 KB (4,000 chars/line); write larger
    results to a mounted rw bucket (or upload to a repo with forwardHfToken=true). Paid compute. See
    hf_job_logs.

    Args:
        script: Python code for uv, a URL or a .py path in the image. Not with command.
        dependencies: Extra pip packages for script (uv --with).
        python: Python version for script, e.g. "3.12".
        scriptArgs: Arguments passed to script.
        command: argv, no shell, e.g. ["/bin/sh", "-lc", "cmd | cmd"]. Not with script.
        image: Docker image (default python:3.12 for command, a uv image for script).
        space: Use the Docker image of this Space instead of image.
        flavor: Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h200.
        timeout: Maximum run time: "30m", "2h", "90s" or seconds.
        env: Environment variables (values never echoed).
        secrets: Secret env variables (never echoed). "$HF_TOKEN" needs forwardHfToken.
        forwardHfToken: Pass your token to the job as secret HF_TOKEN; enables "$HF_TOKEN" in secrets.
        volumes: FUSE (~80 MB/s; repos ro, buckets rw): "hf://datasets/o/d[@rev][/p]:/data:ro".
        labels: Labels (keys/values: max 100 chars, letters, digits, - and _).
        namespace: User or org owning the jobs (name or profile uri; default: you).
        resourceGroupId: Enterprise resource group for billing (needs namespace).
        waitSeconds: Follow logs N sec (0: return at once for parallel launch; max 120, 100 lines).

    Returns: {
        job: {kind: Literal["job"], id: str, namespace: str, url: str, endpoint: str, createdAt: str, finishedAt: str, dockerImage: str, spaceId: str, command: list[str], arguments: list[str], environmentVariableNames: list[str], secretNames: list[str], flavor: str, status: {stage: str, message: str | None, exposeUrls: list[str]}, owner: str, createdBy: str, tags: list[str], labels: dict[str, str], timeoutSeconds: float},
        logs: {lines: list[str], finished: bool, followStopped: bool, linesTruncated: bool},
        note: str,
    }
    """
    ...
/**
 * Run Hugging Face Jobs (Python scripts, Docker containers) on cloud CPU or GPU hardware. Execute
 * training, fine-tuning, batch inference, evaluation or data processing using a script with uv
 * dependencies or a command in a Docker or Space image. Choose hardware (T4, L4, A100, H200),
 * env/secrets, and on-demand hf:// FUSE volumes (~50-100 MB/s per job across many files; repos are
 * ro, buckets default rw; shard large scans across parallel jobs with waitSeconds=0, and use
 * large/concurrent reads). Logs retain only the last 80 KB (4,000 chars/line); write larger
 * results to a mounted rw bucket (or upload to a repo with forwardHfToken=true). Paid compute. See
 * hf_job_logs.
 */
declare function hf_job_run(args: {
  // Python code for uv, a URL or a .py path in the image. Not with command.
  script?: string;
  // Extra pip packages for script (uv --with).
  dependencies?: string[];
  // Python version for script, e.g. "3.12".
  python?: string;
  // Arguments passed to script.
  scriptArgs?: string[];
  // argv, no shell, e.g. ["/bin/sh", "-lc", "cmd | cmd"]. Not with script.
  command?: string[] | string;
  // Docker image (default python:3.12 for command, a uv image for script).
  image?: string;
  // Use the Docker image of this Space instead of image.
  space?: string;
  // Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h200. @default "cpu-basic"
  flavor?: string;
  // Maximum run time: "30m", "2h", "90s" or seconds. @default "30m"
  timeout?: string | number;
  // Environment variables (values never echoed).
  env?: Record<string, string>;
  // Secret env variables (never echoed). "$HF_TOKEN" needs forwardHfToken.
  secrets?: Record<string, string>;
  // Pass your token to the job as secret HF_TOKEN; enables "$HF_TOKEN" in secrets. @default false
  forwardHfToken?: boolean;
  // FUSE (~80 MB/s; repos ro, buckets rw): "hf://datasets/o/d[@rev][/p]:/data:ro".
  volumes?: string[];
  // Labels (keys/values: max 100 chars, letters, digits, - and _).
  labels?: Record<string, string>;
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
  // Enterprise resource group for billing (needs namespace).
  resourceGroupId?: string;
  // Follow logs N sec (0: return at once for parallel launch; max 120, 100 lines). @default 0
  waitSeconds?: number;
}): Promise<{
  job: { kind: "job"; id: string; namespace: string; url: string; endpoint?: string; createdAt: string; finishedAt?: string; dockerImage?: string; spaceId?: string; command?: string[]; arguments?: string[]; environmentVariableNames: string[]; secretNames: string[]; flavor: string; status: { stage: string; message?: string | null; exposeUrls?: string[]; }; owner: string; createdBy?: string; tags?: string[]; labels?: Record<string, string>; timeoutSeconds?: number; };
  logs?: { lines: string[]; finished: boolean; followStopped: boolean; linesTruncated: boolean; };
  note?: string;
}>;
input schema
{
 "type": "object",
 "properties": {
  "script": {
   "description": "Python code for uv, a URL or a .py path in the image. Not with command.",
   "type": "string"
  },
  "dependencies": {
   "description": "Extra pip packages for script (uv --with).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "python": {
   "description": "Python version for script, e.g. \"3.12\".",
   "type": "string"
  },
  "scriptArgs": {
   "description": "Arguments passed to script.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "command": {
   "description": "argv, no shell, e.g. [\"/bin/sh\", \"-lc\", \"cmd | cmd\"]. Not with script.",
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    {
     "type": "string"
    }
   ]
  },
  "image": {
   "description": "Docker image (default python:3.12 for command, a uv image for script).",
   "type": "string"
  },
  "space": {
   "description": "Use the Docker image of this Space instead of image.",
   "type": "string"
  },
  "flavor": {
   "default": "cpu-basic",
   "description": "Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h200.",
   "type": "string"
  },
  "timeout": {
   "default": "30m",
   "description": "Maximum run time: \"30m\", \"2h\", \"90s\" or seconds.",
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "integer"
    }
   ]
  },
  "env": {
   "description": "Environment variables (values never echoed).",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "secrets": {
   "description": "Secret env variables (never echoed). \"$HF_TOKEN\" needs forwardHfToken.",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "forwardHfToken": {
   "default": false,
   "description": "Pass your token to the job as secret HF_TOKEN; enables \"$HF_TOKEN\" in secrets.",
   "type": "boolean"
  },
  "volumes": {
   "description": "FUSE (~80 MB/s; repos ro, buckets rw): \"hf://datasets/o/d[@rev][/p]:/data:ro\".",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "labels": {
   "description": "Labels (keys/values: max 100 chars, letters, digits, - and _).",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  },
  "resourceGroupId": {
   "description": "Enterprise resource group for billing (needs namespace).",
   "type": "string"
  },
  "waitSeconds": {
   "default": 0,
   "description": "Follow logs N sec (0: return at once for parallel launch; max 120, 100 lines).",
   "type": "integer"
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "finishedAt": {
     "type": "string"
    },
    "dockerImage": {
     "type": "string"
    },
    "spaceId": {
     "type": "string"
    },
    "command": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "arguments": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "environmentVariableNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "secretNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "flavor": {
     "type": "string"
    },
    "status": {
     "type": "object",
     "properties": {
      "stage": {
       "type": "string"
      },
      "message": {
       "type": [
        "string",
        "null"
       ]
      },
      "exposeUrls": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "required": [
      "stage"
     ]
    },
    "owner": {
     "type": "string"
    },
    "createdBy": {
     "type": "string"
    },
    "tags": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "labels": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "timeoutSeconds": {
     "type": "number"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "url",
    "createdAt",
    "environmentVariableNames",
    "secretNames",
    "flavor",
    "status",
    "owner"
   ]
  },
  "logs": {
   "type": "object",
   "properties": {
    "lines": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "finished": {
     "type": "boolean"
    },
    "followStopped": {
     "type": "boolean",
     "description": "Time limit reached; the job may still be running."
    },
    "linesTruncated": {
     "type": "boolean",
     "description": "True if older lines were dropped (>tail or >80 KB) or any line exceeded 4,000 chars."
    }
   },
   "required": [
    "lines",
    "finished",
    "followStopped",
    "linesTruncated"
   ]
  },
  "note": {
   "type": "string"
  }
 },
 "required": [
  "job"
 ]
}
POST /api/jobs/{ns}
hf_job_schedule
canManageJobsAndSandboxesdestructive
replaces hf_jobs
async def hf_job_schedule(
    *,
    schedule: str,
    script: str | None = None,
    dependencies: list[str] | None = None,
    python: str | None = None,
    scriptArgs: list[str] | None = None,
    command: list[str] | str | None = None,
    image: str | None = None,
    space: str | None = None,
    flavor: str = "cpu-basic",
    timeout: str | int = "30m",
    env: dict[str, str] | None = None,
    secrets: dict[str, str] | None = None,
    forwardHfToken: bool = False,
    volumes: list[str] | None = None,
    labels: dict[str, str] | None = None,
    namespace: str | None = None,
    resourceGroupId: str | None = None,
    suspend: bool = False,
    concurrency: bool = False,
) -> dict[str, Any]:
    """Schedule a recurring job (cron task, periodic run) with a cron expression or hourly, daily or
    weekly shorthand. Use a Python script with uv dependencies or a Docker/Space command; optionally
    create the schedule suspended or allow overlapping runs. Each run consumes paid compute. See
    hf_job_run.

    Args:
        schedule: Cron expression ("0 9 * * 1") or @hourly, @daily, @weekly, @monthly, @yearly.
        script: Python code for uv, a URL or a .py path in the image. Not with command.
        dependencies: Extra pip packages for script (uv --with).
        python: Python version for script, e.g. "3.12".
        scriptArgs: Arguments passed to script.
        command: argv, no shell, e.g. ["/bin/sh", "-lc", "cmd | cmd"]. Not with script.
        image: Docker image (default python:3.12 for command, a uv image for script).
        space: Use the Docker image of this Space instead of image.
        flavor: Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h200.
        timeout: Maximum run time: "30m", "2h", "90s" or seconds.
        env: Environment variables (values never echoed).
        secrets: Secret env variables (never echoed). "$HF_TOKEN" needs forwardHfToken.
        forwardHfToken: Pass your token to the job as secret HF_TOKEN; enables "$HF_TOKEN" in secrets.
        volumes: FUSE (~80 MB/s; repos ro, buckets rw): "hf://datasets/o/d[@rev][/p]:/data:ro".
        labels: Labels (keys/values: max 100 chars, letters, digits, - and _).
        namespace: User or org owning the jobs (name or profile uri; default: you).
        resourceGroupId: Enterprise resource group for billing (needs namespace).
        suspend: Create suspended (no runs until resumed).
        concurrency: Allow a new run while the previous one is still running.

    Returns: {
        scheduledJob: {kind: Literal["scheduled_job"], id: str, namespace: str, schedule: str, suspended: bool, lastRunAt: str, nextRunAt: str, owner: str, createdAt: str, concurrency: bool, jobSpec: dict[str, Any]},
    }
    """
    ...
/**
 * Schedule a recurring job (cron task, periodic run) with a cron expression or hourly, daily or
 * weekly shorthand. Use a Python script with uv dependencies or a Docker/Space command; optionally
 * create the schedule suspended or allow overlapping runs. Each run consumes paid compute. See
 * hf_job_run.
 */
declare function hf_job_schedule(args: {
  // Cron expression ("0 9 * * 1") or @hourly, @daily, @weekly, @monthly, @yearly.
  schedule: string;
  // Python code for uv, a URL or a .py path in the image. Not with command.
  script?: string;
  // Extra pip packages for script (uv --with).
  dependencies?: string[];
  // Python version for script, e.g. "3.12".
  python?: string;
  // Arguments passed to script.
  scriptArgs?: string[];
  // argv, no shell, e.g. ["/bin/sh", "-lc", "cmd | cmd"]. Not with script.
  command?: string[] | string;
  // Docker image (default python:3.12 for command, a uv image for script).
  image?: string;
  // Use the Docker image of this Space instead of image.
  space?: string;
  // Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h200. @default "cpu-basic"
  flavor?: string;
  // Maximum run time: "30m", "2h", "90s" or seconds. @default "30m"
  timeout?: string | number;
  // Environment variables (values never echoed).
  env?: Record<string, string>;
  // Secret env variables (never echoed). "$HF_TOKEN" needs forwardHfToken.
  secrets?: Record<string, string>;
  // Pass your token to the job as secret HF_TOKEN; enables "$HF_TOKEN" in secrets. @default false
  forwardHfToken?: boolean;
  // FUSE (~80 MB/s; repos ro, buckets rw): "hf://datasets/o/d[@rev][/p]:/data:ro".
  volumes?: string[];
  // Labels (keys/values: max 100 chars, letters, digits, - and _).
  labels?: Record<string, string>;
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
  // Enterprise resource group for billing (needs namespace).
  resourceGroupId?: string;
  // Create suspended (no runs until resumed). @default false
  suspend?: boolean;
  // Allow a new run while the previous one is still running. @default false
  concurrency?: boolean;
}): Promise<{
  scheduledJob: { kind: "scheduled_job"; id: string; namespace: string; schedule: string; suspended: boolean; lastRunAt?: string; nextRunAt?: string; owner: string; createdAt: string; concurrency?: boolean; jobSpec: Record<string, unknown>; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "schedule": {
   "type": "string",
   "description": "Cron expression (\"0 9 * * 1\") or @hourly, @daily, @weekly, @monthly, @yearly."
  },
  "script": {
   "description": "Python code for uv, a URL or a .py path in the image. Not with command.",
   "type": "string"
  },
  "dependencies": {
   "description": "Extra pip packages for script (uv --with).",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "python": {
   "description": "Python version for script, e.g. \"3.12\".",
   "type": "string"
  },
  "scriptArgs": {
   "description": "Arguments passed to script.",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "command": {
   "description": "argv, no shell, e.g. [\"/bin/sh\", \"-lc\", \"cmd | cmd\"]. Not with script.",
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    {
     "type": "string"
    }
   ]
  },
  "image": {
   "description": "Docker image (default python:3.12 for command, a uv image for script).",
   "type": "string"
  },
  "space": {
   "description": "Use the Docker image of this Space instead of image.",
   "type": "string"
  },
  "flavor": {
   "default": "cpu-basic",
   "description": "Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h200.",
   "type": "string"
  },
  "timeout": {
   "default": "30m",
   "description": "Maximum run time: \"30m\", \"2h\", \"90s\" or seconds.",
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "integer"
    }
   ]
  },
  "env": {
   "description": "Environment variables (values never echoed).",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "secrets": {
   "description": "Secret env variables (never echoed). \"$HF_TOKEN\" needs forwardHfToken.",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "forwardHfToken": {
   "default": false,
   "description": "Pass your token to the job as secret HF_TOKEN; enables \"$HF_TOKEN\" in secrets.",
   "type": "boolean"
  },
  "volumes": {
   "description": "FUSE (~80 MB/s; repos ro, buckets rw): \"hf://datasets/o/d[@rev][/p]:/data:ro\".",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "labels": {
   "description": "Labels (keys/values: max 100 chars, letters, digits, - and _).",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  },
  "resourceGroupId": {
   "description": "Enterprise resource group for billing (needs namespace).",
   "type": "string"
  },
  "suspend": {
   "default": false,
   "description": "Create suspended (no runs until resumed).",
   "type": "boolean"
  },
  "concurrency": {
   "default": false,
   "description": "Allow a new run while the previous one is still running.",
   "type": "boolean"
  }
 },
 "required": [
  "schedule"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "scheduledJob": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "scheduled_job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "schedule": {
     "type": "string"
    },
    "suspended": {
     "type": "boolean"
    },
    "lastRunAt": {
     "type": "string"
    },
    "nextRunAt": {
     "type": "string"
    },
    "owner": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "concurrency": {
     "type": "boolean"
    },
    "jobSpec": {
     "type": "object"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "schedule",
    "suspended",
    "owner",
    "createdAt",
    "jobSpec"
   ]
  }
 },
 "required": [
  "scheduledJob"
 ]
}
POST /api/scheduled-jobs/{ns} (jobSpec identical to jobs)
hf_jobs_list
canReadJobsread-only
replaces hf_jobs
async def hf_jobs_list(
    *,
    kind: Literal["job", "scheduled_job", "scheduled"] = "job",
    stagesAny: list[Literal["RUNNING", "SCHEDULING", "COMPLETED", "ERROR", "CANCELED", "DELETED"]] | None = None,
    labels: dict[str, str] | None = None,
    namespace: str | None = None,
    limit: int = 20,
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """List Hugging Face Jobs (my runs, scheduled tasks, cron jobs) for a user or organization. Find
    running, completed, failed or canceled runs by stage and labels, with cursor paging. Results
    include job IDs, status, hardware and creation time, or recurring schedules with suspension and
    last/next run details when available. See hf_job_get.

    Args:
        kind: Record kind: job (one run) or scheduled_job (recurring; scheduled works).
        stagesAny: Only jobs in these stages (kind job only).
        labels: Only jobs having all these labels.
        namespace: User or org owning the jobs (name or profile uri; default: you).
        limit: Page size (1-100, default 20).
        cursor: nextCursor from a previous call.

    Returns: {
        items: list[{kind: Literal["job"], id: str, namespace: str, url: str, endpoint: str, createdAt: str, finishedAt: str, dockerImage: str, spaceId: str, command: list[str], arguments: list[str], environmentVariableNames: list[str], secretNames: list[str], flavor: str, status: dict[str, Any], owner: str, createdBy: str, tags: list[str], labels: dict[str, str], timeoutSeconds: float} | {kind: Literal["scheduled_job"], id: str, namespace: str, schedule: str, suspended: bool, lastRunAt: str, nextRunAt: str, owner: str, createdAt: str, concurrency: bool, jobSpec: dict[str, Any]}],
        returnedCount: int,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, total: int},
    }
    """
    ...
/**
 * List Hugging Face Jobs (my runs, scheduled tasks, cron jobs) for a user or organization. Find
 * running, completed, failed or canceled runs by stage and labels, with cursor paging. Results
 * include job IDs, status, hardware and creation time, or recurring schedules with suspension and
 * last/next run details when available. See hf_job_get.
 */
declare function hf_jobs_list(args: {
  // Record kind: job (one run) or scheduled_job (recurring; scheduled works). @default "job"
  kind?: "job" | "scheduled_job" | "scheduled";
  // Only jobs in these stages (kind job only).
  stagesAny?: Array<"RUNNING" | "SCHEDULING" | "COMPLETED" | "ERROR" | "CANCELED" | "DELETED">;
  // Only jobs having all these labels.
  labels?: Record<string, string>;
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
  // Page size (1-100, default 20). @default 20
  limit?: number;
  // nextCursor from a previous call.
  cursor?: string | null;
}): Promise<{
  items: Array<{ kind: "job"; id: string; namespace: string; url: string; endpoint?: string; createdAt: string; finishedAt?: string; dockerImage?: string; spaceId?: string; command?: string[]; arguments?: string[]; environmentVariableNames: string[]; secretNames: string[]; flavor: string; status: Record<string, unknown>; owner: string; createdBy?: string; tags?: string[]; labels?: Record<string, string>; timeoutSeconds?: number; } | { kind: "scheduled_job"; id: string; namespace: string; schedule: string; suspended: boolean; lastRunAt?: string; nextRunAt?: string; owner: string; createdAt: string; concurrency?: boolean; jobSpec: Record<string, unknown>; }>;
  returnedCount: number;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; total?: number; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "kind": {
   "description": "Record kind: job (one run) or scheduled_job (recurring; scheduled works).",
   "default": "job",
   "type": "string",
   "enum": [
    "job",
    "scheduled_job",
    "scheduled"
   ]
  },
  "stagesAny": {
   "description": "Only jobs in these stages (kind job only).",
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "RUNNING",
     "SCHEDULING",
     "COMPLETED",
     "ERROR",
     "CANCELED",
     "DELETED"
    ]
   }
  },
  "labels": {
   "description": "Only jobs having all these labels.",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  },
  "limit": {
   "default": 20,
   "description": "Page size (1-100, default 20).",
   "type": "integer"
  },
  "cursor": {
   "description": "nextCursor from a previous call.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string",
        "const": "job"
       },
       "id": {
        "type": "string"
       },
       "namespace": {
        "type": "string"
       },
       "url": {
        "type": "string"
       },
       "endpoint": {
        "type": "string"
       },
       "createdAt": {
        "type": "string"
       },
       "finishedAt": {
        "type": "string"
       },
       "dockerImage": {
        "type": "string"
       },
       "spaceId": {
        "type": "string"
       },
       "command": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "arguments": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "environmentVariableNames": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "secretNames": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "flavor": {
        "type": "string"
       },
       "status": {
        "type": "object",
        "properties": {
         "stage": {
          "type": "string"
         },
         "message": {
          "type": [
           "string",
           "null"
          ]
         },
         "exposeUrls": {
          "type": "array",
          "items": {
           "type": "string"
          }
         }
        },
        "required": [
         "stage"
        ]
       },
       "owner": {
        "type": "string"
       },
       "createdBy": {
        "type": "string"
       },
       "tags": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "labels": {
        "type": "object",
        "additionalProperties": {
         "type": "string"
        }
       },
       "timeoutSeconds": {
        "type": "number"
       }
      },
      "required": [
       "kind",
       "id",
       "namespace",
       "url",
       "createdAt",
       "environmentVariableNames",
       "secretNames",
       "flavor",
       "status",
       "owner"
      ]
     },
     {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string",
        "const": "scheduled_job"
       },
       "id": {
        "type": "string"
       },
       "namespace": {
        "type": "string"
       },
       "schedule": {
        "type": "string"
       },
       "suspended": {
        "type": "boolean"
       },
       "lastRunAt": {
        "type": "string"
       },
       "nextRunAt": {
        "type": "string"
       },
       "owner": {
        "type": "string"
       },
       "createdAt": {
        "type": "string"
       },
       "concurrency": {
        "type": "boolean"
       },
       "jobSpec": {
        "type": "object"
       }
      },
      "required": [
       "kind",
       "id",
       "namespace",
       "schedule",
       "suspended",
       "owner",
       "createdAt",
       "jobSpec"
      ]
     }
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "type": "object",
   "properties": {
    "hasMore": {
     "type": "boolean"
    },
    "truncated": {
     "type": "boolean"
    },
    "reason": {
     "type": "string",
     "enum": [
      "row_sort_cursor",
      "page_budget",
      "ranking_window",
      "owner_fanout_cap",
      "items_cap",
      "text_budget"
     ]
    },
    "hint": {
     "type": "string"
    },
    "total": {
     "description": "Scheduled jobs matching the filters.",
     "type": "integer"
    }
   },
   "required": [
    "hasMore"
   ]
  }
 },
 "required": [
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
GET /api/jobs/{ns}
GET /api/scheduled-jobs/{ns}
hf_job_get
canReadJobsread-only
replaces hf_jobs
async def hf_job_get(
    *,
    job: str,
    kind: Literal["job", "scheduled_job", "scheduled"] = "job",
    namespace: str | None = None,
) -> dict[str, Any]:
    """Check one job's status and configuration by ID or job page URL. Read its stage, status message,
    hardware, command, labels and timing; for a scheduled job, inspect the cron schedule, suspension
    and last/next run when available. Environment variables and secrets appear as names only. See
    hf_job_logs.

    Args:
        job: Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
        kind: Record kind: job (one run) or scheduled_job (recurring; scheduled works).
        namespace: User or org owning the jobs (name or profile uri; default: you).

    Returns: {
        job: {kind: Literal["job"], id: str, namespace: str, url: str, endpoint: str, createdAt: str, finishedAt: str, dockerImage: str, spaceId: str, command: list[str], arguments: list[str], environmentVariableNames: list[str], secretNames: list[str], flavor: str, status: {stage: str, message: str | None, exposeUrls: list[str]}, owner: str, createdBy: str, tags: list[str], labels: dict[str, str], timeoutSeconds: float},
        scheduledJob: {kind: Literal["scheduled_job"], id: str, namespace: str, schedule: str, suspended: bool, lastRunAt: str, nextRunAt: str, owner: str, createdAt: str, concurrency: bool, jobSpec: dict[str, Any]},
    }
    """
    ...
/**
 * Check one job's status and configuration by ID or job page URL. Read its stage, status message,
 * hardware, command, labels and timing; for a scheduled job, inspect the cron schedule, suspension
 * and last/next run when available. Environment variables and secrets appear as names only. See
 * hf_job_logs.
 */
declare function hf_job_get(args: {
  // Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
  job: string;
  // Record kind: job (one run) or scheduled_job (recurring; scheduled works). @default "job"
  kind?: "job" | "scheduled_job" | "scheduled";
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
}): Promise<{
  job?: { kind: "job"; id: string; namespace: string; url: string; endpoint?: string; createdAt: string; finishedAt?: string; dockerImage?: string; spaceId?: string; command?: string[]; arguments?: string[]; environmentVariableNames: string[]; secretNames: string[]; flavor: string; status: { stage: string; message?: string | null; exposeUrls?: string[]; }; owner: string; createdBy?: string; tags?: string[]; labels?: Record<string, string>; timeoutSeconds?: number; };
  scheduledJob?: { kind: "scheduled_job"; id: string; namespace: string; schedule: string; suspended: boolean; lastRunAt?: string; nextRunAt?: string; owner: string; createdAt: string; concurrency?: boolean; jobSpec: Record<string, unknown>; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "string",
   "description": "Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL)."
  },
  "kind": {
   "description": "Record kind: job (one run) or scheduled_job (recurring; scheduled works).",
   "default": "job",
   "type": "string",
   "enum": [
    "job",
    "scheduled_job",
    "scheduled"
   ]
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  }
 },
 "required": [
  "job"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "finishedAt": {
     "type": "string"
    },
    "dockerImage": {
     "type": "string"
    },
    "spaceId": {
     "type": "string"
    },
    "command": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "arguments": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "environmentVariableNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "secretNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "flavor": {
     "type": "string"
    },
    "status": {
     "type": "object",
     "properties": {
      "stage": {
       "type": "string"
      },
      "message": {
       "type": [
        "string",
        "null"
       ]
      },
      "exposeUrls": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "required": [
      "stage"
     ]
    },
    "owner": {
     "type": "string"
    },
    "createdBy": {
     "type": "string"
    },
    "tags": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "labels": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "timeoutSeconds": {
     "type": "number"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "url",
    "createdAt",
    "environmentVariableNames",
    "secretNames",
    "flavor",
    "status",
    "owner"
   ]
  },
  "scheduledJob": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "scheduled_job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "schedule": {
     "type": "string"
    },
    "suspended": {
     "type": "boolean"
    },
    "lastRunAt": {
     "type": "string"
    },
    "nextRunAt": {
     "type": "string"
    },
    "owner": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "concurrency": {
     "type": "boolean"
    },
    "jobSpec": {
     "type": "object"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "schedule",
    "suspended",
    "owner",
    "createdAt",
    "jobSpec"
   ]
  }
 }
}
GET /api/jobs/{ns}/{id}
GET /api/scheduled-jobs/{ns}/{id}
hf_job_logs
canReadJobsread-only
replaces hf_jobs
async def hf_job_logs(
    *,
    job: str,
    tail: int = 200,
    followSeconds: int = 0,
    namespace: str | None = None,
) -> dict[str, Any]:
    """Read Hugging Face job logs (stdout, stderr, console output) by job ID or page URL. Tail recent
    lines or follow a running job within a bounded window: retains at most the last 80 KB total and
    4,000 characters per line, with no forward offset or cursor once older lines are dropped. Format
    structured stdout as lines under 4,000 chars totaling under ~65 KB, or write larger outputs to a
    mounted rw bucket (or upload to a repo with forwardHfToken=true). Returns lines, count, finished
    state, and followStopped/linesTruncated flags. See hf_job_get.

    Args:
        job: Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
        tail: Last N lines (default 200, max 2000; capped at 80 KB total, 4,000 chars/line).
        followSeconds: Seconds to keep reading a running job (0: what is available; max 120).
        namespace: User or org owning the jobs (name or profile uri; default: you).

    Returns: {
        job: {kind: Literal["job"], id: str, namespace: str, url: str, stage: str},
        lines: list[str],
        finished: bool,
        followStopped: bool,  # Time limit reached; the job may still be running.
        linesTruncated: bool,  # True if older lines were dropped (>tail or >80 KB) or any line exceeded 4,000 chars.
        returnedCount: int,
    }
    """
    ...
/**
 * Read Hugging Face job logs (stdout, stderr, console output) by job ID or page URL. Tail recent
 * lines or follow a running job within a bounded window: retains at most the last 80 KB total and
 * 4,000 characters per line, with no forward offset or cursor once older lines are dropped. Format
 * structured stdout as lines under 4,000 chars totaling under ~65 KB, or write larger outputs to a
 * mounted rw bucket (or upload to a repo with forwardHfToken=true). Returns lines, count, finished
 * state, and followStopped/linesTruncated flags. See hf_job_get.
 */
declare function hf_job_logs(args: {
  // Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
  job: string;
  // Last N lines (default 200, max 2000; capped at 80 KB total, 4,000 chars/line). @default 200
  tail?: number;
  // Seconds to keep reading a running job (0: what is available; max 120). @default 0
  followSeconds?: number;
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
}): Promise<{
  job: { kind: "job"; id: string; namespace: string; url: string; stage: string; };
  lines: string[];
  finished: boolean;
  // Time limit reached; the job may still be running.
  followStopped: boolean;
  // True if older lines were dropped (>tail or >80 KB) or any line exceeded 4,000 chars.
  linesTruncated: boolean;
  returnedCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "string",
   "description": "Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL)."
  },
  "tail": {
   "default": 200,
   "description": "Last N lines (default 200, max 2000; capped at 80 KB total, 4,000 chars/line).",
   "type": "integer"
  },
  "followSeconds": {
   "default": 0,
   "description": "Seconds to keep reading a running job (0: what is available; max 120).",
   "type": "integer"
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  }
 },
 "required": [
  "job"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "stage": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "url",
    "stage"
   ]
  },
  "lines": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "finished": {
   "type": "boolean"
  },
  "followStopped": {
   "type": "boolean",
   "description": "Time limit reached; the job may still be running."
  },
  "linesTruncated": {
   "type": "boolean",
   "description": "True if older lines were dropped (>tail or >80 KB) or any line exceeded 4,000 chars."
  },
  "returnedCount": {
   "type": "integer"
  }
 },
 "required": [
  "job",
  "lines",
  "finished",
  "followStopped",
  "linesTruncated",
  "returnedCount"
 ]
}
GET /api/jobs/{ns}/{id}/logs (SSE)
hf_job_cancel
canManageJobsAndSandboxesdestructive
replaces hf_jobs
async def hf_job_cancel(
    *,
    job: str,
    kind: Literal["job", "scheduled_job", "scheduled"] = "job",
    namespace: str | None = None,
) -> dict[str, Any]:
    """Cancel a running or pending job, or delete a recurring job schedule, by ID or job page URL. This
    stops the run or removes the schedule. Returns the cancellation or deletion action and the
    corresponding job details. See hf_job_update.

    Args:
        job: Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
        kind: Record kind: job (one run) or scheduled_job (recurring; scheduled works).
        namespace: User or org owning the jobs (name or profile uri; default: you).

    Returns: {
        action: Literal["canceled", "deleted"],
        job: {kind: Literal["job"], id: str, namespace: str, url: str, endpoint: str, createdAt: str, finishedAt: str, dockerImage: str, spaceId: str, command: list[str], arguments: list[str], environmentVariableNames: list[str], secretNames: list[str], flavor: str, status: {stage: str, message: str | None, exposeUrls: list[str]}, owner: str, createdBy: str, tags: list[str], labels: dict[str, str], timeoutSeconds: float},
        scheduledJob: {kind: Literal["scheduled_job"], id: str, namespace: str},
        note: str,
    }
    """
    ...
/**
 * Cancel a running or pending job, or delete a recurring job schedule, by ID or job page URL. This
 * stops the run or removes the schedule. Returns the cancellation or deletion action and the
 * corresponding job details. See hf_job_update.
 */
declare function hf_job_cancel(args: {
  // Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
  job: string;
  // Record kind: job (one run) or scheduled_job (recurring; scheduled works). @default "job"
  kind?: "job" | "scheduled_job" | "scheduled";
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
}): Promise<{
  action: "canceled" | "deleted";
  job?: { kind: "job"; id: string; namespace: string; url: string; endpoint?: string; createdAt: string; finishedAt?: string; dockerImage?: string; spaceId?: string; command?: string[]; arguments?: string[]; environmentVariableNames: string[]; secretNames: string[]; flavor: string; status: { stage: string; message?: string | null; exposeUrls?: string[]; }; owner: string; createdBy?: string; tags?: string[]; labels?: Record<string, string>; timeoutSeconds?: number; };
  scheduledJob?: { kind: "scheduled_job"; id: string; namespace: string; };
  note?: string;
}>;
input schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "string",
   "description": "Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL)."
  },
  "kind": {
   "description": "Record kind: job (one run) or scheduled_job (recurring; scheduled works).",
   "default": "job",
   "type": "string",
   "enum": [
    "job",
    "scheduled_job",
    "scheduled"
   ]
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  }
 },
 "required": [
  "job"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "action": {
   "type": "string",
   "enum": [
    "canceled",
    "deleted"
   ]
  },
  "job": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "finishedAt": {
     "type": "string"
    },
    "dockerImage": {
     "type": "string"
    },
    "spaceId": {
     "type": "string"
    },
    "command": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "arguments": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "environmentVariableNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "secretNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "flavor": {
     "type": "string"
    },
    "status": {
     "type": "object",
     "properties": {
      "stage": {
       "type": "string"
      },
      "message": {
       "type": [
        "string",
        "null"
       ]
      },
      "exposeUrls": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "required": [
      "stage"
     ]
    },
    "owner": {
     "type": "string"
    },
    "createdBy": {
     "type": "string"
    },
    "tags": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "labels": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "timeoutSeconds": {
     "type": "number"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "url",
    "createdAt",
    "environmentVariableNames",
    "secretNames",
    "flavor",
    "status",
    "owner"
   ]
  },
  "scheduledJob": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "scheduled_job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace"
   ]
  },
  "note": {
   "type": "string"
  }
 },
 "required": [
  "action"
 ]
}
POST /api/jobs/{ns}/{id}/cancel
DELETE /api/scheduled-jobs/{ns}/{id}
hf_job_update
canManageJobsAndSandboxesdestructive
replaces hf_jobs
async def hf_job_update(
    *,
    job: str,
    kind: Literal["job", "scheduled_job", "scheduled"] = "job",
    labels: dict[str, str] | None = None,
    action: Literal["suspend", "resume", "run_now"] | None = None,
    schedule: str | None = None,
    namespace: str | None = None,
) -> dict[str, Any]:
    """Replace or clear a job's labels by ID, or modify a recurring schedule: suspend (pause), resume,
    change its cron timing or trigger a run now. Triggering a run consumes paid compute. Returns the
    updated job or schedule and, for an immediate trigger, the started run. See hf_job_cancel.

    Args:
        job: Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
        kind: Record kind: job (one run) or scheduled_job (recurring; scheduled works).
        labels: Replace all labels ({} clears them).
        action: Scheduled jobs only: pause, resume, or trigger one run now (billed like a run).
        schedule: Scheduled jobs only: new cron expression or @hourly/@daily/...
        namespace: User or org owning the jobs (name or profile uri; default: you).

    Returns: {
        job: {kind: Literal["job"], id: str, namespace: str, url: str, endpoint: str, createdAt: str, finishedAt: str, dockerImage: str, spaceId: str, command: list[str], arguments: list[str], environmentVariableNames: list[str], secretNames: list[str], flavor: str, status: {stage: str, message: str | None, exposeUrls: list[str]}, owner: str, createdBy: str, tags: list[str], labels: dict[str, str], timeoutSeconds: float},
        scheduledJob: {kind: Literal["scheduled_job"], id: str, namespace: str, schedule: str, suspended: bool, lastRunAt: str, nextRunAt: str, owner: str, createdAt: str, concurrency: bool, jobSpec: dict[str, Any]},
        triggeredJob: {kind: Literal["job"], id: str, namespace: str, url: str, endpoint: str, createdAt: str, finishedAt: str, dockerImage: str, spaceId: str, command: list[str], arguments: list[str], environmentVariableNames: list[str], secretNames: list[str], flavor: str, status: {stage: str, message: str | None, exposeUrls: list[str]}, owner: str, createdBy: str, tags: list[str], labels: dict[str, str], timeoutSeconds: float},
        note: str,
    }
    """
    ...
/**
 * Replace or clear a job's labels by ID, or modify a recurring schedule: suspend (pause), resume,
 * change its cron timing or trigger a run now. Triggering a run consumes paid compute. Returns the
 * updated job or schedule and, for an immediate trigger, the started run. See hf_job_cancel.
 */
declare function hf_job_update(args: {
  // Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL).
  job: string;
  // Record kind: job (one run) or scheduled_job (recurring; scheduled works). @default "job"
  kind?: "job" | "scheduled_job" | "scheduled";
  // Replace all labels ({} clears them).
  labels?: Record<string, string>;
  // Scheduled jobs only: pause, resume, or trigger one run now (billed like a run).
  action?: "suspend" | "resume" | "run_now";
  // Scheduled jobs only: new cron expression or @hourly/@daily/...
  schedule?: string;
  // User or org owning the jobs (name or profile uri; default: you).
  namespace?: string;
}): Promise<{
  job?: { kind: "job"; id: string; namespace: string; url: string; endpoint?: string; createdAt: string; finishedAt?: string; dockerImage?: string; spaceId?: string; command?: string[]; arguments?: string[]; environmentVariableNames: string[]; secretNames: string[]; flavor: string; status: { stage: string; message?: string | null; exposeUrls?: string[]; }; owner: string; createdBy?: string; tags?: string[]; labels?: Record<string, string>; timeoutSeconds?: number; };
  scheduledJob?: { kind: "scheduled_job"; id: string; namespace: string; schedule: string; suspended: boolean; lastRunAt?: string; nextRunAt?: string; owner: string; createdAt: string; concurrency?: boolean; jobSpec: Record<string, unknown>; };
  triggeredJob?: { kind: "job"; id: string; namespace: string; url: string; endpoint?: string; createdAt: string; finishedAt?: string; dockerImage?: string; spaceId?: string; command?: string[]; arguments?: string[]; environmentVariableNames: string[]; secretNames: string[]; flavor: string; status: { stage: string; message?: string | null; exposeUrls?: string[]; }; owner: string; createdBy?: string; tags?: string[]; labels?: Record<string, string>; timeoutSeconds?: number; };
  note?: string;
}>;
input schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "string",
   "description": "Job ID as returned by hf_job_run/hf_jobs_list (or the job page URL)."
  },
  "kind": {
   "description": "Record kind: job (one run) or scheduled_job (recurring; scheduled works).",
   "default": "job",
   "type": "string",
   "enum": [
    "job",
    "scheduled_job",
    "scheduled"
   ]
  },
  "labels": {
   "description": "Replace all labels ({} clears them).",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "action": {
   "description": "Scheduled jobs only: pause, resume, or trigger one run now (billed like a run).",
   "type": "string",
   "enum": [
    "suspend",
    "resume",
    "run_now"
   ]
  },
  "schedule": {
   "description": "Scheduled jobs only: new cron expression or @hourly/@daily/...",
   "type": "string"
  },
  "namespace": {
   "description": "User or org owning the jobs (name or profile uri; default: you).",
   "type": "string"
  }
 },
 "required": [
  "job"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "job": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "finishedAt": {
     "type": "string"
    },
    "dockerImage": {
     "type": "string"
    },
    "spaceId": {
     "type": "string"
    },
    "command": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "arguments": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "environmentVariableNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "secretNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "flavor": {
     "type": "string"
    },
    "status": {
     "type": "object",
     "properties": {
      "stage": {
       "type": "string"
      },
      "message": {
       "type": [
        "string",
        "null"
       ]
      },
      "exposeUrls": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "required": [
      "stage"
     ]
    },
    "owner": {
     "type": "string"
    },
    "createdBy": {
     "type": "string"
    },
    "tags": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "labels": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "timeoutSeconds": {
     "type": "number"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "url",
    "createdAt",
    "environmentVariableNames",
    "secretNames",
    "flavor",
    "status",
    "owner"
   ]
  },
  "scheduledJob": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "scheduled_job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "schedule": {
     "type": "string"
    },
    "suspended": {
     "type": "boolean"
    },
    "lastRunAt": {
     "type": "string"
    },
    "nextRunAt": {
     "type": "string"
    },
    "owner": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "concurrency": {
     "type": "boolean"
    },
    "jobSpec": {
     "type": "object"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "schedule",
    "suspended",
    "owner",
    "createdAt",
    "jobSpec"
   ]
  },
  "triggeredJob": {
   "type": "object",
   "properties": {
    "kind": {
     "type": "string",
     "const": "job"
    },
    "id": {
     "type": "string"
    },
    "namespace": {
     "type": "string"
    },
    "url": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "createdAt": {
     "type": "string"
    },
    "finishedAt": {
     "type": "string"
    },
    "dockerImage": {
     "type": "string"
    },
    "spaceId": {
     "type": "string"
    },
    "command": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "arguments": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "environmentVariableNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "secretNames": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "flavor": {
     "type": "string"
    },
    "status": {
     "type": "object",
     "properties": {
      "stage": {
       "type": "string"
      },
      "message": {
       "type": [
        "string",
        "null"
       ]
      },
      "exposeUrls": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "required": [
      "stage"
     ]
    },
    "owner": {
     "type": "string"
    },
    "createdBy": {
     "type": "string"
    },
    "tags": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "labels": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "timeoutSeconds": {
     "type": "number"
    }
   },
   "required": [
    "kind",
    "id",
    "namespace",
    "url",
    "createdAt",
    "environmentVariableNames",
    "secretNames",
    "flavor",
    "status",
    "owner"
   ]
  },
  "note": {
   "type": "string"
  }
 }
}
PUT …/labels
POST /api/scheduled-jobs/{ns}/{id}/{suspend,resume,run,schedule}

Sandboxes (7)

ToolDefinitionEndpoints
hf_sandbox_create
canManageJobsAndSandboxesdestructive
replaces hf_sandbox
async def hf_sandbox_create(
    *,
    image: str = "python:3.12",
    flavor: str = "cpu-basic",
    lifetime: str = "1h",
    name: str | None = None,
    namespace: str | None = None,
    volumes: list[str] | None = None,
    bucket: str | None = None,
    forwardHfToken: bool = False,
    resourceGroupId: str | None = None,
) -> dict[str, Any]:
    """Sandbox: Create a Hugging Face sandbox (cloud shell, dev container) on CPU or GPU hardware.
    Choose a Docker image, idle lifetime and optional volume mounts. Returns a sandbox handle and
    readiness flag. Consumes paid compute billed to the owning user or organization while running.

    Args:
        image: Docker image, e.g. python:3.12 or pytorch/pytorch:latest.
        flavor: Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h100.
        lifetime: Idle lifetime, e.g. 30m or 2h (max 24h; billed while running).
        name: Friendly name (1-63 letters, digits, hyphens). Generated when omitted.
        namespace: User or org that owns and pays (name or profile uri; default: you).
        volumes: FUSE mounts (repos ro, buckets rw): "hf://datasets/o/d[@rev][/dir]:/mnt:ro".
        bucket: Bucket uri (hf_buckets_list items[].uri) to mount read-write at /data.
        forwardHfToken: Expose your token in the sandbox as the HF_TOKEN secret.
        resourceGroupId: Organization resource group to run in; requires namespace.

    Returns: {
        kind: Literal["sandbox"],
        id: str,  # Pass as sandbox to the hf_sandbox_* tools.
        url: str,
        namespace: str,
        jobId: str,
        name: str,
        serverUrl: str,  # Needs the sandbox token: use the hf_sandbox_* tools.
        volumes: list[{kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str, mountPath: str, readOnly: bool, path: str | None, revision: str | None}],
        ready: bool,  # False if still starting after ~10 s: check hf_sandbox_status.
        hfTokenForwarded: bool,
    }
    """
    ...
/**
 * Sandbox: Create a Hugging Face sandbox (cloud shell, dev container) on CPU or GPU hardware.
 * Choose a Docker image, idle lifetime and optional volume mounts. Returns a sandbox handle and
 * readiness flag. Consumes paid compute billed to the owning user or organization while running.
 */
declare function hf_sandbox_create(args: {
  // Docker image, e.g. python:3.12 or pytorch/pytorch:latest. @default "python:3.12"
  image?: string;
  // Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h100. @default "cpu-basic"
  flavor?: string;
  // Idle lifetime, e.g. 30m or 2h (max 24h; billed while running). @default "1h"
  lifetime?: string;
  // Friendly name (1-63 letters, digits, hyphens). Generated when omitted.
  name?: string;
  // User or org that owns and pays (name or profile uri; default: you).
  namespace?: string;
  // FUSE mounts (repos ro, buckets rw): "hf://datasets/o/d[@rev][/dir]:/mnt:ro".
  volumes?: string[];
  // Bucket uri (hf_buckets_list items[].uri) to mount read-write at /data.
  bucket?: string;
  // Expose your token in the sandbox as the HF_TOKEN secret. @default false
  forwardHfToken?: boolean;
  // Organization resource group to run in; requires namespace.
  resourceGroupId?: string;
}): Promise<{
  kind: "sandbox";
  // Pass as sandbox to the hf_sandbox_* tools.
  id: string;
  url: string;
  namespace: string;
  jobId: string;
  name: string;
  // Needs the sandbox token: use the hf_sandbox_* tools.
  serverUrl: string;
  volumes: Array<{ kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; mountPath: string; readOnly: boolean; path: string | null; revision: string | null; }>;
  // False if still starting after ~10 s: check hf_sandbox_status.
  ready: boolean;
  hfTokenForwarded: boolean;
}>;
input schema
{
 "type": "object",
 "properties": {
  "image": {
   "default": "python:3.12",
   "description": "Docker image, e.g. python:3.12 or pytorch/pytorch:latest.",
   "type": "string"
  },
  "flavor": {
   "default": "cpu-basic",
   "description": "Flavor (hf_hardware_flavors items[].id), e.g. cpu-basic, t4-small, h100.",
   "type": "string"
  },
  "lifetime": {
   "default": "1h",
   "description": "Idle lifetime, e.g. 30m or 2h (max 24h; billed while running).",
   "type": "string"
  },
  "name": {
   "description": "Friendly name (1-63 letters, digits, hyphens). Generated when omitted.",
   "type": "string"
  },
  "namespace": {
   "description": "User or org that owns and pays (name or profile uri; default: you).",
   "type": "string"
  },
  "volumes": {
   "description": "FUSE mounts (repos ro, buckets rw): \"hf://datasets/o/d[@rev][/dir]:/mnt:ro\".",
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "bucket": {
   "description": "Bucket uri (hf_buckets_list items[].uri) to mount read-write at /data.",
   "type": "string"
  },
  "forwardHfToken": {
   "default": false,
   "description": "Expose your token in the sandbox as the HF_TOKEN secret.",
   "type": "boolean"
  },
  "resourceGroupId": {
   "description": "Organization resource group to run in; requires namespace.",
   "type": "string"
  }
 },
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "sandbox"
  },
  "id": {
   "type": "string",
   "description": "Pass as sandbox to the hf_sandbox_* tools."
  },
  "url": {
   "type": "string"
  },
  "namespace": {
   "type": "string"
  },
  "jobId": {
   "type": "string"
  },
  "name": {
   "type": "string"
  },
  "serverUrl": {
   "type": "string",
   "description": "Needs the sandbox token: use the hf_sandbox_* tools."
  },
  "volumes": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "model",
       "dataset",
       "space",
       "bucket"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "mountPath": {
      "type": "string"
     },
     "readOnly": {
      "type": "boolean"
     },
     "path": {
      "type": [
       "string",
       "null"
      ]
     },
     "revision": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url",
     "mountPath",
     "readOnly",
     "path",
     "revision"
    ]
   }
  },
  "ready": {
   "type": "boolean",
   "description": "False if still starting after ~10 s: check hf_sandbox_status."
  },
  "hfTokenForwarded": {
   "type": "boolean"
  }
 },
 "required": [
  "kind",
  "id",
  "url",
  "namespace",
  "jobId",
  "name",
  "serverUrl",
  "volumes",
  "ready",
  "hfTokenForwarded"
 ]
}
POST /api/jobs/{ns} + PUT …/expose
hf_sandbox_status
canManageJobsAndSandboxesread-only
replaces hf_sandbox
async def hf_sandbox_status(*, sandbox: str) -> dict[str, Any]:
    """Sandbox: Check Hugging Face sandbox status, server health and background processes by handle.
    Returns job stage, hardware flavor, image, idle lifetime and volume mounts, plus detached
    process IDs, tags, running states and exit codes when process listing is available.

    Args:
        sandbox: Sandbox handle from hf_sandbox_create (or a job id).

    Returns: {
        kind: Literal["sandbox"],
        id: str,  # Pass as sandbox to the hf_sandbox_* tools.
        url: str,
        namespace: str,
        jobId: str,
        name: str | None,
        serverUrl: str,
        stage: str,
        stageMessage: str | None,
        healthy: bool,
        healthError: str | None,
        flavor: str | None,
        image: str | None,
        createdAt: str | None,
        idleLifetimeSeconds: float | None,
        volumes: list[{kind: Literal["model", "dataset", "space", "bucket"], id: str, uri: str, url: str, mountPath: str, readOnly: bool, path: str | None, revision: str | None}],
        processes: {items: list[dict[str, Any]], returnedCount: int, nextCursor: None, completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str, available: bool}},  # Detached processes only; items[].id goes to hf_sandbox_kill.
    }
    """
    ...
/**
 * Sandbox: Check Hugging Face sandbox status, server health and background processes by handle.
 * Returns job stage, hardware flavor, image, idle lifetime and volume mounts, plus detached
 * process IDs, tags, running states and exit codes when process listing is available.
 */
declare function hf_sandbox_status(args: {
  // Sandbox handle from hf_sandbox_create (or a job id).
  sandbox: string;
}): Promise<{
  kind: "sandbox";
  // Pass as sandbox to the hf_sandbox_* tools.
  id: string;
  url: string;
  namespace: string;
  jobId: string;
  name: string | null;
  serverUrl: string;
  stage: string;
  stageMessage: string | null;
  healthy: boolean;
  healthError: string | null;
  flavor: string | null;
  image: string | null;
  createdAt: string | null;
  idleLifetimeSeconds: number | null;
  volumes: Array<{ kind: "model" | "dataset" | "space" | "bucket"; id: string; uri: string; url: string; mountPath: string; readOnly: boolean; path: string | null; revision: string | null; }>;
  // Detached processes only; items[].id goes to hf_sandbox_kill.
  processes: { items: Record<string, unknown>[]; returnedCount: number; nextCursor: null; completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; available: boolean; }; };
}>;
input schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string",
   "description": "Sandbox handle from hf_sandbox_create (or a job id)."
  }
 },
 "required": [
  "sandbox"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "sandbox"
  },
  "id": {
   "type": "string",
   "description": "Pass as sandbox to the hf_sandbox_* tools."
  },
  "url": {
   "type": "string"
  },
  "namespace": {
   "type": "string"
  },
  "jobId": {
   "type": "string"
  },
  "name": {
   "type": [
    "string",
    "null"
   ]
  },
  "serverUrl": {
   "type": "string"
  },
  "stage": {
   "type": "string"
  },
  "stageMessage": {
   "type": [
    "string",
    "null"
   ]
  },
  "healthy": {
   "type": "boolean"
  },
  "healthError": {
   "type": [
    "string",
    "null"
   ]
  },
  "flavor": {
   "type": [
    "string",
    "null"
   ]
  },
  "image": {
   "type": [
    "string",
    "null"
   ]
  },
  "createdAt": {
   "type": [
    "string",
    "null"
   ]
  },
  "idleLifetimeSeconds": {
   "type": [
    "number",
    "null"
   ]
  },
  "volumes": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "model",
       "dataset",
       "space",
       "bucket"
      ]
     },
     "id": {
      "type": "string"
     },
     "uri": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "mountPath": {
      "type": "string"
     },
     "readOnly": {
      "type": "boolean"
     },
     "path": {
      "type": [
       "string",
       "null"
      ]
     },
     "revision": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "kind",
     "id",
     "uri",
     "url",
     "mountPath",
     "readOnly",
     "path",
     "revision"
    ]
   }
  },
  "processes": {
   "type": "object",
   "properties": {
    "items": {
     "type": "array",
     "items": {
      "type": "object"
     }
    },
    "returnedCount": {
     "type": "integer"
    },
    "nextCursor": {
     "type": "null"
    },
    "completeness": {
     "type": "object",
     "properties": {
      "hasMore": {
       "type": "boolean"
      },
      "truncated": {
       "type": "boolean"
      },
      "reason": {
       "type": "string",
       "enum": [
        "row_sort_cursor",
        "page_budget",
        "ranking_window",
        "owner_fanout_cap",
        "items_cap",
        "text_budget"
       ]
      },
      "hint": {
       "type": "string"
      },
      "available": {
       "type": "boolean"
      }
     },
     "required": [
      "hasMore",
      "available"
     ]
    }
   },
   "required": [
    "items",
    "returnedCount",
    "nextCursor",
    "completeness"
   ],
   "description": "Detached processes only; items[].id goes to hf_sandbox_kill."
  }
 },
 "required": [
  "kind",
  "id",
  "url",
  "namespace",
  "jobId",
  "name",
  "serverUrl",
  "stage",
  "stageMessage",
  "healthy",
  "healthError",
  "flavor",
  "image",
  "createdAt",
  "idleLifetimeSeconds",
  "volumes",
  "processes"
 ]
}
GET /api/jobs/{ns}/{id}
sbx-server health + processes
hf_sandbox_terminate
canManageJobsAndSandboxesdestructive
replaces hf_sandbox
async def hf_sandbox_terminate(*, sandbox: str) -> dict[str, Any]:
    """Sandbox: Stop and terminate a Hugging Face sandbox by its handle. Ends the sandbox and returns
    termination confirmation, the sandbox ID, the underlying job ID and a link to its job page.

    Args:
        sandbox: Sandbox handle from hf_sandbox_create (or a job id).

    Returns: {
        kind: Literal["sandbox"],
        id: str,  # Pass as sandbox to the hf_sandbox_* tools.
        url: str,
        namespace: str,
        jobId: str,
        terminated: Literal[True],
    }
    """
    ...
/**
 * Sandbox: Stop and terminate a Hugging Face sandbox by its handle. Ends the sandbox and returns
 * termination confirmation, the sandbox ID, the underlying job ID and a link to its job page.
 */
declare function hf_sandbox_terminate(args: {
  // Sandbox handle from hf_sandbox_create (or a job id).
  sandbox: string;
}): Promise<{
  kind: "sandbox";
  // Pass as sandbox to the hf_sandbox_* tools.
  id: string;
  url: string;
  namespace: string;
  jobId: string;
  terminated: true;
}>;
input schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string",
   "description": "Sandbox handle from hf_sandbox_create (or a job id)."
  }
 },
 "required": [
  "sandbox"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string",
   "const": "sandbox"
  },
  "id": {
   "type": "string",
   "description": "Pass as sandbox to the hf_sandbox_* tools."
  },
  "url": {
   "type": "string"
  },
  "namespace": {
   "type": "string"
  },
  "jobId": {
   "type": "string"
  },
  "terminated": {
   "type": "boolean",
   "const": true
  }
 },
 "required": [
  "kind",
  "id",
  "url",
  "namespace",
  "jobId",
  "terminated"
 ]
}
POST /api/jobs/{ns}/{id}/cancel
hf_sandbox_exec
canManageJobsAndSandboxesdestructive
replaces hf_sandbox_exec
async def hf_sandbox_exec(
    *,
    sandbox: str,
    command: str,
    workdir: str | None = None,
    env: dict[str, str] | None = None,
    stdin: str | None = None,
    timeout: int | None = None,
    detach: bool = False,
    tag: str | None = None,
) -> dict[str, Any]:
    """Sandbox: Run a shell command in an existing Hugging Face sandbox using /bin/sh, with pipes and
    redirects. Returns exit code, stdout and stderr, or starts a background process and returns its
    ID. Choose a working directory and command environment. Commands can modify or delete sandbox
    data.

    Args:
        sandbox: Sandbox handle from hf_sandbox_create (or a job id).
        command: Shell command, run with /bin/sh -lc (pipes, redirects and && work).
        workdir: Absolute working directory inside the sandbox.
        env: Extra environment variables for this command only (never echoed back).
        stdin: Text written to the command stdin (never echoed back).
        timeout: Seconds. Foreground: default 30, max 55. Detached: none unless set.
        detach: Run in the background and return the process id at once.
        tag: Label for a detached process (usable with hf_sandbox_kill).

    Returns: {
        sandbox: str,
        detached: bool,
        exitCode: int | None,  # Null when killed by a signal, timed out, or detached.
        signal: float | str | None,
        timedOut: bool,
        durationMs: float | None,
        stdout: str,  # Last 40000 characters.
        stderr: str,  # Last 40000 characters.
        stdoutTruncated: bool,
        stderrTruncated: bool,
        process: {kind: Literal["process"], id: str, pid: int | None, tag: str | None, command: str | None, running: bool | None, exitCode: int | None, startedAt: str | None} | None,  # When detached.
    }
    """
    ...
/**
 * Sandbox: Run a shell command in an existing Hugging Face sandbox using /bin/sh, with pipes and
 * redirects. Returns exit code, stdout and stderr, or starts a background process and returns its
 * ID. Choose a working directory and command environment. Commands can modify or delete sandbox
 * data.
 */
declare function hf_sandbox_exec(args: {
  // Sandbox handle from hf_sandbox_create (or a job id).
  sandbox: string;
  // Shell command, run with /bin/sh -lc (pipes, redirects and && work).
  command: string;
  // Absolute working directory inside the sandbox.
  workdir?: string;
  // Extra environment variables for this command only (never echoed back).
  env?: Record<string, string>;
  // Text written to the command stdin (never echoed back).
  stdin?: string;
  // Seconds. Foreground: default 30, max 55. Detached: none unless set.
  timeout?: number;
  // Run in the background and return the process id at once. @default false
  detach?: boolean;
  // Label for a detached process (usable with hf_sandbox_kill).
  tag?: string;
}): Promise<{
  sandbox: string;
  detached: boolean;
  // Null when killed by a signal, timed out, or detached.
  exitCode: number | null;
  signal: number | string | null;
  timedOut: boolean;
  durationMs: number | null;
  // Last 40000 characters.
  stdout: string;
  // Last 40000 characters.
  stderr: string;
  stdoutTruncated: boolean;
  stderrTruncated: boolean;
  // When detached.
  process: { kind: "process"; id: string; pid: number | null; tag: string | null; command: string | null; running: boolean | null; exitCode: number | null; startedAt: string | null; } | null;
}>;
input schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string",
   "description": "Sandbox handle from hf_sandbox_create (or a job id)."
  },
  "command": {
   "type": "string",
   "description": "Shell command, run with /bin/sh -lc (pipes, redirects and && work)."
  },
  "workdir": {
   "description": "Absolute working directory inside the sandbox.",
   "type": "string"
  },
  "env": {
   "description": "Extra environment variables for this command only (never echoed back).",
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "stdin": {
   "description": "Text written to the command stdin (never echoed back).",
   "type": "string"
  },
  "timeout": {
   "description": "Seconds. Foreground: default 30, max 55. Detached: none unless set.",
   "type": "integer"
  },
  "detach": {
   "default": false,
   "description": "Run in the background and return the process id at once.",
   "type": "boolean"
  },
  "tag": {
   "description": "Label for a detached process (usable with hf_sandbox_kill).",
   "type": "string"
  }
 },
 "required": [
  "sandbox",
  "command"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string"
  },
  "detached": {
   "type": "boolean"
  },
  "exitCode": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ],
   "description": "Null when killed by a signal, timed out, or detached."
  },
  "signal": {
   "type": [
    "number",
    "string",
    "null"
   ]
  },
  "timedOut": {
   "type": "boolean"
  },
  "durationMs": {
   "type": [
    "number",
    "null"
   ]
  },
  "stdout": {
   "type": "string",
   "description": "Last 40000 characters."
  },
  "stderr": {
   "type": "string",
   "description": "Last 40000 characters."
  },
  "stdoutTruncated": {
   "type": "boolean"
  },
  "stderrTruncated": {
   "type": "boolean"
  },
  "process": {
   "anyOf": [
    {
     "type": "object",
     "properties": {
      "kind": {
       "type": "string",
       "const": "process"
      },
      "id": {
       "type": "string",
       "description": "Pass to hf_sandbox_kill."
      },
      "pid": {
       "anyOf": [
        {
         "type": "integer"
        },
        {
         "type": "null"
        }
       ]
      },
      "tag": {
       "type": [
        "string",
        "null"
       ]
      },
      "command": {
       "description": "Preview: first 500 characters.",
       "type": [
        "string",
        "null"
       ]
      },
      "running": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "exitCode": {
       "anyOf": [
        {
         "type": "integer"
        },
        {
         "type": "null"
        }
       ]
      },
      "startedAt": {
       "type": [
        "string",
        "null"
       ]
      }
     },
     "required": [
      "kind",
      "id",
      "pid",
      "tag",
      "command",
      "running",
      "exitCode",
      "startedAt"
     ]
    },
    {
     "type": "null"
    }
   ],
   "description": "When detached."
  }
 },
 "required": [
  "sandbox",
  "detached",
  "exitCode",
  "signal",
  "timedOut",
  "durationMs",
  "stdout",
  "stderr",
  "stdoutTruncated",
  "stderrTruncated",
  "process"
 ]
}
sbx-server POST /v1/exec
hf_sandbox_kill
canManageJobsAndSandboxesdestructive
replaces hf_sandbox
async def hf_sandbox_kill(*, sandbox: str, process: str) -> dict[str, Any]:
    """Sandbox: Kill a background process in a Hugging Face sandbox by process ID or tag. A tag stops
    every matching process. Returns the killed process records and match method; the sandbox itself
    keeps running.

    Args:
        sandbox: Sandbox handle from hf_sandbox_create (or a job id).
        process: Process id from hf_sandbox_exec/status, or a tag (kills all matches).

    Returns: {
        sandbox: str,
        matchedBy: Literal["id", "tag"],
        killed: list[{kind: Literal["process"], id: str, pid: int | None, tag: str | None, command: str | None, running: bool | None, exitCode: int | None, startedAt: str | None}],
        returnedCount: int,
    }
    """
    ...
/**
 * Sandbox: Kill a background process in a Hugging Face sandbox by process ID or tag. A tag stops
 * every matching process. Returns the killed process records and match method; the sandbox itself
 * keeps running.
 */
declare function hf_sandbox_kill(args: {
  // Sandbox handle from hf_sandbox_create (or a job id).
  sandbox: string;
  // Process id from hf_sandbox_exec/status, or a tag (kills all matches).
  process: string;
}): Promise<{
  sandbox: string;
  matchedBy: "id" | "tag";
  killed: Array<{ kind: "process"; id: string; pid: number | null; tag: string | null; command: string | null; running: boolean | null; exitCode: number | null; startedAt: string | null; }>;
  returnedCount: number;
}>;
input schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string",
   "description": "Sandbox handle from hf_sandbox_create (or a job id)."
  },
  "process": {
   "type": "string",
   "description": "Process id from hf_sandbox_exec/status, or a tag (kills all matches)."
  }
 },
 "required": [
  "sandbox",
  "process"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string"
  },
  "matchedBy": {
   "type": "string",
   "enum": [
    "id",
    "tag"
   ]
  },
  "killed": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "const": "process"
     },
     "id": {
      "type": "string",
      "description": "Pass to hf_sandbox_kill."
     },
     "pid": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ]
     },
     "tag": {
      "type": [
       "string",
       "null"
      ]
     },
     "command": {
      "description": "Preview: first 500 characters.",
      "type": [
       "string",
       "null"
      ]
     },
     "running": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "exitCode": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ]
     },
     "startedAt": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "kind",
     "id",
     "pid",
     "tag",
     "command",
     "running",
     "exitCode",
     "startedAt"
    ]
   }
  },
  "returnedCount": {
   "type": "integer"
  }
 },
 "required": [
  "sandbox",
  "matchedBy",
  "killed",
  "returnedCount"
 ]
}
sbx-server process kill
hf_sandbox_fs_read
canManageJobsAndSandboxesread-only
replaces hf_sandbox_fs
async def hf_sandbox_fs_read(
    *,
    sandbox: str,
    path: str,
    op: Literal["read", "list", "stat"] = "read",
    offset: int | None = 0,
    maxBytes: int = 20000,
    encoding: Literal["text", "base64"] = "text",
    cursor: str | None | None = None,
) -> dict[str, Any]:
    """Sandbox: Read a Hugging Face sandbox file, list a directory or inspect a path by absolute
    sandbox path. Returns file bytes as UTF-8 text or base64, directory entries, or existence, type,
    size and mode. File reads return a continuation offset for chunked access.

    Args:
        sandbox: Sandbox handle from hf_sandbox_create (or a job id).
        path: Absolute POSIX path inside the sandbox, e.g. /tmp/out.txt (not an hf:// uri).
        op: read: byte range; list: directory entries; stat: type, size, mode.
        offset: read: byte offset to start from (use nextOffset).
        maxBytes: read: bytes to return (max 80000).
        encoding: read: text (UTF-8) or base64 for binary files.
        cursor: list: nextCursor from a previous call with the same path.

    Returns: {
        sandbox: str,
        op: Literal["read", "list", "stat"],  # Fields not set by op are null. read: content..nextOffset (size: whole file); list: items; stat: exists, entry.
        path: str,
        exists: bool | None,
        entry: {kind: Literal["file", "dir", "symlink"], id: str, name: str, size: float, lastModified: str | None, mode: str} | None,
        content: str | None,
        encoding: Literal["text", "base64"] | None,
        offset: int | None,
        bytes: int | None,
        size: float | None,
        nextOffset: int | None,
        items: list[{kind: Literal["file", "dir", "symlink"], id: str, name: str, size: float, lastModified: str | None, mode: str}] | None,
        returnedCount: int | None,
        nextCursor: str | None,
        completeness: {hasMore: bool, truncated: bool, reason: Literal["row_sort_cursor", "page_budget", "ranking_window", "owner_fanout_cap", "items_cap", "text_budget"], hint: str} | None,
    }
    """
    ...
/**
 * Sandbox: Read a Hugging Face sandbox file, list a directory or inspect a path by absolute
 * sandbox path. Returns file bytes as UTF-8 text or base64, directory entries, or existence, type,
 * size and mode. File reads return a continuation offset for chunked access.
 */
declare function hf_sandbox_fs_read(args: {
  // Sandbox handle from hf_sandbox_create (or a job id).
  sandbox: string;
  // Absolute POSIX path inside the sandbox, e.g. /tmp/out.txt (not an hf:// uri).
  path: string;
  // read: byte range; list: directory entries; stat: type, size, mode. @default "read"
  op?: "read" | "list" | "stat";
  // read: byte offset to start from (use nextOffset). @default 0
  offset?: number | null;
  // read: bytes to return (max 80000). @default 20000
  maxBytes?: number;
  // read: text (UTF-8) or base64 for binary files. @default "text"
  encoding?: "text" | "base64";
  // list: nextCursor from a previous call with the same path.
  cursor?: string | null;
}): Promise<{
  sandbox: string;
  // Fields not set by op are null. read: content..nextOffset (size: whole file); list: items; stat: exists, entry.
  op: "read" | "list" | "stat";
  path: string;
  exists: boolean | null;
  entry: { kind: "file" | "dir" | "symlink"; id: string; name: string; size: number; lastModified: string | null; mode: string; } | null;
  content: string | null;
  encoding: "text" | "base64" | null;
  offset: number | null;
  bytes: number | null;
  size: number | null;
  nextOffset: number | null;
  items: Array<{ kind: "file" | "dir" | "symlink"; id: string; name: string; size: number; lastModified: string | null; mode: string; }> | null;
  returnedCount: number | null;
  nextCursor: string | null;
  completeness: { hasMore: boolean; truncated?: boolean; reason?: "row_sort_cursor" | "page_budget" | "ranking_window" | "owner_fanout_cap" | "items_cap" | "text_budget"; hint?: string; } | null;
}>;
input schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string",
   "description": "Sandbox handle from hf_sandbox_create (or a job id)."
  },
  "path": {
   "type": "string",
   "description": "Absolute POSIX path inside the sandbox, e.g. /tmp/out.txt (not an hf:// uri)."
  },
  "op": {
   "default": "read",
   "description": "read: byte range; list: directory entries; stat: type, size, mode.",
   "type": "string",
   "enum": [
    "read",
    "list",
    "stat"
   ]
  },
  "offset": {
   "default": 0,
   "description": "read: byte offset to start from (use nextOffset).",
   "type": [
    "integer",
    "null"
   ]
  },
  "maxBytes": {
   "default": 20000,
   "description": "read: bytes to return (max 80000).",
   "type": "integer"
  },
  "encoding": {
   "default": "text",
   "description": "read: text (UTF-8) or base64 for binary files.",
   "type": "string",
   "enum": [
    "text",
    "base64"
   ]
  },
  "cursor": {
   "description": "list: nextCursor from a previous call with the same path.",
   "type": [
    "string",
    "null"
   ]
  }
 },
 "required": [
  "sandbox",
  "path"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string"
  },
  "op": {
   "type": "string",
   "enum": [
    "read",
    "list",
    "stat"
   ],
   "description": "Fields not set by op are null. read: content..nextOffset (size: whole file); list: items; stat: exists, entry."
  },
  "path": {
   "type": "string"
  },
  "exists": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "entry": {
   "anyOf": [
    {
     "type": "object",
     "properties": {
      "kind": {
       "type": "string",
       "enum": [
        "file",
        "dir",
        "symlink"
       ]
      },
      "id": {
       "type": "string",
       "description": "Absolute path."
      },
      "name": {
       "type": "string"
      },
      "size": {
       "type": "number"
      },
      "lastModified": {
       "type": [
        "string",
        "null"
       ]
      },
      "mode": {
       "type": "string"
      }
     },
     "required": [
      "kind",
      "id",
      "name",
      "size",
      "lastModified",
      "mode"
     ]
    },
    {
     "type": "null"
    }
   ]
  },
  "content": {
   "type": [
    "string",
    "null"
   ]
  },
  "encoding": {
   "anyOf": [
    {
     "type": "string",
     "enum": [
      "text",
      "base64"
     ]
    },
    {
     "type": "null"
    }
   ]
  },
  "offset": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  },
  "bytes": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  },
  "size": {
   "type": [
    "number",
    "null"
   ]
  },
  "nextOffset": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  },
  "items": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "kind": {
        "type": "string",
        "enum": [
         "file",
         "dir",
         "symlink"
        ]
       },
       "id": {
        "type": "string",
        "description": "Absolute path."
       },
       "name": {
        "type": "string"
       },
       "size": {
        "type": "number"
       },
       "lastModified": {
        "type": [
         "string",
         "null"
        ]
       },
       "mode": {
        "type": "string"
       }
      },
      "required": [
       "kind",
       "id",
       "name",
       "size",
       "lastModified",
       "mode"
      ]
     }
    },
    {
     "type": "null"
    }
   ]
  },
  "returnedCount": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  },
  "nextCursor": {
   "type": [
    "string",
    "null"
   ]
  },
  "completeness": {
   "anyOf": [
    {
     "type": "object",
     "properties": {
      "hasMore": {
       "type": "boolean"
      },
      "truncated": {
       "type": "boolean"
      },
      "reason": {
       "type": "string",
       "enum": [
        "row_sort_cursor",
        "page_budget",
        "ranking_window",
        "owner_fanout_cap",
        "items_cap",
        "text_budget"
       ]
      },
      "hint": {
       "type": "string"
      }
     },
     "required": [
      "hasMore"
     ]
    },
    {
     "type": "null"
    }
   ]
  }
 },
 "required": [
  "sandbox",
  "op",
  "path",
  "exists",
  "entry",
  "content",
  "encoding",
  "offset",
  "bytes",
  "size",
  "nextOffset",
  "items",
  "returnedCount",
  "nextCursor",
  "completeness"
 ]
}
sbx-server fs ls/stat/read
hf_sandbox_fs_write
canManageJobsAndSandboxesdestructive
replaces hf_sandbox_fs
async def hf_sandbox_fs_write(
    *,
    sandbox: str,
    path: str,
    op: Literal["write", "remove", "mkdir"] = "write",
    text: str | None = None,
    base64: str | None = None,
    recursive: bool = False,
) -> dict[str, Any]:
    """Sandbox: Write a Hugging Face sandbox file from text or base64 content at an absolute sandbox
    path. Create or overwrite files, create directories, or delete files and recursively remove
    directory contents. Overwrites replace existing file content. Returns completion and, for
    writes, bytes written.

    Args:
        sandbox: Sandbox handle from hf_sandbox_create (or a job id).
        path: Absolute POSIX path inside the sandbox, e.g. /tmp/out.txt (not an hf:// uri).
        op: write: create/overwrite a file; remove: delete; mkdir: create a folder.
        text: write: UTF-8 file content (exclusive with base64).
        base64: write: base64 file content for binary files (exclusive with text).
        recursive: remove: delete a directory and its contents.

    Returns: {
        sandbox: str,
        op: Literal["write", "remove", "mkdir"],
        path: str,
        bytes: int | None,
        done: Literal[True],
    }
    """
    ...
/**
 * Sandbox: Write a Hugging Face sandbox file from text or base64 content at an absolute sandbox
 * path. Create or overwrite files, create directories, or delete files and recursively remove
 * directory contents. Overwrites replace existing file content. Returns completion and, for
 * writes, bytes written.
 */
declare function hf_sandbox_fs_write(args: {
  // Sandbox handle from hf_sandbox_create (or a job id).
  sandbox: string;
  // Absolute POSIX path inside the sandbox, e.g. /tmp/out.txt (not an hf:// uri).
  path: string;
  // write: create/overwrite a file; remove: delete; mkdir: create a folder. @default "write"
  op?: "write" | "remove" | "mkdir";
  // write: UTF-8 file content (exclusive with base64).
  text?: string;
  // write: base64 file content for binary files (exclusive with text).
  base64?: string;
  // remove: delete a directory and its contents. @default false
  recursive?: boolean;
}): Promise<{
  sandbox: string;
  op: "write" | "remove" | "mkdir";
  path: string;
  bytes: number | null;
  done: true;
}>;
input schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string",
   "description": "Sandbox handle from hf_sandbox_create (or a job id)."
  },
  "path": {
   "type": "string",
   "description": "Absolute POSIX path inside the sandbox, e.g. /tmp/out.txt (not an hf:// uri)."
  },
  "op": {
   "default": "write",
   "description": "write: create/overwrite a file; remove: delete; mkdir: create a folder.",
   "type": "string",
   "enum": [
    "write",
    "remove",
    "mkdir"
   ]
  },
  "text": {
   "description": "write: UTF-8 file content (exclusive with base64).",
   "type": "string"
  },
  "base64": {
   "description": "write: base64 file content for binary files (exclusive with text).",
   "type": "string"
  },
  "recursive": {
   "default": false,
   "description": "remove: delete a directory and its contents.",
   "type": "boolean"
  }
 },
 "required": [
  "sandbox",
  "path"
 ],
 "additionalProperties": false
}
output schema
{
 "type": "object",
 "properties": {
  "sandbox": {
   "type": "string"
  },
  "op": {
   "type": "string",
   "enum": [
    "write",
    "remove",
    "mkdir"
   ]
  },
  "path": {
   "type": "string"
  },
  "bytes": {
   "anyOf": [
    {
     "type": "integer"
    },
    {
     "type": "null"
    }
   ]
  },
  "done": {
   "type": "boolean",
   "const": true
  }
 },
 "required": [
  "sandbox",
  "op",
  "path",
  "bytes",
  "done"
 ]
}
sbx-server fs write/rm/mkdir

Benchmark prompts (339)

Routing benchmark: each prompt labelled with the legacy tools and the PTC tools that answer it. 332/334 Hub prompts covered, 2 partial; 5 non-Hub prompts are negatives.

Prompts per tool

hf_models_search100 hf_repo_read_text73 hf_repo_list_files51 hf_datasets_search39 hf_job_run38 hf_repo_info31 hf_spaces_search31 hf_spaces_list24 hf_dataset_structure18 hf_papers_search15 hf_space_tools15 hf_docs_search14 hf_repo_fulltext_search14 hf_trending11 hf_docs_read9 hf_hardware_flavors9 hf_repo_create9 hf_space_invoke9 hf_whoami9 hf_job_logs8 hf_paper_get8 hf_daily_papers7 hf_jobs_list7 hf_dataset_rows6 hf_hub_lookup4 hf_collections_search3 hf_repo_read_image3 hf_buckets_list2 hf_job_get2 hf_repo_history2 hf_repo_paths_info2 hf_collection_get1 hf_job_cancel1 hf_paper_read1 hf_activity0 hf_discussion_get0 hf_discussions_list0 hf_filter_values0 hf_follow_graph0 hf_job_schedule0 hf_job_update0 hf_org_members0 hf_profile_get0 hf_repo_likers0 hf_repo_write_files0 hf_sandbox_create0 hf_sandbox_exec0 hf_sandbox_fs_read0 hf_sandbox_fs_write0 hf_sandbox_kill0 hf_sandbox_status0 hf_sandbox_terminate0 hf_user_likes0

Prompts per family

Hub discovery185 Repository & bucket inspection120 Dataset contents (Dataset Viewer)20 Papers25 Collections3 Documentation14 Callable Spaces15 People & community (read-only)0 Account & repository writes16 Jobs48 Sandboxes0

#split / turnPromptLegacy toolsPTC toolsCoverage
0dev
initial
Create a new private model repository on Hugging Facecreate_repohf_repo_createcovered
1held-out
initial
Show me today's daily papershf_fshf_daily_paperscovered
2held-out
initial
Preview the first rows of the squad datasethub_repo_detailshf_dataset_structure hf_dataset_rowscovered
3dev
initial
What configs and splits does the HuggingFaceFW/fineweb dataset have?hub_repo_detailshf_dataset_structurecovered
4dev
initial
Show me the model card details for meta-llama/Llama-3.1-8B-Instructhf_fs hub_repo_detailshf_repo_info hf_repo_read_textcovered
5held-out
initial
Duplicate the Space black-forest-labs/FLUX.1-dev into my accountcreate_repohf_whoami hf_repo_createcovered
6dev
initial
How do I use the transformers pipeline API? Check the Hugging Face docshf_fshf_docs_search hf_docs_readcovered
7dev
initial
Run batch inference over a large dataset in the cloudhf_jobshf_job_run hf_hardware_flavors ★covered
8dev
initial
Show the logs for my running job and cancel it if it failedhf_jobshf_jobs_list hf_job_logs hf_job_cancelcovered
9held-out
initial
Run a GPU training job on Hugging Face infrastructurehf_jobshf_job_run hf_hardware_flavors ★covered
10dev
initial
Create a new GitHub repository called demo-appcreate_repositorynone (non-Hub)negative
11dev
initial
Look up the latest documentation for the React useEffect hookquery-docs resolve-library-idnone (non-Hub)negative
12dev
initial
Read the contents of ./src/index.ts from my local projectread_file read_text_filenone (non-Hub)negative
13dev
initial
Take a screenshot of the web page that is currently openbrowser_take_screenshotnone (non-Hub)negative
14held-out
initial
What time is it in Tokyo right now?get_current_timenone (non-Hub)negative
15dev
initial
Read the config.json file from the Qwen/Qwen3-8B model repohf_fshf_repo_read_textcovered
16held-out
initial
Search the Hub for Spanish sentiment analysis datasetshf_fs hub_repo_searchhf_datasets_searchcovered
17dev
initial
Which open-weights LLMs under 8B parameters are most downloaded?hf_fs hub_repo_searchhf_models_searchcovered
18dev
initial
Find Hugging Face models for text-to-speechhf_fs hub_repo_searchhf_models_searchcovered
19dev
initial
Find a demo that removes the background from a photo and run itdynamic_spacehf_spaces_search hf_space_tools hf_space_invokecovered
20dev
initial
Generate an image of a cat astronaut using a Spacedynamic_spacehf_spaces_search hf_space_tools hf_space_invokecovered
21dev
initial
What are today's trending models on Hugging Face?hf_fshf_trendingcovered
22held-out
initial
Which Hugging Face account am I logged in as?hf_whoamihf_whoamicovered
23dev
initial
What organizations do I belong to on Hugging Face?hf_whoamihf_whoamicovered
24held-out
initial
Run this Python code remotely with the requests package: print(requests.get('https://huggingface.co').status_code)hf_jobshf_job_runcovered
25held-out
initial
Run a Python job to print 'done'. Set the timeout to 300 seconds.hf_jobshf_job_runcovered
26dev
initial
Run a GPU job on H100 that prints torch.cuda.get_device_name().hf_jobshf_job_run hf_hardware_flavors ★covered
27dev
initial
Run this model inspection on H200 if possible: install transformers and print the config for Qwen/Qwen3-0.6B.hf_jobshf_job_run hf_hardware_flavors ★covered
28held-out
initial
Run a Docker job that does: pip install cadquery && python -c "import cadquery; print(cadquery.__version__)"hf_jobshf_job_runcovered
29dev
initial
Run a job to grep recursively for FLASHINFER or VLLM_USE under /usr/local/lib/python3.12/dist-packages/vllm and show the first 120 matches.hf_jobshf_job_runcovered
30dev
initial
Run a private Hub job that needs my HF token. Pass HF_TOKEN into the job and print HfApi().whoami().hf_jobshf_job_runcovered
31dev
initial
Mount the dataset perctrix/Stock-China-daily into /data read-only and inspect its files.hf_jobshf_job_runcovered
32held-out
initial
Use HF Jobs uv to check that pandas can be installed.hf_jobshf_job_runcovered
33held-out
initial
Run a quick remote Python check that prints the Python version and current platform. Use the lightweight CPU job path.hf_jobshf_job_runcovered
34held-out
initial
Use a remote Python job to fetch https://huggingface.co/api/models/Qwen/Qwen3-0.6B with requests and print the model id and download count.hf_jobshf_job_runcovered
35dev
initial
Use HF Jobs to sample the first row of the LARK-Lab/EnvFactory-SFT-ALL dataset and print the available fields. Install any needed Python dependency.hf_jobshf_job_runcovered
36dev
initial
Run a remote Python script that lists files in the dataset zkaedi/meshy-prime-h0-v1 using huggingface_hub.hf_jobshf_job_runcovered
37dev
initial
Use a remote Python job to read the UGI leaderboard CSV at https://huggingface.co/spaces/DontPlanToEnd/UGI-Leaderboard/resolve/main/ugi-leaderboard-data.csv and print columns plus any rows mentioning Qwen3.6.hf_jobshf_job_runcovered
38dev
initial
Use a remote Python job to download an image from https://nutecdigital.com/wp-content/uploads/2024/05/NUtec-Digital-Ink-solar-roof-LR-scaled-1.jpg, resize it with Pillow, and print the resulting size.hf_jobshf_job_runcovered
39dev
initial
Run a remote Python job that calls HfApi().whoami() using my Hugging Face token. Make sure the job receives HF_TOKEN securely.hf_jobshf_job_runcovered
40dev
initial
Use HF Jobs to run a small GPU Python check that prints torch version, whether CUDA is available, and the GPU name. Use a valid small GPU flavor.hf_jobshf_job_run hf_hardware_flavors ★covered
41dev
initial
Start a Docker job using python:3.12 that prints hello from inside the container.hf_jobshf_job_runcovered
42dev
initial
Run a container job that installs requests with pip, then uses Python to fetch https://httpbin.org/json and print the top-level keys.hf_jobshf_job_runcovered
43dev
initial
Use a job to mount the dataset perctrix/Stock-China-daily at /data read-only, list /data, and print the sizes of any zip files found.hf_jobshf_job_runcovered
44dev
initial
Run a Python 3.12 container job that installs git if needed, clones https://github.com/huggingface/huggingface_hub.git shallowly, and prints the latest commit hash.hf_jobshf_job_runcovered
45held-out
initial
Launch a PyTorch CUDA container job on a valid T4 or A10G flavor that prints torch.cuda.is_available() and nvidia-smi output.hf_jobshf_job_run hf_hardware_flavors ★covered
46dev
initial
Run a job using the Space image hf.co/spaces/nvidia/Kimodo and execute a simple command that prints the working directory and Python version.hf_jobshf_job_runcovered
47held-out
initial
Start a small Python job that prints the value of an environment variable TASK_NAME set to benchmark-smoke. Use cpu-basic.hf_jobshf_job_runcovered
48held-out
initial
Use a remote UV job with polars and pyarrow to read a parquet URL placeholder PARQUET_URL_FROM_HUB_REPO_DETAILS and print shape and head. Use a one hour timeout.hf_jobshf_dataset_structure hf_job_runcovered
49dev
initial
Run a remote Python job that calls the Open-Meteo archive API for Toulouse daily temperatures in 2025 and prints the first three returned dates.hf_jobshf_job_runcovered
50dev
initial
Use HF Jobs to install transformers and print the config for Qwen/Qwen3-0.6B in a remote Python script.hf_jobshf_job_runcovered
51dev
initial
Start a detached remote Python job that sleeps for 30 seconds, prints start and done, and use timeout 2 minutes.hf_jobshf_job_runcovered
52dev
initial
Fetch the last 200 log lines for HF Job ID 6afd9aea545f95df1c062cd1.hf_jobshf_job_logscovered
53dev
initial
Inspect HF Job 6afd9aea545f95df1c062cd2 and summarize its status.hf_jobshf_job_getcovered
54dev
initial
Find English parquet datasets for question answering—hf_datasets_searchcovered
55held-out
initial
Find Spaces that are MCP servers—hf_spaces_listcovered
56dev
initial
Find text-generation models under 8B parameters sorted by downloads—hf_models_searchcovered
57held-out
initial
Find recently updated models named Atlas, not semantic matches.—hf_models_searchcovered
58held-out
initial
Find English parquet datasets; I need repository IDs, not rows.—hf_datasets_searchcovered
59dev
initial
List the most-liked Spaces across the Hub, and continue the same listing.—hf_spaces_listcovered
60dev
initial
Find a demo that removes backgrounds from photos.—hf_spaces_searchcovered
61held-out
initial
Discover models named bert, then find Spaces linked to those discovered model IDs.—hf_models_search hf_spaces_listcovered
62dev
initial
Fetch model and dataset result pages for bert in parallel, then identify owners occurring in both fetched pages.—hf_models_search hf_datasets_searchcovered
63dev
initial
Continue the previous model query with this opaque next_cursor.—hf_models_searchcovered
64dev
initial
Find demos for removing backgrounds through semantic search, then pick the most-liked item within those returned candidates.—hf_spaces_searchcovered
65dev
initial
Locate compact pretrained text-generation weights with inference-provider support, and rank them by download popularity.—hf_models_searchcovered
66dev
initial
Discover Spanish audio training-data repositories in Parquet with a permissive license. I only need repository identifiers.—hf_datasets_searchcovered
67dev
initial
Which running Gradio apps link to google-bert/bert-base-uncased? Show most-liked first and let me continue the same results.—hf_spaces_listcovered
68dev
initial
Find an interactive AI demo that translates a voice recording into another language.—hf_spaces_searchcovered
69dev
initial
Which Gradio Spaces have the most likes?—hf_spaces_listcovered
70held-out
initial
Find an AI app that can transcribe audio—hf_spaces_searchcovered
71dev
initial
What are the trending models right now?—hf_trending hf_models_searchcovered
Trending feed (hf_trending) and sort=trendingScore (hf_models_search) are different orderings; the PTC label expected hf_models_search.
72dev
initial
Legal wants the actual terms: pull the DeepSeek-V2.5 model license and The Stack v2 (train-full-ids) dataset card. Can we use both for a commercial code assistant, and are there any use restrictions or opt-out obligations?hf_fs hub_repo_detailshf_hub_lookup ★ hf_repo_info hf_repo_read_textcovered
73dev
followup
ok what about my jobs-artifacts bucket — list the run folders from the last week and what each one produced
contextI can't remember where I put the uv scripts I've been running as jobs. Look through my datasets for anything named like script / uv / jobs.
hf_fshf_repo_list_files hf_repo_read_textcovered
74dev
initial
I can't remember where I put the uv scripts I've been running as jobs. Look through my datasets for anything named like script / uv / jobs.hf_fs hub_repo_searchhf_whoami hf_datasets_searchcovered
75held-out
followup
that Mistral Large 4 1T-A52B thing — read me the model card. active params, context length, license, how big is the checkpoint?
contextwhat's new today? papers of the day + what models are blowing up
hf_fs hub_repo_detailshf_hub_lookup ★ hf_repo_info hf_repo_read_textcovered
76held-out
followup
also nvidia put out a Nemotron transcribe model — what does its card claim on WER, and where's the open ASR leaderboard so I can compare?
contextwhat's new today? papers of the day + what models are blowing up
hf_fs hub_repo_searchhf_models_search hf_repo_read_text hf_spaces_listcovered
77held-out
initial
what's new today? papers of the day + what models are blowing uphf_fshf_daily_papers hf_trendingcovered
78held-out
followup
someone's published Finnish GGUF fine-tunes (a 27B Swift, a mini, a 9B distill) — list their models and compare the cards
contextwhat Finnish data is there in MultiBLiMP, FineWeb-2 (fin_Latn) and the Wikipedia dump? I want to build a small eval for Finnish grammar
hf_fs hub_repo_searchhf_models_search hf_repo_read_textcovered
79held-out
followup
which quant files are in the 9B AWQ one and the mini GGUF?
contextwhat Finnish data is there in MultiBLiMP, FineWeb-2 (fin_Latn) and the Wikipedia dump? I want to build a small eval for Finnish grammar
hf_fshf_repo_list_filescovered
80held-out
initial
what Finnish data is there in MultiBLiMP, FineWeb-2 (fin_Latn) and the Wikipedia dump? I want to build a small eval for Finnish grammarhf_fs hub_repo_detailshf_datasets_search hf_dataset_structurecovered
81dev
followup
what files are in the fixed SW checkpoint repo? I need the ckpt and the yaml config
contextThere are a bunch of ports of the BS-RoFormer SW 6-stem separator — ONNX, CoreML, MLX. Read their model cards and tell me which one I could realistically run on-device on a Mac or iPhone.
hf_fshf_repo_list_filescovered
82dev
initial
There are a bunch of ports of the BS-RoFormer SW 6-stem separator — ONNX, CoreML, MLX. Read their model cards and tell me which one I could realistically run on-device on a Mac or iPhone.hf_fs hub_repo_searchhf_models_search hf_repo_read_textcovered
83dev
followup
ok, open the replay-selection and shard manifest files they wrote under the _admin folder in my artifacts bucket
contextmy three CPU preflight runs should be finished by now — check whether they succeeded and what they logged
hf_fshf_repo_list_files hf_repo_read_textcovered
84dev
followup
looks good. kick off the decode step: python 3.12 on cpu-basic, 15 minute timeout, mount that bucket read-write at /derived and run the script from it
contextmy three CPU preflight runs should be finished by now — check whether they succeeded and what they logged
hf_jobshf_job_runcovered
85dev
initial
my three CPU preflight runs should be finished by now — check whether they succeeded and what they loggedhf_jobshf_jobs_list hf_job_logscovered
86dev
initial
someone sent me TheBloke/finance-LLM-13B-GGUF, a finance finetune. what quant files are in there and what does the card say about how it was trained?hf_fs hub_repo_detailshf_repo_list_files hf_repo_read_textcovered
87held-out
followup
there are two sd7k uploads, a v1 and one without suffix. list the files in both so I can see if they have the paired shadow/clean images
contextneed training data for document shadow removal — is SD7K or RDD or the DocShadow set downloadable anywhere?
hf_fshf_datasets_search hf_repo_list_filescovered
88held-out
initial
need training data for document shadow removal — is SD7K or RDD or the DocShadow set downloadable anywhere?hf_fs hub_repo_searchhf_datasets_search hf_repo_fulltext_search ★covered
89dev
initial
Did the YuE2 paper or the Unlimited OCR paper release any training data? find both and check for linked datasetshf_fshf_papers_search hf_paper_getcovered
90held-out
followup
is there a 4-bit MLX build of Krea 2 I can run on my Mac? and does that Krea2 character LoRA repo actually contain .safetensors files?
contextI'm picking a base for anime/illustration gen in ComfyUI. Compare Anima 2.9B, NewBie Image, Qwen-Image 2.1 and FLUX.2 klein 9B: what files do the Comfy-Org repackaged repos contain, and what do the licenses actually say about commercial use?
hf_fshf_models_search hf_repo_list_filescovered
91held-out
followup
what image models are trending right now? also anything new for Illustrious or NoobAI
contextI'm picking a base for anime/illustration gen in ComfyUI. Compare Anima 2.9B, NewBie Image, Qwen-Image 2.1 and FLUX.2 klein 9B: what files do the Comfy-Org repackaged repos contain, and what do the licenses actually say about commercial use?
hf_fs hub_repo_searchhf_trending hf_models_searchcovered
92held-out
initial
I'm picking a base for anime/illustration gen in ComfyUI. Compare Anima 2.9B, NewBie Image, Qwen-Image 2.1 and FLUX.2 klein 9B: what files do the Comfy-Org repackaged repos contain, and what do the licenses actually say about commercial use?hf_fshf_models_search hf_repo_list_files hf_repo_read_textcovered
93dev
followup
the moondream 1M synthetic analog clocks one — how big is it and what's the license?
contextwant to teach a small VLM to read analog clocks, dial gauges and an abacus — any existing datasets or models for that?
hf_fs hub_repo_detailshf_datasets_search hf_repo_infocovered
94dev
initial
want to teach a small VLM to read analog clocks, dial gauges and an abacus — any existing datasets or models for that?hf_fs hub_repo_searchhf_datasets_search hf_models_search hf_repo_fulltext_search ★covered
95dev
followup
are there any LoRA adapters people have trained on Qwen3.8-27B?
contexthow big are the mmproj Q8_0 file in prism-ml/Ternary-Bonsai-2-27B-gguf and, in that abliterated Qwen3.8-27B GGUF, the mmproj plus the IQ2_XS and Q3_K_S MTP quants? trying to fit vision + speculative decoding on a 16GB card
hf_fs hub_repo_searchhf_models_searchcovered
96dev
followup
someone made an MTP fork of Bonsai 2 27B with a Windows runtime — read their windows instructions
contexthow big are the mmproj Q8_0 file in prism-ml/Ternary-Bonsai-2-27B-gguf and, in that abliterated Qwen3.8-27B GGUF, the mmproj plus the IQ2_XS and Q3_K_S MTP quants? trying to fit vision + speculative decoding on a 16GB card
hf_fshf_models_search hf_repo_list_files hf_repo_read_textcovered
97dev
initial
how big are the mmproj Q8_0 file in prism-ml/Ternary-Bonsai-2-27B-gguf and, in that abliterated Qwen3.8-27B GGUF, the mmproj plus the IQ2_XS and Q3_K_S MTP quants? trying to fit vision + speculative decoding on a 16GB cardhf_fshf_models_search hf_repo_list_filescovered
98dev
followup
and what are the terms on the python-edu subset of smollm-corpus and on stack-edu?
contextCodeI/O generated their traces with DeepSeek-V2.5 on python-edu. Read me DeepSeek-V2.5's LICENSE and model card — am I allowed to use its outputs to train another model?
hf_fs hub_repo_detailshf_repo_info hf_repo_read_textcovered
99dev
initial
CodeI/O generated their traces with DeepSeek-V2.5 on python-edu. Read me DeepSeek-V2.5's LICENSE and model card — am I allowed to use its outputs to train another model?hf_fs hub_repo_detailshf_repo_read_textcovered
100held-out
followup
the one with a format spec doc looks best — open the spec, the build script and a few sample records from the xlam part
contextHas anyone already merged glaive-function-calling, xlam-function-calling-60k and ToolACE into one unified tool-call format? Find those datasets and list what files each one has.
hf_fshf_repo_list_files hf_repo_read_text hf_dataset_rowscovered
101held-out
followup
show me 2 rows of the glaive tool-call train split so I can compare to the raw format
contextHas anyone already merged glaive-function-calling, xlam-function-calling-60k and ToolACE into one unified tool-call format? Find those datasets and list what files each one has.
hf_fs hub_repo_detailshf_dataset_structure hf_dataset_rowscovered
102held-out
initial
Has anyone already merged glaive-function-calling, xlam-function-calling-60k and ToolACE into one unified tool-call format? Find those datasets and list what files each one has.hf_fs hub_repo_searchhf_datasets_search hf_repo_fulltext_search ★ hf_repo_list_filescovered
103dev
followup
now find recent papers on phone GUI agents that escalate from a small on-device model to a cloud model, plus prompt-injection risks from notifications
contextdo the litert-community Gemma 4 E2B/E4B LiteRT-LM repos include Pixel Tensor-specific model files? also is there a FunctionGemma or EmbeddingGemma build packaged for on-device?
hf_fshf_papers_searchcovered
104dev
initial
do the litert-community Gemma 4 E2B/E4B LiteRT-LM repos include Pixel Tensor-specific model files? also is there a FunctionGemma or EmbeddingGemma build packaged for on-device?hf_fs hub_repo_searchhf_models_search hf_repo_list_filescovered
105dev
followup
ok now list the whole gzip-parts directory
contextIn my scraped-posts dataset, data/gzip-parts/article_index.jsonl ended up as a folder of chunks — list what's in it and print the first few KB of MANIFEST.txt.
hf_fshf_repo_list_filescovered
106dev
initial
In my scraped-posts dataset, data/gzip-parts/article_index.jsonl ended up as a folder of chunks — list what's in it and print the first few KB of MANIFEST.txt.hf_fshf_whoami hf_repo_list_files hf_repo_read_textcovered
107dev
followup
same thing for the smaller shops: poolside, Tele-AI, miromind, maya-research — anything updated lately?
contextBeen offline for two weeks. What did deepseek, moonshot (kimi), minimax, bytedance seed, BFL, wan, lightricks, stepfun, fish audio, ace-step, comfy and openai drop recently? just the newest 2 from each
hf_fs hub_repo_searchhf_models_searchcovered
108dev
followup
and what's actually getting attention right now — top 40 models and the hot papers
contextBeen offline for two weeks. What did deepseek, moonshot (kimi), minimax, bytedance seed, BFL, wan, lightricks, stepfun, fish audio, ace-step, comfy and openai drop recently? just the newest 2 from each
hf_fshf_models_search hf_daily_paperscovered
"top 40" exceeds the 20-item trending feed: hf_models_search sort=trendingScore limit=40.
109dev
initial
Been offline for two weeks. What did deepseek, moonshot (kimi), minimax, bytedance seed, BFL, wan, lightricks, stepfun, fish audio, ace-step, comfy and openai drop recently? just the newest 2 from eachhf_fs hub_repo_searchhf_models_searchcovered
110dev
followup
the one with the asset_ctxs folder — what's the file naming/format in there and how far back does it go?
contextI need historical hyperliquid funding rate / open interest data for a backtest. Anyone published a dump? Find candidates and show me what files are in each one.
hf_fshf_repo_list_files hf_repo_history ★covered
111dev
initial
I need historical hyperliquid funding rate / open interest data for a backtest. Anyone published a dump? Find candidates and show me what files are in each one.hf_fs hub_repo_searchhf_datasets_search hf_repo_fulltext_search ★ hf_repo_list_filescovered
112dev
followup
the PLLuM card got cut off, read the rest of it
contextI've got a list of old leaderboard fine-tunes — a Gemma-2-9B merge, a Llama-3.1-8B GaLore guanaco tune, PLLuM-12B-chat, a few abliterated Japanese gemma-2-2b ORPO tunes, Atlas-Pro-1.5B-Preview. Go through each model card (and config where the card is thin) and tell me base model, training method and dataset for each.
hf_fshf_repo_read_textcovered
113dev
initial
I've got a list of old leaderboard fine-tunes — a Gemma-2-9B merge, a Llama-3.1-8B GaLore guanaco tune, PLLuM-12B-chat, a few abliterated Japanese gemma-2-2b ORPO tunes, Atlas-Pro-1.5B-Preview. Go through each model card (and config where the card is thin) and tell me base model, training method and dataset for each.hf_fs hub_repo_detailshf_hub_lookup ★ hf_repo_info hf_repo_read_textcovered
114dev
followup
ok the Qwen3.8 27B MTP 8-bit one looks good — open its model card and list the files, does it need anything special to run MTP speculative decoding?
contextI've got a 128GB M4 Max. What are the hot MLX quants right now? Specifically look for the newest Qwen3.8, gpt-oss and any 'Air' variants in mlx-community and tell me the total weight size of each so I know what fits in unified memory.
hf_fs hub_repo_detailshf_repo_read_text hf_repo_list_filescovered
115dev
initial
I've got a 128GB M4 Max. What are the hot MLX quants right now? Specifically look for the newest Qwen3.8, gpt-oss and any 'Air' variants in mlx-community and tell me the total weight size of each so I know what fits in unified memory.hf_fs hub_repo_searchhf_models_search hf_repo_infocovered
116held-out
followup
what does the AudioSR paper (2309.07314) say about speech-only vs general audio performance?
contextI've got a pile of noisy 16kHz interview recordings I want to restore to 48k. Compare sidon, MossFormer2_SR_48K / SE_48K and resemble-enhance — read their model cards and tell me which checkpoints each actually ships
hf_fshf_paper_get hf_paper_readcovered
117held-out
followup
didn't meta put out some SAM-style audio separation model? check what's in it
contextI've got a pile of noisy 16kHz interview recordings I want to restore to 48k. Compare sidon, MossFormer2_SR_48K / SE_48K and resemble-enhance — read their model cards and tell me which checkpoints each actually ships
hf_fs hub_repo_searchhf_models_search hf_repo_list_filescovered
118held-out
initial
I've got a pile of noisy 16kHz interview recordings I want to restore to 48k. Compare sidon, MossFormer2_SR_48K / SE_48K and resemble-enhance — read their model cards and tell me which checkpoints each actually shipshf_fs hub_repo_detailshf_hub_lookup ★ hf_repo_read_text hf_repo_list_filescovered
119dev
followup
love those. go ahead and set up three blank static Spaces on my account for them, public
contextI want to build a few small apps that people would actually use. look at what's hot on spaces right now, open up the top handful and tell me what each one actually does, then pitch me 3 ideas in that vein
create_repohf_repo_createcovered
120dev
initial
I want to build a few small apps that people would actually use. look at what's hot on spaces right now, open up the top handful and tell me what each one actually does, then pitch me 3 ideas in that veinhf_fshf_trending hf_repo_info hf_repo_read_textcovered
121dev
followup
what splits and columns does ibm-granite/ChartNet have?
contextI'm building an eval for pulling the numbers back out of scientific line plots — incl. Kaplan-Meier survival curves. What datasets and papers already exist for chart-to-table / plot digitization? newest first
hf_fs hub_repo_detailshf_dataset_structurecovered
122dev
initial
I'm building an eval for pulling the numbers back out of scientific line plots — incl. Kaplan-Meier survival curves. What datasets and papers already exist for chart-to-table / plot digitization? newest firsthf_fs hub_repo_searchhf_datasets_search hf_papers_searchcovered
123dev
followup
the SenseNova Loop 9B preview and MiniMax M3.1 Flash look interesting — when were they published and what does the Loop model card claim?
contextwhat's actually new in open-weight LLMs this week? show me what's trending and anything dropped in the last few days, esp. from mistral
hf_fs hub_repo_detailshf_repo_info hf_repo_history ★ hf_repo_read_textcovered
124dev
initial
what's actually new in open-weight LLMs this week? show me what's trending and anything dropped in the last few days, esp. from mistralhf_fs hub_repo_searchhf_trending hf_models_searchcovered
125dev
followup
What's trending right now? And I saw ISTA-DASLab put out GSQ-RCO GGUF quants of the 27B and Flash-Next — check their cards for which file sizes are available, plus how the DeepSeek V4.1 Flash one compares.
contextQwen3.8 just dropped — what's the actual difference between Flash-Next and the 27B? Context length, active params, recommended sampling settings, all that.
hf_fshf_trending hf_models_search hf_repo_list_filescovered
126dev
followup
also is there anything new from gemma 5 or mistral small 4? and does Nanbeige 4.3 33B have a GGUF yet
contextQwen3.8 just dropped — what's the actual difference between Flash-Next and the 27B? Context length, active params, recommended sampling settings, all that.
hf_fs hub_repo_searchhf_models_searchcovered
127dev
initial
Qwen3.8 just dropped — what's the actual difference between Flash-Next and the 27B? Context length, active params, recommended sampling settings, all that.hf_fs hub_repo_details hub_repo_searchhf_models_search hf_repo_info hf_repo_read_textcovered
128dev
followup
ok, run it with the first English SVS example and give me the audio
contextHow does the ASLP-lab SemBridge demo work? I want to know what inputs the app takes and what the example singing-voice prompts look like before I call it.
dynamic_spacehf_space_tools hf_space_invokecovered
129dev
initial
How does the ASLP-lab SemBridge demo work? I want to know what inputs the app takes and what the example singing-voice prompts look like before I call it.dynamic_space hf_fshf_spaces_search hf_space_tools hf_repo_read_textcovered
130dev
followup
who's the uploader — what other models do they have, what's in their collection, and do they mention DeepSeek-V2.5 anywhere? also pull that model's card
contextthere's a 'PyEdu-Rs' dataset floating around that says it's built from SmolLM's python-edu. Find the original python-edu data in smollm-corpus and show me how it's structured
hf_fshf_models_search hf_collections_search hf_collection_get hf_repo_read_textcovered
131dev
initial
there's a 'PyEdu-Rs' dataset floating around that says it's built from SmolLM's python-edu. Find the original python-edu data in smollm-corpus and show me how it's structuredhf_fs hub_repo_details hub_repo_searchhf_datasets_search hf_dataset_structurecovered
132dev
followup
is there a DFlash draft model for gemma 4 26B A4B that works with llama.cpp? I'd want a GGUF of it, or of the official -assistant model
contextLook at that ThinkingCap fine-tune of gemma-4-26B-A4B-it and its GGUF version — read the model card plus generation_config, config, tokenizer and processor configs and tell me what they changed vs google's original (sampling defaults, chat template, context length).
hf_fs hub_repo_searchhf_models_searchcovered
133dev
initial
Look at that ThinkingCap fine-tune of gemma-4-26B-A4B-it and its GGUF version — read the model card plus generation_config, config, tokenizer and processor configs and tell me what they changed vs google's original (sampling defaults, chat template, context length).hf_fshf_models_search hf_repo_read_textcovered
134dev
initial
show me the two jpgs in the v19 output folder of my results dataset — the eye-corner close-up and the front/hair one. want to eyeball whether the smoothing pass looks okhf_fshf_repo_list_files hf_repo_read_imagecovered
135dev
initial
How is Bria's Fibo 2.0 editing demo built? I want to run it locally — go through its requirements, app.py and the pipeline code and tell me what it depends on and whether it calls a hosted API.hf_fs hub_repo_detailshf_spaces_list hf_repo_list_files hf_repo_read_textcovered
136dev
followup
Add Moonshot, Liquid, IBM Granite, inclusionAI and Tencent to that list — and tell me what the newest inclusionAI and Tencent ones actually do.
contextGive me a rundown of what's trending and what the big labs pushed out lately — Google, Qwen, Mistral, NVIDIA, DeepSeek, Zhipu, Microsoft, Cohere, Meta. Also anything new for Turkish, e.g. from Trendyol.
hf_fs hub_repo_details hub_repo_searchhf_models_search hf_repo_info hf_repo_read_textcovered
137dev
initial
Give me a rundown of what's trending and what the big labs pushed out lately — Google, Qwen, Mistral, NVIDIA, DeepSeek, Zhipu, Microsoft, Cohere, Meta. Also anything new for Turkish, e.g. from Trendyol.hf_fs hub_repo_searchhf_trending hf_models_searchcovered
138dev
followup
meta-llama one is gated for me, use an ungated mirror of the same config
contextPull the configs for DeepSeek-V3, Kimi-K2-Instruct, Llama-3.1-405B-Instruct and gpt-oss-120b and make me a table: hidden size, layers, heads, KV heads, experts/active experts, vocab, context length.
hf_fs hub_repo_searchhf_models_search hf_repo_read_textcovered
139dev
initial
Pull the configs for DeepSeek-V3, Kimi-K2-Instruct, Llama-3.1-405B-Instruct and gpt-oss-120b and make me a table: hidden size, layers, heads, KV heads, experts/active experts, vocab, context length.hf_fshf_repo_read_textcovered
140dev
followup
what about unsloth's version, specifically the Q4_K_M?
contextdeciding between DeepSeek Coder V2 Lite and Qwen3 Coder 30B-A3B for local autocomplete. find the Q4 gguf files for both (bartowski for deepseek, whoever has the qwen one) and tell me the sizes
hf_fs hub_repo_detailshf_models_search hf_repo_list_filescovered
141dev
initial
deciding between DeepSeek Coder V2 Lite and Qwen3 Coder 30B-A3B for local autocomplete. find the Q4 gguf files for both (bartowski for deepseek, whoever has the qwen one) and tell me the sizeshf_fs hub_repo_searchhf_models_search hf_repo_list_filescovered
142held-out
followup
which Qwen3.5 sizes get the most downloads? and is there a GGUF of the small Nemotron reasoning model
contextwhat's hot right now for math reasoning models? also list everything Qwen has pushed recently, newest first
hf_fs hub_repo_searchhf_models_searchcovered
143held-out
followup
for evals: grab the MathArena 2026 competition sets, GPQA diamond, AGIEval SAT and DeepScaleR
contextwhat's hot right now for math reasoning models? also list everything Qwen has pushed recently, newest first
hf_fs hub_repo_searchhf_datasets_searchcovered
144held-out
initial
what's hot right now for math reasoning models? also list everything Qwen has pushed recently, newest firsthf_fs hub_repo_searchhf_models_searchcovered
145held-out
followup
is the generation job still going? give me the last few log lines
contextshow me the rubble renders from the hazard props batch in my bucket — just the cleaned ones — and pull up a couple so I can eyeball them
hf_jobshf_jobs_list hf_job_logscovered
146held-out
initial
show me the rubble renders from the hazard props batch in my bucket — just the cleaned ones — and pull up a couple so I can eyeball themhf_fshf_buckets_list hf_repo_list_files hf_repo_read_imagecovered
147dev
followup
Is there a GGUF build of the Qwen3 TTS CustomVoice or Chatterbox one in that audio.cpp gguf collection repo? list the files for whichever exists
contextI'm picking a TTS engine for a Japanese anime-style voice app. Read the model cards for Irodori-TTS v4.1, ResembleAI chatterbox-turbo and Qwen3-TTS-12Hz-1.7B (VoiceDesign + CustomVoice) and tell me which handles emotion/style control best and how big each checkpoint is.
hf_fshf_repo_list_filescovered
148dev
initial
I'm picking a TTS engine for a Japanese anime-style voice app. Read the model cards for Irodori-TTS v4.1, ResembleAI chatterbox-turbo and Qwen3-TTS-12Hz-1.7B (VoiceDesign + CustomVoice) and tell me which handles emotion/style control best and how big each checkpoint is.hf_fs hub_repo_detailshf_repo_read_text hf_repo_infocovered
149dev
initial
Show me the contact sheets for scene S03 from worker E and S06 from worker F in my image-eval bucket (the desert test run, under audit/) — I want to eyeball them side by side.hf_fshf_repo_list_files hf_repo_read_imagecovered
150held-out
initial
what has the account 'acme-labs' actually put out there? list all their models, datasets and spaceshf_fs hub_repo_searchhf_models_search hf_datasets_search hf_spaces_listcovered
151dev
initial
double-check the upload went through: in my dataset repo, is there data/auto/<run-id>.json and the matching data/auto_rows/<run-id>.jsonl? how big are they?hf_fshf_repo_paths_infocovered
152held-out
followup
Different topic: I've got six Spaces on my account (router, upstream mirror, web edition, standalone web, guardian, plus the org copy of upstream). Can you check each one — is it up, what SDK, when was it last touched?
contextBefore I ship anything on gemma-4-31B-it — what does its license actually say about commercial use and redistribution of fine-tunes? Quote the relevant bits.
hf_fs hub_repo_detailshf_whoami hf_spaces_listcovered
153held-out
initial
Before I ship anything on gemma-4-31B-it — what does its license actually say about commercial use and redistribution of fine-tunes? Quote the relevant bits.hf_fs hub_repo_detailshf_repo_read_textcovered
154dev
initial
What's actually in the HLE-Verified release of Humanity's Last Exam? List the files and summarize the card — how did they verify the questions?hf_fs hub_repo_detailshf_datasets_search hf_repo_list_files hf_repo_read_textcovered
155dev
initial
thibaud/controlnet-openpose-sdxl-1.0 — what files ship with it and what does its config.json look like? need to know if it'll drop into my diffusers SDXL pipelinehf_fs hub_repo_detailshf_repo_list_files hf_repo_read_textcovered
156dev
followup
ok now the voice engine one — how is the qwen3 tts model loaded? show me the relevant bits of the inference file and requirements
contextgo through my TTS spaces — the higgs audio docker one, the audiobook one and the voice engine — and explain how the multi-character audiobook generation works. read the app.py and the config/inference code
hf_fshf_repo_list_files hf_repo_read_textcovered
157dev
initial
go through my TTS spaces — the higgs audio docker one, the audiobook one and the voice engine — and explain how the multi-character audiobook generation works. read the app.py and the config/inference codehf_fshf_spaces_list hf_repo_list_files hf_repo_read_textcovered
158dev
followup
I also need UAVDT and the multi-drone MDMT / M3OT tracking benchmarks — are they mirrored anywhere?
contextThe DynUAV authors put something up under the same name as both a dataset and a model — list everything in both so I can tell where the actual data and checkpoints are.
hf_fs hub_repo_searchhf_datasets_searchcovered
159dev
initial
The DynUAV authors put something up under the same name as both a dataset and a model — list everything in both so I can tell where the actual data and checkpoints are.hf_fshf_models_search hf_datasets_search hf_repo_list_filescovered
160held-out
followup
pdf-ocr by pszemraj and prithivMLmods' Multimodal-OCR look good — are they still running and what do their readmes say?
contextbefore I start building, what demos already exist for: pdf → markdown / OCR, solar & energy forecasting, EV charging, and astronomy (exoplanets, telescopes)? most-liked first
hf_fs hub_repo_detailshf_repo_info hf_repo_read_textcovered
161held-out
initial
before I start building, what demos already exist for: pdf → markdown / OCR, solar & energy forecasting, EV charging, and astronomy (exoplanets, telescopes)? most-liked firstdynamic_space hf_fs hub_repo_searchhf_spaces_search hf_spaces_listcovered
162dev
followup
are there already trained mispronunciation detection models I could just use instead?
contextFor a GOP-style pronunciation scoring setup on speechocean762, check facebook/wav2vec2-lv-60-espeak-cv-ft, facebook/wav2vec2-xlsr-53-espeak-cv-ft and microsoft/wavlm-large — size, license, last updated, downloads. Which should I fine-tune?
hf_fs hub_repo_searchhf_models_searchcovered
163dev
initial
For a GOP-style pronunciation scoring setup on speechocean762, check facebook/wav2vec2-lv-60-espeak-cv-ft, facebook/wav2vec2-xlsr-53-espeak-cv-ft and microsoft/wavlm-large — size, license, last updated, downloads. Which should I fine-tune?hf_fs hub_repo_detailshf_repo_infocovered
164dev
followup
Now I want to ship a demo. Streamlit on Spaces — is it a docker template now? what's the CLI to create the space and push my files?
contextI'm prototyping a credit scoring model for thin-file borrowers in East Africa — think VSLAs/savings groups, mobile money transaction history, social collateral. Find me a few credit default datasets to start with and the relevant research (also anything on conformal prediction for count outcomes, since repayment counts are integer). Pull abstracts for the most relevant ones.
hf_fshf_docs_search hf_docs_readcovered
165dev
initial
I'm prototyping a credit scoring model for thin-file borrowers in East Africa — think VSLAs/savings groups, mobile money transaction history, social collateral. Find me a few credit default datasets to start with and the relevant research (also anything on conformal prediction for count outcomes, since repayment counts are integer). Pull abstracts for the most relevant ones.hf_fs hub_repo_searchhf_datasets_search hf_papers_search hf_paper_getcovered
166dev
followup
Show me everything from yesterday's list (Oct 29), not just the top ones.
contextanything in today's papers on on-policy distillation or SFT data selection? I'm also tracking RLVR/GRPO and reward modeling
hf_fshf_daily_paperscovered
167dev
initial
anything in today's papers on on-policy distillation or SFT data selection? I'm also tracking RLVR/GRPO and reward modelinghf_fshf_daily_paperscovered
168held-out
followup
For huihui's abliterated GGUFs of those, how big are the UD-Q3_K_M / Q2 MXFP4 splits for GLM-5.2, the Q4_K_XL and Q6_K_XL for GLM-5.3 Flash, and IQ1_S for DeepSeek? Trying to see what fits in 128GB.
contextCompare GLM-5.2, DeepSeek V4.1 Flash 1017, GLM-5.3 Flash and Qwen3.8 Flash-Next: total/active params, license, downloads.
hf_fshf_repo_list_filescovered
169held-out
followup
what other abliterated models are trending right now
contextCompare GLM-5.2, DeepSeek V4.1 Flash 1017, GLM-5.3 Flash and Qwen3.8 Flash-Next: total/active params, license, downloads.
hf_fs hub_repo_searchhf_models_searchcovered
170held-out
initial
Compare GLM-5.2, DeepSeek V4.1 Flash 1017, GLM-5.3 Flash and Qwen3.8 Flash-Next: total/active params, license, downloads.hf_fs hub_repo_detailshf_repo_infocovered
171dev
followup
anyone fine-tuned Qwen3.8-27B or the Flash-Next one yet? newest first
contextwhat dropped overnight? give me trending plus the newest uploads from unsloth, bartowski, Qwen, Comfy-Org and ggml-org
hf_fs hub_repo_searchhf_models_searchcovered
172dev
initial
what dropped overnight? give me trending plus the newest uploads from unsloth, bartowski, Qwen, Comfy-Org and ggml-orghf_fs hub_repo_searchhf_trending hf_models_searchcovered
173held-out
followup
Are there papers benchmarking multimodal LLMs on multi-sensor remote sensing — SAR, infrared, multispectral — like GEOBench-VLM?
contextFor my earth-observation VLM I'm deciding on a vision encoder. What resolution, patch size and hidden dim do Apple's AIMv2 large 448 and native checkpoints use, and what other AIMv2 sizes exist?
hf_fshf_papers_searchcovered
174held-out
followup
What downstream task subsets are inside the EarthDial dataset? Just the folder layout is fine.
contextFor my earth-observation VLM I'm deciding on a vision encoder. What resolution, patch size and hidden dim do Apple's AIMv2 large 448 and native checkpoints use, and what other AIMv2 sizes exist?
hf_fs hub_repo_detailshf_repo_list_filescovered
175held-out
initial
For my earth-observation VLM I'm deciding on a vision encoder. What resolution, patch size and hidden dim do Apple's AIMv2 large 448 and native checkpoints use, and what other AIMv2 sizes exist?hf_fs hub_repo_details hub_repo_searchhf_models_search hf_repo_read_textcovered
176dev
followup
What does the Llama 3.2 3B card say about the license and the benchmark numbers vs Gemma?
contextI need a 1–3B instruct model for on-device use. Compare the usual suspects — SmolLM3, Llama 3.2 3B, Gemma 3 1B, Granite 3.3 2B, Falcon3 3B, Phi-4-mini, EXAONE 4.0 1.2B — by popularity and size, and tell me if there's anything newer from Qwen or Google.
hf_fs hub_repo_detailshf_repo_read_textcovered
177dev
initial
I need a 1–3B instruct model for on-device use. Compare the usual suspects — SmolLM3, Llama 3.2 3B, Gemma 3 1B, Granite 3.3 2B, Falcon3 3B, Phi-4-mini, EXAONE 4.0 1.2B — by popularity and size, and tell me if there's anything newer from Qwen or Google.hf_fs hub_repo_details hub_repo_searchhf_models_search hf_repo_infocovered
178dev
followup
I found a few re-uploads of the PyEdu reasoning set (a raw one and a processed one) from some random account — pull up their overview cards so I can see size, license and whether they're legit.
contextDid the CodeI/O authors ever release their python-edu reasoning traces? Check what hkust-nlp has put out, both datasets and model checkpoints.
hf_fs hub_repo_detailshf_repo_info hf_repo_read_textcovered
179dev
initial
Did the CodeI/O authors ever release their python-edu reasoning traces? Check what hkust-nlp has put out, both datasets and model checkpoints.hf_fs hub_repo_searchhf_models_search hf_datasets_searchcovered
180dev
followup
ok and is the original the python-edu subset in HuggingFaceTB's smollm-corpus? find it so I can compare
contextSomeone uploaded two datasets that look like a re-pack of python-edu — a '-Raw' one and a processed one from the same account. Read both READMEs and the .gitattributes and tell me what actually differs between raw and processed.
hf_fs hub_repo_searchhf_datasets_searchcovered
181dev
initial
Someone uploaded two datasets that look like a re-pack of python-edu — a '-Raw' one and a processed one from the same account. Read both READMEs and the .gitattributes and tell me what actually differs between raw and processed.hf_fs hub_repo_detailshf_repo_read_textcovered
182dev
followup
show me a few lines of the training jsonl and the adversarial set, and the eval script in the repro folder — is the eval legit?
contextlist every model and dataset the org 'northwind-labs' has put up, then go through their 1.5B model and its 'abstain' variant: model card, full file tree
hf_fshf_repo_read_textcovered
183dev
initial
list every model and dataset the org 'northwind-labs' has put up, then go through their 1.5B model and its 'abstain' variant: model card, full file treehf_fs hub_repo_searchhf_models_search hf_datasets_search hf_repo_read_text hf_repo_list_filescovered
184dev
followup
Now for the first account's tool-call datasets (the ToolACE pool, the glaive mix, the xLAM function calls, the API trace one and the merge scratch set) — list all files and give me the README of each.
contextI found three accounts posting function-calling training data. List everything each of them has published — models, datasets and Spaces.
hf_fs hub_repo_detailshf_repo_list_files hf_repo_read_textcovered
185dev
initial
I found three accounts posting function-calling training data. List everything each of them has published — models, datasets and Spaces.hf_fs hub_repo_searchhf_models_search hf_datasets_search hf_spaces_listcovered
186held-out
followup
give me details on the top roformer checkpoints — 6-stem SW, mini versions, the guitar one, the huge SCNet 4-stem
contextSwitching to stem separation: what are the recent papers on music source separation, which BS-RoFormer and SCNet checkpoints are people actually downloading, and are MUSDB18 and MoisesDB available to download?
hf_fs hub_repo_detailshf_models_search hf_repo_infocovered
187held-out
followup
now find papers on piano transcription, automatic piano cover generation and score following and summarize the newest ones
contextSwitching to stem separation: what are the recent papers on music source separation, which BS-RoFormer and SCNet checkpoints are people actually downloading, and are MUSDB18 and MoisesDB available to download?
hf_fshf_papers_searchcovered
188held-out
initial
Switching to stem separation: what are the recent papers on music source separation, which BS-RoFormer and SCNet checkpoints are people actually downloading, and are MUSDB18 and MoisesDB available to download?hf_fshf_papers_search hf_models_search hf_datasets_searchcovered
189dev
initial
There's a stock prices dataset on HF that updates daily with one CSV per ticker. How's it organized, and what columns/size does the AAPL file have?hf_fs hub_repo_detailshf_repo_fulltext_search ★ hf_repo_list_files hf_dataset_structurecovered
190dev
followup
anything newer? show the latest Bonsai-2-27B MTP uploads, and whatever PrismML themselves pushed recently, newest first
contextOne of the abliterated Ternary-Bonsai-2-27B v2 PQ2_0 MTP GGUF repos ships a SHA256SUMS file and a .patch for qwen35 MTP — show me both, and re-read the READMEs of the other Bonsai-2 27B MTP builds so I know which one needs a patched llama.cpp.
hf_fs hub_repo_searchhf_models_searchcovered
191dev
initial
One of the abliterated Ternary-Bonsai-2-27B v2 PQ2_0 MTP GGUF repos ships a SHA256SUMS file and a .patch for qwen35 MTP — show me both, and re-read the READMEs of the other Bonsai-2 27B MTP builds so I know which one needs a patched llama.cpp.hf_fshf_repo_list_files hf_repo_read_textcovered
192dev
followup
Tell me more about NVIDIA's NVFP4 version of DeepSeek V4.1 Flash — what GPUs it needs and how much accuracy it loses — and pull up paper 2610.08164 too.
contextCatch me up: what's hot in papers today, and what have Qwen, DeepSeek, Moonshot, OpenAI, Meta and NVIDIA released recently?
hf_fs hub_repo_detailshf_models_search hf_repo_read_text hf_paper_getcovered
193dev
initial
Catch me up: what's hot in papers today, and what have Qwen, DeepSeek, Moonshot, OpenAI, Meta and NVIDIA released recently?hf_fs hub_repo_searchhf_daily_papers hf_models_searchcovered
194held-out
followup
for the top 10, show me the columns and splits so I can see which have chain-of-thought
contextLooking for finance reasoning data to fine-tune Qwen3 on — SEC filing QA, text-to-SQL over financial tables, Fin-R1's training data, FinCoT. Sort by downloads.
hub_repo_detailshf_dataset_structurecovered
195held-out
followup
find the Fin-R1 paper
contextLooking for finance reasoning data to fine-tune Qwen3 on — SEC filing QA, text-to-SQL over financial tables, Fin-R1's training data, FinCoT. Sort by downloads.
hf_fshf_papers_searchcovered
196held-out
initial
Looking for finance reasoning data to fine-tune Qwen3 on — SEC filing QA, text-to-SQL over financial tables, Fin-R1's training data, FinCoT. Sort by downloads.hf_fs hub_repo_searchhf_datasets_searchcovered
197dev
followup
read the cards for F5-TTS and the GPT-SoVITS base — what do they need for reference audio?
contextwhat are people using these days to clone a voice or convert singing like RVC? most popular models and demos
hf_fs hub_repo_detailshf_repo_read_textcovered
198dev
followup
any RVC webui or F5-TTS demo I can run online right now?
contextwhat are people using these days to clone a voice or convert singing like RVC? most popular models and demos
dynamic_space hf_fs hub_repo_searchhf_spaces_search hf_spaces_listcovered
199dev
initial
what are people using these days to clone a voice or convert singing like RVC? most popular models and demoshf_fs hub_repo_searchhf_models_search hf_spaces_searchcovered
200dev
initial
ToolACE dataset — what configs/splits does it have, what's the schema, and show me the first 3 rowshf_fs hub_repo_detailshf_dataset_structure hf_dataset_rowscovered
201held-out
followup
also check for research papers on generating synthetic career trajectories or resumes, and read the card for that anonymized working-histories dataset
contextI'm prototyping a career-path recommender. Are there open datasets of anonymized work histories, synthetic resumes or job postings I could use?
hf_fshf_papers_search hf_repo_read_textcovered
202held-out
initial
I'm prototyping a career-path recommender. Are there open datasets of anonymized work histories, synthetic resumes or job postings I could use?hf_fs hub_repo_searchhf_datasets_search hf_repo_fulltext_search ★covered
203dev
followup
it errored — can you see what went wrong and resubmit with a shorter prompt?
contextCan you spin up a quick 10-minute cpu-basic job on HF with my token that uses InferenceClient to have a big open model (Qwen3 235B or similar) critique my architecture principles list? Run it detached.
hf_jobshf_job_get hf_job_logs hf_job_runcovered
204dev
initial
Can you spin up a quick 10-minute cpu-basic job on HF with my token that uses InferenceClient to have a big open model (Qwen3 235B or similar) critique my architecture principles list? Run it detached.hf_jobshf_job_runcovered
205dev
followup
run a quick remote script that counts examples in every train.jsonl in that bucket and reports per category
contextlook at the training pipeline code in my environment-testing Space (scheduler, worker, recipes) and cross-check it against the category manifests in my bucket — are Basic/Intermediate/Advanced all actually there?
hf_jobshf_job_runcovered
206dev
initial
look at the training pipeline code in my environment-testing Space (scheduler, worker, recipes) and cross-check it against the category manifests in my bucket — are Basic/Intermediate/Advanced all actually there?hf_fshf_repo_list_files hf_repo_read_textcovered
207dev
followup
Are there any demos where I can try a few of these in the browser with my own audio?
contextWhat's the best speech-to-text for Dutch right now? Whisper fine-tunes vs Parakeet vs Canary vs Voxtral — I want something I can self-host.
dynamic_space hf_fs hub_repo_searchhf_spaces_searchcovered
208dev
followup
also check SenseVoice, Kyutai's moshi/hibiki, CrisperWhisper and Phi-4-multimodal
contextWhat's the best speech-to-text for Dutch right now? Whisper fine-tunes vs Parakeet vs Canary vs Voxtral — I want something I can self-host.
hf_fs hub_repo_searchhf_models_searchcovered
209dev
initial
What's the best speech-to-text for Dutch right now? Whisper fine-tunes vs Parakeet vs Canary vs Voxtral — I want something I can self-host.hf_fs hub_repo_searchhf_models_searchcovered
210dev
followup
try it — make a landing page mockup for a coffee subscription app with the Qwen-Image space
contextI need to generate website/app UI mockups from text prompts. What are the trending text-to-image and image editing models right now, and is there a demo app I can try?
dynamic_spacehf_space_tools hf_space_invokecovered
211dev
followup
how do Qwen-Image-2.1 and the FLUX klein model compare in size and license?
contextI need to generate website/app UI mockups from text prompts. What are the trending text-to-image and image editing models right now, and is there a demo app I can try?
hf_fs hub_repo_detailshf_repo_infocovered
212dev
initial
I need to generate website/app UI mockups from text prompts. What are the trending text-to-image and image editing models right now, and is there a demo app I can try?dynamic_space hf_fs hub_repo_searchhf_trending hf_models_search hf_spaces_searchcovered
213dev
followup
what does the JaGovFaqs-22k retrieval dataset look like — splits and columns?
contextA new 0.3B Japanese embedding preview model claims SOTA on JMTEB. What does JMTEB actually include, and how is cl-nagoya/ruri-v3-310m set up (pooling, prefixes, max length)?
hf_fs hub_repo_detailshf_dataset_structurecovered
214dev
followup
does that org have a paper or a collection for the model?
contextA new 0.3B Japanese embedding preview model claims SOTA on JMTEB. What does JMTEB actually include, and how is cl-nagoya/ruri-v3-310m set up (pooling, prefixes, max length)?
hf_fshf_collections_search hf_paper_getcovered
215dev
initial
A new 0.3B Japanese embedding preview model claims SOTA on JMTEB. What does JMTEB actually include, and how is cl-nagoya/ruri-v3-310m set up (pooling, prefixes, max length)?hf_fs hub_repo_detailshf_datasets_search hf_repo_read_textcovered
216held-out
followup
are the Lightricks LTX-2 spaces actually up, and what hardware are they on?
contextI've got a start image and an end image — any demo that'll generate the video in between? wan 2.2 or ltx style
hub_repo_detailshf_spaces_listcovered
217held-out
initial
I've got a start image and an end image — any demo that'll generate the video in between? wan 2.2 or ltx styledynamic_space hf_fs hub_repo_searchhf_spaces_searchcovered
218held-out
followup
any tech reports or papers behind these models?
contextLooking for a good Korean 8B-ish base model to continue pretraining on — what are the most downloaded options?
hf_fshf_paper_get hf_papers_searchcovered
219held-out
initial
Looking for a good Korean 8B-ish base model to continue pretraining on — what are the most downloaded options?hf_fs hub_repo_searchhf_models_searchcovered
220dev
followup
which target_modules should I use? check the peft docs
contextCan I LoRA fine-tune Mamba-Codestral-7B with PEFT? Find the model and check whether PEFT supports Mamba layers.
hf_fshf_docs_search hf_docs_readcovered
221dev
followup
and pull up the Mamba-2 paper summary
contextCan I LoRA fine-tune Mamba-Codestral-7B with PEFT? Find the model and check whether PEFT supports Mamba layers.
hf_fshf_papers_search hf_paper_getcovered
222dev
initial
Can I LoRA fine-tune Mamba-Codestral-7B with PEFT? Find the model and check whether PEFT supports Mamba layers.hf_fs hub_repo_searchhf_models_search hf_docs_searchcovered
223dev
followup
list the .gguf files in those two repos so I can pick a quant
contextmy local markdown search tool uses a tiny 0.6B query-expansion model in GGUF — are there other small query expansion / HyDE models I could swap in?
hf_fs hub_repo_detailshf_repo_list_filescovered
224dev
initial
my local markdown search tool uses a tiny 0.6B query-expansion model in GGUF — are there other small query expansion / HyDE models I could swap in?hf_fs hub_repo_searchhf_models_search hf_repo_fulltext_search ★covered
225dev
followup
fine, relaunch it: on an H200, serve the teacher and the 96- and 64-expert pruned Nemotron transcribe checkpoints with vLLM one after another and compute WER on the eval set
contextwhat jobs do I have running right now? tail the last 60 lines of the newest one
hf_jobshf_job_run hf_hardware_flavors ★covered
226dev
initial
what jobs do I have running right now? tail the last 60 lines of the newest onehf_jobshf_jobs_list hf_job_logscovered
227dev
initial
I have a start frame and an end frame — can you make a short clip that animates between them? I think Wan 2.2 has a first/last-frame mode somewhere you can run.dynamic_spacehf_spaces_search hf_space_tools hf_space_invokecovered
228dev
followup
cool, spin up a new public docker space for my api so I can deploy it there
contextbartowski's Qwen2.5-1.5B-Instruct GGUF — what quants are there and which would you run on a 2-vCPU box?
create_repohf_repo_createcovered
229dev
initial
bartowski's Qwen2.5-1.5B-Instruct GGUF — what quants are there and which would you run on a 2-vCPU box?hf_fs hub_repo_detailshf_repo_list_filescovered
230dev
followup
grab the paper too, and point me at SadTalker weights as a fallback
contextIs there any released code, weights or a demo for TalkingPose, the pose-driven talking head thing?
hf_fs hub_repo_searchhf_papers_search hf_models_searchcovered
231dev
initial
Is there any released code, weights or a demo for TalkingPose, the pose-driven talking head thing?hf_fs hub_repo_searchhf_models_search hf_spaces_search hf_repo_fulltext_search ★covered
232held-out
followup
list every file in ProsusAI/finbert with sizes — is there a safetensors or only pytorch_model.bin?
contextFor a fintech side project I need: a financial sentiment classifier (FinBERT?), a time-series forecaster (Amazon Chronos), and an embedding model (bge-m3 or bge-small). Compare downloads, parameter counts and on-disk size.
hf_fs hub_repo_detailshf_repo_list_filescovered
233held-out
initial
For a fintech side project I need: a financial sentiment classifier (FinBERT?), a time-series forecaster (Amazon Chronos), and an embedding model (bge-m3 or bge-small). Compare downloads, parameter counts and on-disk size.hub_repo_details hub_repo_searchhf_models_search hf_repo_infocovered
234dev
followup
Does transformers have docs on streaming audio output for text-to-speech?
contextI need a TTS model that can stream audio as it generates (autoregressive, token by token) for a low-latency voice assistant. What are my options?
hf_fshf_docs_searchcovered
235dev
followup
Compare Bark, ChatTTS, XTTS-v2, Parler-TTS and SpeechT5 on that.
contextI need a TTS model that can stream audio as it generates (autoregressive, token by token) for a low-latency voice assistant. What are my options?
hf_fs hub_repo_details hub_repo_searchhf_repo_info hf_repo_read_textcovered
236dev
initial
I need a TTS model that can stream audio as it generates (autoregressive, token by token) for a low-latency voice assistant. What are my options?hf_fs hub_repo_searchhf_models_search hf_repo_fulltext_search ★covered
237held-out
followup
is there anything newer from tencent in the Hunyuan3D line?
contextcompare the open image-to-3D mesh generators: TRELLIS.2, Hunyuan3D 2.1, TripoSG, TripoSF, Step1X-3D, Direct3D-S2, Sparc3D. downloads, license, last update.
hf_fs hub_repo_searchhf_models_searchcovered
238held-out
followup
Hi3D v1.0 looks promising — can I use it commercially? read the actual license text and the rest of the card
contextcompare the open image-to-3D mesh generators: TRELLIS.2, Hunyuan3D 2.1, TripoSG, TripoSF, Step1X-3D, Direct3D-S2, Sparc3D. downloads, license, last update.
hf_fshf_repo_read_textcovered
239held-out
initial
compare the open image-to-3D mesh generators: TRELLIS.2, Hunyuan3D 2.1, TripoSG, TripoSF, Step1X-3D, Direct3D-S2, Sparc3D. downloads, license, last update.hf_fs hub_repo_detailshf_models_search hf_repo_infocovered
240dev
followup
also pull up people's speech from MLCommons as an open baseline
contextI'm writing a dataset card for our multi-speaker conversational speech corpus. find me how vendors like Nexdata, DataOceanAI, Defined.ai, AxonData present theirs — language coverage, hours, speaker counts, transcript format, license, sample previews
hf_fs hub_repo_details hub_repo_searchhf_datasets_search hf_repo_infocovered
241dev
initial
I'm writing a dataset card for our multi-speaker conversational speech corpus. find me how vendors like Nexdata, DataOceanAI, Defined.ai, AxonData present theirs — language coverage, hours, speaker counts, transcript format, license, sample previewshf_fs hub_repo_searchhf_datasets_search hf_repo_read_textcovered
242dev
initial
what files are in the ToolACE function-calling dataset? I want the raw json, not the parquet conversionhf_fs hub_repo_detailshf_repo_list_filescovered
243held-out
followup
can I try the Qwen3-TTS voice design one on a German sentence without installing anything locally?
contextbest open TTS for German at the moment? looking at Qwen3-TTS, chatterbox, whatever's trending
dynamic_space hf_jobshf_spaces_search hf_space_tools hf_space_invokecovered
244held-out
initial
best open TTS for German at the moment? looking at Qwen3-TTS, chatterbox, whatever's trendinghf_fs hub_repo_details hub_repo_searchhf_models_search hf_trendingcovered
245held-out
followup
list every repo that account has, models and datasets
contextwhat files are in the 09_standalone_model subfolder of that experimental model repo I linked?
hf_fs hub_repo_searchhf_models_search hf_datasets_searchcovered
246held-out
initial
what files are in the 09_standalone_model subfolder of that experimental model repo I linked?hf_fshf_repo_list_filescovered
247dev
followup
Give me the top 5 trending text-to-image models right now and top 5 trending small LLMs (under 8B) that'd run locally on my Mac, with downloads and likes.
contextI run a tiny marketing agency in Brazil. I want an open-source stack: something to write ad copy in Portuguese, something to make short social video clips, and image generation. What are the most downloaded options for each?
hf_fs hub_repo_searchhf_models_searchcovered
248dev
followup
are there browser demos I can try these in before installing anything?
contextI run a tiny marketing agency in Brazil. I want an open-source stack: something to write ad copy in Portuguese, something to make short social video clips, and image generation. What are the most downloaded options for each?
dynamic_space hf_fs hub_repo_searchhf_spaces_searchcovered
249dev
initial
I run a tiny marketing agency in Brazil. I want an open-source stack: something to write ad copy in Portuguese, something to make short social video clips, and image generation. What are the most downloaded options for each?hf_fs hub_repo_searchhf_models_searchcovered
250dev
followup
what's actually in HuggingFaceTB/python-edu — columns, splits, row count?
contextWe built a code dataset from python-edu samples, rewritten with DeepSeek-V2.5, and want to publish it. Can you check the provenance chain — the smollm-corpus card, the-stack-v2-train-full-ids terms, and the DeepSeek-V2.5 model license — and tell me what restrictions carry over?
hf_fs hub_repo_detailshf_dataset_structurecovered
251dev
initial
We built a code dataset from python-edu samples, rewritten with DeepSeek-V2.5, and want to publish it. Can you check the provenance chain — the smollm-corpus card, the-stack-v2-train-full-ids terms, and the DeepSeek-V2.5 model license — and tell me what restrictions carry over?hf_fs hub_repo_detailshf_repo_read_text hf_repo_infocovered
252dev
followup
Is there a copy of python-edu on the Hub that actually includes the code text rather than just blob IDs?
contextWe made a dataset by having DeepSeek-V2.5 rewrite Python-Edu samples into Rust. What license terms do we inherit — check the-stack-dedup, Python-Edu / smollm-corpus, and DeepSeek-V2.5's model license.
hf_fs hub_repo_details hub_repo_searchhf_datasets_search hf_repo_fulltext_search ★covered
253dev
initial
We made a dataset by having DeepSeek-V2.5 rewrite Python-Edu samples into Rust. What license terms do we inherit — check the-stack-dedup, Python-Edu / smollm-corpus, and DeepSeek-V2.5's model license.hf_fs hub_repo_details hub_repo_searchhf_repo_read_textcovered
254dev
followup
Find a text-to-video Space that runs on ZeroGPU that I could copy as a starting point.
contextCreate a new public Space called text2video-sandbox for a text-to-video app (gradio if possible).
dynamic_space hf_fs hub_repo_searchhf_spaces_search hf_spaces_listcovered
255dev
followup
Clone that one into my account instead.
contextCreate a new public Space called text2video-sandbox for a text-to-video app (gradio if possible).
create_repohf_repo_createcovered
256dev
initial
Create a new public Space called text2video-sandbox for a text-to-video app (gradio if possible).create_repohf_repo_createcovered
257held-out
followup
what's in Granary v2? splits, size, languages
contextnvidia just dropped Nemotron 3.5 Transcribe 30B-A4B — what's in the card (languages, WER), and has anyone made quants or finetunes off it yet?
hf_fs hub_repo_detailshf_dataset_structure hf_repo_infocovered
258held-out
initial
nvidia just dropped Nemotron 3.5 Transcribe 30B-A4B — what's in the card (languages, WER), and has anyone made quants or finetunes off it yet?hf_fs hub_repo_details hub_repo_searchhf_models_search hf_repo_read_textcovered
259held-out
followup
How big is stack-edu and what's its schema? Also is DeepSeek-V2.5's license OK for releasing generated data?
contextLook at the two Python-to-Rust code datasets in my org (the raw one and the filtered one) and read their cards, then tell me what upstream sources they cite.
hf_fs hub_repo_detailshf_dataset_structure hf_repo_read_textcovered
260held-out
followup
what collections do we have under the org?
contextLook at the two Python-to-Rust code datasets in my org (the raw one and the filtered one) and read their cards, then tell me what upstream sources they cite.
hf_fshf_collections_searchcovered
261held-out
initial
Look at the two Python-to-Rust code datasets in my org (the raw one and the filtered one) and read their cards, then tell me what upstream sources they cite.hf_fs hub_repo_details hub_repo_searchhf_whoami hf_datasets_search hf_repo_read_textcovered
262held-out
followup
is there a gguf of Veena? what quant files do those repos have
contextneed a voice model that handles Hinglish naturally. compare indic-parler-tts, Veena, svara-tts, IndicF5 and Kokoro
hf_fs hub_repo_searchhf_models_search hf_repo_list_filescovered
263held-out
followup
can I hear a sample from one of these in a demo before downloading?
contextneed a voice model that handles Hinglish naturally. compare indic-parler-tts, Veena, svara-tts, IndicF5 and Kokoro
dynamic_spacehf_spaces_search hf_space_tools hf_space_invokecovered
264held-out
initial
need a voice model that handles Hinglish naturally. compare indic-parler-tts, Veena, svara-tts, IndicF5 and Kokorohf_fs hub_repo_details hub_repo_searchhf_models_search hf_repo_read_textcovered
265dev
followup
is there a ~128B Qwen3.5, ideally FP8? list all sizes in that family
contexthow many active params and experts does DeepSeek-V4-Flash-Base have? context length?
hf_fs hub_repo_searchhf_models_searchcovered
266dev
initial
how many active params and experts does DeepSeek-V4-Flash-Base have? context length?hf_fs hub_repo_detailshf_repo_read_text hf_repo_infocovered
267dev
followup
how do I load just a slice of it with the datasets library — is there streaming?
contextwhat does the ToolACE function-calling dataset look like? columns, splits, and a couple of sample rows
hf_fshf_docs_search hf_docs_readcovered
268dev
initial
what does the ToolACE function-calling dataset look like? columns, splits, and a couple of sample rowshf_fs hub_repo_detailshf_dataset_structure hf_dataset_rowscovered
269held-out
followup
show me how to send an image in a chat completion request through providers — python example
contextwhich multimodal (image in, text out) instruct models can I hit via serverless inference providers right now? and point me at the docs for calling them
hf_fshf_docs_search hf_docs_readcovered
270held-out
initial
which multimodal (image in, text out) instruct models can I hit via serverless inference providers right now? and point me at the docs for calling themhf_fs hub_repo_searchhf_models_search hf_docs_searchcovered
271held-out
followup
pull up the diffusers docs page for that pipeline — I need the loading example and recommended dtype
contextI downloaded qwen_image_bf16.safetensors for ComfyUI but want to use it from Python with diffusers instead. Where are the official weights and what's the pipeline class?
hf_fshf_docs_search hf_docs_readcovered
272held-out
initial
I downloaded qwen_image_bf16.safetensors for ComfyUI but want to use it from Python with diffusers instead. Where are the official weights and what's the pipeline class?hf_fs hub_repo_searchhf_models_search hf_repo_read_textcovered
273dev
followup
that one failed. any other image-to-3D apps, like hunyuan3d, that can be called as tools?
contextturn this product photo into a 3D mesh I can drop into Blender — TRELLIS.2 if it's up
dynamic_space hf_fs hub_repo_searchhf_spaces_search hf_spaces_listcovered
274dev
initial
turn this product photo into a 3D mesh I can drop into Blender — TRELLIS.2 if it's updynamic_space hf_fs hub_repo_searchhf_spaces_list hf_space_tools hf_space_invokecovered
275held-out
followup
for those 4, add up the safetensors sizes so I know the real GB on disk, not param count
contextwhich NVFP4 quants run on a DGX Spark? looking at MiniMax M2.7 (incl. the REAP pruned ones) and Qwen3-Next thinking
hf_fs hub_repo_detailshf_repo_info hf_repo_paths_infocovered
276held-out
followup
show me the readmes for the two MiniMax ones — any deployment notes or benchmarks?
contextwhich NVFP4 quants run on a DGX Spark? looking at MiniMax M2.7 (incl. the REAP pruned ones) and Qwen3-Next thinking
hf_fs hub_repo_detailshf_repo_read_textcovered
277held-out
initial
which NVFP4 quants run on a DGX Spark? looking at MiniMax M2.7 (incl. the REAP pruned ones) and Qwen3-Next thinkinghf_fs hub_repo_searchhf_models_search hf_repo_fulltext_search ★covered
278dev
followup
find the main papers behind GLM and MiniCPM
contextwhich Chinese AI labs have the most downloaded open models? Qwen, deepseek, BAAI, Zhipu, Moonshot, MiniMax, Tencent etc — org, downloads, top model
hf_fshf_papers_searchcovered
279dev
initial
which Chinese AI labs have the most downloaded open models? Qwen, deepseek, BAAI, Zhipu, Moonshot, MiniMax, Tencent etc — org, downloads, top modelhf_fs hub_repo_searchhf_models_searchcovered
280dev
followup
what jobs have I run recently and did any fail?
contextread the latest handoff and current-state notes from my continuity folder in my storage bucket and catch me up on where things stand
hf_jobshf_jobs_listcovered
281dev
initial
read the latest handoff and current-state notes from my continuity folder in my storage bucket and catch me up on where things standhf_fshf_buckets_list hf_repo_list_files hf_repo_read_textcovered
282dev
followup
what have Lightricks and Wan released most recently? looking for the newest video gen checkpoints
contextShortlisting open TTS for a voice product. Give me downloads/likes/license for Kokoro-82M, Chatterbox (+turbo), Dia 1.6B and Dia2, Orpheus 3B, Sesame CSM-1B, Higgs Audio v2, VibeVoice 1.5B, NeuTTS Air, XTTS-v2, F5-TTS, CosyVoice2, IndexTTS-2, Spark-TTS.
hf_fs hub_repo_searchhf_models_searchcovered
283dev
followup
what license is MiniMax-H3 under? read the actual LICENSE file
contextShortlisting open TTS for a voice product. Give me downloads/likes/license for Kokoro-82M, Chatterbox (+turbo), Dia 1.6B and Dia2, Orpheus 3B, Sesame CSM-1B, Higgs Audio v2, VibeVoice 1.5B, NeuTTS Air, XTTS-v2, F5-TTS, CosyVoice2, IndexTTS-2, Spark-TTS.
hf_fs hub_repo_detailshf_repo_read_textcovered
284dev
initial
Shortlisting open TTS for a voice product. Give me downloads/likes/license for Kokoro-82M, Chatterbox (+turbo), Dia 1.6B and Dia2, Orpheus 3B, Sesame CSM-1B, Higgs Audio v2, VibeVoice 1.5B, NeuTTS Air, XTTS-v2, F5-TTS, CosyVoice2, IndexTTS-2, Spark-TTS.hf_fs hub_repo_detailshf_models_searchcovered
285dev
followup
open up the top one — license, base model and how many steps it's meant for
contextIs there a FLUX that's been distilled down to 1-4 steps, LCM or turbo style, that loads in diffusers? Most downloaded first.
hf_fs hub_repo_detailshf_repo_info hf_repo_read_textcovered
286dev
initial
Is there a FLUX that's been distilled down to 1-4 steps, LCM or turbo style, that loads in diffusers? Most downloaded first.hf_fs hub_repo_searchhf_models_searchcovered
287held-out
followup
any papers on making diffusion fast on Apple silicon?
contextI want to run SD 1.5 on my M2 MacBook — are there MLX or Core ML converted weights somewhere?
hf_fshf_papers_searchcovered
288held-out
followup
is there a demo I can try in the browser first?
contextI want to run SD 1.5 on my M2 MacBook — are there MLX or Core ML converted weights somewhere?
dynamic_space hf_fs hub_repo_searchhf_spaces_searchcovered
289held-out
initial
I want to run SD 1.5 on my M2 MacBook — are there MLX or Core ML converted weights somewhere?hf_fs hub_repo_searchhf_models_searchcovered
290dev
followup
are there other python-edu derivatives out there?
contextcompare some-user/Annoy-PyEdu-Rs and its -Raw sibling with HuggingFaceTB's python-edu-scores / python-edu-annotations: configs, sizes, columns, what's different
hf_fs hub_repo_searchhf_datasets_search hf_repo_fulltext_search ★covered
291dev
initial
compare some-user/Annoy-PyEdu-Rs and its -Raw sibling with HuggingFaceTB's python-edu-scores / python-edu-annotations: configs, sizes, columns, what's differenthf_fs hub_repo_detailshf_dataset_structure hf_repo_infocovered
292dev
followup
narrow it to Qwen3-VL, InternVL and Pixtral — what's trending in those families?
contextwhich trending vision-language models and 30B+ chat models can I call right now via serverless inference providers? give me the provider list and param count for each
hf_fs hub_repo_searchhf_models_searchcovered
293dev
initial
which trending vision-language models and 30B+ chat models can I call right now via serverless inference providers? give me the provider list and param count for eachhf_fs hub_repo_details hub_repo_searchhf_models_searchcovered
294dev
followup
show me a few rows from the python-edu config of smollm-corpus so I can compare the fields
contextSomeone uploaded two datasets called PyEdu-Rs and PyEdu-Rs-Raw. Are these just repackaged from HuggingFaceTB's python-edu data? Compare their cards and file layout with the original.
hub_repo_detailshf_dataset_rowscovered
295dev
initial
Someone uploaded two datasets called PyEdu-Rs and PyEdu-Rs-Raw. Are these just repackaged from HuggingFaceTB's python-edu data? Compare their cards and file layout with the original.hf_fs hub_repo_details hub_repo_searchhf_repo_read_text hf_repo_list_filescovered
296held-out
initial
is there an image generator I can call from here? something like flux schnell or krea — what inputs does it take?dynamic_spacehf_spaces_search hf_space_toolscovered
297dev
followup
and where's the official LTX-Video 2.3 checkpoint from Lightricks? list the files with sizes
contextMy ComfyUI workflow wants taeltx2_3.safetensors — which repo is that file in?
hf_fs hub_repo_searchhf_models_search hf_repo_list_filescovered
298dev
initial
My ComfyUI workflow wants taeltx2_3.safetensors — which repo is that file in?hf_fs hub_repo_searchhf_models_search hf_repo_fulltext_search ★ hf_repo_list_filespartial
PARTIAL: there is no global file-name index on the Hub. Name search + README full-text + per-repo path search is best effort (legacy had the same gap).
299held-out
initial
I want to make an image with Qwen-Image without installing anything — what inputs does the hosted demo take?dynamic_spacehf_spaces_search hf_space_toolscovered
300dev
followup
how's that run going? any errors in the logs?
contextKick off a GPU job (L4, 3h max) over my dialogs dataset: mount it read-only along with NVIDIA's Nemotron diarization model, diarize each call, tag topics, raised-voice arguments and friendliness of tone, and write a report.json back to the dataset.
hf_jobshf_jobs_list hf_job_logscovered
301dev
followup
Show me the report it produced.
contextKick off a GPU job (L4, 3h max) over my dialogs dataset: mount it read-only along with NVIDIA's Nemotron diarization model, diarize each call, tag topics, raised-voice arguments and friendliness of tone, and write a report.json back to the dataset.
hf_fshf_repo_read_textcovered
302dev
initial
Kick off a GPU job (L4, 3h max) over my dialogs dataset: mount it read-only along with NVIDIA's Nemotron diarization model, diarize each call, tag topics, raised-voice arguments and friendliness of tone, and write a report.json back to the dataset.hf_jobshf_job_run hf_hardware_flavors ★covered
Write-back happens inside the Job (huggingface_hub), not through hf_repo_write_files.
303dev
initial
what have I got on my account? models, datasets, spaces — latest firsthf_fs hf_whoami hub_repo_searchhf_whoami hf_models_search hf_datasets_search hf_spaces_listcovered
304dev
followup
how is VBVR-Pro different from the base Wan2.2-TI2V-5B? read both cards
contextwhat are the go-to open video gen models right now? wan 2.2, hunyuanvideo, ltx, cogvideox — which ones are people actually downloading
hf_fs hub_repo_detailshf_repo_read_textcovered
305dev
followup
can I try Wan 2.2 somewhere for free? zerogpu preferably
contextwhat are the go-to open video gen models right now? wan 2.2, hunyuanvideo, ltx, cogvideox — which ones are people actually downloading
dynamic_space hf_fs hub_repo_searchhf_spaces_list hf_spaces_searchcovered
306dev
initial
what are the go-to open video gen models right now? wan 2.2, hunyuanvideo, ltx, cogvideox — which ones are people actually downloadinghf_fs hub_repo_searchhf_models_searchcovered
307dev
followup
how would I call that same app from my own python script? check the gradio client docs
contextmake me an image with flux krea — what parameters can I set?
hf_fshf_docs_search hf_docs_readcovered
308dev
initial
make me an image with flux krea — what parameters can I set?dynamic_spacehf_spaces_search hf_space_toolscovered
309dev
followup
is there a public transfer-cube benchmark for SO-101 arms with trained ACT or diffusion policies? show the dataset stats and the diffusion policy's training config
contextLeRobot published a write-up on teaching a robot to fold clothes — summarize how much data they collected, how they trained, how they evaluated and what the ablations showed.
hf_fs hub_repo_searchhf_datasets_search hf_models_search hf_dataset_structure hf_repo_read_textcovered
310dev
initial
LeRobot published a write-up on teaching a robot to fold clothes — summarize how much data they collected, how they trained, how they evaluated and what the ablations showed.hf_fs hub_repo_searchhf_repo_fulltext_search ★ hf_docs_searchpartial
PARTIAL: blog posts are not covered by any tool (the Hub API exposes /api/blog/community only). Full-text/docs search are fallbacks; same gap in legacy.
311held-out
followup
before you kick it off, do I already have anything running?
contextLoRA-finetune a small instruct model on dolly-15k for me on cloud GPUs. find the right dataset repo first
hf_jobshf_jobs_listcovered
312held-out
initial
LoRA-finetune a small instruct model on dolly-15k for me on cloud GPUs. find the right dataset repo firsthf_fs hf_jobs hub_repo_searchhf_datasets_search hf_job_run hf_hardware_flavors ★covered
313held-out
followup
which spaces can you actually call as tools? I want to generate an image — what parameters does FLUX schnell take?
contextgive me a quick rundown of today's top AI papers
dynamic_space hf_fs hub_repo_searchhf_spaces_search hf_space_toolscovered
314held-out
followup
what text classification models are trending?
contextgive me a quick rundown of today's top AI papers
hf_fs hub_repo_searchhf_models_searchcovered
315held-out
initial
give me a quick rundown of today's top AI papershf_fshf_daily_paperscovered
316dev
initial
what python education / code datasets has HuggingFaceTB put out? the PythonEdu stuff — sizes and schemahf_fs hub_repo_details hub_repo_searchhf_datasets_search hf_dataset_structurecovered
317dev
followup
How do I load it in diffusers? Find the docs page for the Flux2 pipeline.
contextwhat's the repo id for flux2 klein? the small text-to-image one from Black Forest Labs
hf_fshf_docs_search hf_docs_readcovered
318dev
initial
what's the repo id for flux2 klein? the small text-to-image one from Black Forest Labshf_fs hub_repo_searchhf_models_searchcovered
319dev
initial
Set up a new public model repo on my account for my Qwen3 productivity-assistant fine-tune. Check I don't already have something with that name first.create_repo hf_whoami hub_repo_searchhf_whoami hf_models_search hf_repo_createcovered
320dev
followup
find the paper behind it
contextwhat's OmniVoice from k2-fsa? is there a demo I can run and are the weights released?
hf_fshf_paper_get hf_papers_searchcovered
321dev
initial
what's OmniVoice from k2-fsa? is there a demo I can run and are the weights released?dynamic_space hf_fs hub_repo_details hub_repo_searchhf_models_search hf_spaces_list hf_spaces_searchcovered
322dev
followup
is it done? check the job logs and read task_status.json from the depth_only folder of the results dataset
contextRun my depth-render Space on the facade test images. It takes a while, so kick it off as a background job that calls the Space and writes results into my results dataset.
hf_fs hf_jobshf_job_logs hf_repo_read_textcovered
323dev
initial
Run my depth-render Space on the facade test images. It takes a while, so kick it off as a background job that calls the Space and writes results into my results dataset.dynamic_space hf_jobshf_space_tools hf_job_runcovered
Calls a Space from inside a Job (gradio_client); hf_space_tools reads the schema first.
324dev
initial
does transformers support DeepSeek V4 yet? what's the model class and config called for deepseek_v4?hf_fshf_docs_search hf_docs_readcovered
325dev
followup
it keeps erroring. how do I add a Gradio app as a tool in my MCP settings on the hub?
contextread this line out in Japanese for me: 'おはようございます、今日もよろしくお願いします' — use whatever online TTS demo works, Chatterbox multilingual maybe
hf_fshf_docs_searchcovered
326dev
initial
read this line out in Japanese for me: 'おはようございます、今日もよろしくお願いします' — use whatever online TTS demo works, Chatterbox multilingual maybedynamic_space hf_fshf_spaces_search hf_space_tools hf_space_invokecovered
327held-out
followup
ugh, no PRO. just make it a public model repo with the same name instead and show me what's in it
contextset up a new public gradio space called portfolio-studio under my account
create_repohf_repo_create hf_repo_list_filescovered
328held-out
initial
set up a new public gradio space called portfolio-studio under my accountcreate_repohf_repo_createcovered
329dev
followup
Is microsoft/TRELLIS.2 actually MCP-enabled? Check that and the community TRELLIS space, and tell me the SDK/hardware each runs on.
contextI want Claude to be able to make 3D meshes from a prompt or image. Find me a hosted demo I can hook up as a tool — TRELLIS would be ideal.
hf_fs hub_repo_detailshf_repo_info hf_spaces_listcovered
330dev
initial
I want Claude to be able to make 3D meshes from a prompt or image. Find me a hosted demo I can hook up as a tool — TRELLIS would be ideal.dynamic_space hf_fs hub_repo_searchhf_spaces_search hf_spaces_listcovered
331dev
followup
what about MiniCPM5 2B — find it, show me the config and the chat template, and check if openbmb did a gguf
contextneed a really small LLM for on-device. how big are Qwen3.5-0.8B and 2B actually on disk, and is there a gguf for the 0.8B?
hf_fs hub_repo_searchhf_models_search hf_repo_read_textcovered
332dev
followup
throw granite 4.2 3b and gemma 4 E2B into the comparison too — hidden size / layers from config, and quantized versions
contextneed a really small LLM for on-device. how big are Qwen3.5-0.8B and 2B actually on disk, and is there a gguf for the 0.8B?
hf_fs hub_repo_searchhf_models_search hf_repo_read_textcovered
333dev
initial
need a really small LLM for on-device. how big are Qwen3.5-0.8B and 2B actually on disk, and is there a gguf for the 0.8B?hf_fs hub_repo_detailshf_repo_info hf_models_searchcovered
334dev
followup
which of those are actually running, and on what hardware?
contextanyone hosting ToonCrafter? I want to interpolate between two cartoon keyframes without installing it
hub_repo_detailshf_spaces_listcovered
335dev
initial
anyone hosting ToonCrafter? I want to interpolate between two cartoon keyframes without installing itdynamic_space hf_fs hub_repo_searchhf_spaces_search hf_spaces_listcovered
336dev
followup
ok, any demo apps where I can upload a reference clip and test cloning?
contextCan Qwen3-TTS 1.7B CustomVoice clone a voice from a short reference recording, or is it only preset speakers?
dynamic_space hf_fs hub_repo_searchhf_spaces_searchcovered
337dev
followup
and CosyVoice 3 / 3.5 — what checkpoints are out?
contextCan Qwen3-TTS 1.7B CustomVoice clone a voice from a short reference recording, or is it only preset speakers?
hf_fs hub_repo_searchhf_models_searchcovered
338dev
initial
Can Qwen3-TTS 1.7B CustomVoice clone a voice from a short reference recording, or is it only preset speakers?hf_fs hub_repo_details hub_repo_searchhf_repo_read_text hf_models_searchcovered

End-to-end deterministic benchmark set (141)

Audited deterministic benchmark prompts split into non-quarantined active tasks (clean inline + tabular CSV artifact tasks) and quarantined tasks (excluded from headline scores due to weak grounding, live drift, or underspecified oracles).

92non-quarantined active
det92-clean suite
67clean inline
det67-clean
25tabular CSV artifact
tabular25
49quarantined
det49-quarantine

38 people, 25 repo, 17 dataset, 13 search, 11 papers, 11 collections, 11 docs, 10 spaces, 3 account, 2 jobs.

#StatusFamilyPromptExpected PTC toolsLegacy toolsRubric / Quarantine Note
1active · inline
SOLID
v2:ch-gpt2-params
repo
single
Return a compact JSON object for model "openai-community/gpt2" with exactly repo_id and num_params.hf_repo_infohub_repo_details hf_fs
  • JSON object with exactly repo_id and num_params for openai-community/gpt2 (about 124M or 137M from safetensors)
2active · inline
MINOR_RISK
v2:ch-mishig-profile
people
chain
Tell me about user "mishig": total followers, total following, latest 10 activity events, and latest 10 likes (compact output).hf_profile_get ★ → hf_activity ★ → hf_user_likes ★hub_repo_search hf_fs
`oracle_part3.py:181-195` compares 10 recent activity repos and 10 recent likes against a static snapshot (75% overlap) with no trace augmentation; 3+ new activities or likes cause false negatives. Follower/following numbers are checked anywhere in text without label binding.
  • follower and following totals for mishig
  • 10 latest activity events
  • 10 latest likes
  • compact
3active · inline
SOLID
v2:ch-unsloth-counts
people
single
How many models, datasets, and spaces does organization "unsloth" have? Return exactly a JSON object with keys organization, models, datasets, and spaces.hf_profile_get ★hub_repo_search hf_fs partial
  • exact JSON with organization, models, datasets and spaces counts for unsloth
4active · inline
MINOR_RISK
v2:cq-2236
repo
chain
Get the full details for Qwen/Qwen3-Coder-Next model. What is its architecture? How many parameters, active parameters? Is it a MoE model? What is qwen3_next architecture? Also check what eval-results it has - it has the eval-results tag. What are its benchmark scores especially on coding tasks?hf_repo_info → hf_repo_read_texthub_repo_details hf_fs
Regex misses `3.0B` (FN) + ignores benchmarks (FP)
  • reports architecture, total and active parameters and MoE status for Qwen/Qwen3-Coder-Next from config/safetensors
  • explains qwen3_next
  • gives coding benchmark scores from eval results or card, or says none
5active · inline
MINOR_RISK
v2:cq-3629
repo
chain
Get details for BAAI/bge-multilingual-gemma2 - model size, parameters, performance benchmarks, supported languageshf_repo_info → hf_repo_read_texthub_repo_details hf_fs
Scale bug on `9.2B` (FN) + generic keyword checks (FP)
  • BAAI/bge-multilingual-gemma2 parameter count/size, benchmark (MTEB) claims and supported languages from metadata or card
6active · inline
MINOR_RISK
v2:cq-3944
people
compare
authenticated token
what models has pcuenq liked that i have also likedhf_whoami → hf_user_likes ★hf_whoami
Prompt (*"what models has pcuenq liked that i have also liked"*) never asks for a pagination/coverage caveat, yet non-empty branch (`oracle_part1.py:501-502`) requires one. Also `_likes("pcuenq")` fails closed if `pcuenq` reaches 1,000 likes.
  • intersects the models pcuenq liked with the models I liked
  • lists the shared repo ids or none
  • notes paging coverage
7active · inline
SOLID
v2:cq-444
spaces
chain
Find the Kokoro TTS model and any related Spaces on Hugging Face. Include model IDs, Space IDs, and links.hf_models_search → hf_hub_lookup ★ → hf_spaces_listhub_repo_search hf_fs hub_repo_details dynamic_space
  • Kokoro model id (hexgrad/Kokoro-82M) and Spaces using it (models filter)
  • ids and links
8active · inline
MINOR_RISK
v2:cq-4780
papers
count
List today's daily papers on Hugging Face (2026-03-21), sorted by upvotes/likes, showing the top 30 papers with their paper IDs, titles, authors, and upvote counts. Focus on trending and most-upvoted papers of the day.hf_daily_papershf_fs
2026-03-21 is a **Saturday** (HF Daily Papers publishes Mon–Fri). When the API returns empty, `oracle_part2.py:261` only matches `no papers\
  • daily papers for 2026-03-21
  • top 30 by upvotes with ids, titles, authors and upvotes
  • paging if needed
9active · inline
SOLID
v2:cq-53
people
count
authenticated token
For the currently authenticated user, find their followers on the Hugging Face Hub and determine whether any of those followers have liked any model repositories under the organization 'google'. Return the follower usernames and the google model repo ids they liked. If none, say none found. Use current Hub data and preserve any coverage caveats.hf_whoami → hf_follow_graph ★ → hf_user_likes ★hf_whoami
  • my followers who liked google model repos, with the repo ids
  • says none if none
  • notes coverage limits (followers or likes paged)
10active · inline
SOLID
v2:cq-618
repo
chain
what is the license of stack-edu?hf_hub_lookup ★ → hf_datasets_search → hf_repo_info → hf_repo_read_texthub_repo_search hub_repo_details hf_fs
  • resolves stack-edu (HuggingFaceTB/stack-edu) and reports its license from metadata or card
  • notes any ambiguity
11active · inline
SOLID
v2:cq-7245
search
chain
Search for any models, datasets, spaces, or discussions that mention "Radeon PRO V620" or "V620 GPU" specifications or compute unitshf_repo_fulltext_search ★ → hf_discussions_list ★hub_repo_search hf_fs
  • full-text search over cards for Radeon PRO V620 / V620
  • reports matching repos with context
  • says discussion search is per repository and was not exhaustive
12active · inline
SOLID
v2:cq-7649
people
chain
Show me the organization profile for wilhelm-foundation including description, avatar, and any README contenthf_profile_get ★ → hf_repo_read_texthub_repo_search hf_fs partial
  • profile for the wilhelm-foundation organization (name, avatar, counts) and its org card README if one exists
13active · inline
MINOR_RISK
v2:cq-7738
search
single
Find quantized Qwen3 models from the major quantization providers: unsloth, bartowski, mradermacher, lmstudio-community. Search for models with "Qwen3" in the name from these authors. Return top results sorted by downloads.hf_models_searchhub_repo_search hf_fs
Prompt asks for top Qwen3 models by downloads from 4 quantization providers. `strict.py:476-478` requires repo ID and exact integer download count on the **same line**, failing if the agent formats each model across multiple bullet lines.
  • Qwen3 models from unsloth, bartowski, mradermacher and lmstudio-community only
  • sorted by downloads
  • ids and downloads
14active · inline
MINOR_RISK
v2:cq-863
people
compare
authenticated token
For the current authenticated user, compute the overlap between my followers and the members of the 'huggingface' organization. Return usernames and display names, and say whether the result is complete.hf_whoami → hf_follow_graph ★ → hf_org_members ★hf_whoami
Empty branch (`rules_v2.py:93`) requires literal substring `has("complete")` (fails synonyms like `"exhaustive"`/`"full"`/`"all 0 followers checked"`). Non-empty branch (`oracle_part1.py:503-504`) requires unrequested `public\
  • overlap between my followers and huggingface org members, usernames and display names
  • says whether both lists were fully paged
15active · inline
MINOR_RISK
v2:csv-10907
repo
count
Get the file tree / list of all files in the Lightricks/LTX-Video model repository on Hugging Face. I need to see all .safetensors files, especially VAE files.hf_repo_list_fileshf_fs hub_repo_details
Prompt asks for all `.safetensors` files in `Lightricks/LTX-Video`. `rules_v2` requires `all(...)` (100% of `.safetensors` files with zero slack). If total repo files exceed ~25, `RESPONSE_GUIDELINES` ("include at least 10–20 representative items inline") can cause a compliant agent to truncate.
  • all .safetensors files in Lightricks/LTX-Video (recursive, paged), with VAE files called out
16active · inline
MINOR_RISK
v2:csv-12020
collections
count
List all collections owned by the organization "twelvelabs"hf_collections_searchhf_fs
Prompt asks only to *"List all collections owned by the organization 'twelvelabs'"*, but `oracle_part1.py:474,497-498` requires **both** opaque 24-hex slugs (`o["items"]`) AND exact titles (`o["titles"]`).
  • all collections owned by twelvelabs (paged)
  • titles and slugs
17active · inline
SOLID
v2:csv-13999
repo
single
For repo Qwen/Qwen3.5-4B, list the top-level files related to tokenizer, processor, image preprocessing, chat template, and config that would matter for local conversion or inference. Keep it concise.hf_repo_list_fileshf_fs hub_repo_details
  • lists top-level tokenizer, processor, preprocessor, chat template and config files of Qwen/Qwen3.5-4B
18active · inline
SOLID
v2:csv-16020
docs
chain
How to set a HuggingFace Space to public using the API? What is the correct endpoint and method?hf_docs_search → hf_docs_readhf_fs
  • how to change Space visibility via API (update_repo_settings / settings endpoint) citing docs
19active · inline
MINOR_RISK
v2:csv-17650
collections
compare
Find collections by EleutherAI related to Pythia, and collections by allenai related to OLMo. Also find collections by LLM360.hf_collections_searchhf_fs
`strict.py:128-136` only checks `any(...)` — listing 1 collection each for `eleutherai`/`allenai`/`ifm` passes 100% (misses remaining collections). Conversely, `listed(a, pool)` requires full `owner/<slug>-<24hex>` slugs; reporting collection titles without 24-hex slugs fails.
  • Pythia collections by EleutherAI, OLMo collections by allenai and LLM360 collections
  • titles and slugs per owner
20active · inline
SOLID
v2:csv-19312
papers
chain
Search for the paper arxiv 2506.05176 which is the Qwen3-Embedding paper. What MTEB scores does Qwen3-Embedding-0.6B get compared to nomic-embed-text, mxbai-embed-large, and other embedding models? What is the embedding dimension and max sequence length?hf_paper_get → hf_paper_readhf_fs hub_repo_details
  • MTEB scores for Qwen3-Embedding-0.6B and comparisons from the paper text
  • embedding dimension and max sequence length
21active · inline
MINOR_RISK
v2:csv-19886
spaces
single
What is the Gradio API endpoint for hexgrad/Kokoro-TTS space? What voices/speakers are available, especially American male?hf_space_toolsdynamic_space
Prompt asks for the Gradio API endpoint and available voices (especially American male) for `hexgrad/Kokoro-TTS`. `strict.py` requires >=3 internal `am_<name>` voice codes (failing if an agent lists human-readable names like `Adam`, `Michael`, `Eric` without `am_` prefixes) and hardcodes that the API must be reported as disabled without checking `o["data"]["api"]`.
  • tool/endpoint names of hexgrad/Kokoro-TTS and the voice parameter values, naming American male voices
22active · inline
MINOR_RISK
v2:csv-20163
people
single
What discussions has kashif participated in on the google/timesfm-2.5-200m-transformers model? Show the discussion titles and dates.hf_discussions_list ★no legacy path
Prompt asks what discussions `kashif` *"participated in"* and asks for *"titles and dates"*. `oracle_part3.py:89-90` only captures discussions *authored* by `kashif` (ignoring comment-only participation), and neither `oracle_part3.py` nor `rules_v2.py:170-171` checks any dates at all.
  • discussions on google/timesfm-2.5-200m-transformers authored by kashif with titles and dates
  • notes that participation via comments needs reading threads
23active · inline
MINOR_RISK
v2:csv-20475
repo
chain
Show key repo metadata and file names for model google/gemma-4-E2B-it. Include siblings/files if available, especially config.json, tokenizer.json, tokenizer_config.json, processor_config.json, preprocessor_config.json, chat_template, generation_config, model.safetensors or sharded safetensors. Keep output compact.hf_repo_info → hf_repo_list_fileshub_repo_details hf_fs
Prompt asks for "key repo metadata and file names" for `google/gemma-4-E2B-it`. Scorer ignores the captured `model` metadata and only checks 80% overlap of filtered filenames. Also `tree(..., negative=True)` stores `{'unavailable': True}` with `ok=True` on 401/403/404, which causes `files=[]` and a guaranteed score failure with `oracle_ok=True` if ever gated.
  • repo metadata for google/gemma-4-E2B-it plus the named files that exist (config, tokenizer, processor, chat template, safetensors)
  • compact
24active · inline
SOLID
v2:csv-20648
docs
single
What are Hugging Face Collections? Specifically, can a collection contain arbitrary files like a CSV, or only Hub repositories/resources such as models, datasets, spaces, and papers? Answer briefly with the supported item types if possible.hf_docs_searchhf_fs
  • collections hold Hub items (models, datasets, Spaces, papers, collections) not arbitrary files
  • cites docs
25active · inline
SOLID
v2:csv-23347
papers
single
Find the paper "Mem-alpha: Learning Memory Construction via Reinforcement Learning" by Yu Wang et al. 2025. What is the arXiv ID?hf_papers_searchhf_fs hub_repo_search hub_repo_details
  • arXiv id of Mem-alpha (Yu Wang et al. 2025)
26active · inline
MINOR_RISK
v2:csv-25884
dataset
compare
For these datasets, give me the number of rows in each split and the column names: roneneldan/TinyStories, Abirate/english_quotes, dair-ai/emotion, Salesforce/wikitext (config wikitext-2-raw-v1), google-research-datasets/poem_sentimenthf_dataset_structurehub_repo_details
Prompt specifies `(config wikitext-2-raw-v1)` for `Salesforce/wikitext`, but leaves `dair-ai/emotion`'s config unspecified (it has both `split` and `unsplit`). `strict.py:503` hardcodes `config == "split"`, failing if an agent reports `unsplit`. Also `number(z["num_rows"], a)` rejects abbreviated counts like `2.12M` for TinyStories.
  • row counts per split and column names for all five datasets (wikitext with config wikitext-2-raw-v1)
27active · inline
MINOR_RISK
v2:csv-28125
repo
single
For dataset repo CritPt-Benchmark/CritPt, list available files or describe how to access the file tree. If possible, specifically check whether a file named data/public_test_challenges/Challenge_60.ipynb exists.hf_repo_paths_info → hf_repo_list_fileshf_fs hub_repo_details
If `exists == True`, `oracle_part1.py:456-457` requires `file size`, which the prompt never asks for. If `exists == False`, `rules_v2.py:175-176` doesn't require `obs("critpt-benchmark/critpt")` when `Challenge_60.ipynb` is echoed from the prompt. Also recursive tree capture fails closed at 1,000 files.
  • states whether data/public_test_challenges/Challenge_60.ipynb exists in CritPt-Benchmark/CritPt (with size if present)
28active · inline
SOLID
v2:csv-28176
docs
chain
How do I use the Hugging Face Hub API to commit a file to a space repository? Specifically the /api/spaces/{repo_id}/commit/{branch} endpoint format and required request body.hf_docs_search → hf_docs_readhf_fs
  • commit endpoint format and body (or the recommended huggingface_hub call) for Spaces, citing docs
29active · inline
MINOR_RISK
v2:csv-28458
dataset
single
Get the first 3 rows from the dataset nvidia/Nemotron-Terminal-Corpus, config skill_based_mixed, split train. Show the structure of the conversations field.hf_dataset_rowshub_repo_details
Doesn't verify actual row content
  • returns the first 3 rows of config skill_based_mixed split train and describes the conversations field structure
30active · inline
MINOR_RISK
v2:csv-28988
repo
chain
For Qwen/Qwen3-4B-Thinking-2507: what are the recommended generation parameters (temperature, top_p, max_new_tokens) and what exact think-tag format does it emit? Does it use <think>...</think> or <thinking>...</thinking>? Does the chat template automatically open a <think> tag?hf_repo_read_text → hf_repo_infohf_fs hub_repo_details
Ignores final yes/no question
  • recommended temperature, top_p and max tokens for Qwen3-4B-Thinking-2507 from card or generation_config
  • think-tag format
  • whether the chat template opens <think>
31active · inline
SOLID
v2:csv-34288
dataset
single
What are the schema fields in AI-MO/NuminaMath-CoT dataset? Show row count per split and field nameshf_dataset_structurehub_repo_details
  • schema field names and row count per split for AI-MO/NuminaMath-CoT
32active · inline
SOLID
v2:csv-38706
repo
single
List all files in the onnx/ directory of model Xenova/whisper-smallhf_repo_list_fileshf_fs hub_repo_details
  • lists files under onnx/ of Xenova/whisper-small
33active · inline
MINOR_RISK
v2:csv-39095
papers
single
List models on Hugging Face Hub with arxiv:2504.08388 (MineWorld) OR arxiv:2508.19320 (MIDAS) OR arxiv:2512.04519 (VideoSSM). Return repo IDs, license, downloads, likes, tags.hf_models_searchhub_repo_search hf_fs
When `empty_models` is True, `rules_v2.py:184-185` is solid. If models exist (`oracle_part3.py:147-153`), `all(contains_ci(ans, x) for x in ('license','downloads','likes','tags'))` fails on singular forms (`1 like`, `1 download`, `Tag:`) and does not verify actual license/download/like/tag values.
  • models linked to any of the three arXiv ids
  • repo id, license, downloads, likes, tags
34active · inline
SOLID
v2:csv-42562
repo
single
Get the latest commit SHA on the main branch for the model repo Qwen/Qwen2.5-0.5B-Instruct. I need the exact full commit hash (sha) of the current HEAD of the main branch, plus the commit date and commit title if available.hf_repo_history ★ → hf_repo_infohf_fs hub_repo_details
  • full 40-char commit sha of main for Qwen/Qwen2.5-0.5B-Instruct with its date and title
35active · inline
MINOR_RISK
v2:csv-42719
people
single
get number of repositories for user huggingfacehf_profile_get ★hub_repo_search hf_fs partial
Prompt: *"get number of repositories for user huggingface"* (singular total, and calls org a "user"). `oracle_part3.py:207-210` requires ALL FOUR numbers: `numModels`, `numDatasets`, `numSpaces`, AND `total`. An agent reporting only the total fails 3/4 gates.
  • number of models, datasets and Spaces of the huggingface org (and total)
36active · inline
MINOR_RISK
v2:csv-450
dataset
chain
For dataset Babelscape/wikineural: what is the correct way to load only Russian data? The config name "ru" doesn't work, only "default" is available. How do I filter by language after loading? What is the exact field name for language filtering?hf_dataset_structure → hf_dataset_rowshub_repo_details hf_fs
Ignores second half of prompt
  • confirms Babelscape/wikineural configs
  • identifies the language field (lang) and shows how to filter Russian rows after loading
37active · inline
SOLID
v2:csv-8503
repo
single
Download and show me the contents of the file at Anthropic/EconomicIndex dataset, path: release_2026_01_15/data_documentation.mdhf_repo_read_texthf_fs hub_repo_details
  • reads release_2026_01_15/data_documentation.md from the Anthropic/EconomicIndex dataset and shows or summarises its contents
  • reports if the path is missing
38active · inline
SOLID
v2:hand-chat-template
repo
single
What chat template and BOS/EOS tokens does unsloth/Qwen3-8B-GGUF ship with?hf_repo_info → hf_repo_read_texthub_repo_details hf_fs
  • shows the chat template (or a faithful excerpt) and the bos and eos tokens
  • names the source (GGUF header or tokenizer_config)
39active · inline
SOLID
v2:hand-docs-inference
docs
single
How do I pick a specific inference provider when calling a model through the Hugging Face router with the OpenAI client?hf_docs_searchhf_fs
  • explains inference providers routing (router.huggingface.co, :provider suffix or provider selection) citing docs
40active · inline
MINOR_RISK
v2:hand-docs-product
docs
chain
How do I write a custom reward function for TRL GRPOTrainer? What signature does it need?hf_docs_search → hf_docs_readhf_fs
Unrequested parameter name (FN)
  • finds the TRL GRPOTrainer docs and lists required reward function signature and key config arguments
41active · inline
MINOR_RISK
v2:hand-image-read
repo
chain
Open the benchmark chart image in the deepseek-ai/DeepSeek-R1 repo and tell me what it compares.hf_repo_list_files → hf_repo_read_imagehf_fs hub_repo_details
Unrequested relative file path (FN)
  • finds an image file (chart/diagram) in the repo and describes what it shows
  • names the file path
42active · inline
MINOR_RISK
v2:hand-job-flavors
jobs
single
Which GPUs can I run Jobs on, and how much VRAM does the a100-large flavor have?hf_hardware_flavors ★hf_jobs
`rules_v2.py:151` strips `x\d+$` from flavor names without stripping a preceding hyphen (`l40s-x4` → `l40s-` → `l40s[- ]`), which fails when followed by `,`/newline. Also memorizable without checking hardware API/docs in `evidence_text`.
  • lists Job hardware flavors and the GPU memory of a100-large
43active · inline
MINOR_RISK
v2:hand-my-buckets
account
chain
authenticated token
List my storage buckets.hf_whoami → hf_buckets_listhf_whoami hf_fs
Empty-account branch (`rules_v2.py:197`) requires `whoami\
  • resolves the current user then lists their storage buckets
44active · inline
MINOR_RISK
v2:hand-my-repo-discussions
people
chain
authenticated token
Are there any open discussions or pull requests on my repositories that I have not answered?hf_whoami → hf_discussions_list ★hf_whoami
Solid for empty test account (`rules_v2.py:195-197`), but non-empty branch (`oracle_part1.py:484-492`) requires `author` and `createdAt` dates even though prompt only asks *"Are there any open discussions or pull requests on my repositories that I have not answered?"*
  • resolves me, then lists open discussions and PRs across my repositories (owner filter)
45active · inline
MINOR_RISK
v2:hand-org-activity
people
single
What has the huggingface org been publishing this week? Show me its activity feed.hf_activity ★no legacy path
`oracle_part3.py:77,183-189` snapshots 100 events for high-volume org `huggingface` without trace augmentation (stale snapshot risks drift), while passing if just 3 active employee handles (e.g. `julien-c`, `merve`, `thomwolf`) appear anywhere in the answer without checking actual events.
  • recent activity feed of the huggingface organization with event types, repos and dates
46active · inline
SOLID
v2:hand-org-member-count
people
single
How many members does the Qwen organization have on Hugging Face?hf_profile_get ★hub_repo_search hf_fs partial
  • member count of the Qwen organization from its profile, or by paging the member list
  • says if only visible members are counted
47active · inline
MINOR_RISK
v2:hand-org-write
account
single
authenticated token
Which of my organizations am I allowed to create repositories in?hf_whoamihf_whoami
Non-empty branch (`oracle_part1.py:474`) checks only substring presence of write/admin orgs without penalizing inclusion of read-only orgs; `roleInOrg` omits `contributor`; empty branch (`rules_v2.py:197`) hardcodes `hf-mcp-test-account`.
  • lists my organizations where my role allows creating repositories (write/admin)
48active · inline
SOLID
v2:hand-profile-socials
people
chain
Find the Unsloth team on Hugging Face and give me their bio and social links.hf_hub_lookup ★ → hf_profile_get ★hub_repo_search hub_repo_details hf_fs partial
  • bio, full name and social links for the Unsloth organization profile
49active · inline
MINOR_RISK
v2:hand-read-pr
people
single
Read PR #1 on openai-community/gpt2 and summarise the comments.hf_discussion_get ★no legacy path
Unrequested `"closed"` status (FN)
  • reads discussion/PR #1 on openai-community/gpt2 and summarises its comments and status
50active · inline
SOLID
v2:hand-rows-filter
dataset
single
Show me 5 negative reviews from the stanfordnlp/imdb test split.hf_dataset_rowshub_repo_details
  • uses a where filter (or search) on the label column and returns 5 matching negative-sentiment rows with text and label
51active · inline
MINOR_RISK
v2:hand-space-likes
people
single
Which Spaces has merve liked recently?hf_user_likes ★no legacy path
`strict.py:142-156` (7/20 or 3/20 with scope) tolerates moderate drift well, but `_likes("merve")` capture fails if `merve` hits 1,000 total likes, and heavy liking (>13 new Spaces after snapshot) can still cause false negatives.
  • Spaces (kind space only) that merve liked recently
52active · inline
SOLID
v2:syn-docs-datasets-streaming
docs
single
According to the Hugging Face datasets documentation, how do you load a dataset in streaming mode with load_dataset without downloading the full dataset to disk?hf_docs_search → hf_docs_readhf_fs
  • shows load_dataset(..., streaming=True) from the Hugging Face datasets documentation
53active · inline
SOLID
v2:syn-docs-diffusers-pipeline
docs
single
In Hugging Face diffusers, what is the standard class method used to load a pretrained diffusion pipeline from the Hub?hf_docs_search → hf_docs_readhf_fs
  • identifies DiffusionPipeline.from_pretrained (or Pipeline.from_pretrained) as the class method to load a pretrained pipeline from the Hub
54active · inline
SOLID
v2:syn-docs-hf-cli-download
docs
single
According to the Hugging Face Hub documentation, what CLI command and flag downloads a model repository into a specific local directory (instead of only the cache)?hf_docs_search → hf_docs_readhf_fs
  • gives the hf download (or huggingface-cli download) command and the --local-dir flag to download into a specific local directory
55active · inline
MINOR_RISK
v2:syn-docs-transformers-device-map
docs
single
In Hugging Face transformers, what parameter and value passed to from_pretrained automatically distributes a large model across available GPUs/CPU?hf_docs_search → hf_docs_readhf_fs
Rigid `=` syntax regex (FN)
  • identifies device_map="auto" passed to from_pretrained in Hugging Face transformers
56active · inline
SOLID
v2:syn-ds-gsm8k-structure
dataset
single
For the dataset openai/gsm8k, what configs/subsets and splits are available?hf_dataset_structurehub_repo_details hf_fs
  • lists available configs/subsets (main, socratic) and splits (train, test) of openai/gsm8k
57active · inline
SOLID
v2:syn-ds-imdb-first-row
dataset
single
Inspect the first row (offset 0) of stanfordnlp/imdb (config plain_text, split train). List its column names and quote the opening words of the text field.hf_dataset_rowshub_repo_details
  • lists column names (text, label) of stanfordnlp/imdb plain_text train split and quotes the opening words of row 0
58active · inline
SOLID
v2:syn-ds-mmlu-configs
dataset
count
How many configs/subsets does the dataset cais/mmlu have on Hugging Face?hf_dataset_structurehub_repo_details hf_fs
  • reports the exact number of configs/subsets on cais/mmlu
59active · inline
SOLID
v2:syn-ds-squad-splits
dataset
count
For the dataset rajpurkar/squad, list all available splits and their exact row counts.hf_dataset_structurehub_repo_details hf_fs
  • lists all splits of rajpurkar/squad (train and validation) with their exact row counts
60active · inline
SOLID
v2:syn-kernels-community-top
search
single
Find the top 10 most downloaded kernel repositories under the kernels-community organization on Hugging Face.hf_models_searchhub_repo_search hf_fs hub_repo_details
  • lists the top 10 most downloaded repositories under kernels-community sorted by downloads descending with download counts
61active · inline
MINOR_RISK
v2:syn-kernels-flash-attn3
repo
single
Inspect the Hugging Face repository kernels-community/flash-attn3. What license does it use, and what top-level files/directories are in the repo (including whether benchmark.py exists)?hf_repo_info → hf_repo_list_fileshub_repo_details hf_fs hub_repo_search
Ignores other top-level files
  • reports exact BSD license variant of kernels-community/flash-attn3
  • lists top-level files/directories and confirms whether benchmark.py exists
62active · inline
MINOR_RISK
v2:syn-openenv-spaces-compare
spaces
compare
Compare the Hugging Face Spaces openenv/coding_env and openenv/echo_env: report the SDK and current hardware flavor for each.hf_repo_info → hf_spaces_listhub_repo_details hf_fs hub_repo_search dynamic_space
`sdk` unchecked + hyphen fragility
  • compares openenv/coding_env and openenv/echo_env with SDK and current hardware flavor for both Spaces
63active · inline
SOLID
v2:syn-paper-attention-meta
papers
single
Look up arXiv paper 1706.03762 on Hugging Face Papers. Return its exact title and list all authors.hf_paper_gethf_fs
  • returns the exact title of arXiv 1706.03762 and lists all 8 authors
64active · inline
SOLID
v2:syn-paper-deepseek-r1
papers
single
Look up the DeepSeek-R1 paper (arXiv 2501.12948) on Hugging Face Papers. Return its exact title, arXiv ID, and current upvote count.hf_paper_gethf_fs
  • returns the exact title, arXiv ID (2501.12948), and current upvote count of the DeepSeek-R1 paper on Hugging Face Papers
65active · inline
SOLID
v2:syn-paper-qwen25-meta
papers
single
Look up arXiv paper 2412.15115 on Hugging Face Papers. Return its exact title and how many authors are listed.hf_paper_gethf_fs
  • returns the exact title of arXiv 2412.15115 and the number of listed authors
66active · inline
MINOR_RISK
v2:syn-repo-bert-history
repo
single
Check the commit history of google-bert/bert-base-uncased on main and return the latest commit SHA (or short hash) and commit title.hf_repo_history ★hf_fs hub_repo_details partial
`or` instead of `and`
  • returns the latest commit SHA (or short hash) and commit title on main for google-bert/bert-base-uncased
67active · inline
SOLID
v2:syn-repo-gpt2-safetensors-size
repo
single
What is the exact file size (in bytes or MB) of model.safetensors in openai-community/gpt2?hf_repo_paths_info → hf_repo_list_fileshf_fs hub_repo_details
  • reports the exact file size in bytes (and/or MB) of model.safetensors in openai-community/gpt2
68active · tabular CSV
FLAKY_OR_UNFAIR
v2:ch-julien-likes
people
count
What is the most popular repository that julien-c has liked recently? Rank by repo_likes and include coverage metadata.hf_user_likes ★no legacy path
Prompt asks *"What is the most popular repository that julien-c has liked recently?"* without defining a window size. `oracle_part3.py:70,177-180` hardcodes `likes[:30]` and checks only `repos[0]`. An agent scanning the latest 20, 50, or 100 likes can legitimately get a different #1 repo and fail. Also `coverage` passes on the prompt word `"recent"` alone.
  • ranks repos recently liked by julien-c by their like counts
  • names the top one with repo_likes
  • states the window (how many likes scanned)
69active · tabular CSV
MINOR_RISK
v2:ch-mishig-activity-ds
people
count
Show the 25 most recent activity events for user "mishig", but only dataset or space events. Return compact JSON rows with event_type, repo_id, repo_type, and timestamp, omitting missing fields.hf_activity ★no legacy path
Prompt says *"omitting missing fields"*, but `strict.py:434` enforces `set(r) == want` (all 4 keys mandatory) and exact raw string match on `timestamp` (`key(r) in refs`), failing if an agent strips milliseconds (`Z` vs `.000Z`) or uses `+00:00`.
  • only dataset or Space events, 25 most recent (pages if needed)
  • rows with event_type, repo_id, repo_type, timestamp
  • no null fields
70active · tabular CSV
FLAKY_OR_UNFAIR
v2:ch-mteb-pro-likers
people
count
For space mteb/leaderboard, return 20 pro likers with only username, type, and isPro.hf_repo_likers ★no legacy path
Prompt doesn't mandate bare JSON array or 3-col markdown table; `rules_v2.py:158-163` + `oracle_part1.py:409-416` reject wrapped JSON `{"likers": [...]}` (dict, not list), numbered lists, and 4-col tables with a `#` index column. Also vulnerable to live drift against snapshot's first 1,000 likers.
  • 20 PRO likers of the mteb/leaderboard Space with username, type and isPro only
  • pages until 20 PRO users are found or the list ends
71active · tabular CSV
MINOR_RISK
v2:ch-qwen-pro-likers
people
count
How many pro users liked model "Qwen/Qwen3.5-32B"? Return exactly {repo_id, repo_type, pro_likers}.hf_repo_likers ★no legacy path
Currently 404 (`Qwen/Qwen3.5-32B` doesn't exist), where `rules_v2.py:164-165` expects prose refusal (`DEN`), slightly conflicting with prompt's *"Return exactly {repo_id, repo_type, pro_likers}"*. If the model ever exists, `oracle_part3.py:109-110` crashes at >=1000 likers and checks exact integer equality with zero drift tolerance.
  • JSON {repo_id, repo_type, pro_likers}
  • counts PRO likers by paging all likers
  • if the repo does not exist, says so
72active · tabular CSV
WEAK_GROUNDING
v2:cq-3164
collections
chain
Find the official Qwen3.5 collection and get details about the available models, their sizes, and capabilitieshf_collections_search → hf_collection_get → hf_repo_infohf_fs
Partial answer / ignores key prompt asks (FP)
  • finds the official Qwen3.5 collection by Qwen
  • lists its models with sizes and capabilities
73active · tabular CSV
SOLID
v2:cq-7327
dataset
compare
Get details for these datasets - row counts and description: timdettmers/openassistant-guanaco, OpenAssistant/oasst2, HuggingFaceH4/ultrachat_200khf_dataset_structurehub_repo_details
  • row counts per split and a one-line description for each of the three datasets
74active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-13349
spaces
count
List all spaces with the openenv tag, sorted by likes, show name, author, likes, tags, and descriptionhf_spaces_listhub_repo_search hf_fs
`strict.py:167-178` requires: (1) `owner/name` and exact `likes` on the **same line** (rejects multi-line bullets/JSON); (2) global descending sort across *all* lines mentioning any space+likes (a summary callout breaks sort); (3) literal substrings `"description"` and `"tag"` (fails if table headers say `Summary`/`Labels`); (4) `total` regex `(\d+)\s+...spaces` misses `"Total: 152"` and requires `n` verbatim in tool output (`number(n, tl)`), failing if agent summed paginated results.
  • all Spaces tagged openenv sorted by likes with name, author, likes, tags, description
  • paging noted
75active · tabular CSV
WEAK_GROUNDING
v2:csv-16267
collections
count
List all collections for these organizations: google, meta-llama, openai, Qwen, baidu, unsloth, microsoft, facebook, deepseek-ai, mistralai. Show collection title and description for each. Limit 10 collections per org.hf_collections_searchhf_fs
Oracle drops 2/10 orgs + trivial pass threshold (FP)
  • up to 10 collections each for the 10 organizations, title and description
  • owners with none stated
76active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-20265
spaces
count
List 30 recently created spaces. Return id, likes, sdk, author, lastModified for each.hf_spaces_listhub_repo_search hf_fs
Prompt: *"List 30 recently created spaces. Return id, likes, sdk, author, lastModified for each."* `strict.py:318-327` requires ALL 5 fields on the **same line** for all 30/30 Spaces (`len(hits) >= 30`). Pretty-printed JSON arrays or multi-line Markdown bullets get 0 hits and fail completely.
  • 30 most recently created Spaces with id, likes, sdk, author and last modified (paging if needed)
77active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-24970
papers
count
Show me the daily papers from April 10, 11, and 12, 2026 on HuggingFace. List title, authors, date, and arxiv ID.hf_daily_papershf_fs
`oracle_part1.py:466-472` requires ≥80% of **every single author** across all papers on all 3 days (hundreds of names — breaks on standard `"et al."` or truncated author lists). Also if >25 papers total, following `RESPONSE_GUIDELINES` (10–20 inline) guarantees failing the 80% threshold.
  • daily papers for 2026-04-10, 04-11 and 04-12 separately
  • title, authors, date and arXiv id
78active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-27268
people
single
List recent open discussions on Qwen/Qwen2.5-7B-Instruct model, including discussion title, author, status, and URL. Limit to 15 most recent.hf_discussions_list ★no legacy path
`rules_v2.py:217-226` requires exact `len(matches) == 15` and `any(set(w) == matches for w in windows)` against a static snapshot of `Qwen/Qwen2.5-7B-Instruct` sorted by `num` descending. Any single new/closed discussion after snapshot, or sorting "most recent" by `updatedAt`, causes a false negative. Meanwhile, actual titles and authors are never verified (`has("author")` alone passes).
  • 15 most recent open discussions on Qwen/Qwen2.5-7B-Instruct with title, author, status and URL
79active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-28464
people
count
Get all open discussions across all repos in the perplexity-ai organization. Include title, status, author, created date, number of comments, and repo name for each discussion.hf_discussions_list ★no legacy path
`rules_v2.py:200-216` requires title (first 8 words), author, and repo name on the **same single line** — any grouped-by-repo (`### repo`) or multi-line bullet layout scores 0%. Also 95% threshold on 29 discussions directly contradicts `RESPONSE_GUIDELINES` (>25 items → 10–20 inline) and breaks on 2 live discussion changes; `status` and `numComments` aren't even checked.
  • open discussions across perplexity-ai repos (owner filter) with title, status, author, created date, comment count and repo
  • paged
80active · tabular CSV
MINOR_RISK
v2:csv-28631
collections
count
List all model repo IDs in the Hugging Face collection 'OpenVINO/llm'. Return only the repo IDs, one per line, no commentary.hf_collection_gethf_fs
`oracle_part1.py:476-477` checks `all(line in oracle["items"] for line in lines)` (case-sensitive). Fails if agent wraps output in markdown code fences (```` ``` ````) or if a new model is added to `OpenVINO/llm` after snapshot capture.
  • only model repo ids from OpenVINO/llm, one per line, complete (continues if items are paged)
81active · tabular CSV
MINOR_RISK
v2:csv-3213
people
single
find models liked by user pcuenqhf_user_likes ★no legacy path
`strict.py:142-156` is well-structured, but an agent returning *"Here are the 20 most recent models liked by pcuenq"* without stating the total or using `example()` words (`sample`/`subset`/`examples`/`representative`) fails `scope`. Capture (`_likes("pcuenq")`) breaks if `pcuenq` hits 1,000 likes.
  • models liked by pcuenq (models only), most recent first
82active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-40333
search
count
Show me trending models right now. Top 25.hf_models_search → hf_trendinghub_repo_search hf_fs
Prompt asks for live "Top 25" trending models. Scorer requires 80% overlap (20/25) against a static snapshot. Trending models shift continuously; any snapshot older than a few hours will fail an accurate live agent.
  • returns 25 trending models (pages or uses trendingScore sort when the feed is shorter)
  • ranks shown
83active · tabular CSV
MINOR_RISK
v2:csv-41229
collections
chain
Find all collections by the Qwen organization that contain "Scope" or "SAE" in their title. List collection slugs, titles, and the repos they contain.hf_collections_search → hf_collection_gethf_fs
`oracle_part1.py:146,474` flattens `[slug, title, *repos]` into one 80% overlap bag — an agent can omit slug and title and still pass if repos dominate; conversely, >25 repos conflicts with `RESPONSE_GUIDELINES`. Capture (`_list` limit=100) breaks if Qwen exceeds 100 collections.
  • Qwen collections whose titles contain Scope or SAE
  • slug, title and repos of each
84active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-4334
spaces
count
Get complete list of all Hugging Face Spaces owned by user "merve" with their runtime_stage status, ensure all spaces are returnedhf_spaces_listhub_repo_search hf_fs
`rules_v2.py:142-143` requires `all(has(r["id"].split("/",1)[1]) for r in refs)` (100% of `merve`'s >25 Spaces!) and `all(has(r["runtime"]["stage"]) ...)`. Any single Space created/deleted after snapshot fails; following `RESPONSE_GUIDELINES` (>25 items → total + 10–20 representative items) fails; writing `"runtime error"` instead of `"RUNTIME_ERROR"` fails; stages are not bound to individual Spaces.
  • complete list of Spaces authored by merve with runtime stage
  • pages until next_cursor is exhausted
85active · tabular CSV
FLAKY_OR_UNFAIR
v2:csv-874
people
count
What models have users in the "huggingface" organization liked recently?hf_org_members ★ → hf_user_likes ★no legacy path
Prompt only asks *"What models have users in the 'huggingface' organization liked recently?"* `strict.py:207-255` fails unless: (1) agent explicitly states how many members it sampled (`sample size` regex); (2) `(member, repo)` appear on the same line (or specific `memberCount`/`users` JSON record shape in trace). Valid CLI/script workflows with different stdout formats yield empty `pairs`/`aggregates` and fail. Also crashes with `TypeError` if `o["members"]` is a 401/403 dict.
  • lists huggingface org members then their recent model likes
  • bounded fan-out with the sample size stated
86active · tabular CSV
MINOR_RISK
v2:hand-closed-discussions
people
count
List the closed discussions on HuggingFaceTB/SmolLM3-3B and how many comments each one had.hf_discussions_list ★no legacy path
`rules_v2.py:198-216` requires title words AND exact integer `numComments` on the **same line** for >=95% (10/10) of closed discussions on `SmolLM3-3B`. Multi-line bullets/JSON or writing `"no comments"` for `0` fails.
  • closed discussions on HuggingFaceTB/SmolLM3-3B with comment counts
  • paged
87active · tabular CSV
FLAKY_OR_UNFAIR
v2:hand-collection-contains
collections
single
Which collections include the dataset HuggingFaceFW/fineweb?hf_collections_searchhf_fs
There are 269+ collections containing `HuggingFaceFW/fineweb`. `strict.py:148-155` requires `>=80%` (~216 slugs) UNLESS `scope` is True. Because `if not coll:` skips the trace-backed count check (`strict.py:150-153`), `scope` ONLY matches exact `str(total)` (breaks on +1 live Hub drift!) or magic words in `example(clean)` (`examples`/`sample`/`subset`/`representative`). An agent writing *"There are 270 collections; here are the top 20:"* fails.
  • collections that contain the dataset HuggingFaceFW/fineweb (contains filter), with owners and titles
88active · tabular CSV
SOLID
v2:hand-follower-compare
people
compare
Compare the follower counts of the meta-llama, mistralai and Qwen organizations on Hugging Face.hf_profile_get ★hub_repo_search hf_fs partial
  • follower counts for meta-llama, mistralai and Qwen from profiles, compared
89active · tabular CSV
FLAKY_OR_UNFAIR
v2:hand-following-pro
people
single
List the people julien-c follows on Hugging Face and mark which of them are PRO.hf_follow_graph ★no legacy path
`strict.py:179-196` overrides `oracle_part1` on 602 followed users: (1) requires **exact** integer match on both total (602) and PRO count (1 live follow/PRO change = instant fail); (2) `all(marked[x] == refs[x])` fails if any prose word collides with a username under a heading or 1 user's PRO status drifted; (3) rejects common `- username (PRO)` formatting; (4) drops `oracle_part1`'s 500-cap allowance.
  • users julien-c follows, marking which are PRO
90active · tabular CSV
WEAK_GROUNDING
v2:hand-following-pro-small
people
count
List the people lhoestq follows on Hugging Face, give the total count, and mark which of them are PRO.hf_follow_graph ★hub_repo_search hf_fs
Unchecked PRO marking + unpaginated capture (FP)
  • lists people lhoestq follows on Hugging Face
  • states the total count
  • marks which of them are PRO
91active · tabular CSV
MINOR_RISK
v2:hand-open-prs
people
single
Show me the open pull requests on meta-llama/Llama-3.1-8B-Instruct.hf_discussions_list ★no legacy path
`rules_v2.py:177-183` allows bounded lists when `len(cited_prs) >= 8`, but `cited_prs` ONLY matches `#(\d+)` or `/discussions/(\d+)`. A clean markdown table `\
  • open pull requests (type PR, status open) on meta-llama/Llama-3.1-8B-Instruct with number, title and author
92active · tabular CSV
FLAKY_OR_UNFAIR
v2:hand-org-followers
people
count
Who are the 20 most recent followers of the huggingface organization?hf_follow_graph ★no legacy path
`oracle_part3.py:102,218-219` snapshots the 20 most recent followers of `huggingface` (the most-followed org on HF) and requires >=16/20 matches with zero trace augmentation. Just 5 new followers between snapshot and run cause a false negative on a 100% accurate live answer.
  • 20 most recent followers of the huggingface organization (kind org)
93quarantined
FLAKY_OR_UNFAIR
v2:ch-mishig-activity
people
single
Show recent activity for user "mishig" (15 events) and include event type + repoId when present.hf_activity ★no legacy path
Single-line coupling + uninflected event-type regex
`strict.py:437-444` requires exact `<event_type>` (e.g. `update`, `upvote`) AND `repo` on the **same line** for 15/15 occurrences. Multi-line JSON/bullets fail, and natural English inflections (`updated`, `upvoted`) fail `update`. Also uses `calls(e)` instead of `_turn_pairs(e, scanned)`.
  • 15 recent events for mishig with event type and repo id when present
94quarantined
FLAKY_OR_UNFAIR
v2:ch-mishig-spaces
people
single
What spaces has mishig published? Return up to 20 with repo_id and likes.hf_spaces_listhub_repo_search hf_fs
Single-line coupling + "up to 20" enforced as exact 20
Prompt says *"Return up to 20 with repo_id and likes."* `strict.py:157-166` requires `repo_id` and `likes` on the **same line**, enforces `min(20, len(refs)) <= len(good) <= 20` (rejecting e.g. 15 when >=20 exist despite "up to 20"), and `good == cited` fails if any extra `mishig/...` repo is mentioned in prose.
  • up to 20 Spaces authored by mishig with repo id and likes
95quarantined
FLAKY_OR_UNFAIR
v2:ch-my-pro-followers
people
chain
authenticated token
What have my pro followers liked recently? Return a compact mapping from follower username to recent liked repos with repo_id, repo_type, liked_at, and repo_url.hf_whoami → hf_follow_graph ★ → hf_user_likes ★hf_whoami
Unrequested empty JSON `{}` requirement
Prompt says *"Return a compact mapping..."* without requiring JSON. For the empty test account, `rules_v2.py:90-91` requires `extract_json_block(a) == {}` — a clear prose answer (*"You have 0 PRO followers"*) or `{"pro_followers": {}}` **fails**.
  • resolves the current user
  • filters followers to PRO
  • maps each to recent likes with repo_id, repo_type, liked_at and repo_url
  • partial coverage stated
96quarantined
FLAKY_OR_UNFAIR
v2:ch-qwen-collections
collections
chain
Find up to 3 collections owned by Qwen, then for each collection return up to 5 model repos with repo_id, repo_type, and repo_url. Use exact top-level keys results and coverage.hf_collections_search → hf_collection_gethf_fs
Underspecified schema + brittle `strict.py` assumptions
Prompt asks for *"up to 3 collections owned by Qwen, then for each collection return up to 5 model repos with repo_id, repo_type, and repo_url. Use exact top-level keys results and coverage."* `strict.py:459-466` requires: (1) `results` is a `list` (rejects a dict keyed by collection); (2) each element contains the full `qwen/<slug>-<24hex>` string in `json.dumps(r)` even though the prompt never asked for collection slugs; (3) `next(x for x in r.values() if isinstance(x, list))` breaks if any other list key precedes `models`; (4) `bool(mods)` rejects a valid collection with 0 models.
  • up to 3 Qwen-owned collections
  • up to 5 model repos each with repo_id, repo_type and repo_url
  • top-level keys results and coverage
97quarantined
FLAKY_OR_UNFAIR
v2:ch-qwen-discussions
people
single
List up to 10 discussions for model Qwen/Qwen3.5-35B-A3B with num, title, author, status.hf_discussions_list ★no legacy path
Single-line coupling + live Hub drift on active model
`rules_v2.py:198-215` requires `num`, first 8 title words, `author`, and `status` all on the **same line** (rejects multi-line JSON/bullets). Worse, `ref` is snapshot-only (`oracle_overrides.json` / `capture_v2`), so ANY new discussion opened on `Qwen/Qwen3.5-35B-A3B` after snapshot breaks `cited <= matches` -> false negative. Also `1 <= len(matches) <= 10` is weak (1 discussion passes).
  • up to 10 discussions on Qwen/Qwen3.5-35B-A3B with num, title, author and status
98quarantined
FLAKY_OR_UNFAIR
v2:ch-qwen-latest-comment
people
chain
For model Qwen/Qwen3.5-35B-A3B, get the most recent discussion and return a compact JSON object with num, title, author, status, and latest_comment_text when available. Omit latest_comment_text if none is available.hf_discussions_list ★ → hf_discussion_get ★no legacy path
Exact dict equality + live drift + sort ambiguity
oracle_part1.py:419 checks parsed == target (exact dict equality), breaking on any new discussion/comment or key formatting difference.
  • most recent discussion on Qwen/Qwen3.5-35B-A3B with num, title, author, status and latest_comment_text only when present
99quarantined
WEAK_GROUNDING
v2:ch-trending-authors-follow-me
people
chain
authenticated token
Do any authors of the top 10 trending spaces follow me? Return exact top-level keys results and coverage, where results is a list of usernames only.hf_whoami → hf_trending → hf_follow_graph ★hf_whoami hf_fs hub_repo_search
Unverified empty intersection + live drift
`oracle_part1.py:421-425`: when the test account has 0 followers (`results == []`), returning `{"results": [], "coverage": "complete"}` passes with **zero** check that trending spaces or followers were queried. For non-empty accounts, top-10 trending spaces drift hourly against snapshot.
  • authors of the top 10 trending Spaces checked against my followers
  • results are usernames only
  • coverage key says if followers were paged fully
100quarantined
FLAKY_OR_UNFAIR
v2:cq-1213
repo
compare
Find models: Qwen/Qwen2.5-1.5B-Instruct and Qwen/Qwen2.5-3B-Instruct. Check their sizes and if they support Russian language.hf_repo_info → hf_repo_read_texthub_repo_details hf_fs
`strict.py:493-496`
Brittle numeric formatting (FN)
  • both Qwen2.5 1.5B and 3B Instruct: parameter counts or sizes
  • Russian support with evidence (language tags or card)
101quarantined
WEAK_GROUNDING
v2:cq-2220
search
count
Find all FLUX.2 Klein models (4B and 9B variants) from black-forest-labs. List their parameter counts, download counts, number of LoRA adapters available, and any quantized versions. Also check if there are GGUF quantizations available for Klein models.hf_models_search → hf_repo_infohub_repo_search hf_fs
No numeric or oracle verification (`rules_v2.py:243-244`, `oracle_part2.py:263-278`)
Prompt asks for all FLUX.2 Klein 4B & 9B models with parameter counts, download counts, LoRA adapter counts, and GGUF quantizations. Scorer only checks 1 repo ID + regexes for `black-forest-labs/*klein*{4b,9b}` + keywords `download`, `param
  • lists FLUX.2 Klein 4B and 9B repos from black-forest-labs with parameter counts and downloads
  • counts LoRA adapters via base_model lineage
  • reports GGUF/quantized derivatives or says none
102quarantined
FLAKY_OR_UNFAIR
v2:cq-3831
search
count
Search Hugging Face model repositories for Mixtral-8x22B GPTQ quantized variants. Return matching repo ids with downloads, likes, and tags. Include repos whose names contain Mixtral-8x22B and GPTQ or whose tags indicate GPTQ. Be reasonably comprehensive.hf_models_searchhub_repo_search hf_fs
Single-line formatting trap (`strict.py:467-479`)
Prompt asks for Mixtral-8x22B GPTQ repo IDs with downloads, likes, and tags, without specifying a tabular/single-line format. `strict.py:476-478` requires `exact(x, l)`, exact integer `downloads`, exact integer `likes`, and `"gptq"` all on the **same line**, rejecting standard multi-line bullet blocks per model or abbreviated numbers (`1.2k`).
  • Mixtral-8x22B GPTQ repos with downloads, likes and tags
  • uses base_model lineage or name/tag match
  • reasonably exhaustive with paging noted
103quarantined
WEAK_GROUNDING
v2:cq-3885
dataset
compare
Search for these datasets and return details: 1) google/jigsaw_toxicity_pred, 2) CohereForAI/aya_dataset, 3) wikimedia/wikipedia, 4) amazon_reviews_multi, 5) SHP (Stanford Human Preferences), 6) Anthropic/hh-rlhf, 7) tatsu-lab/alpaca, 8) stingning/ultrachat. For each, give me the field/column names if available, file format, size, and languages.hf_dataset_structure → hf_repo_infohub_repo_details hf_fs
`strict.py:505-508`
Unverified against oracle or trace (FP)
  • for each of the 8 datasets: columns, file format, size and languages, or not found
  • resolves bare names (amazon_reviews_multi, SHP) to ids
104quarantined
WEAK_GROUNDING
v2:cq-3912
search
compare
Find quantized variants of Mistral 8x7B (MoE) on Hugging Face Hub. Group by quantization type: GGUF, AWQ, GPTQ, EXL2, BitsAndBytes. Identify the most popular models by downloads and likes for each type.hf_models_searchhub_repo_search hf_fs hub_repo_details
Fallback verifier ignores 4/5 categories & metrics (`oracle_part2.py:263-278`)
Prompt asks to group Mistral/Mixtral-8x7B quantizations by GGUF, AWQ, GPTQ, EXL2, BitsAndBytes and identify the most popular by downloads/likes for each. Scorer only checks **1 single matching repo ID total** across all 5 categories plus the 5 literal words `gguf`, `awq`, `gptq`, `exl2`, `bitsandbytes`—never checking per-category repos, downloads, or likes.
  • groups Mixtral-8x7B quantized repos by GGUF, AWQ, GPTQ, EXL2 and bitsandbytes
  • names the most downloaded or liked per group
  • empty groups stated rather than invented
105quarantined
WEAK_GROUNDING
v2:cq-4180
spaces
single
Find all public Spaces with the tag "vscode" or that have "code-server" in the name, sorted by most likes, show their statushf_spaces_listhub_repo_search hf_fs
Checks only 1 Space ID + literal word `"status"` (`oracle_part2.py:263-278`)
Prompt asks for all public Spaces tagged `vscode` or named `code-server`, sorted by likes, with status. Scorer only checks **1** matching Space ID and literal words `vscode` and `status`—ignoring sorting, likes, actual runtime stages (`RUNNING`/`SLEEPING`), and dual-clause coverage. Also brittle if the agent writes column header `"Stage"`/`"Runtime"` instead of `"status"`.
  • Spaces tagged vscode or named code-server, most liked first, with runtime status
106quarantined
WEAK_GROUNDING
v2:cq-5957
dataset
chain
Look up the dataset "nguha/legalbench" on Hugging Face. Get its exact ID, description, size, number of tasks, and what columns/fields it has.hf_repo_info → hf_dataset_structurehub_repo_details hf_fs
`oracle_part4.py:374-376`
Ignores description, size, and columns (FP)
  • nguha/legalbench: exact id, description, size, number of tasks (configs) and columns of a sample task
107quarantined
WEAK_GROUNDING
v2:cq-6526
search
chain
Find all Qwen3-Reranker and Qwen3-VL-Reranker models up to 4B parameters, list their sizes and GGUF quantizations if availablehf_models_search → hf_repo_infohub_repo_search hf_fs
Checks only 1 repo ID + 2 keywords (`oracle_part2.py:263-278`)
Prompt asks for all `Qwen3-Reranker` and `Qwen3-VL-Reranker` models up to 4B, with sizes and GGUF quantizations. Scorer checks only **1** matching repo ID and the words `reranker` and `gguf`—never verifying both families, the `<=4B` filter (0.6B/4B), sizes, or GGUF repos.
  • lists Qwen3-Reranker and Qwen3-VL-Reranker models up to 4B with sizes
  • finds GGUF quantizations via base_model lineage or name search, or says none
108quarantined
FLAKY_OR_UNFAIR
v2:cq-6900
collections
chain
List all models in the LiquidAI LFM2.5 collection at https://huggingface.co/collections/LiquidAI/lfm25. Show model names, sizes, and what they're for.hf_collection_get → hf_repo_infohf_fs
Live Hub oracle 403 (collection now private/unavailable)
Live Hub snapshot capture returns HTTP 403 (collection status 403), causing 0/3 oracle-unavailable failures.
  • reads LiquidAI/lfm25 (URL accepted)
  • lists every model with size and purpose
109quarantined
WEAK_GROUNDING
v2:cq-7205
repo
compare
Find Qwen2-VL-2B and Qwen2.5-VL-3B models from Qwen organization, show downloads and num_params. Also find InternVL2-2B or similar compact VLM models under 4B parameters.hf_repo_info → hf_models_searchhub_repo_details hf_fs hub_repo_search
`oracle_part4.py:413-416`
Captured oracle facts never checked (FP)
  • downloads and num_params for Qwen2-VL-2B-Instruct and Qwen2.5-VL-3B-Instruct
  • plus InternVL2-2B or other compact VLMs under 4B
110quarantined
WEAK_GROUNDING
v2:cq-7512
search
chain
What inference providers and endpoints are available for text generation models like Qwen and Llama for API calls?hf_models_search → hf_repo_infohub_repo_search hf_fs
Broken oracle parsing; checks only 3 words (`oracle_part2.py:66-68,263-278`)
Prompt asks generally what inference providers/endpoints are available for models like Qwen and Llama. `capture_oracle` fetches single model dicts (not lists) for 2 hardcoded repos, so `ids(value)` returns `[]` (`objs()` expects `list`) and `score_answer` falls back to `len(answer) >= 30` plus the 3 words `qwen`, `llama`, `provider`. Oracle's `inferenceProviderMapping` is completely unused.
  • names inference providers serving Qwen and Llama text-generation models with example model ids
  • provider mapping from repo metadata
111quarantined
FLAKY_OR_UNFAIR
v2:cq-7552
papers
single
Find the paper with arxiv ID 2603.04676 - search for it on the hubhf_paper_gethf_fs
Prompt/verifier mismatch (false negative)
Prompt only asks: *"Find the paper with arxiv ID 2603.04676 - search for it on the hub"*. While 404 is handled cleanly by `rules_v2.py:164-165`, if the paper exists on the Hub (`oracle_part3.py:142`) it requires `>=50%` of all authors verbatim (`items(..., .5)`) and `len(final_answer) > 100` for "abstract" — neither of which was requested.
  • metadata (title, authors, abstract) for arXiv 2603.04676 or a clear not-found
112quarantined
FLAKY_OR_UNFAIR
v2:cq-758
search
count
Which organizations have the most trending models right now? Show me the top organizations by count of trending models in the top 50.hf_models_search → hf_trendinghub_repo_search hf_fs
Live Hub drift + arbitrary tie-breaking (`oracle_part2.py:198-202`)
Prompt asks for top orgs by count in the live top-50 trending models. Scorer compares against a static snapshot's `counts.most_common(5)` with 80% overlap. Live trending rotates continuously, and orgs ranked 4–8 frequently tie at count 2–3, making `most_common(5)` tie-breaking arbitrary. Meanwhile `has_number_near(answer, n, 0, 0)` trivially matches list numbers (`1.`, `2.`, `3.`).
  • takes the top 50 trending models and counts them per organization
  • shows the top organizations with counts
  • states the window used (50 models)
113quarantined
WEAK_GROUNDING
v2:cq-7890
search
chain
Find GGUF quantized versions of these coding models that are between 8GB and 14GB file size (Q4_K_M or Q5_K_M or QAT 4-bit): 1) Devstral Small 24B (by Mistral AI) 2) IBM Granite 20B Code Instruct 3) IBM Granite 4.0 H-Small. I need versions that fit in 32GB RAM with ~15GB headroom for OS+apps, so max ~16GB model file. Show file sizes and quantization levels. Exclude any Chinese-origin models.hf_models_search → hf_repo_list_files → hf_repo_paths_infohub_repo_search hf_fs
Captured file trees completely unused (`oracle_part2.py:98-104,263-278`)
Prompt asks for 8–14GB (max ~16GB) GGUF quantizations (Q4_K_M/Q5_K_M/QAT 4-bit) for 3 specific coding models with file sizes and quant levels, excluding Chinese-origin models. `capture_oracle` fetches file trees for all 3, but `score_answer` ignores them and checks only **1** repo ID total + keywords `devstral`, `granite`, `gguf`.
  • finds GGUF repos for Devstral Small 24B, Granite 20B Code and Granite 4.0 H-Small (or says none exist)
  • reports actual file sizes and quant levels from file listings
  • respects the 8-16GB window
114quarantined
WEAK_GROUNDING
v2:cq-7971
dataset
single
Get details about the dataset "pangram/editlens_iclr" - what are its columns, splits, size, and any other metadata? Also check if it's a gated dataset.hf_dataset_structure → hf_repo_infohub_repo_details hf_fs
Logic bug + missing check
`oracle_part1.py:397-398`: `if gated else True` means when `gated` is `False`, asserting `"It is a gated dataset"` **passes**. Also `oracle["size"]` is captured (line 95) but never checked, split counts aren't bound to split names, and `evidence_text` isn't checked.
  • columns, splits and size of pangram/editlens_iclr
  • gated status stated
115quarantined
WEAK_GROUNDING
v2:csv-15440
spaces
single
What is the status of the Space black-forest-labs/FLUX.1-Krea-dev? Is it running or paused?hf_repo_infohub_repo_details hf_fs
Trivial false positive + underscore FN + 404 bug
Prompt: *"What is the status of the Space black-forest-labs/FLUX.1-Krea-dev? Is it running or paused?"* `oracle_part3.py:175-176` only checks `contains_ci(ans, stage)`. Answering *"It is not running, it is paused"* contains BOTH `running` and `paused` and passes even if backwards! Also fails on `RUNTIME_ERROR`/`RUNNING_BUILDING` if written with spaces (`runtime error`), and `capture_oracle` puts 404 in `runtime._status` without setting `not_found=True`.
  • runtime stage of black-forest-labs/FLUX.1-Krea-dev (running, paused, sleeping)
116quarantined
FLAKY_OR_UNFAIR
v2:csv-15517
repo
single
Get the chat_template field from the tokenizer_config.json of the model google/gemma-4-27b-it. I need the full raw Jinja2 template text.hf_repo_info → hf_repo_read_texthub_repo_details hf_fs
Critical 401 capture/scorer mismatch + verbatim multi-KB fragility
`oracle_overrides.json` has `{"repo": "google/gemma-4-27b-it", "target_status": 401}` (no `template`/`templates`), and `oracle_part1.py:344` raises `OracleError` on 401 while `capture_v2.py:45-46` captures no sibling templates. `strict.py:91-107` runs **before** `rules_v2.py:101` and requires `matched_tmpl` from empty `tmpls` → **guaranteed fail**. Even on 404, verbatim multi-KB Jinja template matching is brittle to minor escaping/truncation.
  • reports that google/gemma-4-27b-it is not found (checked 2026-11-17) and resolves the closest existing Gemma 4 instruct repo
  • returns its raw Jinja chat template, noting truncation if any
117quarantined
FLAKY_OR_UNFAIR
v2:csv-16747
spaces
single
Find spaces with hardware "a10g-small" OR "a10g-large" OR "t4-medium" OR "a100-large" that are RUNNING (stage=RUNNING), sdk=gradio, sort by likes, limit 15, return space_id hardware likeshf_spaces_listhub_repo_search hf_fs
Extreme live-drift + MCP-only trace sniffing + strict `ids == set` (`strict.py:108-127`)
Prompt asks for up to 15 `RUNNING` Gradio Spaces on 4 GPU tiers sorted by likes. Only ~7 such Spaces are `RUNNING` at a time and GPU Spaces constantly sleep/wake. `strict.py:115` only trusts a live trace query if the call literally contains `"hardwarecurrentany"` and `"hasmore": false` (MCP-specific; fails for CLI/Python/REST), and `len(live) >= 15` never triggers when `<15` exist. Worse, `ids == {z[0] for z in ref}` fails if the answer mentions *any* other `a/b` token (e.g., an excluded Space or `gradio/RUNNING`).
  • running Gradio Spaces on the four named hardware tiers, sorted by likes, 15 rows with id, hardware and likes
118quarantined
FLAKY_OR_UNFAIR
v2:csv-19370
repo
count
For the model repo "unsloth/Qwen3.5-27B-GGUF", list all files with their sizes (siblings field).hf_repo_list_fileshf_fs hub_repo_details
Byte-size unit trap + `RESPONSE_GUIDELINES` truncation conflict (`oracle_part2.py:185-194`, `oracle_utils.py:133-156`)
Prompt asks to list all files with their sizes for `unsloth/Qwen3.5-27B-GGUF` (does not ask for bytes). `has_number_near` compares against raw byte integers (`x['size']`), and `extract_numbers()` ignores `KB/MB/GB/GiB` units—so standard `16.74 GB` / `15.59 GiB` sizes fail 100% of the time. Also, if the repo has >25 GGUF files, `RESPONSE_GUIDELINES` encourages truncating to 10–20 items, failing 80% overlap.
  • all files of unsloth/Qwen3.5-27B-GGUF with sizes, paging through the listing if needed
119quarantined
WEAK_GROUNDING
v2:csv-20423
collections
single
Find collections and repositories related to "gemmaverse"hf_collections_search → hf_models_searchhf_fs hub_repo_search hub_repo_details
`oracle_part4.py:367-373`
Single-item pass (FP)
  • gemmaverse collections and related repos with links
120quarantined
FLAKY_OR_UNFAIR
v2:csv-24188
docs
chain
Search for references to 'cpu-basic' and 'cpu-upgrade' in Hugging Face Jobs documentation or examples and return the exact strings if present.hf_docs_search → hf_docs_readhf_fs hf_jobs
Unrequested URL + false positive on negation
`oracle_part1.py:399-402` fails unless literal `"huggingface.co"` appears in the answer (prompt never asks for a URL). Simultaneously, `"I could not find 'cpu-basic' or 'cpu-upgrade' on huggingface.co"` **passes** all 3 checks without checking `evidence_text`.
  • quotes exact 'cpu-basic' and 'cpu-upgrade' strings from Jobs docs or examples with the page
121quarantined
WEAK_GROUNDING
v2:csv-2599
people
single
Get the full details and comments of discussion #26 titled "MAC Support ?" on the tencent/Hunyuan3D-2 model repository. Show all comments and responses.hf_discussion_get ★no legacy path
Comment content never verified
Prompt asks for *"full details and comments of discussion #26 titled 'MAC Support ?' ... Show all comments and responses."* `oracle_part3.py:205-206` only checks the title (already given in the prompt!) and 80% of comment author handles — zero verification of comment text, timestamps, or discussion status.
  • discussion #26 on tencent/Hunyuan3D-2 with title and all comments (paging comments if needed)
122quarantined
FLAKY_OR_UNFAIR
v2:csv-2684
repo
count
List all files in the repo unsloth/GLM-4.7-GGUF that contain "Q4_K_M" in the filename. I need the exact filenames and file sizes for every Q4_K_M shard. Also tell me the total number of Q4_K_M files and the total combined size.hf_repo_list_fileshf_fs hub_repo_details
Exact byte-integer requirement for GB-scale shards (`rules_v2.py:166-169`)
Prompt asks for "exact filenames and file sizes" and "total combined size" of `Q4_K_M` shards in `unsloth/GLM-4.7-GGUF`—never specifying bytes. `rules_v2.py:169` requires exact integer byte counts (`num(x["size"])` and `num(sum(...))`) with zero tolerance, rejecting standard `GB`/`GiB` reporting.
  • lists every Q4_K_M file in unsloth/GLM-4.7-GGUF with sizes (recursive, paged)
  • total file count and combined size computed from those sizes
123quarantined
WEAK_GROUNDING
v2:csv-28382
papers
chain
For arXiv paper 2602.01198, return any available Hugging Face paper metadata and linked resources in a compact JSON-like form, including title, authors, summary, githubRepo, projectPage, linked models, linked datasets, linked spaces, and any extra notes.hf_paper_get → hf_models_search → hf_datasets_search → hf_spaces_searchhf_fs
`oracle_part4.py:433-436`
Ignores almost all requested metadata (FP)
  • title, authors, summary, GitHub and project page for 2602.01198
  • linked models, datasets and Spaces (via arxiv filter) or none
124quarantined
WEAK_GROUNDING
v2:csv-29992
collections
chain
List all models in the Qwen collection at https://huggingface.co/collections/Qwen/qwen36 — return the model IDs and sizes.hf_collection_get → hf_repo_infohf_fs
False positive on requested sizes
Prompt asks for *"model IDs and sizes"* in `Qwen/qwen36`. `oracle_part3.py:173-174` gates sizes with `any(contains_ci(ans, x) for x in ('parameter','size','billion',' b','b-'))`. A model ID like `Qwen/Qwen3.6-35B-A3B` itself contains `'b-'`, and any prose word starting with `b` contains `' b'`, so omitting sizes entirely still passes. Also "sizes" is ambiguous (parameter count vs. GB).
  • model ids in Qwen/qwen36 with sizes or parameter counts
125quarantined
FLAKY_OR_UNFAIR
v2:csv-31234
search
chain
Find models containing file t5xxl_fp8_e4m3fn.safetensors from well-known authors like Lightricks, city96, or mcmonkey4evahf_models_search → hf_repo_fulltext_search ★ → hf_repo_paths_info → hf_repo_list_fileshub_repo_search hf_fs
Prompt username typo + "like" phrasing vs. strict single-repo gate (`strict.py:137-141`, `capture_v2.py:55-60`)
Prompt says "from well-known authors **like** Lightricks, city96, or **mcmonkey4eva**". On HF Hub the author is `mcmonkey` (not `mcmonkey4eva`), and `capture_v2` only finds 1 repo: `mcmonkey/google_t5-v1_1-xxl_encoderonly`. `strict.py` strictly requires `exact("mcmonkey/google_t5-v1_1-xxl_encoderonly", a)`, failing competent agents who either search the literal 3 usernames or return other real hosts like `comfyanonymous/flux_text_encoders`.
  • checks candidate repos from Lightricks, city96 and mcmonkey4eva for the exact file t5xxl_fp8_e4m3fn.safetensors
  • reports which contain it with paths
126quarantined
FLAKY_OR_UNFAIR
v2:csv-34040
repo
single
Get the tokenizer_config.json and special_tokens_map.json contents for google/gemma-4-E4B-it. I need the token IDs for beginning-of-audio (boa), end-of-audio (eoa), beginning-of-image (boi), end-of-image (eoi) tokens, plus the pad_token_id and bos/eos token IDs.hf_repo_read_texthf_fs hub_repo_details
Broken `tok_Surface` key mismatch in regex (`rules_v2.py:135-141`, `capture_v2.py:64`)
Prompt asks for token IDs for `boa`, `eoa`, `boi`, `eoi`, `pad_token_id`, `bos`, `eos` in `google/gemma-4-E4B-it`. `capture_v2` stores keys `boa`, `eoa`, `boi`, `eoi`, `bos`, `eos`, `pad`, while `rules_v2`'s `tok_Surface` dict uses keys `bos_token`, `eos_token`, `pad_token`—so `tok_Surface.get(k)` **always misses** and falls back to `<k>`. Because `_` is a word char, lines like `pad_token_id: 0`, `boa_token: 256000`, or `bos_token_id: 2` (using the prompt's own `pad_token_id` spelling!) fail `pad`/`boa`/`bos`.
  • reads tokenizer_config.json and special_tokens_map.json
  • gives boa, eoa, boi, eoi, pad, bos and eos token ids that appear in the files
127quarantined
FLAKY_OR_UNFAIR
v2:csv-37988
dataset
chain
Find English text datasets on HuggingFace suitable for NLP/data science tasks. I need datasets with between 10,000 and 50,000 rows. Look for datasets tagged with text, nlp, or classification. List 15 results with dataset names and row counts.hf_datasets_search → hf_dataset_structurehub_repo_search hf_fs
Incomplete snapshot (6/15) + brittle ATIF parsing + single-line exact int (`strict.py:328-371`)
Prompt asks for 15 English text datasets with 10,000–50,000 rows. `capture_v2` only captures **6** qualifying datasets (`oracle_overrides.json`), so the verifier relies on parsing raw JSON fields (`tags`, `numRows`, `datasets_search` query regex) from the ATIF trace to reach 15—failing clean CLI/script summaries—and requires each dataset ID and exact integer row count (no `25k`) on the **same line**.
  • 15 English text datasets with 10k-50k rows
  • row counts given (from size bucket or structure)
128quarantined
WEAK_GROUNDING
v2:csv-4054
repo
single
Look at the README/model card for Qwen/Qwen3.5-27B. How do you disable thinking mode? What is the exact syntax for no_think or enable_thinking=false? Check for chat template details.hf_repo_read_text → hf_repo_infohf_fs hub_repo_details
`strict.py:481-482`
Prompt-echo pass (FP)
  • quotes how to disable thinking for Qwen/Qwen3.5-27B (enable_thinking=False or equivalent) from the card or chat template
129quarantined
FLAKY_OR_UNFAIR
v2:csv-8899
dataset
single
Get me 2 sample rows from the dataset "Locutusque/Cybersecurity-ShareGPT". I need the full conversations field content for each row - each message's 'from' and 'value'.hf_dataset_rowshub_repo_details
"2 sample rows" vs. 100% verbatim match on rows 0-1
Prompt asks for "2 sample rows" from Locutusque/Cybersecurity-ShareGPT, but oracle_part2.py:251-257 requires 100% verbatim match on rows 0-1.
  • two sample rows with the full conversations field (from/value per message)
130quarantined
FLAKY_OR_UNFAIR
v2:csv-9233
docs
chain
what happens when a space is paused and how to restart it, check if there are any issues with paused spaces not restartinghf_docs_search → hf_docs_readhf_fs
`strict.py:274-278`
Unasked-for requirement + impossible external tool check (FN)
  • explains paused vs sleeping Spaces and how to restart (settings or API)
  • troubleshooting from docs
131quarantined
FLAKY_OR_UNFAIR
v2:csv-9892
dataset
single
What are the configs/subsets available in the intronhealth/afrispeech-200 dataset? Does it have language-specific subsets? I need to find if there's a Zulu or isiZulu subset. Also check what columns/features are available.hf_dataset_structurehub_repo_details
80% of ~120+ configs contradicts `RESPONSE_GUIDELINES` + gating asymmetry (`oracle_part2.py:240-247`, `rules_v2.py:188-189`)
When `intronhealth/afrispeech-200` is gated/unavailable, `rules_v2.py:189` handles it cleanly. However, when accessible, `oracle_part2.py:243` requires 80% overlap across all ~120+ configs (~96+ configs), directly contradicting `RESPONSE_GUIDELINES` ("state the total count found and include at least 10–20 representative items inline"). Also, token-access mismatch between snapshot and agent causes false negatives.
  • lists afrispeech-200 configs
  • answers whether an isiZulu subset exists
  • columns listed
132quarantined
FLAKY_OR_UNFAIR
v2:hand-dataset-likers
people
single
Who were the 10 most recent people to like the HuggingFaceFW/fineweb-edu dataset?hf_repo_likers ★no legacy path
Severe live Hub drift (static 10-item oracle)
`oracle_part3.py:97,218-219` snapshots the 10 most recent likers of `HuggingFaceFW/fineweb-edu` (a very high-traffic dataset) and requires >=8/10 exact username matches with zero trace augmentation. Just 3 new likes between capture and evaluation cause a false negative.
  • the 10 most recent likers of HuggingFaceFW/fineweb-edu with usernames
133quarantined
FLAKY_OR_UNFAIR
v2:hand-filter-values
search
chain
Which exact language and license filter values should I use to find Brazilian Portuguese models under Apache 2.0, and what are the top results?hf_filter_values ★ → hf_models_searchhf_fs partial
Ambiguous Hub tag vs. strict filter mismatch (`strict.py:197-206`, `capture_v2.py:65-66`)
Prompt asks for the "exact language and license filter values" for Brazilian Portuguese + Apache 2.0. HF's official ISO language filter is `pt` (`pt-br` is an ad-hoc user tag, not in `/api/models-tags-by-type`). `strict.py` requires bare `exact("pt", a)` (rejecting `pt-br`-only answers) **yet** rejects models from a plain `filter=pt,apache-2.0` query unless they also carry `pt-br`/`brazil` tags or query terms.
  • looks up the exact language value for Brazilian Portuguese (pt or pt-BR region tag) and the apache-2.0 license id, then lists matching models
134quarantined
WEAK_GROUNDING
v2:hand-last-scheduled-output
jobs
chain
authenticated token
What did the last run of my weekly eval schedule print?hf_jobs_list → hf_job_get → hf_job_logshf_jobs
Passes on ungrounded refusals + unimplemented capture
`oracle_part1.py:406-408` passes any answer containing `(no\
  • finds the weekly eval schedule, its last run, and shows what that run printed
135quarantined
FLAKY_OR_UNFAIR
v2:hand-license-commit
repo
chain
Has the license text of meta-llama/Llama-3.2-1B changed since release? Check the commit history.hf_repo_history ★ → hf_repo_read_texthf_fs hub_repo_details partial
Brittle SHA/trace linking (`strict.py:279-299`)
Prompt asks if `meta-llama/Llama-3.2-1B` license text changed since release. `strict.py` requires either a literal `meta-llama/llama-3.2-1b/commit/<sha>` URL or a hex SHA matching `license_shas`, which only scans tool lines `<=1200` chars containing `"license"` or records with `path`/`rfilename` containing `"license"`. `/api/models/.../commits/main?path=LICENSE` returns compact JSON (`>1200` chars) whose commit objects lack a `path` field and whose title (`"Initial commit"`) lacks `"license"`, causing valid SHA citations to fail. Also `gated_ok` fails if `cited` is non-empty (e.g., citing a public commit SHA while noting `LICENSE` content is gated).
  • lists recent commits that touched the license or README of meta-llama/Llama-3.2-1B with dates
  • says if no license change is visible
136quarantined
WEAK_GROUNDING
v2:hand-org-admins
people
single
Who are the admins of the huggingface organization on the Hub?hf_org_members ★no legacy path
Passes ungrounded refusals + `wrong_platform` trap
`rules_v2.py:190-191` (`test("admin") and test(DEN) and not has("github")`) never checks `evidence_text` — refusing from memory passes. Conversely, quoting a 401 `"not authenticated"` error triggers `strict.py:wrong_platform()` and fails.
  • admins of the huggingface organization (admins_only), usernames
  • notes visibility limits
137quarantined
FLAKY_OR_UNFAIR
v2:hand-paper-upvotes
people
single
Which papers has akhaliq upvoted or submitted recently?hf_activity ★no legacy path
Severe live drift + unspecified window
Prompt asks *"recently"* (unspecified count) for `akhaliq` (dozens of papers/day). `oracle_part1.py:299-316,474` snapshots `limit=100` and demands 80–100% overlap with those exact arXiv IDs — guaranteed false negative under live drift OR when an agent returns 10–20 recent papers.
  • recent paper upvotes or submissions by akhaliq from the activity feed, with paper ids
138quarantined
WEAK_GROUNDING
v2:hand-rows-sql
dataset
count
In HuggingFaceH4/ultrachat_200k, roughly how many train_sft conversations have more than 4 messages?hf_dataset_structure → hf_dataset_rowshub_repo_details partial
`strict.py:485-489`
Shared-number bypass (FP) + `140k` parse gap (FN)
  • reports how many rows in the train split have more than 4 turns, or explains the limits of viewer filtering and samples instead
139quarantined
FLAKY_OR_UNFAIR
v2:hand-token-scope
account
single
authenticated token
Is the token you are using read-only, or can it write to my repos?hf_whoamihf_whoami
Brittle regex + weak grounding
`strict.py:256-264` uses a narrow word-order regex for `write` (`"has full write access"` fails due to `"full"`; `"this token is not read-only; write access is enabled"` fails; `"no write access to orgs"` triggers negative lookahead). For `fineGrained` tokens, `re.escape("finegrained")` rejects hyphenated `"fine-grained"`. Also never checks `whoami` in `evidence_text`.
  • reports whether the current token is read-only or can write, and for which namespaces, without revealing the token
140quarantined
WEAK_GROUNDING
v2:syn-join-paper-models-params
papers
chain
Look up the DeepSeek-R1 paper (arXiv 2501.12948) on Hugging Face, find the official deepseek-ai model repositories linked to that paper, and report their model IDs and parameter counts.hf_paper_get → hf_models_search → hf_repo_infohf_fs hub_repo_search
`oracle_part4.py:520-522`
Parameter counts never checked (FP)
  • looks up arXiv 2501.12948 on Hugging Face, identifies linked official deepseek-ai model repositories, and reports their model IDs and parameter counts
141quarantined
WEAK_GROUNDING
v2:syn-openenv-coding-space
spaces
single
Inspect the Hugging Face Space openenv/coding_env. What SDK does it run on, what hardware flavor is it currently using, and what tags does it have?hf_repo_info → hf_spaces_listhub_repo_details hf_fs hub_repo_search dynamic_space
`oracle_part4.py:468-472`
Logic bug skips hardware check (FP)
  • reports SDK (Docker), current hardware flavor, and tags for Space openenv/coding_env

Results

Evaluation results will be added here.