Skip to content
Build with Mammoth: open the docs menu

CLI reference

Generated from mammoth-cli 2.4.2, released 2026-11-02: mammoth schema list, mammoth capability list and the CLI's own --help. Do not edit by hand; run npm 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.

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 doctor
  • mammoth schema find mammoth schema find 'view transform'
  • mammoth schema get mammoth schema get view.transform.bulk-replace
  • mammoth 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-ren
  • mammoth 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/datasets
  • mammoth run: Run many commands in one process: JSON Lines of cmd, args, input and flags. mammoth run commands.jsonl
  • mammoth 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

FamilyCommandsWhat it covers
mammoth activity2Inspect workspace activity and audit history.
mammoth addon6Manage workspace add-ons.
mammoth agent45Work with Mammoth agent sessions, the changes a chat made, and its runs.
mammoth ai5Generate AI-assisted expressions and conditions.
mammoth annotation5Manage annotations on Mammoth resources.
mammoth auth5Sign in, sign out, and inspect credentials.
mammoth automation13Create and manage automations.
mammoth batch7Run and inspect batch operations.
mammoth billing27Manage billing and hosted checkout flows.
mammoth browse9Browse projects and workspace resources.
mammoth capability3Discover API operation support and policies.
mammoth client-app5Manage the workspace's API keys (client apps): key + secret credentials for scripts and integrations.
mammoth collection21Group dashboards into a collection and share the set as one.
mammoth completion2Install or print shell completion.
mammoth config4Read and update local CLI configuration.
mammoth connector42Manage data connectors and connector profiles.
mammoth context4Inspect and select the active project context.
mammoth dashboard167Build, query, and publish dashboards.
mammoth dataset37Create, inspect, and manage datasets.
mammoth external-key4Manage LLM provider keys (OpenAI, Anthropic, etc.) used by AI features.
mammoth file11Upload 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 folder10Create, rename, move and delete project folders that organize datasets, views and dashboards. To upload a local directory use 'file upload-folder'.
mammoth history4List the writes made from this machine, undo them, and resume a stopped run.
mammoth job4Inspect and wait for asynchronous jobs.
mammoth log2Locate and read the local run log.
mammoth notification5Manage workspace notifications.
mammoth parameter14Manage parameters and parameter groups.
mammoth project25Create and manage projects.
mammoth recipe2Run a common multi-step task as one command.
mammoth schedule5Manage scheduled work.
mammoth schema3Find concise command input guidance or fetch full schemas.
mammoth skill7Install and manage the Mammoth agent skill.
mammoth snippet8Manage reusable snippets.
mammoth support117Manage support and administration resources.
mammoth template5Manage legacy workspace templates (the project catalog is 'workflow template').
mammoth token3Create, list, and revoke long-lived API keys (aliases of client-app).
mammoth trash3Inspect, restore, and remove trashed resources.
mammoth user7Manage users and account settings.
mammoth view146Transform, query, and publish data views.
mammoth webhook7Manage webhooks.
mammoth workflow31Create and manage workflows.
mammoth workspace33Manage workspace settings and members.
Other commands10calc, capabilities, doctor, how, link, report list, resolve, run, upgrade, version

Report an issue · support@mammoth.io