Discrepancy between API and UI

Good morning,
I am trying to get via api the conversation ids that match certain wrap-ups and a duration longer than 15 seconds.

This is the call to --> POST /api/v2/analytics/conversations/details/query:

{
    "order": "desc",
    "orderBy": "conversationStart",
    "interval": "2024-04-25T00:00:00.000Z/2024-04-25T00:00:00.000Z",
    "segmentFilters": [
      {
        "type": "or",
        "predicates": [
          {
            "dimension": "mediaType",
            "value": "voice"
          },
          {
            "dimension": "mediaType",
            "value": "callback"
          }
        ]
      },
      {
        "type": "or",
        "predicates": [
          {
            "dimension": "direction",
            "value": "inbound"
          },
          {
            "dimension": "direction",
            "value": "outbound"
          }
        ]
      },
      {
        "type": "or",
        "predicates": [
          {
            "dimension": "wrapUpCode",
            "value": "62c6d1ab-8b6e-448d-b71b-6febf9a76aea"
          },
          {
            "dimension": "wrapUpCode",
            "value": "ace1877e-fe59-4a5e-bada-ec084ffe2469"
          },
          {
            "dimension": "wrapUpCode",
            "value": "68fd4fee-008b-433d-b049-c5ab2b8c97f2"
          },
          {
            "dimension": "wrapUpCode",
            "value": "9c17002f-6f4c-4678-a732-c49d377a3147"
          },
          {
            "dimension": "wrapUpCode",
            "value": "63d7f77e-6d33-41e6-9b4c-9b5c786bb326"
          },
          {
            "dimension": "wrapUpCode",
            "value": "e872ba9a-ff04-487e-9e2a-b65422e6f81f"
          },
          {
            "dimension": "wrapUpCode",
            "value": "0cce61a7-9fe9-4dfd-b9a2-b363c70cdd8e"
          },
          {
            "dimension": "wrapUpCode",
            "value": "aec7aca9-3a1f-4a13-a74e-2bd238d743d4"
          },
          {
            "dimension": "wrapUpCode",
            "value": "a3ee5ded-17f6-426a-9bf0-5a757fbcb8a1"
          }
        ]
      }
    ],
    "conversationFilters": [
      {
        "type": "or",
        "predicates": [
          {
            "metric": "tConversationDuration",
            "range": {
              "gte": 150000
            }
          }
        ]
      }
    ],
    "evaluationFilters": [],
    "surveyFilters": []
  }

I obtain --> "totalHits": 1084

But in the ui i can see with these filters 259 pages with 50 conversationID per page, so this is more than 22k of conversationid.

What is the issue here?

Thank!!
BR

It's impossible to say what's different without knowing anything about what you're comparing this query with. There's likely a difference in the filtering, logic, or interval. You can look at the documentation for the view you're looking at and compare it against your query: About views and dashboards - Genesys Cloud Resource Center

Hi Tim,
Thaks for answer!

In the ui i try the same that in the query, same wrap-ups, same interval of time, exacly the same things.

Regards

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