{
  "slug": "hf-webhooks-manages-hub-webhooks-6a87f133ef4b",
  "title": "hf webhooks manages Hub webhooks",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-06T13:52:07.000Z",
  "announced_at": "2026-03-06T13:52:07.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When managing Hugging Face Hub webhooks from the terminal, use `hf webhooks` to list or inspect them, create or update them, enable or disable them, and delete them.",
    "examples": [
      "hf webhooks ls\nhf webhooks info <webhook_id>",
      "hf webhooks create --url <https://example.com/hook> --watch <type:name>\nhf webhooks update <webhook_id> --url <https://new-url.com/hook>",
      "hf webhooks enable <webhook_id>\nhf webhooks disable <webhook_id>\nhf webhooks delete <webhook_id>"
    ],
    "gotchas": [
      "Version: v1.6.0",
      "<webhook_id> (required): Webhook ID for info, update, enable, disable, or delete.",
      "--watch <type:name> (required): Item to watch; repeatable. The value uses `type:name` format.",
      "--url <url>: URL to send webhook payloads to; for creation, mutually exclusive with `--job-id`, and one of the two must be provided.",
      "--job-id <id>: Job ID to trigger instead of pinging a URL; for creation, mutually exclusive with `--url`, and one of the two must be provided.",
      "--domain <repo|discussions>: Domain to watch; repeatable and defaults to all domains.",
      "--secret <secret>: Optional secret used to sign webhook payloads.",
      "--token <token>: Token option accepted by the webhook commands to override authentication.",
      "Prerequisite: Install the `huggingface_hub` package to use the `hf` CLI; the CLI guide also documents standalone and `uvx` installation options."
    ]
  },
  "why_it_matters": "Manage Hub webhooks from the terminal while working with a repository's Hub integration.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.6.0",
    "https://github.com/huggingface/huggingface_hub/blob/v1.6.0/src/huggingface_hub/cli/webhooks.py",
    "https://github.com/huggingface/huggingface_hub/blob/v1.6.0/docs/source/en/guides/cli.md"
  ],
  "rank": 0.91029,
  "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-a0641fa129fa652c-2:gate",
    "evidence_hash": "c7f29bba36889d755de122c4751a96469a0f510876b48312103d7910759db723"
  },
  "review": {
    "draft_hash": "5b2e98ce6d12283da4035279c4a4a37a2e112222fa506fc4a8d46e6147771283",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
