Skip to main content

List the entity's audit trail

GET 

/audit-events

Returns the selected entity's audit events, newest first (occurredAt descending), paginated.

Filter by event type with the comma-separated types query param. Omitting it returns every type; supplying a code that is not registered narrows the page to nothing rather than being ignored.

detail is an opaque per-type object — see AuditDetailForDisplay — render its fields directly, keyed on code; do not assume a fixed shape. actorRoleName is the role the actor held when the event happened — it does not change if they are later re-roled.

Requires the audit.event.read permission in the selected entity. Returns 404 when the enableAuditSystem feature flag is off.

Request

Responses

OK