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

mammoth activity

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.

Inspect workspace activity and audit history. 2 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
activity exportExport activity logs from the active workspace, with optional filters.Read—
activity listList activity logs in the active workspace, with optional filters.Read—

activity commands

mammoth activity export

Export activity logs from the active workspace, with optional filters.

mammoth activity export
NamePassed asRequiredDefaultTypeNotes
format--input fieldnocsvstr
start_time--input fieldno—str
end_time--input fieldno—str
categories--input fieldno—list[any]
activities--input fieldno—list[any]
user_ids--input fieldno—list[any]
  • Effect: Read, scope profile · Confirmation: none · Waits: returns a job id at once; follow it with mammoth job wait
  • Id: activity.export · Result: ActivityExportResult · Backed by: SDK mammoth.api.activity_logs.ActivityLogsAPI.export, API POST /workspaces/{workspace_id}/activity_log/export (ExportActivityLogs)

mammoth activity list

List activity logs in the active workspace, with optional filters.

mammoth activity list
NamePassed asRequiredDefaultTypeNotes
limit--input fieldno50int
offset--input fieldno0int
sort--input fieldno—str
categories--input fieldno—list[any]
activities--input fieldno—list[any]
resource_id--input fieldno—str
result--input fieldno—str
start_time--input fieldno—str
end_time--input fieldno—str
origin--input fieldno—str
user_ids--input fieldno—list[any]
parent_id--input fieldno—int
search_text--input fieldno—str
fields--input fieldno—str
project_id--input fieldno—int
  • Effect: Read, scope profile · Confirmation: none · Pages: offset
  • Id: activity.list · Result: ActivityListResult · Backed by: SDK mammoth.api.activity_logs.ActivityLogsAPI.list, API POST /workspaces/{workspace_id}/activity_log (GetActivityLogs)

Report an issue · support@mammoth.io