| Code | Meaning |
|---|---|
0 | Success |
1 | Error (network failure, HTTP non-2xx, validation, bad arguments) |
jq without filtering noise.
Examples
CI: fail the build on errors
Distinguishing client vs. server errors
For one bit (0 / 1) the CLI returns, the body on stderr carries the detail. Parse it programmatically with 2> redirection if you need to branch on the HTTP status: