The audit module records all significant actions performed by users. Logs are automatically created by other modules (auth, admin, user, connect) and can be queried through this endpoint.
All endpoints require authentication via Authorization: Bearer <token>.
Get audit logs
GET /api/audit
Returns the authenticated user’s audit logs, ordered by most recent first.
Maximum number of logs to return. Defaults to 50, max 100.
Number of logs to skip for pagination. Defaults to 0.
Filter by action type (see list below).
Response 200
Audit action types
All possible actions recorded by the audit system: