CLI Reference
deployments
Manage a project's models from the terminal
$
limai deployments <subcommand>List, create, configure, and inspect the models in a project.
Options
--jsonOutput raw JSON--verboseEnable debug loggingA deployment — the named pointer that routes traffic to a model — is created and managed in the dashboard. The config and documents subcommands accept a deployment's ID in place of a model's; update does not, because configuration is edited on the model, and a deployment's ID is refused with 409 POINTER_NOT_WRITABLE.
Subcommands
limai deployments list <projectId>
List the models in a project.
$
limai deployments list <projectId>List the models in a project.
Options
--status <status>Filter by status: ACTIVE or PAUSEDlimai deployments create <projectId>
Create a new model.
$
limai deployments create <projectId>Create a new model in a project.
Options
--name <name>Model name (required)--tables-file <file>JSON file with tables configurationlimai deployments config <deploymentId>
Get the configuration of a model.
limai deployments config <deploymentId>limai deployments update <deploymentId>
Update the configuration of a model from a JSON file.
$
limai deployments update <deploymentId>Update a model's configuration.
Options
--body <file>JSON file with configuration updates (required)limai deployments documents <deploymentId>
List documents uploaded to a model.
$
limai deployments documents <deploymentId>List documents in a model.
Options
--limit <n>Max results(default: 50)--offset <n>Offset for pagination(default: 0)--status <status>Filter by document statusExamples
List all models
limai deployments list proj_abc123Create a model with tables
limai deployments create proj_abc123 --name "Invoice Extraction" --tables-file tables.jsonView a model's config as JSON
limai deployments config dep_xyz789 --jsonUpdate a model's configuration
limai deployments update dep_xyz789 --body config-updates.jsonList processed documents
limai deployments documents dep_xyz789 --status COMPLETED --limit 100