Legacy Dev Forum Posts

 View Only

Sign Up

Flows Performance: UI vs Endpoint Differences

  • 1.  Flows Performance: UI vs Endpoint Differences

    Posted 06-05-2025 18:32

    motabilityoperations | 2024-10-10 07:56:57 UTC | #1

    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"...

    SYSTEMERRORDISCONNECTED CUSTOMERDISCONNECTED CUSTOMERSHORTDISCONNECTED FLOWACDEXITED FLOWGROUPEXITED FLOWNUMBEREXITED FLOWUSEREXITED FLOWEXITED FLOWUSERVOICEMAILEXIT FLOWGROUPVOICEMAILEXITED

    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?


    Eos_Rios | 2024-10-10 13:38:49 UTC | #2

    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
                  }
                },
    }

    system | 2024-11-09 13:36:33 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 29800