Flows Performance: UI vs Endpoint Differences

The following metrics are available in the Flow Performance report in the Genesys UI .
but not in the api/endpoint "/api/v2/analytics/flows/aggregates/query"...

SYSTEM_ERROR_DISCONNECTED
CUSTOMER_DISCONNECTED
CUSTOMER_SHORT_DISCONNECTED
FLOW_ACD_EXITED
FLOW_GROUP_EXITED
FLOW_NUMBER_EXITED
FLOW_USER_EXITED
FLOW_EXITED
FLOW_USER_VOICEMAIL_EXIT
FLOW_GROUP_VOICEMAIL_EXITED

Can anyone help me 'pseudo' code the logic so I can calculate them, perhaps using "/api/v2/analytics/conversations/details/query" or other endpoint calls?

Those aren't metrics, they're dimension values.
Group by exit reason, disconnect reason, and and transfer type to see the results broken out by those I believe.

Then you'll have to extrapolate the counts of each from the other metrics in the groupings.

Example set;

      "group": {
        "disconnectType": "client",
        "entryReason": "9fdbfb6a-52c9-44d4-9d6f-4a2c9e273738",
        "entryType": "flow",
        "exitReason": "DISCONNECT",
        "flowId": "a4938906-e290-47b8-88cc-f28ee8089ecd",
        "mediaType": "voice"
      },
      "data": [
        {
          "interval": "2024-08-26T00:00:00.000-04:00/2024-08-27T00:00:00.000-04:00",
          "metrics": [
            {
              "metric": "tFlow",
              "stats": {
                "max": 28763,
                "min": 765,
                "count": 23,
                "sum": 123497
              }
            },
}

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