Skip to main content

List

expanso-cli job list

List jobs

Synopsis

List all jobs with optional filtering and pagination.

expanso-cli job list [flags]

Examples

  # List all jobs
expanso-cli job list

# List jobs in a specific namespace
expanso-cli job list --namespace production

# List jobs with specific types
expanso-cli job list --type daemon --type system

# List jobs with specific states
expanso-cli job list --state running --state pending

# List jobs with labels
expanso-cli job list --label env=prod --label team=infra

# Limit results with pagination
expanso-cli job list --limit 10

# Continue to next page with token
expanso-cli job list --limit 10 --token `<token-from-previous-response>`

Options

  -f, --format {table|json|yaml|csv}   Output format (default table)
-h, --help help for list
-L, --label strings Filter by labels (format: key=value)
-l, --limit int Maximum number of results to return (default 50)
-n, --namespace string Filter by namespace
--next-token string Continuation token for pagination
--no-header Hide table headers (table format only)
--no-style Disable colors and styling
--order string Order direction (asc, desc)
--order-by string Field to order by
--state job state Filter by job state
--type strings Filter by job type (daemon, system, ops)
-w, --wide Show full values without truncation (table format only)

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

Auto generated by spf13/cobra on 19-Nov-2025