CLI
Sandbox Status
Check whether a sandbox is live, pending, or dead
Quick health check for a sandbox. Returns whether the sandbox is live, pending, or dead, along with its fork details.
Arguments:
| Argument | Required | Description |
|---|---|---|
rpcUrl | No | BuildBear RPC URL. If omitted, reads rpcUrl from .buildbear.json in the current directory |
Options:
| Flag | Description |
|---|---|
--json | Output as JSON |
--quiet | Suppress output except errors |
Examples
Check sandbox using .buildbear.json:
Check sandbox by passing a URL:
Output (human-readable):
Output (--json):
Status values
| Status | Meaning |
|---|---|
live | Sandbox is running and accepting requests |
pending | Sandbox is being provisioned |
dead | Sandbox has been deleted or timed out |
The human-readable output uses color coding: green for live, yellow for pending, and red for any other state.
Use in scripts
buildbear status --json is useful for polling in scripts before running tests: