Add filter support to API