Legacy Dev Forum Posts

 View Only

Sign Up

/analytics/evaluations/aggregates/query includes RETRACTED evaluations

  • 1.  /analytics/evaluations/aggregates/query includes RETRACTED evaluations

    Posted 06-05-2025 18:33

    Lukasz_Zwierko | 2025-01-02 12:17:27 UTC | #1

    Hi everybody, much to my surprise a call to /analytics/evaluations/aggregates/query includes evaluations that have been RETRACTED and scored again. I've made a test where I reevaluated conversation twice, so I have 3 versions now. Then I do an aggregation query that only covers this single conversation and I get results clearly indicating that all evaluations were included. Is there a way to filter out RETRACTED evaluations? thank, Łukasz


    Eos_Rios | 2025-01-02 14:46:52 UTC | #2

    Are you seeing that behaviour in spite of asking only for released evaluations?

      "filter": {
        "predicates": [
          {
            "type": "dimension",
            "dimension": "released",
            "operator": "matches",
            "value": "true"
          }
        ],
        "type": "and"
      },

    or have you not tried that approach yet?


    Lukasz_Zwierko | 2025-01-02 15:36:57 UTC | #3

    Hi, thanks, just tried it but the results are same as without it. Oddly this page https://developer.genesys.cloud/analyticsdatamanagement/analytics/aggregate/evaluation-query mentions a demention that's not available in API Explorer

    rescind Boolean True if this score should be rescinded.

    API returns 400 whan I try to us it so obviously not ok.

    this is the response I get for my query.

    {
      "results": [
        {
          "group": {
            "mediaType": "call",
            "userId": "fd4dde50-b32b-48bd-86aa-e3c3f027355d"
          },
          "data": [
            {
              "interval": "2024-10-25T13:46:48.779Z/2024-10-25T13:46:48.781Z",
              "metrics": [
                {
                  "metric": "nEvaluations",
                  "stats": {
                    "count": 3
                  }
                },
                {
                  "metric": "oTotalScore",
                  "stats": {
                    "max": 0,
                    "min": 0,
                    "count": 3,
                    "sum": 0
                  }
                }
              ]
            }
          ]
        }
      ]
    }

    system | 2025-02-01 15:37:41 UTC | #4

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