Wire up filter to API.