dt job ls
Overview
List all jobs
Synopsis
dt job ls [OPTIONS]
Options
-
-f,--filter=<filter>
Filter expression, e.g. "name = my-job and type = batch" -
-s,--sort=<sort>
Sort expression: +field for ASC, -field for DESC -
-o,--offset=<offset>
Offset to start showing results (default 0) -
-b,--batch-size=<batch-size>
Retrieve up to batch-size results (default 100) -
-a,--all
Show deleted jobs as well -
-u,--utc
Show times in UTC -
-j,--json
Output as JSON -
-p,--pretty
Pretty print results
Examples
List all jobs
dt job ls
Filter by type
dt job ls -f "type = batch"
Filter with multiple conditions
dt job ls -f "type = batch and state = ready"
Filter and sort
dt job ls -f "name starts_with my-" -s "-create_time"
Paginate results
dt job ls -b 50 -o 100
SEE ALSO
← Back to dt job