> AI agents: this is one page from Mammoth Analytics documentation. The index of all pages as Markdown is https://docs.mammoth.io/llms.txt. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get Markdown.

# mammoth automation

> All 13 mammoth automation commands, each with its blast radius, confirmation policy and backing Python SDK method.

> GENERATED from `mammoth schema list` and `mammoth capability list` (mammoth-cli 2.2.96, released 2026-10-22)—do not edit; run `npm run docs:capabilities`.

13 commands, grouped by blast radius.

"Off a terminal" is what a command's confirmation policy requires when nothing can answer a prompt, as in an agent or CI run: `--yes`, plus `--confirm` with the exact target for `confirm_target` commands. `TARGET` stands for the id or name the command acts on; the CLI's `confirmation_required` error names it.

The SDK symbol and API operation come from `mammoth capability list`. A command that list does not map to one shows — in both columns; `mammoth schema get <command.id>` describes any command in full.

## Destructive

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth automation delete` | `project` | Destructive | `prompt_or_yes` | `--yes` | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.delete` | `DELETE /workspaces/{workspace_id}/projects/{project_id}/automations/{automation_id}` (DeleteAutomation) |

## External effect

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth automation create` | `project` | External effect | `yes_always` | `--yes` | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.create` | `POST /workspaces/{workspace_id}/projects/{project_id}/automations` (CreateAutomation) |
| `mammoth automation update` | `project` | External effect | `yes_always` | `--yes` | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.update` | `PATCH /workspaces/{workspace_id}/projects/{project_id}/automations/{automation_id}` (UpdateAutomation) |

## Benign mutation

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth automation restore` | `project` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.restore` | `POST /workspaces/{workspace_id}/projects/{project_id}/automations/{automation_id}/restore` (RestoreAutomation) |
| `mammoth automation route order` | `project` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.set_route_order` | `PUT /workspaces/{workspace_id}/projects/{project_id}/automations/route-order` (SetRouteOrder) |
| `mammoth automation run-file add-anyway` | `project` | Benign mutation | `prompt_or_yes` | `--yes` | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.add_run_file_anyway` | `POST /workspaces/{workspace_id}/projects/{project_id}/automations/run-files/{run_file_id}/add-anyway` (AddRunFileAnyway) |
| `mammoth automation trash` | `project` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.trash` | `POST /workspaces/{workspace_id}/projects/{project_id}/automations/{automation_id}/trash` (TrashAutomation) |

## Read

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth automation capabilities` | `project` | Read | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.capabilities` | `GET /workspaces/{workspace_id}/projects/{project_id}/automations/capabilities` (GetAutomationCapabilities) |
| `mammoth automation folders` | `project` | Read | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.watched_folders` | `GET /workspaces/{workspace_id}/projects/{project_id}/automations/folders` (GetWatchedFolders) |
| `mammoth automation get` | `project` | Read | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.get` | `GET /workspaces/{workspace_id}/projects/{project_id}/automations/{automation_id}` (GetAutomation) |
| `mammoth automation list` | `project` | Read | `none` | — | `not_async` | `single_page` | `mammoth.api.automations.AutomationsAPI.list` | `GET /workspaces/{workspace_id}/projects/{project_id}/automations` (GetList) |
| `mammoth automation route preview` | `project` | Read | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.preview_routes` | `POST /workspaces/{workspace_id}/projects/{project_id}/automations/route-preview` (PreviewRoutes) |
| `mammoth automation runs` | `project` | Read | `none` | — | `not_async` | `none` | `mammoth.api.automations.AutomationsAPI.runs` | `GET /workspaces/{workspace_id}/projects/{project_id}/automations/{automation_id}/runs` (GetAutomationRuns) |

---
Source: https://docs.mammoth.io/build/cli/automation.md · Updated: 2026-10-22