Skip to Content
CLI & APICommand reference

stackblaze status

Check platform / IaC status for your organization

Usage: stackblaze status [options]

Check platform / IaC status for your organization

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 help

Example

Check that the API answers, whether Infrastructure as Code is on for a project, and the state of one app.

stackblaze status -p github-demo-gv35 -e dev -a nginx
OK API reachable (13 project(s))
Infrastructure as Code is off for project github-demo-gv35 (apply and plan need it; export works without it). Turn it on with `stackblaze projects iac on -p github-demo-gv35`
api:       https://api-dev.stackblaze.cloud
organization: <org-id>
projects:  13
app:       github-demo-gv35/dev/nginx — running

On this page