Retrieve audit logs from Redis stream and/or database with filtering and pagination.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page number for pagination (default: 1)
x >= 1Number of items per page (default: 50, max: 100)
1 <= x <= 100Filter by event type (e.g., "user.login_success", "flag.updated")
Filter by the ID of the user who performed the action
Filter by organization ID
Filter by project ID
Start date for filtering events (ISO 8601 format, e.g., "2025-10-01T00:00:00Z")
End date for filtering events (ISO 8601 format, e.g., "2025-10-31T23:59:59Z")
Data source: "redis" for recent events, "database" for historical data, "both" for combined (default: "both")
database Sort by field and direction in format "field:direction" (e.g., "created_at:desc", "event_type:asc"). Allowed fields: created_at, event_type, actor_id. Default: "created_at:desc"