Legacy Dev Forum Posts

 View Only

Sign Up

Date field used for Conversation Aggregate results

  • 1.  Date field used for Conversation Aggregate results

    Posted 06-05-2025 18:28

    Julio29 | 2023-09-06 20:19:46 UTC | #1

    Good day.

    Please your support to identify which is the date and time field used to filter and generate the intervals in the results of the conversation aggregate:

    {
              **"interval": "2023-09-01T12:30:00.000Z/2023-09-01T13:00:00.000Z",**
              "metrics": [
                {
                  "metric": "nConnected",
                  "stats": {
                    "count": 876
                  }
                },
                {
                  "metric": "nOffered",
                  "stats": {
                    "count": 93
                  }
                },
                {
                  "metric": "nTransferred",
                  "stats": {
                    "count": 54
                  }
                },
                {
                  "metric": "tAnswered",
                  "stats": {
                    "max": 487885,
                    "min": 396,
                    "count": 82,
                    "sum": 4063252
                  }
                }
              ]
            },

    This to obtain the same numerical quantities of the metrics, based on the results of the Conversation Details. Thanks for your support. Greetings.

    Julio Segil


    tim.smith | 2023-09-06 20:24:40 UTC | #2

    You can find documentation about metrics and intervals here: https://developer.genesys.cloud/analyticsdatamanagement/analytics/metrics#metrics-and-intervals


    Eos_Rios | 2023-09-06 20:24:58 UTC | #3

    It's based on the metric emitdate.

    If you aggregate a call with an Answered at 11:45 pm on December 2nd and a Handled that pegged at the close of the call at 12:15 AM on December 3rd and are aggregating at 30 minute intervals you'll have an 11:30-12:00 interval with the answer and a 12:00-12:30 interval with the handled, on two separate dates.


    Julio29 | 2023-09-06 20:33:48 UTC | #4

    Very good answer Eos_Rios. That's what I wanted to know. I thank you. Greetings.!


    system | 2023-10-07 20:34:36 UTC | #5

    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: 21880