{
  "slug": "sentry-cli-build-download-retrieves-installable-builds-by-build-id-ea1187fdcbd2",
  "title": "sentry-cli build download retrieves installable builds by build ID",
  "tools": [
    "sentry-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-25T21:13:42.000Z",
  "announced_at": "2026-03-25T21:13:42.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When the build is installable, run `sentry-cli build download --build-id <build_id>` to save its IPA or APK in the current directory. The command is experimental and requires an organization-scoped context and an `org:read` personal token.",
    "examples": [
      "sentry-cli build download --build-id <build_id>"
    ],
    "gotchas": [
      "Version: 3.3.4",
      "--build-id <build_id> (-b) (required): ID of the build to download.",
      "--org <ORG> (-o): Organization ID or slug; select the organization for the build.",
      "--output <output>: Output file path; defaults to `preprod_artifact_<build_id>.<ext>` in the current directory (`ipa` or `apk`).",
      "Prerequisite: Requires a personal auth token with the `org:read` scope.",
      "Prerequisite: Only installable builds can be downloaded; the command is marked experimental.",
      "Downloads installable builds in IPA or APK format.",
      "Requires a build ID."
    ]
  },
  "why_it_matters": "Download an installable IPA or APK build by its build ID while working on a mobile app repository.",
  "sources": [
    "https://github.com/getsentry/sentry-cli/releases/tag/3.3.4",
    "https://github.com/getsentry/sentry-cli/pull/3221/files",
    "https://github.com/getsentry/sentry-cli/pull/3221"
  ],
  "rank": 0.92019,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-a1dd27b7b30eed01-0:gate",
    "evidence_hash": "01a4ad9846711a4b50619e9f88b849e5aed59566e91993349ce59fdc7772ff0f"
  },
  "review": {
    "draft_hash": "007bebb854cf0746b5777740f663a492dd2ef244e629bf0cf1cf515e75b7b3f0",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
