mammoth project
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.
Create and manage projects. 25 commands.
Every command also takes the 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 |
|---|---|---|---|
project bulk-delete | Delete several projects by id. Prompt or '--yes' required. | Destructive | --yes --confirm TARGET |
project bulk-update | Apply a role patch across named projects. High-impact: '--yes --confirm WS'. | High impact | --yes --confirm TARGET |
project check | List what a report on this project must still account for. | Read | — |
project copy | Copy a project into a new one and wait for the copy job. | Benign mutation | — |
project create | Create a project. Name comes from a positional or the 'name' field. | Benign mutation | — |
project delete | Delete one project (positional or active). | High impact | --yes --confirm TARGET |
project ensure | Return the project with exactly this name, creating it when absent. | Benign mutation | — |
project get | Get one project by id (positional or active project). | Read | — |
project list | List the caller's member projects in the active workspace, one page at a time. | Read | — |
project needs-attention | List the Monitor "Needs Attention" rows with the dataset behind each view. | Read | — |
project pending-changes | Report a project's pending pipeline changes. | Read | — |
project publish-credentials | Report publish credentials for a project's ODBC endpoint. | Read | — |
project resource-dependencies | Update project resource dependencies. | Read | — |
project resource-status | Report the project's in-flight resource tasks, named as such. | Read | — |
project sample-flow | Create a sample flow in a project (positional or active). | Benign mutation | — |
project update | Update a project's name or color from the '--input' document. | Benign mutation | — |
project checkpoint list | List a project's checkpoints, with optional filters from '--input'. | Read | — |
project data-check list | List a project's data checks, with optional filters from '--input'. | Read | — |
project memory add | Save one agent preference ('text' from '--input') for the caller. | Benign mutation | — |
project memory list | List the caller's saved agent preferences for a project. | Read | — |
project memory remove | Remove the caller's saved preference at 'index' (from '--input'). | Benign mutation | --yes or prompt |
project resource-dependencies update | Apply confirmed data-sync patches to a project's resource graph. | High impact | --yes --confirm TARGET |
project user add | Add users to a project. High-impact: '--yes --confirm PROJECT_ID'. | High impact | --yes --confirm TARGET |
project user remove | Remove users from a project. High-impact: '--yes --confirm PROJECT_ID'. | High impact | --yes --confirm TARGET |
project user update | Update a project member's role ('role' required; 'user_id'/'invite_id'). | High impact | --yes |
project commands
mammoth project bulk-delete
Delete several projects by id. Prompt or '--yes' required.
mammoth project bulk-delete --input '{"project_ids": [1]}' --yes
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
project_ids | --input field | yes | — | list[int] | |
timeout | --input field | no | — | int | |
poll_interval | --input field | no | 2.0 | float |
- Effect: Destructive, scope
project· Confirmation: always--yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; theconfirmation_requirederror's hint names it) - Preconditions: Sorted comma-separated ID-set confirmation.
- Id:
project.bulk-delete· Result:ProjectBulkDeleteResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.bulk_delete_and_verify, APIDELETE /workspaces/{workspace_id}/projects(DeleteProjects)
mammoth project bulk-update
Apply a role patch across named projects. High-impact: '--yes --confirm WS'.
mammoth project bulk-update --input '{"patch_data": {"patches": [{"op": "add", "path": "role", "value": [{"project_id": 456, "user_roles": [{"user_id": 123, "role": "project_analyst"}]}]}]}}' --yes
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
patch_data | --input field | yes | — | dict[str, any] |
- Effect: High impact, scope
project· Confirmation: always--yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; theconfirmation_requirederror's hint names it) - Preconditions: Release contract is ProjectsPatch (role add/replace/remove across projects). The CLI requires every patches[].value item to name a project_id and the confirmation names those ids; a body that names no project is refused before dispatch. Not verified live.
- Id:
project.bulk-update· Result:ProjectBulkUpdateResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.bulk_update, APIPATCH /workspaces/{workspace_id}/projects(UpdateProjects)
mammoth project check
List what a report on this project must still account for.
mammoth project check 123 456
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
DATASET_ID | positional | no | — | int | Check only this dataset (its first view unless VIEW_ID is given); no other dataset or dashboard is read. |
VIEW_ID | positional | no | — | int | Check this view of DATASET_ID instead of its first (most recent) one. |
- Effect: Read, scope
project· Confirmation: none - Preconditions: Reads the first view of each dataset (the one uploads and the playbooks use) and one data page per view, six resources at a time.
resourceshas one status row per dataset and dashboard with its freshness (in_sync, out_of_sync or running, with data_updated_at) kept apart from its data quality (warning count), or the error that stopped its check. Given DATASET_ID it reads only that dataset's first view and skips the dashboards; also given VIEW_ID it reads that view instead. Every status row names the view_id and view_name it checked, so compare it with the view the work was on. - Id:
project.check· Result:ProjectCheckResult
mammoth project copy
Copy a project into a new one and wait for the copy job.
mammoth project copy 123 'Revenue report'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | yes | — | int | ID of the project to copy. |
NAME | positional | yes | — | str | Name of the new project. If it is already taken, the copy is named with the next free suffix ("NAME 2", "NAME 3", ...); no need to check the name first. |
dataset_ids | --input field | no | — | list[int] | |
include_dashboards | --input field | no | false | bool | |
exclude_data | --input field | no | false | bool |
- Effect: Benign mutation, scope
project· Confirmation: none · Waits: waits for the job to finish (--job-timeout,--return-running) - Preconditions: Creates a project: copies the datasets, views and pipelines of PROJECT_ID into a new project NAME, in one job the command waits for. Input fields: dataset_ids (copy only these; default all), include_dashboards (default false), exclude_data (default false, copies pipelines without rows). The result is project_id, dataset_map, view_map, skipped (what was left behind or still points outside the copy) and dashboards (dashboard_id, new_dashboard_id). Needs permission to create projects. Sweep with 'project delete ID --yes --confirm ID'.
- Id:
project.copy· Result:ProjectCopyResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.copy, APIPOST /workspaces/{workspace_id}/projects/{project_id}/copy(CopyProject)
mammoth project create
Create a project. Name comes from a positional or the 'name' field.
mammoth project create 'Revenue report'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
NAME | positional | no | — | str | Name of the new project; or pass it via the 'name' input field. Or the name input field. |
name | --input field | no | — | str | |
color | --input field | no | — | str | |
project_access | --input field | no | — | str |
- Effect: Benign mutation, scope
project· Confirmation: none - Id:
project.create· Result:ProjectCreateResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.create, APIPOST /workspaces/{workspace_id}/projects(CreateProject)
mammoth project delete
Delete one project (positional or active).
mammoth project delete 123 --yes --confirm 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
timeout | --input field | no | — | int | |
poll_interval | --input field | no | 2.0 | float |
- Effect: High impact, scope
project· Confirmation: always--yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; theconfirmation_requirederror's hint names it) - Preconditions: Immutable project-ID confirmation.
- Id:
project.delete· Result:ProjectDeleteResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.delete_and_verify, APIDELETE /workspaces/{workspace_id}/projects/{project_id}(DeleteProject)
mammoth project ensure
Return the project with exactly this name, creating it when absent.
mammoth project ensure 'Revenue report'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
NAME | positional | no | — | str | Exact project name to find or create; or pass it via the 'name' input field. Or the name input field. |
name | --input field | no | — | str |
- Effect: Benign mutation, scope
project· Confirmation: none - Preconditions: Matches the exact, case-sensitive name; several projects with the same name resolve to the lowest id and the rest are listed under 'duplicates'. Creating a project is a benign mutation; sweep with 'project delete ID --yes --confirm ID'.
- Id:
project.ensure· Result:ProjectEnsureResult
mammoth project get
Get one project by id (positional or active project).
mammoth project get 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
- Effect: Read, scope
project· Confirmation: none · Pages:single_page - Preconditions: Reads one project by id. A token limited to one project can read only that project.
- Id:
project.get· Result:ProjectGetResult
mammoth project list
List the caller's member projects in the active workspace, one page at a time.
mammoth project list
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
limit | --input field | no | 100 | int | |
offset | --input field | no | 0 | int | |
fields | --input field | no | id,name | str | |
include_non_members | --input field | no | false | bool |
- Effect: Read, scope
project· Confirmation: none · Pages:single_page - Preconditions: B01 FIRST_PAGE_ONLY: no offset/cursor continuation proven yet.
- Id:
project.list· Result:ProjectListResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.list, APIGET /workspaces/{workspace_id}/projects(GetProject)
mammoth project needs-attention
List the Monitor "Needs Attention" rows with the dataset behind each view.
mammoth project needs-attention 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
- Effect: Read, scope
project· Confirmation: none - Preconditions: The rows of the Monitor Needs Attention tab for one project (the app has no workspace-wide list): pipeline_error, pending_pipeline, pending_data, checkpoint (needs approval), data_check (failed), each with view_id and the owning dataset_id, and needs_input (a file or dataset waiting for a person; action is unstructured_rows, ambiguous_date_format, password_required, sheet_selection_required or schema_mismatch); datasets lists each affected dataset once with its view_ids. Pending retentions are not returned by the API and are not included. To delete the datasets behind the views, take dataset_id from datasets and run dataset delete or dataset bulk-delete (confirm first).
- Id:
project.needs-attention· Result:ProjectNeedsAttentionResult
mammoth project pending-changes
Report a project's pending pipeline changes.
mammoth project pending-changes 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
- Effect: Read, scope
project· Confirmation: none - Id:
project.pending-changes· Result:ProjectPendingChangesResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.pending_changes, APIGET /workspaces/{workspace_id}/projects/{project_id}/pending-changes(GetPendingChanges)
mammoth project publish-credentials
Report publish credentials for a project's ODBC endpoint.
mammoth project publish-credentials 123 --input '{"odbc_type": "postgres"}'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
odbc_type | --input field | yes | — | Literal['postgres', 'bigquery'] | One of postgres, bigquery. |
- Effect: Read, scope
project· Confirmation: none - Id:
project.publish-credentials· Result:ProjectPublishCredentialsResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.publish_credentials, APIGET /workspaces/{workspace_id}/projects/{project_id}/credentials(GetPublishCredentials)
mammoth project resource-dependencies
Update project resource dependencies.
mammoth project resource-dependencies 123 --input '{"resource_ids": [456]}'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
resource_ids | --input field | yes | — | list[str] | |
is_recursive | --input field | no | — | bool |
- Effect: Read, scope
project· Confirmation: none - Id:
project.resource-dependencies· Result:ProjectResourceDependenciesResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.resource_dependencies, APIGET /workspaces/{workspace_id}/projects/{project_id}/resource-dependencies(GetResourceDependencies)
mammoth project resource-status
Report the project's in-flight resource tasks, named as such.
mammoth project resource-status 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
- Effect: Read, scope
project· Confirmation: none - Id:
project.resource-status· Result:ProjectResourceStatusResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.resource_status, APIGET /workspaces/{workspace_id}/projects/{project_id}/resource-status(GetResourceStatus)
mammoth project sample-flow
Create a sample flow in a project (positional or active).
mammoth project sample-flow 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
label_resource_id | --input field | no | — | int |
- Effect: Benign mutation, scope
project· Confirmation: none - Id:
project.sample-flow· Result:ProjectSampleFlowResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.sample_flow, APIPOST /workspaces/{workspace_id}/projects/{project_id}/sample-flow(CreateSampleFlow)
mammoth project update
Update a project's name or color from the '--input' document.
mammoth project update 123 --input '{"name": "Renamed project"}'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
name | --input field | no | — | str | |
color | --input field | no | — | str |
- Effect: Benign mutation, scope
project· Confirmation: none - Id:
project.update· Result:ProjectUpdateResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.update, APIPATCH /workspaces/{workspace_id}/projects/{project_id}(UpdateProject)
project checkpoint
mammoth project checkpoint list
List a project's checkpoints, with optional filters from '--input'.
mammoth project checkpoint list 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
fields | --input field | no | — | str | |
sort | --input field | no | — | str | |
dataview_id | --input field | no | — | int | |
sequence | --input field | no | — | int | |
status | --input field | no | — | str |
- Effect: Read, scope
project· Confirmation: none · Pages:single_page - Id:
project.checkpoint.list· Result:ProjectCheckpointListResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.checkpoint_list, APIGET /workspaces/{workspace_id}/projects/{project_id}/checkpoints(GetProjectCheckpoints)
project data-check
mammoth project data-check list
List a project's data checks, with optional filters from '--input'.
mammoth project data-check list 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
fields | --input field | no | — | str | |
sort | --input field | no | — | str | |
dataview_id | --input field | no | — | int | |
sequence | --input field | no | — | int | |
status | --input field | no | — | str |
- Effect: Read, scope
project· Confirmation: none · Pages:single_page - Id:
project.data-check.list· Result:ProjectDataCheckListResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.data_check_list, APIGET /workspaces/{workspace_id}/projects/{project_id}/data-checks(GetProjectDataChecks)
project memory
mammoth project memory add
Save one agent preference ('text' from '--input') for the caller.
mammoth project memory add 123 --input '{"text": "Quarterly revenue summary"}'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
text | --input field | yes | — | str |
- Effect: Benign mutation, scope
project· Confirmation: none - Preconditions: Save only a preference the user stated for how the agent works or shows things (at most 20, each at most 200 characters); never data, results or secrets. The in-app agent applies them in every later turn in this project. A rule about what a board's data means (for example, Returned orders are refunds) belongs to that board: dashboard context create.
- Id:
project.memory.add· Result:ProjectMemoryAddResult
mammoth project memory list
List the caller's saved agent preferences for a project.
mammoth project memory list 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
- Effect: Read, scope
project· Confirmation: none - Preconditions: The saved preferences are the caller's own, per project, oldest first; the in-app agent reads them at the start of every turn. Remove one by its zero-based position in this list.
- Id:
project.memory.list· Result:ProjectMemoryListResult
mammoth project memory remove
Remove the caller's saved preference at 'index' (from '--input').
mammoth project memory remove 123 --input '{"index": 1}' --yes
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
index | --input field | yes | — | int |
- Effect: Benign mutation, scope
project· Confirmation:--yes, or answer the prompt at an interactive terminal - Preconditions: index is the zero-based position from project memory list; use it when the user asks to forget a preference.
- Id:
project.memory.remove· Result:ProjectMemoryRemoveResult
project resource-dependencies
mammoth project resource-dependencies update
Apply confirmed data-sync patches to a project's resource graph.
mammoth project resource-dependencies update 123 --input '{"patches": [{"op": "replace", "path": "data_sync", "value": {"context_type": "dataview", "context_id": 1}}]}' --yes --confirm 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
patches | --input field | yes | — | list[DataSyncPatchItem] |
- Effect: High impact, scope
project· Confirmation: always--yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; theconfirmation_requirederror's hint names it) · Waits: waits for the job to finish (--job-timeout,--return-running) - Preconditions: Changes the resources the project declares it depends on; views and dashboards that read through a removed dependency can stop resolving data. Read the current set first (
project resource-dependencies). Needs --yes and --confirm PROJECT_ID. - Id:
project.resource-dependencies.update· Result:ProjectResourceDependenciesUpdateResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.resource_dependencies_update, APIPATCH /workspaces/{workspace_id}/projects/{project_id}/resource-dependencies(BulkModify)
project user
mammoth project user add
Add users to a project. High-impact: '--yes --confirm PROJECT_ID'.
mammoth project user add 123 --input '{"user_ids": [123], "role": "project_analyst"}' --yes --confirm 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
user_ids | --input field | yes | — | list[int] | |
role | --input field | no | — | str |
- Effect: High impact, scope
project· Confirmation: always--yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; theconfirmation_requirederror's hint names it) - Preconditions: B03 PROJECT_USER_ID_ROLE_UNTYPED. role is required, and a user who is already a project member is refused (the backend would replace that member's role, demoting an admin); change roles with project user update. Takes existing workspace users' ids. To add someone by email who is not in the workspace yet, use workspace user add with {"email_ids": [EMAIL], "projects": [{"project_id": PROJECT_ID, "role": ROLE}]}: it invites them as a workspace member with that project role, which is how a project gets a new person.
- Id:
project.user.add· Result:ProjectUserAddResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.add_users, APIPOST /workspaces/{workspace_id}/projects/{project_id}/users(AddUserProject)
mammoth project user remove
Remove users from a project. High-impact: '--yes --confirm PROJECT_ID'.
mammoth project user remove 123 --input '{"user_ids": ["resource-123"]}' --yes --confirm 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
user_ids | --input field | yes | — | list[str] |
- Effect: High impact, scope
project· Confirmation: always--yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; theconfirmation_requirederror's hint names it) - Preconditions: B03 PROJECT_USER_ID_ROLE_UNTYPED; sorted target-set confirmation.
- Id:
project.user.remove· Result:ProjectUserRemoveResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.remove_users, APIDELETE /workspaces/{workspace_id}/projects/{project_id}/users(RemoveUserProject)
mammoth project user update
Update a project member's role ('role' required; 'user_id'/'invite_id').
mammoth project user update 123 --input '{"role": "project_admin", "user_id": 123}' --yes
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | no | — | int | ID of the project to act on; defaults to the active project. |
role | --input field | yes | — | Literal['project_admin', 'project_analyst'] | One of project_admin, project_analyst. |
user_id | --input field | no | — | int | |
invite_id | --input field | no | — | int |
- Effect: High impact, scope
project· Confirmation: always--yes, even at a terminal - Preconditions: Changes one project member's role (role plus exactly one of user_id or invite_id); the person gains or loses access at once. Needs --yes.
- Id:
project.user.update· Result:ProjectUserUpdateResult· Backed by: SDKmammoth.api.projects.ProjectsAPI.user_update, APIPATCH /workspaces/{workspace_id}/projects/{project_id}/users(UpdateUserProject)