API overview
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 |
|---|---|---|
| RunCompletion | Call a Tongyi Xiaomi CCAI Conversation Analysis AIO application by template ID | Supports 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. |
| RunCompletionMessage | Call a Tongyi Xiaomi CCAI Conversation Analysis AIO application with a native prompt | Supports 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. |
| AnalyzeConversation | Call a Tongyi Xiaomi CCAI Conversation Analysis AIO application by task type | Obtains 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. |
| CreateTask | Analyze conversations with Tongyi Xiaomi CCAI by uploading offline task data | Creates an offline asynchronous task for conversation analysis. Applications support HTTP calls to complete client responses. |
| GetTaskResult | Get offline task analysis results by task ID | Retrieves offline task conversation analysis results by task ID. Applications support HTTPS calls to complete client responses. |
| AnalyzeImage | Image content analysis | Performs 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. |
| GeneralAnalyzeImage | General image analysis | General image analysis. |
Hotword management
API | Title | API overview |
|---|---|---|
| CreateVocab | Create hotwords | Uploads a set of speech hotwords to the server and returns the hotword ID. |
| UpdateVocab | Modify hotwords | Updates the vocabulary that corresponds to a vocabulary ID, including the vocabulary name, description, words, and weights. |
| ListVocab | List hotwords | Lists the hotword vocabularies in a specified workspace. |
| DeleteVocab | Delete hotwords | Deletes the vocabulary that corresponds to a vocabulary ID. |
| GetVocab | Get hotwords | Retrieves the vocabulary information that corresponds to a vocabulary ID. |
Not recommended or allowlist access
API | Title | API overview |
|---|---|---|
| AnalyzeAudioSync | Real-time audio file analysis | Performs real-time conversation analysis on audio files. Applications support HTTPS calls to complete client responses. |