{
  "slug": "wrangler-pipelines-sink-creation-supports-gzip-compression-for-json-96b62c03faac",
  "title": "wrangler Pipelines sink creation supports gzip compression for JSON",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-03T17:52:36.000Z",
  "announced_at": "2026-09-03T17:52:36.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For a Wrangler 4.129.0 Pipelines sink with JSON output, select `gzip` or `uncompressed` in the CLI or interactive setup flow. The current CLI reference does not document a JSON compression flag; the API documents JSON compression in the sink `format` object.",
    "examples": [
      "curl https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/pipelines/v1/sinks -H 'Content-Type: application/json' -H \"Authorization: Bearer <CLOUDFLARE_API_TOKEN>\" -d '{\"name\":\"<SINK_NAME>\",\"type\":\"r2\",\"format\":{\"type\":\"json\",\"compression\":\"gzip\"}}'"
    ],
    "gotchas": [
      "Version: 4.129.0",
      "Availability: Pipelines is in open beta.",
      "format.type (required): Use `json` for JSON output; the documented format is a JSON or Parquet object.",
      "format.compression: JSON accepts `uncompressed` or `gzip`.",
      "[SINK] (required): Name of the sink to create.",
      "--type (required): Type of sink to create.",
      "--bucket (required): R2 bucket name.",
      "Prerequisite: The Create Sink API requires a token with Pipelines Write permission.",
      "JSON sinks accept `uncompressed` or `gzip`.",
      "Parquet retains its existing compression options and `zstd` default.",
      "Docs conflict: Current Wrangler command docs describe --compression as Parquet-only and default it to zstd; this differs from release-note behavior for JSON in Wrangler 4.129.0, so that flag behavior is not used here."
    ]
  },
  "why_it_matters": "Create a JSON sink for a Pipelines workflow with gzip compression.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.129.0",
    "https://developers.cloudflare.com/api/resources/pipelines/subresources/sinks/methods/create/",
    "https://fec4cfc0.previews.developers.cloudflare.com/pipelines/reference/wrangler-commands/"
  ],
  "rank": 0.94019,
  "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": "augsep-20261008",
    "verdict_id": "augsep-20261008:augsep-20261008-7cf26e9a7b69cbff-0:gate",
    "evidence_hash": "541903328007d103b9ab841fe145d885ec5cf2156de03f951a64a977302d707c"
  },
  "review": {
    "draft_hash": "060501eb2cff684f5fb573ff36fa6fcb81499fc5c55ca62ed4028237400f7987",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "augsep-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
