Limai Docs
CLI Reference

rows

Row operations on extraction tables

$limai rows <subcommand>

Create and delete rows in extraction tables. Supports batch operations from JSON files.

Options
--jsonOutput raw JSON
--verboseEnable debug logging

Subcommands

limai rows create <tableId>

Create rows in a table from a JSON file. Rows are uploaded in batches for efficiency.

$limai rows create <tableId>

Create rows in a table from a JSON file.

Options
--data <file>JSON file containing an array of rows (required)
--file-id <id>File ID to associate rows with (required)
--deployment-id <id>Deployment ID (required)
--batch-size <n>Rows per batch(default: 50)

limai rows delete <tableId>

Delete all rows associated with a specific file in a table.

$limai rows delete <tableId>

Delete all rows for a file in a table.

Options
--file-id <id>File ID whose rows to delete (required)
--deployment-id <id>Deployment ID (required)

Examples

Create rows from a JSON file

limai rows create tbl_abc123 --data rows.json --file-id file_xyz --deployment-id dep_123

Create rows with larger batches

limai rows create tbl_abc123 --data rows.json --file-id file_xyz --deployment-id dep_123 --batch-size 100

Delete rows for a file

limai rows delete tbl_abc123 --file-id file_xyz --deployment-id dep_123