{
  "slug": "neonctl-bucket-object-put-uploads-a-file-through-a-presigned-url-f73c9f7cde76",
  "title": "neonctl bucket object put uploads a file through a presigned URL",
  "tools": [
    "neonctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-12T12:44:36.000Z",
  "announced_at": "2026-06-12T12:44:36.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When the artifact is at most 104857600 bytes, upload it to an existing bucket with `neonctl bucket object put <bucket>/<key> --file <path> [--content-type <ct>]`; the CLI obtains a presigned PUT URL and streams the file. The v2.25.0 release notes document the upload feature and 100 MB cap.",
    "examples": [
      "neonctl bucket object put <bucket>/<key> --file <path> [--content-type <ct>]"
    ],
    "gotchas": [
      "Version: v2.25.0",
      "<bucket>/<key> (required): Target bucket and object key; release notes say it is split on the first `/` and an empty key is rejected.",
      "--file <path> (required): Path to the file to upload. Files above 104857600 bytes are rejected client-side.",
      "--content-type <ct>: Optional content type sent with the upload request.",
      "Files above 104857600 bytes are rejected client-side with exit 1 and no HTTP request.",
      "Multipart upload is out of scope.",
      "The bucket target uses `<bucket>/<key>`, split on the first `/`; an empty key is rejected client-side.",
      "The presigned download operation is API-only; `object get` continues to stream through the console."
    ]
  },
  "why_it_matters": "Upload a repository artifact to a Neon object storage bucket while working with an existing neonctl coding workflow.",
  "sources": [
    "https://github.com/neondatabase/neonctl/releases/tag/v2.25.0",
    "https://github.com/neondatabase/neonctl/pull/530"
  ],
  "rank": 0.97027,
  "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": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-bfae61840307286e-3:gate",
    "evidence_hash": "198b129c6bd35c203999ea6d1e58ad6ae48b771a71e21ba51f93c5329f6827dd"
  },
  "review": {
    "draft_hash": "0f14c788afd4a734f7da93264ac687dad2cf962cde45ffb9571ed61a5f7c784a",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-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.79 (>= 0.6 needed)."
  }
}
