Generative AI

Generative AI API Endpoint Details

Each of the Generative AI endpoints utilize the unique interactionIdentifier returned upon successful declaration of the audio, transcript, or chat interaction.

NOTE: Audio interactions must have completed processing before the Generative AI Endpoints can provide success responses. Attempting to make a request prior to the completed processing of an audio interaction will result in an error response. Chats and Transcripts allow for immediate access to Generative AI end points after declaration.

The Generative AI REST API calls are all similar in format. For details on that format, please see the Making API Requests for Generative AI Results page. Unsuccessful response codes are documented on that page as well.

Following is a guide to using these features:

// CX Generative AI API Features

Summary

Description: Retrieves a summary of the interaction between the agent and customer.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/summary

Successful Response


Summary Details

Description: Summarizes additional details about the interaction including the reason(s) for the interaction, actions taken, entities mentioned and whether resolution was reached.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/summary/details

Successful Response


Agent Action Items

Description: Provides details about the actions taken by the agent over the course of the interaction.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/agent/action-items

Successful Response


Agent Coaching Assistant

Description: Provides insight into behaviors and actions the agent should have portrayed in order to have been more a successful interaction with this customer.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/agent/coaching-assistant

Successful Response


Topics

Description: Provides a list of the topics that were discussed during the interaction.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/topics

Successful Response


Conversation Composition

Description: Provides a list of concerns that were raised by the customer, the actions taken to resolve each concern and the resolution status of each.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/conversation-composition

Successful Response


Ask ElevateAI

Description: Allows you to ask questions about an interaction. A single question (up to 250 characters) is asked in the request body of the POST method. The answer to the question is returned in the response. Up to a maximum of 5 successful questions or 5 error responses are allowed per interaction.

This endpoint also supports a GET method which returns all of the prior question & answer pairs for this interaction (including failed questions and responses).

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/ask

POST Request Body
POST Successful Response
GET Successful Response


// Generic (non-CX) Generative AI API Features

Summary

Description: Retrieves a summary of the interaction.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/summary

Successful Response


Summary Details

Description: Summarizes the entities mentioned within the interaction.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/summary/details

Successful Response


Action Items

Description: Describes the action items which were raised during the interaction.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/action-items

Successful Response


Topics

Description: Returns a list of topics that were discussed during the interaction.

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/topics

Successful Response


Ask ElevateAI

Description: Allows you to ask questions about an interaction. A single question (up to 250 characters) is asked in the request body of the POST method. The answer to the question is returned in the response. Up to a maximum of 5 successful questions or 5 error responses are allowed per interaction.

This endpoint also supports a GET method which returns all of the prior question & answer pairs for this interaction (including failed questions and responses).

Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/ask

POST Request Body
POST Successful Response
GET Successful Response


For any further assistance or inquiries, please contact our support team here.