GetEnterpriseVocAnalysisTask - Get enterprise VOC analysis results
Retrieves enterprise VOC analysis task results.
Try it out
You can call this operation in OpenAPI Explorer without calculating a signature. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information for this API operation. You can use this information in the Action element of a RAM policy statement to grant a RAM user or RAM role permission to call the operation. The columns are described as follows:
-
Operation: a specific permission.
-
Access level: the access level of an action. Valid values: Write, Read, and List.
-
Resource type: the types of resources for which the action supports authorization. Details are as follows:
- Required resource types are marked with an asterisk (*).
- Actions that do not support resource-level authorization use
All resources.
-
Condition key: a condition key defined by the cloud service.
-
Dependent action: an additional permission required to perform the action. The caller must also have permission to perform the dependent action.
| Operation | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| quanmiaolightapp:GetEnterpriseVocAnalysisTask | get | *All resources * |
| None |
Request syntax
GET /{workspaceId}/quanmiao/lightapp/getEnterpriseVocAnalysisTask HTTP/1.1
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| workspaceId | string | No | The unique Alibaba Cloud Model Studio workspace ID: Obtain workspaceId | llm-xxx |
| taskId | string | No | The task ID. | a3d1c2ac-f086-4a21-9069-f5631542f5a2 |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| requestId | string | Id of the request | 117F5ABE-CF02-5502-9A3F-E56BC9081A64 |
| code | string | The error code. | NoPermission |
| httpStatusCode | integer | The HTTP status code. | 403 |
| message | string | The message returned when the response fails. | You do not have permission to access this operation. |
| success | boolean | true: the operation succeeded. false: the operation failed. | false |
| data | object | The result object. | |
| status | string | The task status (PENDING: pending execution, RUNNING: in progress, SUCCESSED: succeeded, FAILED: failed, CANCELED: canceled) | PENDING |
| errorMessage | string | The error message. | The task error message. |
| usage | object | The usage statistics. | |
| outputTokens | integer | The number of output tokens. | 2 |
| inputTokens | integer | The number of input tokens. | 1 |
| statisticsOverview | object | The statistics overview. | |
| count | integer | The total number of analyzed records. | 17 |
| tagDimensionStatistics | object | The tag statistics. | |
| tagValueCountStatistic | array<object> | The tag value count statistics. | |
| tagValueCountStatistic | object | The tag value count statistics. | |
| tagName | string | The tag name. | The tag name. |
| valueCount | integer | The number of tag values. | 10 |
| filterDimensionStatistics | object | The filtered tag statistics. | |
| tagValueCountStatistic | array<object> | The tag value count statistics. | |
| tagValueCountStatistic | object | The tag value count statistics. | |
| tagName | string | The tag name. | The tag name. |
| valueCount | integer | The number of tag values. | 10 |
| modelId | string | The ID of the model used. | qwen-max |
| modelName | string | The name of the model used. | Qwen-Max |
Examples
Sample success response
JSON format
{
"requestId": "117F5ABE-CF02-5502-9A3F-E56BC9081A64",
"code": "NoPermission",
"httpStatusCode": 403,
"message": "无权限访问接口",
"success": false,
"data": {
"status": "PENDING",
"errorMessage": "任务错误消息\n\n",
"usage": {
"outputTokens": 2,
"inputTokens": 1
},
"statisticsOverview": {
"count": 17,
"tagDimensionStatistics": {
"tagValueCountStatistic": [
{
"tagName": "标签名称",
"valueCount": 10
}
]
},
"filterDimensionStatistics": {
"tagValueCountStatistic": [
{
"tagName": "标签名称\n",
"valueCount": 10
}
]
}
},
"modelId": "qwen-max",
"modelName": "千问-MAX"
}
}
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | You are not authorized to perform this action , Please check the assignment of the workspaceId. | Check the value of workspaceId. |
For more error codes, see Error Center.