CLI & APICommand reference
stackblaze audit
Show audit trail (who did what, when)
Usage: stackblaze audit [options]
Show audit trail (who did what, when)
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)
--action <keyword> Filter by action (delete, scale, …)
--actor <user> Filter by username
--since-minutes <n> Only recent entries
-n, --limit <n> Max entries to fetch
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
Show who changed an app recently:
stackblaze audit -p github-demo-gv35 -e dev -a nginx-9agm -n 33 event(s) for github-demo-gv35/dev/nginx-9agm
2026-11-25T13:12:07.311Z ready system github-demo-gv35/dev/nginx-9agm — App ready: nginx in github-demo-gv35/dev at https://nginx-9agm.cloud-dev-central-1.stackblaze.app
2026-11-25T13:11:02.881Z update <email> github-demo-gv35/dev/nginx-9agm — Updated app: nginx-9agm in github-demo-gv35 phase: dev
2026-11-25T13:10:39.341Z update <email> github-demo-gv35/dev/nginx-9agm — Updated app: nginx-9agm in github-demo-gv35 phase: devWithout -a it reads the whole organization's trail. Find the latest deletions:
stackblaze audit --action delete -n 33 event(s)
2026-11-25T14:01:35.199Z delete <email> github-demo-cw8z/dev/val3-echo-nev8 — Deleted app: val3-echo-nev8 in github-demo-cw8z phase: dev
2026-11-25T14:01:34.111Z delete <email> github-demo-cw8z/dev/ai-gateway-yu7u — Deleted app: ai-gateway-yu7u in github-demo-cw8z phase: dev
2026-11-25T14:01:30.791Z delete <email> github-demo-cw8z/dev/val3b-pi2x — Deleted app: val3b-pi2x in github-demo-cw8z phase: dev