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:
Description: Retrieves a summary of the interaction between the agent and customer.
Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/summary
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
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
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
Description: Provides a list of the topics that were discussed during the interaction.
Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/cx/topics
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
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
Description: Retrieves a summary of the interaction.
Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/summary
Description: Summarizes the entities mentioned within the interaction.
Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/summary/details
Description: Describes the action items which were raised during the interaction.
Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/action-items
Description: Returns a list of topics that were discussed during the interaction.
Endpoint: /v1/interactions/{interactionIdentifier:guid}/gen-ai/topics
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
For any further assistance or inquiries, please contact our support team here.