BytesMap
Operation reference

audit operations

MCP tools and operation permissions for audit.

Open Markdown

Generated from the shared operation catalog. Use the JSON catalog for complete input schemas. Required dependency checks can be stricter than the resource permission listed below.

audit_list

List workspace activity with actor, operation, resource, outcome and correlation ID. Requires audit read access. No credentials, SQL or result data are logged.

  • HTTP: GET /api/audit
  • SDK: client.audit.list(input)
  • Access: workspace; audit / read
  • Effect annotation: Read-only
InputRequirementDescription
eventTypeOptionalstring
actorUserIdOptionalstring
resourceTypeOptionalstring
resourceIdOptionalstring
sourceOptionalstring
outcomeOptionalSee schema
fromOptionalstring
toOptionalstring
cursorOptionalstring
limitOptionalinteger

audit_settings_read

Read the current workspace audit status and retention policy. Requires audit read access; does not change logging or retention.

  • HTTP: GET /api/audit/settings
  • SDK: client.audit.getSettings(input)
  • Access: workspace; audit / read
  • Effect annotation: Read-only

See the JSON schema for this input contract.

On this page