Add API for events that's filterable by type