CLI
Monitor and manage job runs.
runs list
List runs with optional filters.
strait runs list --status executing --limit 20| Flag | Type | Default | Description |
|---|---|---|---|
--project | string | Project ID | |
--status | string | Status filter | |
--limit | int | 50 | Maximum runs to return |
runs get
Get a run by ID.
strait runs get run_abc123runs cancel
Cancel one or more runs.
strait runs cancel run_abc123
strait runs cancel --all --status queued --yes| Flag | Type | Default | Description |
|---|---|---|---|
--all | bool | false | Cancel all runs matching filters |
--project | string | Project ID (for --all) | |
--status | string | Status filter (for --all) | |
--limit | int | 100 | Max runs to consider (for --all) |
--yes | bool | false | Skip confirmation prompt |
runs watch
Watch a run until it reaches a terminal state.
strait runs watch run_abc123 --timeout 10m| Flag | Type | Default | Description |
|---|---|---|---|
--interval | duration | 2s | Poll interval |
--timeout | duration | 5m | Max watch duration (0 = no limit) |
runs logs
Show run events and logs.
strait runs logs run_abc123 --follow| Flag | Type | Default | Description |
|---|---|---|---|
--follow / -f | bool | false | Stream logs by polling |
--interval | duration | 2s | Poll interval when following |
--level | string | Event level filter | |
--type | string | Event type filter |
runs replay
Replay a run using its original payload.
strait runs replay run_abc123 --wait| Flag | Type | Default | Description |
|---|---|---|---|
--wait | bool | false | Wait for replayed run to complete |
Was this page helpful?