DataTable commands in the mabl CLI
Starting with version 1.50.1
, the mabl CLI supports commands to describe, list, create, update, and export DataTables from your workspace! Use mabl CLI DataTable commands to make bulk updates to large DataTables and update DataTables without having to navigate to the DataTables page in the app.
Try it out
To try out the new DataTable commands, make sure the mabl CLI installed on your local machine uses version 1.50.1
or higher.
# Check the mabl CLI version
$ mabl -v
# Update the mabl CLI to the latest version
$ npm i -g @mablhq/mabl-cli
The new DataTable commands include the following:
Command | Description |
---|---|
mabl datatables create <input> | Create a new mabl DataTable |
mabl datatables describe <datatable_id> | Describe a specific DataTable |
mabl datatables export <datatable_id> | Export a DataTable in a specified file format |
mabl datatables list | List DataTables in your workspace |
mabl datatables update <datatable_id> <input> | Update a mabl DataTable |
Check out our docs for more details on how each command works.
DataTable IDs
Some commands require a DataTable ID. You can obtain the ID of a DataTable in two ways:
In the mabl CLI
Run the command mabl datatables list
. The ID for each DataTable appears in the output
In the UI
Open the DataTable in the mabl app. Then click on the CLI icon in the top left corner to view the DataTable ID.

Obtaining a DataTable ID from the app