Conversation Details Query not returned expected result

What I am after is only those historic conversations with a purpose of external and incoming but I getting more then that and not sure why.

The API endpoint is:
https://api.usw2.pure.cloud/api/v2/analytics/conversations/details/query

{
    "interval": "2024-08-13T00:00:00.000Z/2024-08-14T00:00:00.000Z",
    "segmentFilters": [
        {
            "type": "and",
            "predicates": [
                {
                    "dimension": "purpose",
                    "value": "external"
                },
                {
                    "dimension": "direction",
                    "value": "inbound"
                }
            ]
        }
    ]

Are you getting back conversations that include those values but also getting back the segments that aren't those values and wondering why

or

are you getting back conversations that have no segments that match those values

The first, also tried this and still getting back stuff I don't want. Meaning, I am getting back conversations where purpose != external which shouldn't be based on my understanding which is clearly wrong :frowning:

    "interval": "2024-08-13T00:00:00.000Z/2024-08-14T00:00:00.000Z",
    "segmentFilters": [
        {
            "type": "and",
            "clauses": [
                {
                    "type": "and",
                    "predicates": [
                        {
                            "type": "dimension",
                            "dimension": "purpose",
                            "operator": "matches",
                            "value": "external"
                        },
                        {
                            "type": "dimension",
                            "dimension": "direction",
                            "operator": "matches",
                            "value": "inbound"
                        }
                    ]
                }
            ]
        }
    ]
}```

You should be getting back conversations that include a mix of segments that do and don't meet those criteria.

You should not be getting back conversations that include no segments that meet those criteria.
If you're getting those you may need a customer care case to find out why.

Thanks, I just opened a support case to see what is wrong.

Thanks, I just opened a support case to see what is wrong.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.