Skip to main content

expanso-cli health

expanso-cli health​

Check health

Synopsis​

Check service liveness.

This is the unauthenticated probe response and reports only whether the service is healthy. For version, uptime, build info, and per-component status, use:

expanso-cli status

expanso-cli health [flags]

Examples​

# Check health
expanso-cli health

# Get health status as JSON
expanso-cli health --format json

# Get health status as YAML
expanso-cli health --format yaml

Options​

-f, --format {|json|yaml} Output format
-h, --help help for health
--no-style Disable colors and styling
--pretty Pretty print the output

Options inherited from parent commands​

--api-key string API key for authentication (e.g., exp_ak_...). Env: EXPANSO_CLI_AUTH_API_KEY (preferred; flag values show in ps output)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO​

  • expanso-cli - Expanso CLI - Command-line interface for Expanso