--json returns machine-readable fields like state, which is Available, Shutdown, or Building, and idleTimeoutMinutes, the idle limit before auto-stop. Pair with --jq for monitoring scripts. State tells you whether the codespace is ready to connect.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.