CLI reference
Generated from mammoth-cli 2.4.2, released 2026-11-02:
mammoth schema list,mammoth capability listand the CLI's own--help. Do not edit by hand; runnpm run docs:capabilities.
The mammoth CLI has 875 commands: 42 families, plus 10 single-command families grouped under other commands. Each family page gives every command's description, a runnable example, its arguments and input fields, and the confirmation flags it needs.
- Global flags, environment, exit codes and output: what every command shares.
- Capability contract: every command and API-only operation on one page, with its backing SDK method and API operation.
- Machine-readable:
capabilities.json(policy, SDK and API per command) andcli-reference.json(descriptions, examples, arguments, global flags).
Start here
Install with pipx install mammoth-cli, then sign in with mammoth auth login (or set MAMMOTH_API_TOKEN). The CLI describes itself, so an agent can discover what it needs without these pages:
mammoth doctor: Run environment and connectivity diagnostics.mammoth doctormammoth schema findmammoth schema find 'view transform'mammoth schema getmammoth schema get view.transform.bulk-replacemammoth how: Turn a plain-language goal into an ordered recipe of commands.mammoth how 'refresh a dataset daily'mammoth resolve: Say what NAME refers to: a dataset, a view or a project, with ids and projects.mammoth resolve uqa-w29-renmammoth link: Read the workspace, project, folder, dataset and view ids out of a pasted app URL.mammoth link https://app.mammoth.io/workspaces/1/projects/2/data/datasetsmammoth run: Run many commands in one process: JSON Lines of cmd, args, input and flags.mammoth run commands.jsonlmammoth capabilities: List what the CLI cannot do yet, and what to do instead.mammoth capabilities
mammoth <command> --help shows one command. The whole contract as JSON, one record per command, is mammoth schema list --input '{"full": true}' --output json.
Hidden groups: mammoth agent is not listed by mammoth --help until it is generally available, but its commands run; mammoth agent --help lists them.
Command families
| Family | Commands | What it covers |
|---|---|---|
mammoth activity | 2 | Inspect workspace activity and audit history. |
mammoth addon | 6 | Manage workspace add-ons. |
mammoth agent | 45 | Work with Mammoth agent sessions, the changes a chat made, and its runs. |
mammoth ai | 5 | Generate AI-assisted expressions and conditions. |
mammoth annotation | 5 | Manage annotations on Mammoth resources. |
mammoth auth | 5 | Sign in, sign out, and inspect credentials. |
mammoth automation | 13 | Create and manage automations. |
mammoth batch | 7 | Run and inspect batch operations. |
mammoth billing | 27 | Manage billing and hosted checkout flows. |
mammoth browse | 9 | Browse projects and workspace resources. |
mammoth capability | 3 | Discover API operation support and policies. |
mammoth client-app | 5 | Manage the workspace's API keys (client apps): key + secret credentials for scripts and integrations. |
mammoth collection | 21 | Group dashboards into a collection and share the set as one. |
mammoth completion | 2 | Install or print shell completion. |
mammoth config | 4 | Read and update local CLI configuration. |
mammoth connector | 42 | Manage data connectors and connector profiles. |
mammoth context | 4 | Inspect and select the active project context. |
mammoth dashboard | 167 | Build, query, and publish dashboards. |
mammoth dataset | 37 | Create, inspect, and manage datasets. |
mammoth external-key | 4 | Manage LLM provider keys (OpenAI, Anthropic, etc.) used by AI features. |
mammoth file | 11 | Upload files (file upload; a whole local directory: file upload-folder) and manage uploaded source files. An uploaded file becomes a dataset: delete it with 'dataset delete'. |
mammoth folder | 10 | Create, rename, move and delete project folders that organize datasets, views and dashboards. To upload a local directory use 'file upload-folder'. |
mammoth history | 4 | List the writes made from this machine, undo them, and resume a stopped run. |
mammoth job | 4 | Inspect and wait for asynchronous jobs. |
mammoth log | 2 | Locate and read the local run log. |
mammoth notification | 5 | Manage workspace notifications. |
mammoth parameter | 14 | Manage parameters and parameter groups. |
mammoth project | 25 | Create and manage projects. |
mammoth recipe | 2 | Run a common multi-step task as one command. |
mammoth schedule | 5 | Manage scheduled work. |
mammoth schema | 3 | Find concise command input guidance or fetch full schemas. |
mammoth skill | 7 | Install and manage the Mammoth agent skill. |
mammoth snippet | 8 | Manage reusable snippets. |
mammoth support | 117 | Manage support and administration resources. |
mammoth template | 5 | Manage legacy workspace templates (the project catalog is 'workflow template'). |
mammoth token | 3 | Create, list, and revoke long-lived API keys (aliases of client-app). |
mammoth trash | 3 | Inspect, restore, and remove trashed resources. |
mammoth user | 7 | Manage users and account settings. |
mammoth view | 146 | Transform, query, and publish data views. |
mammoth webhook | 7 | Manage webhooks. |
mammoth workflow | 31 | Create and manage workflows. |
mammoth workspace | 33 | Manage workspace settings and members. |
| Other commands | 10 | calc, capabilities, doctor, how, link, report list, resolve, run, upgrade, version |