Audit log

Read an organization's audit log.

query_audit_log

Read an organization’s audit log, newest first. Requires ownership of the organization. Maps to GET /organizations/:org/events.

NameTypeRequiredDescription
orgstringYesOrganization id (org_…) or slug
per_page1, 50 or 100NoPage size. The API defaults to 50
pageintegerNo0-based page index
entitystringNoExact entity, e.g. tenant
verbcreated, updated, deleted or loginNoFilter by verb
actor_idstringNoThe actor’s id, e.g. usr_…
key_prefixstringNoRouting keys starting with this text, e.g. membership.
fromstringNoISO date; entries at or after it
tostringNoISO date; entries strictly before it

Returns one page of entries, as an array. The API’s Link header is not passed through: page by incrementing page until a page comes back short. See the audit log for an entry’s shape.