Speechandtext analytics API: Missing Participant Metrics from the response

Hello

We are trying to get some Participant metrics from the SpeechandTextAnalytics API, which is available on the developer console of the Pure Cloud Environment like below:

Request: - /api/v2/speechandtextanalytics/conversations/43d08377-0086-4830-bad8-b0c4b0370394

Result

{
** "conversation": {**
** "id": "43d08377-0086-4830-bad8-b0c4b0370394",**
** "selfUri": "/api/v2/conversations/43d08377-0086-4830-bad8-b0c4b0370394"**
** },**
** "sentimentScore": -0.540623093717295,**
** "sentimentTrend": 0.14565630622579545,**
** "participantMetrics": {**
** "agentDurationPercentage": 9.3,**
** "customerDurationPercentage": 20.31,**
** "silenceDurationPercentage": 30.74,**
** "ivrDurationPercentage": 0.13,**
** "acdDurationPercentage": 0.07,**
** "overtalkDurationPercentage": 1.71,**
** "otherDurationPercentage": 37.74,**
** "overtalkCount": 130**
** }**
}

But when we are trying to get that using the below API response method in ASP.Net C# the Participant Metrics are missing

ApiResponse GetSpeechandtextanalyticsConversationWithHttpInfo(string conversationId)

{
"conversation": {
"id": "43d08377-0086-4830-bad8-b0c4b0370394",
"selfUri": "/api/v2/conversations/43d08377-0086-4830-bad8-b0c4b0370394"
},
"sentimentScore": -0.540623093717295,
"sentimentTrend": 0.14565630622579545
}

Any help on this will be highly appreciable.

Hi,

Can you firstly confirm that you're using the latest version of the SDK? (135.0.0)

It appears that participantMetrics is missing from the API's swagger definition and that's what's causing it to be left out of the response in the SDK.
Please open a case with Genesys Cloud Care to report this bug; The dev forum does not have the ability to report issues on behalf of customers nor prioritize them with the same SLA commitments that Care has; this is why bug reports are always directed to Care for proper handling.

Hello Ronan,

We are actually using the SDK version of (130.0.0)

Hello,

As Ronan wrote, could you please open a ticket with Genesys Cloud Customer Care to report the issue?

It seems to be an issue in the API description (swagger definition) provided by Engineering. The Swagger is used to automatically generate the SDKs and the information on the API on the Developer Center.
Apparently, the participantMetrics is not described in the GET /api/v2/speechandtextanalytics/conversations/{conversationId} response.
I assume that participantMetrics was added to the API endpoint response, but they forgot to add it in the API endpoint description.
I don't have experience with the .Net SDK so I don't know if it is possible to get access to the raw data of the response (till this is fixed).

Regards,

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