{
  "slug": "netlify-cli-logs-accept-deploy-id-95eb02fa4282",
  "title": "Netlify CLI logs accept --deploy-id",
  "tools": [
    "netlify"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-04T17:06:43.000Z",
  "announced_at": "2026-09-04T17:06:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When inspecting a specific deploy, run `netlify logs --source deploy --deploy-id <deploy-id> --since 7d`; `<deploy-id>` is the deploy’s ID. The command can also target failed builds. [Netlify CLI v27.5.0 source](https://github.com/netlify/cli/blob/v27.5.0/src/commands/logs/index.ts)",
    "examples": [
      "netlify logs --source deploy --deploy-id <deploy-id> --since 7d",
      "netlify logs --source functions --deploy-id <deploy-id>"
    ],
    "gotchas": [
      "Version: v27.5.0",
      "--source <type...>: Select log sources; choices include `deploy`, `functions`, and `edge-functions`. Defaults to functions and edge-functions.",
      "--deploy-id <deploy-id>: Show logs for a specific deploy by ID, including failed builds. Can be used with all sources.",
      "--since <time>: Set the start of the historical log window; accepts a duration or ISO 8601 timestamp. Defaults to 10m."
    ]
  },
  "why_it_matters": "Inspect logs for a specific deploy while debugging or reviewing a Netlify project.",
  "before": "The command documentation gives `netlify logs --source deploy --since 1h` for historical deploy logs without selecting a deploy ID.",
  "sources": [
    "https://github.com/netlify/cli/releases/tag/v27.5.0",
    "https://github.com/netlify/cli/blob/v27.5.0/src/commands/logs/index.ts"
  ],
  "rank": 0.97034,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-238f9dd2c6601056-0:rescue",
    "evidence_hash": "14f34c07b28a1fafe104f259925a3aba9031321233c67db5f5c0def05eb6cb0d"
  },
  "review": {
    "draft_hash": "af6e05aebd2ce7379234d7df25ccb238e4ce33a3965f283274bbc911c6fcf3be",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
