CLI
CLI Overview
The Lemma CLI manages organizations, pods, resources, runs, conversations, connectors, and app bundles.
Global options
lemma --base-url https://api.lemma.work --auth-url https://lemma.work/auth --output json <command>Top-level command groups
| Group | Purpose |
|---|---|
| auth, config, ls | Authentication, local config, org/pod tree snapshot |
| organization, pod | Workspace and pod lifecycle |
| table, record, query, file | Data and file management |
| function, agent, task, assistant, conversation | AI and deterministic runtime resources |
| workflow | Workflow definitions, installs, and runs |
| app | App metadata, clone, and deploy |
| connector | Connectors, operations, triggers, and connected accounts |
| operation, web, tool | OpenAPI inspection, web tools, and agent tooling |
Payload habits
- Use --payload-file for larger JSON to avoid shell escaping drift.
- Use --output json when saving artifacts or piping results.
- Use pod describe before changing a live pod so you know what exists.
- Use flat command names such as workflow graph-update and workflow run-start.