Audit Logs

sim audit-logs is also spelled sim audit-log.

Every command below also accepts the global options.

Get audit log

sim audit-logs get <auditLogId> [options]

Get Audit Log (OAuth login or personal API key required)

Arguments

ArgumentRequiredDescription
auditLogIdYesAudit-log entry identifier.

Options

OptionRequiredDescription
--organization <value>NoOrganization ID; defaults to your only organization, and is required when your account belongs to more than one (OAuth login or personal API key required).

List audit logs

sim audit-logs list [options]

List Audit Logs (OAuth login or personal API key required)

Options

OptionRequiredDescription
--action <value>NoFilter by exact action name.
--resource-type <value>NoFilter by resource type. Accepts a comma-separated set; members are trimmed and deduplicated, and member order affects neither the result nor the cursor.
--resource-id <value>NoFilter by exact resource identifier.
--start-date <value>NoOnly include runs started at or after this UTC ISO 8601 timestamp, e.g. 2026-08-06T00:00:00Z. A date without a time, or a timestamp carrying a UTC offset instead of Z, is rejected, as is year 0000, which names no storable instant.
--end-date <value>NoOnly include runs started at or before this UTC ISO 8601 timestamp, e.g. 2026-08-06T00:00:00Z. A date without a time, or a timestamp carrying a UTC offset instead of Z, is rejected, as is year 0000, which names no storable instant.
--include-departedNoInclude actions by users who have left the organization.
--no-include-departedNoSend --include-departed as false.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 100.
--cursor <value>NoContinue from nextCursor returned by a previous result.
--organization <value>NoOrganization ID; defaults to your only organization, and is required when your account belongs to more than one (OAuth login or personal API key required).
--actor-email <value>NoFilter by actor email address.
--all-workspacesNoDo not filter to the configured workspace (OAuth login or personal API key required for account-wide access).