Could you perhaps elaborate how to leverage the API to achieve the same result (filtered results on the search component)?