get policies with query parameters