Skip to Content

search_audit_log

Audit log entries, newest first: when, action, actor (name and email masked unless pii:read), organization, subject and metadata (emails in it masked unless pii:read). Filter by action, organization, actor id, subject type or id, and date range (YYYY-MM-DD, UTC); searching actors by name or email needs pii:read (refused without it). Paginated.

  • Server: Platform server
  • Scope: platform.audit:read
  • Read-only: yes

Input

{ "properties": { "action": { "type": "string" }, "organization_id": { "description": "Only this organization (UUID).", "type": "string" }, "actor_user_id": { "type": "string" }, "actor": { "description": "Part of an actor name or email; needs pii:read.", "type": "string" }, "subject_type": { "type": "string" }, "subject_id": { "type": "string" }, "from": { "description": "YYYY-MM-DD (UTC)", "type": "string" }, "to": { "description": "YYYY-MM-DD (UTC), inclusive", "type": "string" }, "cursor": { "type": "string" }, "limit": { "minimum": 1, "maximum": 100, "type": "integer" } }, "type": "object" }

Output (structuredContent)

{ "properties": { "as_of": { "type": "string" } }, "type": "object", "required": [ "as_of" ] }