Skip to content
Build with Mammoth › CLI reference: open the docs menu

mammoth project

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.

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

CommandWhat it doesEffectConfirmation
project bulk-deleteDelete several projects by id. Prompt or '--yes' required.Destructive--yes --confirm TARGET
project bulk-updateApply a role patch across named projects. High-impact: '--yes --confirm WS'.High impact--yes --confirm TARGET
project checkList what a report on this project must still account for.Read—
project copyCopy a project into a new one and wait for the copy job.Benign mutation—
project createCreate a project. Name comes from a positional or the 'name' field.Benign mutation—
project deleteDelete one project (positional or active).High impact--yes --confirm TARGET
project ensureReturn the project with exactly this name, creating it when absent.Benign mutation—
project getGet one project by id (positional or active project).Read—
project listList the caller's member projects in the active workspace, one page at a time.Read—
project needs-attentionList the Monitor "Needs Attention" rows with the dataset behind each view.Read—
project pending-changesReport a project's pending pipeline changes.Read—
project publish-credentialsReport publish credentials for a project's ODBC endpoint.Read—
project resource-dependenciesUpdate project resource dependencies.Read—
project resource-statusReport the project's in-flight resource tasks, named as such.Read—
project sample-flowCreate a sample flow in a project (positional or active).Benign mutation—
project updateUpdate a project's name or color from the '--input' document.Benign mutation—
project checkpoint listList a project's checkpoints, with optional filters from '--input'.Read—
project data-check listList a project's data checks, with optional filters from '--input'.Read—
project memory addSave one agent preference ('text' from '--input') for the caller.Benign mutation—
project memory listList the caller's saved agent preferences for a project.Read—
project memory removeRemove the caller's saved preference at 'index' (from '--input').Benign mutation--yes or prompt
project resource-dependencies updateApply confirmed data-sync patches to a project's resource graph.High impact--yes --confirm TARGET
project user addAdd users to a project. High-impact: '--yes --confirm PROJECT_ID'.High impact--yes --confirm TARGET
project user removeRemove users from a project. High-impact: '--yes --confirm PROJECT_ID'.High impact--yes --confirm TARGET
project user updateUpdate 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
NamePassed asRequiredDefaultTypeNotes
project_ids--input fieldyes—list[int]
timeout--input fieldno—int
poll_interval--input fieldno2.0float
  • Effect: Destructive, scope project · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Sorted comma-separated ID-set confirmation.
  • Id: project.bulk-delete · Result: ProjectBulkDeleteResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.bulk_delete_and_verify, API DELETE /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
NamePassed asRequiredDefaultTypeNotes
patch_data--input fieldyes—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; the confirmation_required error'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: SDK mammoth.api.projects.ProjectsAPI.bulk_update, API PATCH /workspaces/{workspace_id}/projects (UpdateProjects)

mammoth project check

List what a report on this project must still account for.

mammoth project check 123 456
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
DATASET_IDpositionalno—intCheck only this dataset (its first view unless VIEW_ID is given); no other dataset or dashboard is read.
VIEW_IDpositionalno—intCheck 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. resources has 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'
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalyes—intID of the project to copy.
NAMEpositionalyes—strName 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 fieldno—list[int]
include_dashboards--input fieldnofalsebool
exclude_data--input fieldnofalsebool
  • 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: SDK mammoth.api.projects.ProjectsAPI.copy, API POST /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'
NamePassed asRequiredDefaultTypeNotes
NAMEpositionalno—strName of the new project; or pass it via the 'name' input field. Or the name input field.
name--input fieldno—str
color--input fieldno—str
project_access--input fieldno—str
  • Effect: Benign mutation, scope project · Confirmation: none
  • Id: project.create · Result: ProjectCreateResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.create, API POST /workspaces/{workspace_id}/projects (CreateProject)

mammoth project delete

Delete one project (positional or active).

mammoth project delete 123 --yes --confirm 123
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
timeout--input fieldno—int
poll_interval--input fieldno2.0float
  • Effect: High impact, scope project · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Immutable project-ID confirmation.
  • Id: project.delete · Result: ProjectDeleteResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.delete_and_verify, API DELETE /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'
NamePassed asRequiredDefaultTypeNotes
NAMEpositionalno—strExact project name to find or create; or pass it via the 'name' input field. Or the name input field.
name--input fieldno—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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID 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
NamePassed asRequiredDefaultTypeNotes
limit--input fieldno100int
offset--input fieldno0int
fields--input fieldnoid,namestr
include_non_members--input fieldnofalsebool
  • 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: SDK mammoth.api.projects.ProjectsAPI.list, API GET /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID 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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID 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: SDK mammoth.api.projects.ProjectsAPI.pending_changes, API GET /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"}'
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
odbc_type--input fieldyes—Literal['postgres', 'bigquery']One of postgres, bigquery.
  • Effect: Read, scope project · Confirmation: none
  • Id: project.publish-credentials · Result: ProjectPublishCredentialsResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.publish_credentials, API GET /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]}'
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
resource_ids--input fieldyes—list[str]
is_recursive--input fieldno—bool
  • Effect: Read, scope project · Confirmation: none
  • Id: project.resource-dependencies · Result: ProjectResourceDependenciesResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.resource_dependencies, API GET /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID 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: SDK mammoth.api.projects.ProjectsAPI.resource_status, API GET /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
label_resource_id--input fieldno—int
  • Effect: Benign mutation, scope project · Confirmation: none
  • Id: project.sample-flow · Result: ProjectSampleFlowResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.sample_flow, API POST /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"}'
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
name--input fieldno—str
color--input fieldno—str
  • Effect: Benign mutation, scope project · Confirmation: none
  • Id: project.update · Result: ProjectUpdateResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.update, API PATCH /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
fields--input fieldno—str
sort--input fieldno—str
dataview_id--input fieldno—int
sequence--input fieldno—int
status--input fieldno—str
  • Effect: Read, scope project · Confirmation: none · Pages: single_page
  • Id: project.checkpoint.list · Result: ProjectCheckpointListResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.checkpoint_list, API GET /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
fields--input fieldno—str
sort--input fieldno—str
dataview_id--input fieldno—int
sequence--input fieldno—int
status--input fieldno—str
  • Effect: Read, scope project · Confirmation: none · Pages: single_page
  • Id: project.data-check.list · Result: ProjectDataCheckListResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.data_check_list, API GET /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"}'
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
text--input fieldyes—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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID 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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
index--input fieldyes—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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
patches--input fieldyes—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; the confirmation_required error'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: SDK mammoth.api.projects.ProjectsAPI.resource_dependencies_update, API PATCH /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
user_ids--input fieldyes—list[int]
role--input fieldno—str
  • Effect: High impact, scope project · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error'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: SDK mammoth.api.projects.ProjectsAPI.add_users, API POST /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
user_ids--input fieldyes—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; the confirmation_required error's hint names it)
  • Preconditions: B03 PROJECT_USER_ID_ROLE_UNTYPED; sorted target-set confirmation.
  • Id: project.user.remove · Result: ProjectUserRemoveResult · Backed by: SDK mammoth.api.projects.ProjectsAPI.remove_users, API DELETE /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
NamePassed asRequiredDefaultTypeNotes
PROJECT_IDpositionalno—intID of the project to act on; defaults to the active project.
role--input fieldyes—Literal['project_admin', 'project_analyst']One of project_admin, project_analyst.
user_id--input fieldno—int
invite_id--input fieldno—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: SDK mammoth.api.projects.ProjectsAPI.user_update, API PATCH /workspaces/{workspace_id}/projects/{project_id}/users (UpdateUserProject)

Report an issue · support@mammoth.io