pass through search parameters to the api