{
  "slug": "hf-spaces-volumes-lists-sets-and-deletes-space-volumes-91611dfaff51",
  "title": "hf spaces volumes lists, sets, and deletes Space volumes",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-16T12:16:19.000Z",
  "announced_at": "2026-04-16T12:16:19.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When updating a Space’s mounted volumes, use `hf spaces volumes ls` to inspect them, then `hf spaces volumes set` to replace the full list or `hf spaces volumes delete` to remove all volumes.",
    "examples": [
      "hf spaces volumes ls <owner>/<space>",
      "hf spaces volumes set <owner>/<space> -v hf://buckets/<owner>/<bucket>:/data",
      "hf spaces volumes delete <owner>/<space>"
    ],
    "gotchas": [
      "Version: v1.11.0",
      "SPACE_ID (required): Space ID, such as `<owner>/<repo-name>`.",
      "-v, --volume TEXT: Mount one or more volumes using `hf://[TYPE/]SOURCE:/MOUNT_PATH[:ro]`; TYPE may be `models`, `datasets`, `spaces`, or `buckets`, and defaults to `models`. Models, datasets, and spaces are read-only; buckets are read-write by default. These TYPE values are alternatives, not documented as mutually exclusive across repeated volume options.",
      "--token TEXT: User Access Token.",
      "-y, --yes: For `delete`, automatically answer Yes to the prompt."
    ]
  },
  "why_it_matters": "Update mounted volumes while maintaining a Space from the command line.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.11.0",
    "https://github.com/huggingface/huggingface_hub/blob/v1.11.0/docs/source/en/package_reference/cli.md"
  ],
  "rank": 0.97031,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-25f6591b2baf7d10-3:gate",
    "evidence_hash": "f2303c219ad3347777096f587023f4458390ba61d10bcd955e485c9a490bd34e"
  },
  "review": {
    "draft_hash": "c25371848f5507db6ec4e3410d3611321f1ef6d791bef503c27a77c44b989735",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
