History
expanso-cli job history
Show history events for a job
Synopsis
Display history events for a specific job, showing lifecycle changes and state transitions.
expanso-cli job history JOB_ID_OR_NAME [flags]
Examples
# Show history for a job
expanso-cli job history my-job
# Show history from last hour
expanso-cli job history my-job --since 1h
# Show history from last 7 days
expanso-cli job history my-job --since 7d
# Show history since a specific date (UTC)
expanso-cli job history my-job --since 2024-10-15
# Show history since a specific date and time (UTC)
expanso-cli job history my-job --since "2024-10-15 14:30:00"
# Show history since RFC3339 timestamp
expanso-cli job history my-job --since 2024-10-15T14:00:00Z
# Show verbose output with sequence numbers
expanso-cli job history my-job --verbose
# Limit results with pagination
expanso-cli job history my-job --limit 20
# Output as JSON
expanso-cli job history my-job --format json
Options
-f, --format {table|json|yaml|csv} Output format (default table)
-h, --help help for history
-l, --limit int Maximum number of results to return (default 50)
-n, --namespace string Job namespace
--next-token string Continuation token for pagination
--no-header Hide table headers (table format only)
--no-style Disable colors and styling
--since string Filter events after this time (duration: 1h, 7d; date: 2024-10-15; or RFC3339)
-v, --verbose Show verbose output including sequence numbers
-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
SEE ALSO
- expanso-cli job - Manage jobs