CLICommands
l4 status
l4 status reports the API's health and your account's current evaluation state. Run it as a pre-flight check before heavier commands, or as a CI smoke test.
l4 statusA plain run prints a
Status line and a Base URL line. Those two lines are the proof the API answered, and the base URL confirms which API you reached.Global flags (--json, --jq, --template, --quiet, --token, --api) apply. See CLI overview. Exit codes follow the standard CLI exit conventions.
l4 status resolves a credential before it calls anything, so a CI runner with no LEVELFOUR_TOKEN set fails on authentication rather than reporting on the API. CLI authentication has the resolution order and the troubleshooting table.Examples
Pipe to JSON for monitoring scripts:
l4 status --jsonReduce the run to an exit code, with nothing on stdout or stderr:
l4 status --quietOutput formats has what --quiet suppresses and how to read the result from $?.
Related
l4 whoami: identity and organization contextl4 mcp status: a different status (which agent clients carry a LevelFour entry)- Health endpoints: the API's health endpoints