wrangler workflows commands accept --json
Introduced 2026-09-03 · score 0.97
HOW TO USE IT
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.
npx wrangler workflows instances list <workflow-name> --jsonWHY THIS HELPS
When scripting a workflow command and consuming its output, request the raw API payload with `--json`.
BEFORE THIS CHANGE
Use the command without `--json` to receive the human-readable rendering by default.
REQUIREMENTS AND LIMITATIONS
- 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.
FIRST-PARTY EVIDENCE
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.129.0
- https://developers.cloudflare.com/workers/wrangler/commands/workflows/
Check the installed version and the source before using it. Entry JSON