Legacy Dev Forum Posts

 View Only

Sign Up

Information regarding getting long running conversations like emails and callbacks

  • 1.  Information regarding getting long running conversations like emails and callbacks

    Posted 06-05-2025 18:07

    Dileepkaranki | 2024-06-06 12:03:00 UTC | #1

    Information regarding getting long running conversations like emails, messages and callbacks. How can we get only long running conversations?


    jacobshaw | 2024-05-21 13:58:48 UTC | #2

    Hi @Dileepkaranki There is a metric "tConversationDuration" for the conversation details query. You could have a request body like this

    {
        "order": "desc",
        "orderBy": "conversationStart",
        "interval": "2024-04-21T00:00:00.000Z/2024-05-21T00:00:00.000Z",
        "conversationFilters": [
          {
            "type": "or",
            "predicates": [
              {
                "metric": "tConversationDuration",
                "range": {
                  "gte": 3000000
                }
              }
            ]
          }
        ],
      }

    jacobshaw | 2024-05-21 14:01:04 UTC | #3

    Also the mediaType dimension in the conversations details query allows to you call for email and callback vs. voice or message for example.


    Dileepkaranki | 2024-05-23 16:55:45 UTC | #4

    Thank you @jacobshaw, I will check this. @jacobshaw Could you answer my queries related to below forum https://developer.genesys.cloud/forum/t/session-metrics-missing-in-conversations-for-analytics-api/23836


    Dileepkaranki | 2024-05-28 12:55:38 UTC | #5

    jacobshaw, post:2, topic:26364
    "range": {
                  "gte": 3000000
                }

    @jacobshaw is the value referred above is seconds or milliseconds?


    jacobshaw | 2024-05-28 13:38:32 UTC | #6

    @Dileepkaranki This is the value in milliseconds


    system | 2024-06-28 13:38:48 UTC | #7

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


    This post was migrated from the old Developer Forum.

    ref: 26364