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.
| Name | Type | Required | Description |
|---|---|---|---|
org | string | Yes | Organization id (org_…) or slug |
per_page | 1, 50 or 100 | No | Page size. The API defaults to 50 |
page | integer | No | 0-based page index |
entity | string | No | Exact entity, e.g. tenant |
verb | created, updated, deleted or login | No | Filter by verb |
actor_id | string | No | The actor’s id, e.g. usr_… |
key_prefix | string | No | Routing keys starting with this text, e.g. membership. |
from | string | No | ISO date; entries at or after it |
to | string | No | ISO 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.