Audit Logs

List audit log entries

Returns audit log entries newest first. Entry fields are camelCase (actorUserId, targetId, createdAt). Owners and admins read every entry in full. For other members, entries about another member's personal secrets keep their action, actor and time but withhold the secret names (targetId and targetLabel are null, metadata.secret_names omits them, and metadata.names_withheld is true).

<sub>Scope: analytics:read</sub>

get/v3/organizations/{orgId}/audit-logs

Request

  • Base URL: https://api.reasonmachines.com
  • URL: https://api.reasonmachines.com/v3/organizations/{orgId}/audit-logs
  • Auth: HTTP bearer

Query parameters

limitinteger

Maximum entries to return (default 50, max 200).

beforestring date-time

Return only entries created before this timestamp.

actionstring

Return only entries with this exact action.

actorstring

Return only entries performed by this actor user id.

sincestring date-time

Return only entries created at or after this ISO timestamp.

Response

Audit log entries.

has_next_pageboolean
end_cursorstring nullable

Pass back as after for the next page.

next_beforestring nullable

Deprecated: use end_cursor (same value).

Changes

No recorded changes to this operation across all 1 revision of this API.