Legacy Dev Forum Posts

 View Only

Sign Up

Analytics Conversations Details Query - segment_filters (clauses and predicates)

  • 1.  Analytics Conversations Details Query - segment_filters (clauses and predicates)

    Posted 06-05-2025 18:08

    shoaib | 2022-11-29 12:26:18 UTC | #1

    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, 'conversationfilters': None, 'evaluationfilters': None, 'interval': '2022-11-25T22:00:00.000Z/2022-11-25T23:00:00.000Z', 'order': 'asc', 'orderby': 'conversationStart', 'paging': {'pageNumber': 1, 'pageSize': 100}, 'resolutionfilters': None, 'segmentfilters': [{'predicates': [{'dimension': 'mediaType', 'type': 'dimension', 'value': 'callback'}], 'type': 'and'}], 'surveyfilters': None}


    Ebenezer_Osei | 2022-11-29 15:01:01 UTC | #2

    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


    shoaib | 2022-11-29 16:44:23 UTC | #3

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


    John_Carnell | 2022-12-19 15:14:36 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 17420