I think it was the wrong exception since the beginning, I wrote the original version of this controller and probably overlooked that detail; an empty query is an invalid parameter, NotFoundApiException should be used for empty result if the query was not empty, at least that was the original idea that got lost somewhere when we were building the first batch of Api controllers.