http://api.musejam.dev/admin/industry-entities?filters%5Bfor_tags%5D%5B%5D=1&with%5B%5D=tags&page=0&_format=default&_per_page=30 Array ( [0] => Array ( [0] => industry_entity [1] => 1 [2] => 1 ) [1] => SELECT count(*) AS aggregate FROM (select distinct `industry_entities`.* from `industry_entities` inner join `classification_tagable_item_tag` on `classification_tagable_item_tag`.`tagable_item_id` = `industry_entities`.`id` where `classification_tagable_item_tag`.`type` = ? and `classification_tagable_item_tag`.`tag_id` in (?) group by `industry_entities`.`id` having count(classification_tagable_item_tag.tag_id) >= ?) AS results )