CLI & APICommand reference
stackblaze pending
Changes staged with --skip-deploy (server-side, per app)
Usage: stackblaze pending [options] [command]
Changes staged with --skip-deploy (server-side, per app)
Options:
-h, --help Print help
Commands:
list [options] List staged changes (staged values are never shown)
apply [options] Apply every staged change as ONE release
discard [options] Discard every staged change
help [command] Print this message or the help of the given subcommand(s)pending list
Usage: stackblaze pending list [options]
List staged changes (staged values are never shown)
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
-p, --project <name> Project name
-e, --env <name> Environment name (default: production)
-a, --app <name> App name
--json Output JSON (same as -o json) (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
Stage two variables and a scale change without deploying, then see what's waiting. Staged values are never shown:
stackblaze variables set LOG_LEVEL=debug FEATURE_CHECKOUT=on --skip-deploy -p github-demo-cw8z -e dev -a shop-web-xivg
stackblaze scale web=2 --skip-deploy -p github-demo-cw8z -e dev -a shop-web-xivg
stackblaze pending list -p github-demo-cw8z -e dev -a shop-web-xivgOK Staged 2 change(s) for github-demo-cw8z/dev/shop-web-xivg: LOG_LEVEL, FEATURE_CHECKOUT
2 change(s) pending. Apply them as one release with `stackblaze pending apply` (or `stackblaze deploy --apply-pending`); drop them with `stackblaze pending discard`.
OK Staged 1 change(s) for github-demo-cw8z/dev/shop-web: scale:web
3 change(s) pending. Apply them as one release with `stackblaze pending apply` (or `stackblaze deploy --apply-pending`); drop them with `stackblaze pending discard`.
OK 3 staged change(s) for github-demo-cw8z/dev/shop-web-xivg
set LOG_LEVEL by <email>
set FEATURE_CHECKOUT by <email>
scale web replicas=2 by <email>
Values of staged variables are never shown. Apply with `stackblaze pending apply`.With --json:
stackblaze pending list -p github-demo-cw8z -e dev -a shop-web-xivg --json{
"pipeline": "github-demo-cw8z",
"phase": "dev",
"app": "shop-web-xivg",
"count": 3,
"changes": [
{
"id": "cmww8b0i4003mwn01sr7dn8k1",
"op": "env.set",
"key": "LOG_LEVEL",
"createdBy": "<email>",
"createdAt": "2026-11-25T14:38:33.291Z"
},
{
"id": "cmww8b0i4003nwn01oawsd8ch",
"op": "env.set",
"key": "FEATURE_CHECKOUT",
"createdBy": "<email>",
"createdAt": "2026-11-25T14:38:33.291Z"
},
{
"id": "cmww8b1kp008juz018fyfg0jz",
"op": "scale",
"key": "web",
"createdBy": "<email>",
"createdAt": "2026-11-25T14:38:34.680Z",
"value": {
"replicas": 2
}
}
]
}pending apply
Usage: stackblaze pending apply [options]
Apply every staged change as ONE release
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
-p, --project <name> Project name
-e, --env <name> Environment name (default: production)
-a, --app <name> App name
--json Output JSON (same as -o json) (default: false)
-m, --message <text> Release message shown in the deployments timeline
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
Ship everything staged for the app as one release, with a message for the deployments timeline:
stackblaze pending apply -p github-demo-cw8z -e dev -a shop-web-xivg -m "Debug logging + checkout flag, 2 instances"
stackblaze pending list -p github-demo-cw8z -e dev -a shop-web-xivgOK Applied staged changes to github-demo-cw8z/dev/shop-web-xivg: LOG_LEVEL, FEATURE_CHECKOUT, scale:web
One release: rolling out (config revision cmww8b76s003rwn01mqkk57j2). Follow it with `stackblaze deployments`.
OK No staged changes for github-demo-cw8z/dev/shop-web-xivgpending discard
Usage: stackblaze pending discard [options]
Discard every staged change
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
-p, --project <name> Project name
-e, --env <name> Environment name (default: production)
-a, --app <name> App name
--json Output JSON (same as -o json) (default: false)
-y, --yes Skip confirmation prompt (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
Drop a staged change you no longer want. Type yes to confirm (or pass -y):
stackblaze variables set LOG_LEVEL=trace --skip-deploy -p github-demo-cw8z -e dev -a shop-web-xivg
stackblaze pending discard -p github-demo-cw8z -e dev -a shop-web-xivgOK Staged 1 change(s) for github-demo-cw8z/dev/shop-web-xivg: LOG_LEVEL
1 change(s) pending. Apply them as one release with `stackblaze pending apply` (or `stackblaze deploy --apply-pending`); drop them with `stackblaze pending discard`.
! This will DISCARD every change staged for github-demo-cw8z/dev/shop-web-xivg.
Type "yes" to continue: yes
OK Discarded 1 staged change(s) for github-demo-cw8z/dev/shop-web-xivg