Skip to main content

Health

expanso-cli health

Check health

Synopsis

Check health including service availability and version information (output varies by endpoint type).

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

      --auth-token string   API bearer authentication token
-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
Auto generated by spf13/cobra on 19-Nov-2025