ktm shell list
List recent shell actions (last 24h by default)
List recent shell actions (last 24h by default)
Usage
ktm shell list [flags]
Examples
ktm shell list --product 123
ktm shell list --product 123 --status D
# Widen the default 24h window: a duration back from now, or ISO timestamps
ktm shell list --product 123 --from-date 72h
ktm shell list --product 123 --from-date 2026-03-15T00:00:00Z --to-date 2026-03-16T00:00:00Z
# Poll for async events (wait SMS, USSD push) since session start
ktm shell list --product 123 --owner 0789800356 --from-date 2026-03-15T19:29:17Z --ordering -created
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--from-date | string | Only show shells created after this time — ISO 8601 timestamp or a duration like 72h (that long ago). Defaults to the last 24h | |
--ordering | string | Sort order: '-created' (newest first), 'created' (oldest first) | |
--owner | string | Filter by device identifier | |
--product | int | Filter by product ID | |
--status | string | Filter by status (P/D/O/B/C/T/M) | |
--to-date | string | Only show shells created before this time — ISO 8601 timestamp or a duration like 30m (that long ago) |
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on