add filters to endpoints