API overview

Updated at:

API standards and multilingual SDKs

The OpenAPI of this product (ContactCenterAI/2024-06-03) uses the ROA signing style. We have already wrapped the OpenAPI of this product in SDKs for common programming languages. You can download an SDK to call the OpenAPI of this product directly without worrying about technical details. If the existing SDKs do not meet your requirements, you can integrate by signing requests yourself. Since self-signing involves highly complex details, it takes approximately 5 business days. Therefore, we recommend joining our DingTalk support group (147535001692) to complete signing integration under expert guidance.

Before you use the API, you need to prepare an account and an AccessKey pair so that you can access the API through client tools such as SDKs and CLIs. For more information, see Create an AccessKey pair.

Custom signing scenarios

If your business scenario has special requirements and you need to integrate with the API by signing requests yourself, we recommend consulting our technical support team first (DingTalk support group: 147535001692) for professional guidance to ensure efficient integration.

Account and security preparation

An Alibaba Cloud account has full administrative permissions on all resources. Once an AccessKey is leaked, all related resources are exposed to the risk of unauthorized access. To ensure security, we recommend creating a RAM user with only API access permissions, configuring its AccessKey, and configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where its permissions are explicitly required.

API catalog

API

Title

API overview

RunCompletionCall a Tongyi Xiaomi CCAI Conversation Analysis AIO application by template IDSupports calling a Tongyi Xiaomi CCAI Conversation Analysis AIO application to obtain conversation summaries, key information extraction, quality inspection results, and conversation analysis results. Applications support HTTP calls to complete client responses. Both standard HTTP and HTTP SSE protocols are currently available, and you can choose based on your needs.
RunCompletionMessageCall a Tongyi Xiaomi CCAI Conversation Analysis AIO application with a native promptSupports calling a Tongyi Xiaomi CCAI Conversation Analysis AIO application in Message protocol format to obtain conversation summaries, key information extraction, quality inspection results, and conversation analysis results. Applications support HTTP calls to complete client responses. Both standard HTTP and HTTP SSE protocols are currently available, and you can choose based on your needs.
AnalyzeConversationCall a Tongyi Xiaomi CCAI Conversation Analysis AIO application by task typeObtains conversation analysis results such as conversation summaries, title generation, keywords, field information extraction, issues and solutions, service quality inspection, to-do items, satisfaction, sentiment detection, Q&A extraction, user profiles, and label classification. Applications support HTTP calls to complete client responses.
CreateTaskAnalyze conversations with Tongyi Xiaomi CCAI by uploading offline task dataCreates an offline asynchronous task for conversation analysis. Applications support HTTP calls to complete client responses.
GetTaskResultGet offline task analysis results by task IDRetrieves offline task conversation analysis results by task ID. Applications support HTTPS calls to complete client responses.
AnalyzeImageImage content analysisPerforms image content analysis with a Tongyi Xiaomi CCAI Conversation Analysis AIO application. Specific scenarios include watermark detection. Applications support HTTP calls to complete client responses.
GeneralAnalyzeImageGeneral image analysisGeneral image analysis.

Hotword management

API

Title

API overview

CreateVocabCreate hotwordsUploads a set of speech hotwords to the server and returns the hotword ID.
UpdateVocabModify hotwordsUpdates the vocabulary that corresponds to a vocabulary ID, including the vocabulary name, description, words, and weights.
ListVocabList hotwordsLists the hotword vocabularies in a specified workspace.
DeleteVocabDelete hotwordsDeletes the vocabulary that corresponds to a vocabulary ID.
GetVocabGet hotwordsRetrieves the vocabulary information that corresponds to a vocabulary ID.

API

Title

API overview

AnalyzeAudioSyncReal-time audio file analysisPerforms real-time conversation analysis on audio files. Applications support HTTPS calls to complete client responses.