Analytics Conversations Details Query - segment_filters (clauses and predicates)

Hi There,

Using /api/v2/analytics/conversations/details/query is giving me problems. I can successfully test a query using Python and get a response containing data, but I can't use segment filters to remove the data. I've tried using segment filters to filter media types predicates, but I'm not getting the results I want. kindly refer to the json below.

{'aggregations': None,
'conversation_filters': None,
'evaluation_filters': None,
'interval': '2022-11-25T22:00:00.000Z/2022-11-25T23:00:00.000Z',
'order': 'asc',
'order_by': 'conversationStart',
'paging': {'pageNumber': 1, 'pageSize': 100},
'resolution_filters': None,
'segment_filters': [{'predicates': [{'dimension': 'mediaType',
'type': 'dimension',
'value': 'callback'}],
'type': 'and'}],
'survey_filters': None}

Hello,

Your query looks good. What response do you get when you apply the filters and how does it differ from your expectations? Also, try setting the type of segment_filters to or since you have only one predicate.

Regards

Thanks Ebenezer,
Actually, I'm getting result of all participants but need only filtered result of session from the participants data.