CLI Reference
config
Manage CLI configuration values
$
limai config <subcommand>Read and write CLI configuration stored at ~/.limai/config.json.
Options
--jsonOutput raw JSON--verboseEnable debug loggingConfiguration Keys
| Key | Description |
|---|---|
apiUrl | API base URL |
token | API authentication token |
sseUrl | Server-sent events URL (for limai watch) |
defaultProjectId | Project ID, stored for your own reference |
defaultDeploymentId | Model ID, stored for your own reference |
Subcommands
defaultProjectId and defaultDeploymentId are stored and read back, but no command uses them as a default — pass the ID explicitly.
limai config list
Show all configuration values. The token is masked unless --reveal is passed.
$
limai config listShow all configuration values.
Options
--revealPrint secret values in full instead of masking themlimai config get <key>
Get a single configuration value. Secrets are masked unless --reveal is passed.
$
limai config get <key>Get a single configuration value.
Options
--revealPrint the real value instead of a masked onelimai config set <key> <value>
Set a configuration value. Only the keys listed above are accepted.
limai config set <key> <value>Examples
Set the default project
limai config set defaultProjectId proj_abc123View the current API URL
limai config get apiUrlList all config as JSON
limai config list --jsonConfigure the SSE URL for event watching
limai config set sseUrl wss://ws.limai.io