{
  "slug": "wrangler-workflows-commands-accept-json-75934421d1e7",
  "title": "wrangler workflows commands accept --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": "When a script consuming `wrangler workflows` output needs raw API data, append `--json` to the command; formatted output is the default. For example, list a workflow’s instances with `--json` to emit the raw API response.",
    "examples": [
      "npx wrangler workflows instances list <workflow-name> --json"
    ],
    "gotchas": [
      "Version: 4.129.0",
      "<workflow-name> (required): Name of the workflow.",
      "--json: Boolean flag (default false); outputs the raw API response as JSON.",
      "Prerequisite: Wrangler 3.83.0 or greater is required for `wrangler workflows`.",
      "JSON output carries raw values, including ISO timestamps and plain status strings, and omits presentation-only derived fields."
    ]
  },
  "why_it_matters": "When scripting a workflow command and consuming its output, request the raw API payload with `--json`.",
  "before": "Use the command without `--json` to receive the human-readable rendering by default.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.129.0",
    "https://developers.cloudflare.com/workers/wrangler/commands/workflows/"
  ],
  "rank": 0.97027,
  "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": "regrade-20261008",
    "verdict_id": "regrade-20261008:by-tool-wrangler-20261002--item-ad11cef69eeda8cb2d4c72f0:gate",
    "evidence_hash": "69ce3ce44b694de1ce0e786daa8ea667ecadd9ebfde95bfbe8c65d2677661cac"
  },
  "review": {
    "draft_hash": "b6cfa0c07d1b67d0544a9b199e8ff0e5595546241faacd5966739ddbdb3852b2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "regrade-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.80 (>= 0.6 needed)."
  }
}
