Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.3.0

tdk plan list

List plans across every project you can view.

tdk plan list \
--proj quickstart \
--status status-example \
--health health-example \
--fn read_world \
--coll sales_data \
--name sales_data \
--last \
--at 2024-05-20T10:00:00Z \
--monitor \
--timeout timeout-example \
--format table \
--browse \
--wrap \
--max-width max_width-example \
--max-result 100 \
--filter filter-example \
--order-by order_by-example \
--cursor cursor-example \
--fields fields-example \
--profile production
FlagTypeRequiredDescription
--proj, -PstringOptionalName of the project to filter plans by.
--statusstring (repeatable)OptionalFilter plans by status: 'Finished/F, Stalled/L, Running/R, Scheduled/S, Unexpected/U' (case-insensitive). Not together with '--health'.
--healthstringOptionalFilter plans by health, the 'health' of each listed row: error: Stalled, Unexpected; running: Running, Scheduled; ok: Finished. Not together with '--status'.
--fnstringOptionalName of the function to filter plans by.
--coll, -cstringOptionalName of the collection to filter plans by.
--name, -nstringOptionalA plan name wildcard to match for the list. For example, 'my_plan*' will match all plans with names starting with 'my_plan'.
--lastflagOptionalIf set, only the last plan of the list will be shown.
--atstringOptionalIf provided, only plans started before that time will be shown. Must be either a valid timestamp in the form of a unix timestamp (milliseconds since epoch without a dot, e.g. '1750074554472') or a valid date-time format. The valid formats are 'YYYY-MM-DD', 'YYYY-MM-DDTHH', 'YYYY-MM-DDTHH:MM', 'YYYY-MM-DDTHH:MM:SS', and 'YYYY-MM-DDTHH:MM:SS.sss'. A 'Z' character can be added at the end to indicate UTC time (e.g., '2023-10-01T12Z' or '2023-10-01T12:00:00.000Z') or it can be omitted to indicate local time (e.g., '2023-10-01T12' or '2023-10-01T12:00:00.000').
--monitorflagOptionalIf set, the command will monitor the listed plans until they all reach a final state. Exits 7 when '--timeout' runs out. A lost connection to the server is retried for up to two minutes before the command fails.
--timeoutstringOptionalStop waiting after S seconds. Default: no limit.
-o, --formattable | json | yamlOptionalOutput format. 'json' and 'yaml' give a listing as an array and table data as one object per row.
--browse, --printflagOptionalOpen the table in a viewer that scrolls both ways, or print it and return.
--wrapflagOptionalShow every value whole, wrapping long and multi-line values inside their column instead of cutting them.
--max-widthstringOptionalMaximum width of each column, in characters; longer values are cut and end in '…'. Use 0 for no limit. Defaults to the width each table sets.
--max-resultstringOptionalMaximum number of rows to list. Use 0 for no limit, or for the most a program running tdk allows. Defaults to 100.
--filterstringOptionalFilter on a field, with OP one of eq, ne, gt, ge, lt, le, lk, btw, is. Repeatable: conditions on different fields must all hold, conditions on the same field are alternatives. Combines with the command's own filters.
--order-bystringOptionalSort by a field, ascending (+, the default) or descending (-).
--cursorstringOptionalContinue a listing from the 'next' cursor it returned, with the same filters and order.
--fieldsstringOptionalKeep only these fields of each row, comma-separated; '?' lists the fields the rows have and 'all' keeps every one, which a program running tdk otherwise gets without the internal ids. Not in the table view.
--profilestringOptionalProfile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile.