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

# mammoth parameter

> All 14 mammoth parameter commands with examples, arguments and confirmation flags: Manage parameters and parameter groups.

> 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`.

Manage parameters and parameter groups. 14 commands.

Every command also takes the [global flags](https://mammoth.io/docs/build/cli/global-flags/) (`--output`, `--yes`, `--confirm`, `--dry-run`, `--input`, `--profile`, ...), which are not repeated below. `--input` takes a JSON or YAML document of the input fields; `mammoth schema get COMMAND_ID` prints a command's full input schema.

**Confirmation.** Commands marked `--yes --confirm TARGET` or `--yes` always need those flags, even at a terminal: they never prompt. Commands marked "`--yes` or prompt" ask at an interactive terminal (table output, no `--no-input`) and otherwise need `--yes`. `--dry-run` skips confirmation and sends nothing.

## Summary

| Command | What it does | Effect | Confirmation |
|---|---|---|---|
| [`parameter create`](#mammoth-parameter-create) | Create a parameter. Name comes from a positional or the 'name' field. | Benign mutation | — |
| [`parameter delete`](#mammoth-parameter-delete) | Permanently delete one parameter by id. Prompt or '--yes' required. | Destructive | `--yes` or prompt |
| [`parameter dependencies`](#mammoth-parameter-dependencies) | Report what depends on one parameter by id. | Read | — |
| [`parameter duplicate`](#mammoth-parameter-duplicate) | Duplicate one parameter by id. | Benign mutation | — |
| [`parameter get`](#mammoth-parameter-get) | Get one parameter by id. | Read | — |
| [`parameter list`](#mammoth-parameter-list) | List parameters, optionally filtered and scoped to a project. | Read | — |
| [`parameter rerun`](#mammoth-parameter-rerun) | Rerun one parameter's computation by id. | Benign mutation | — |
| [`parameter rerun-all-stale`](#mammoth-parameter-rerun-all-stale) | Rerun every stale parameter in the active project. | Benign mutation | — |
| [`parameter update`](#mammoth-parameter-update) | Update a parameter. Parameter id is positional; fields come from '--input'. | Benign mutation | — |
| [`parameter group create`](#mammoth-parameter-group-create) | Create a parameter group. Name comes from a positional or the 'name' field. | Benign mutation | — |
| [`parameter group delete`](#mammoth-parameter-group-delete) | Permanently delete one parameter group by id. Prompt or '--yes' required. | Destructive | `--yes` or prompt |
| [`parameter group list`](#mammoth-parameter-group-list) | List parameter groups, optionally scoped to a project. | Read | — |
| [`parameter group reorder`](#mammoth-parameter-group-reorder) | Reorder parameter groups. 'order' (a list of group ids) is required. | Benign mutation | — |
| [`parameter group update`](#mammoth-parameter-group-update) | Update a parameter group. Group id is positional; fields come from '--input'. | Benign mutation | — |

## parameter commands

### mammoth parameter create

Create a parameter. Name comes from a positional or the 'name' field.

```bash
mammoth parameter create revenue_report --input '{"param_type": "TEXT", "value": "Q3"}'
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `NAME` | positional | no | — | `str` | Name of the new parameter; or pass it via the 'name' input field. Or the `name` input field. |
| `name` | `--input` field | no | — | `str` |  |
| `param_type` | `--input` field | yes | — | `str` |  |
| `value` | `--input` field | yes | — | `str \| float \| int` |  |
| `description` | `--input` field | no | — | `str` |  |
| `group_id` | `--input` field | no | — | `int` |  |
| `scope` | `--input` field | no | `project` | `str` |  |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Preconditions:** param_type is NUMERIC, TEXT or DATE (uppercase; 4PARM008 otherwise).
- **Id:** `parameter.create` · **Result:** `ParameterCreateResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.create`, API `POST /workspaces/{workspace_id}/parameters` (CreateParameter)

### mammoth parameter delete

Permanently delete one parameter by id. Prompt or '--yes' required.

```bash
mammoth parameter delete 123 --yes
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `PARAMETER_ID` | positional | yes | — | `int` | ID of the parameter. |

- **Effect:** Destructive, scope `profile` · **Confirmation:** `--yes`, or answer the prompt at an interactive terminal
- **Preconditions:** Required inputs: PARAMETER_ID.
- **Id:** `parameter.delete` · **Result:** `ParameterDeleteResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.delete`, API `DELETE /workspaces/{workspace_id}/parameters/{parameter_id}` (DeleteParameter)

### mammoth parameter dependencies

Report what depends on one parameter by id.

```bash
mammoth parameter dependencies 123
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `PARAMETER_ID` | positional | yes | — | `int` | ID of the parameter. |

- **Effect:** Read, scope `profile` · **Confirmation:** none
- **Preconditions:** Required inputs: PARAMETER_ID.
- **Id:** `parameter.dependencies` · **Result:** `ParameterDependenciesResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.dependencies`, API `GET /workspaces/{workspace_id}/parameters/{parameter_id}/dependencies` (GetParameterDependencies)

### mammoth parameter duplicate

Duplicate one parameter by id.

```bash
mammoth parameter duplicate 123
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `PARAMETER_ID` | positional | yes | — | `int` | ID of the parameter. |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Preconditions:** Required inputs: PARAMETER_ID.
- **Id:** `parameter.duplicate` · **Result:** `ParameterDuplicateResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.duplicate`, API `POST /workspaces/{workspace_id}/parameters/{parameter_id}/duplicate` (DuplicateParameter)

### mammoth parameter get

Get one parameter by id.

```bash
mammoth parameter get 123
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `PARAMETER_ID` | positional | yes | — | `int` | ID of the parameter. |

- **Effect:** Read, scope `profile` · **Confirmation:** none
- **Preconditions:** Required inputs: PARAMETER_ID.
- **Id:** `parameter.get` · **Result:** `ParameterGetResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.get`, API `GET /workspaces/{workspace_id}/parameters/{parameter_id}` (GetParameterDetail)

### mammoth parameter list

List parameters, optionally filtered and scoped to a project.

```bash
mammoth parameter list
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `limit` | `--input` field | no | — | `int` |  |
| `offset` | `--input` field | no | — | `int` |  |
| `search` | `--input` field | no | — | `str` |  |
| `group_id` | `--input` field | no | — | `int` |  |
| `sort` | `--input` field | no | — | `str` |  |

- **Effect:** Read, scope `profile` · **Confirmation:** none · **Pages:** `single_page`
- **Id:** `parameter.list` · **Result:** `ParameterListResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.list`, API `GET /workspaces/{workspace_id}/parameters` (ListParameters)

### mammoth parameter rerun

Rerun one parameter's computation by id.

```bash
mammoth parameter rerun 123
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `PARAMETER_ID` | positional | yes | — | `int` | ID of the parameter. |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Preconditions:** A filter bound to a parameter can stay pending after the call returns; check verify.outcome and run `mammoth view pipeline wait VIEW_ID` before reading the view.
- **Id:** `parameter.rerun` · **Result:** `ParameterRerunResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.rerun`, API `POST /workspaces/{workspace_id}/parameters/{parameter_id}/rerun` (RerunParameter)

### mammoth parameter rerun-all-stale

Rerun every stale parameter in the active project.

```bash
mammoth parameter rerun-all-stale
```

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Preconditions:** A filter bound to a parameter can stay pending after the call returns; check verify.outcome and run `mammoth view pipeline wait VIEW_ID` before reading the view.
- **Id:** `parameter.rerun-all-stale` · **Result:** `ParameterRerunAllStaleResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.rerun_all_stale`, API `POST /workspaces/{workspace_id}/parameters/rerun-all-stale` (RerunAllStale)

### mammoth parameter update

Update a parameter. Parameter id is positional; fields come from '--input'.

```bash
mammoth parameter update 123
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `PARAMETER_ID` | positional | yes | — | `int` | ID of the parameter. |
| `name` | `--input` field | no | — | `str` |  |
| `value` | `--input` field | no | — | `str \| float \| int \| None` |  |
| `param_type` | `--input` field | no | — | `str` |  |
| `description` | `--input` field | no | — | `str` |  |
| `group_id` | `--input` field | no | — | `int` |  |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Preconditions:** A filter bound to a parameter can stay pending after the call returns; check verify.outcome and run `mammoth view pipeline wait VIEW_ID` before reading the view.
- **Id:** `parameter.update` · **Result:** `ParameterUpdateResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.update`, API `PATCH /workspaces/{workspace_id}/parameters/{parameter_id}` (UpdateParameter)

## parameter group

### mammoth parameter group create

Create a parameter group. Name comes from a positional or the 'name' field.

```bash
mammoth parameter group create 'Revenue report'
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `NAME` | positional | no | — | `str` | Name of the new parameter group; or pass it via the 'name' input field. Or the `name` input field. |
| `name` | `--input` field | no | — | `str` |  |
| `color` | `--input` field | no | `#3B82F6` | `str` |  |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Id:** `parameter.group.create` · **Result:** `ParameterGroupCreateResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.group_create`, API `POST /workspaces/{workspace_id}/parameters/groups` (CreateGroup)

### mammoth parameter group delete

Permanently delete one parameter group by id. Prompt or '--yes' required.

```bash
mammoth parameter group delete 123 --yes
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `GROUP_ID` | positional | yes | — | `int` | ID of the group. |

- **Effect:** Destructive, scope `profile` · **Confirmation:** `--yes`, or answer the prompt at an interactive terminal
- **Preconditions:** Required inputs: GROUP_ID.
- **Id:** `parameter.group.delete` · **Result:** `ParameterGroupDeleteResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.group_delete`, API `DELETE /workspaces/{workspace_id}/parameters/groups/{group_id}` (DeleteGroup)

### mammoth parameter group list

List parameter groups, optionally scoped to a project.

```bash
mammoth parameter group list
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `limit` | `--input` field | no | — | `int` |  |
| `offset` | `--input` field | no | — | `int` |  |
| `sort` | `--input` field | no | — | `str` |  |

- **Effect:** Read, scope `profile` · **Confirmation:** none · **Pages:** `single_page`
- **Id:** `parameter.group.list` · **Result:** `ParameterGroupListResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.group_list`, API `GET /workspaces/{workspace_id}/parameters/groups` (ListGroups)

### mammoth parameter group reorder

Reorder parameter groups. 'order' (a list of group ids) is required.

```bash
mammoth parameter group reorder --input '{"order": [1]}'
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `order` | `--input` field | yes | — | `list[int]` |  |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Id:** `parameter.group.reorder` · **Result:** `ParameterGroupReorderResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.group_reorder`, API `POST /workspaces/{workspace_id}/parameters/groups/reorder` (ReorderGroups)

### mammoth parameter group update

Update a parameter group. Group id is positional; fields come from '--input'.

```bash
mammoth parameter group update 123
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `GROUP_ID` | positional | yes | — | `int` | ID of the group. |
| `name` | `--input` field | no | — | `str` |  |
| `color` | `--input` field | no | — | `str` |  |

- **Effect:** Benign mutation, scope `profile` · **Confirmation:** none
- **Preconditions:** Required inputs: GROUP_ID.
- **Id:** `parameter.group.update` · **Result:** `ParameterGroupUpdateResult` · **Backed by:** SDK `mammoth.api.parameters.ParametersAPI.group_update`, API `PATCH /workspaces/{workspace_id}/parameters/groups/{group_id}` (UpdateGroup)

---
Source: https://mammoth.io/docs/build/cli/parameter.md · Updated: 2026-11-02
