> 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 collection

> All 16 mammoth collection 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.77)—do not edit; run `npm run docs:capabilities`.

16 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 collection dashboards remove` | `profile` | Destructive | `prompt_or_yes` | `--yes` | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.remove_dashboard` | `DELETE /collections/{collection_id}/dashboards/{dashboard_id}` (RemoveDashboard) |
| `mammoth collection delete` | `profile` | Destructive | `prompt_or_yes` | `--yes` | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.delete` | `DELETE /collections/{collection_id}` (DeleteCollection) |
| `mammoth collection members remove` | `profile` | Destructive | `prompt_or_yes` | `--yes` | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.remove_member` | `DELETE /collections/{collection_id}/members` (RemoveMember) |

## External effect

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth collection dashboards add` | `profile` | External effect | `yes_always` | `--yes` | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.add_dashboards` | `POST /collections/{collection_id}/dashboards` (AddDashboards) |
| `mammoth collection share` | `profile` | External effect | `yes_always` | `--yes` | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.share` | `POST /collections/{collection_id}/share` (ShareCollection) |

## Benign mutation

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth collection create` | `profile` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.create` | `POST /collections` (CreateCollection) |
| `mammoth collection files upload` | `profile` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.upload_files` | `POST /collections/{collection_id}/files` (UploadFile) |
| `mammoth collection update` | `profile` | Benign mutation | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.update` | `PATCH /collections/{collection_id}` (UpdateCollection) |

## Read

| Command | Scope | Blast radius | Confirmation | Off a terminal | Wait | Pagination | SDK symbol | API operation |
|---|---|---|---|---|---|---|---|---|
| `mammoth collection active-job` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.active_job` | `GET /collections/{collection_id}/active-job` (ActiveJob) |
| `mammoth collection activity` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.activity` | `GET /collections/{collection_id}/activity` (CollectionActivity) |
| `mammoth collection for-dashboard` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.for_dashboard` | `GET /collections/for-dashboard/{dashboard_id}` (CollectionsForDashboard) |
| `mammoth collection get` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.get` | `GET /collections/{collection_id}` (GetCollection) |
| `mammoth collection get-by-url` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.get_by_url` | `GET /collections/url/{url}` (GetCollectionByUrl) |
| `mammoth collection job` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.job` | `GET /collections/{collection_id}/jobs/{job_id}` (GetRefreshJob) |
| `mammoth collection list` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.list` | `GET /collections` (ListCollections) |
| `mammoth collection pipeline-changes` | `profile` | Read | `none` | — | `not_async` | `none` | `mammoth.api.collections.CollectionsAPI.pipeline_changes` | `GET /collections/{collection_id}/pipeline-changes` (PipelineChanges) |

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