Add filters to API calls instead of filtering in the Ruby layer.