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

mammoth workspace

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

33 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

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth workspace invite deleteworkspaceDestructiveprompt_or_yes--yesnot_asyncnone——
mammoth workspace invite revokeworkspaceDestructiveprompt_or_yes--yesnot_asyncnone——
mammoth workspace user removeworkspaceDestructiveprompt_or_yes--yesnot_asyncnonemammoth.api.workspaces.WorkspacesAPI.user_removeDELETE /workspaces/{workspace_id}/users/{user_id} (RemoveUser)
mammoth workspace user remove-batchworkspaceDestructiveprompt_or_yes--yesnot_asyncnonemammoth.api.workspaces.WorkspacesAPI.user_remove_batchDELETE /workspaces/{workspace_id}/users (RemoveUserFromWorkspace)

High impact

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth workspace deleteworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.workspace.WorkspaceAPI.deleteDELETE /workspaces/{workspace_id} (DeleteUserWorkspace)
mammoth workspace export-hosts setworkspaceHigh impactyes_always--yesnot_asyncnonemammoth.api.exports.ExportsAPI.set_export_hostsPUT /workspaces/{workspace_id}/export-hosts (Update)
mammoth workspace invite update-roleworkspaceHigh impactyes_always--yesnot_asyncnone——
mammoth workspace oauth-client createworkspaceHigh impactyes_always--yesnot_asyncnonemammoth.api.oauth_clients.OAuthClientsAPI.createPOST /workspaces/{workspace_id}/oauth-clients (CreateOauthClient)
mammoth workspace oauth-client deleteworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.oauth_clients.OAuthClientsAPI.deleteDELETE /workspaces/{workspace_id}/oauth-clients/{oauth_client_id} (DeleteOauthClient)
mammoth workspace oauth-client revoke-grantworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.oauth_clients.OAuthClientsAPI.revoke_grantDELETE /workspaces/{workspace_id}/oauth-clients/{oauth_client_id}/grant (RevokeOauthGrant)
mammoth workspace reactivateworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.workspace.WorkspaceAPI.reactivatePOST /workspaces/{workspace_id}/reactivate (ReactivateWorkspace)
mammoth workspace updateworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.workspace.WorkspaceAPI.updatePATCH /workspaces/{workspace_id} (UpdateWorkspace)
mammoth workspace user updateworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.workspace.WorkspaceAPI.update_userPATCH /workspaces/{workspace_id}/users/{user_id} (UpdateUserInWorkspace)
mammoth workspace user update-batchworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.workspaces.WorkspacesAPI.user_update_batchPATCH /workspaces/{workspace_id}/users (UpdateUserToWorkspace)

Benign mutation

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth workspace accept-inviteworkspaceBenign mutationnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.accept_invitePOST /accept-invite (AcceptInvite)
mammoth workspace check-expressionworkspaceBenign mutationnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.check_expressionPOST /workspaces/{workspace_id}/ai/check-expression (GenerateCheckExpression)
mammoth workspace createworkspaceBenign mutationnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.createPOST /workspaces (CreateWorkspace)
mammoth workspace invite resendworkspaceBenign mutationnone—not_asyncnone——
mammoth workspace llm-taskworkspaceBenign mutationnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.llm_taskPOST /workspaces/{workspace_id}/llm (RunLlmTask)
mammoth workspace segment updateworkspaceBenign mutationnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.segment_updatePATCH /workspaces/{workspace_id}/split-segments (UpdateSegments)
mammoth workspace user addworkspaceBenign mutationyes_always--yesnot_asyncnonemammoth.api.workspaces.WorkspacesAPI.user_addPOST /workspaces/{workspace_id}/users (AddUserInWorkspace)

Read

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth workspace app-usageworkspaceReadnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.app_usageGET /workspaces/{workspace_id}/app-usage (GetAppUsage)
mammoth workspace currentworkspaceReadnone—not_asyncnonemammoth.api.workspace.WorkspaceAPI.currentGET /workspaces/current (GetCurrentWorkspace)
mammoth workspace export-hosts getworkspaceReadnone—not_asyncnonemammoth.api.exports.ExportsAPI.export_hostsGET /workspaces/{workspace_id}/export-hosts (Read)
mammoth workspace getworkspaceReadnone—not_asyncnonemammoth.api.workspace.WorkspaceAPI.getGET /workspaces/{workspace_id} (GetWorkspace)
mammoth workspace homeworkspaceReadnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.home_summaryGET /workspaces/{workspace_id}/home (GetHomeSummary)
mammoth workspace invite listworkspaceReadnone—not_asyncnone——
mammoth workspace listworkspaceReadnone—not_asyncsingle_pagemammoth.api.workspace.WorkspaceAPI.listGET /workspaces (GetWorkspaces)
mammoth workspace oauth-client listworkspaceReadnone—not_asyncnonemammoth.api.oauth_clients.OAuthClientsAPI.listGET /workspaces/{workspace_id}/oauth-clients (ListOauthClients)
mammoth workspace segment listworkspaceReadnone—not_asyncsingle_pagemammoth.api.workspaces.WorkspacesAPI.segment_listGET /workspaces/{workspace_id}/split-segments (GetSegments)
mammoth workspace storage-breakdownworkspaceReadnone—not_asyncnonemammoth.api.workspaces.WorkspacesAPI.storage_breakdownGET /workspaces/{workspace_id}/storage-breakdown (GetStorageBreakdown)
mammoth workspace user getworkspaceReadnone—not_asyncnone——
mammoth workspace user listworkspaceReadnone—not_asyncsingle_pagemammoth.api.workspace.WorkspaceAPI.list_usersGET /workspaces/{workspace_id}/users (GetUsersInWorkspace)

Report an issue · support@mammoth.io