@base.apimethod
    def preview(self, conditions, columns=None, group_by=None,
                group_order=None, sort_by=None, sort_order=None):

        url = '{0}/{1}'.format(self.get_url(), 'preview')
        params = base.get_params(('columns', 'group_by', 'group_order',
                                  'sort_by', 'sort_order'), locals())

        view = {'view': conditions.copy()}
        view['view'].update({'output': params})

        request = http.Request('POST', url, view)
        return request, parsers.parse_json
Views can be previewed by constructing the conditions
dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/zendesk/resources.py/Views.preview