setup api filters