GetEnterpriseVocAnalysisTask
Retrieves the result of an enterprise Voice of the Customer (VOC) analysis task.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table describes the authorization information of the API. You can use the Action element in RAM policy statements to grant RAM users or RAM roles the permissions to call this API. For more information:
-
Action: The specific permission point.
-
Access level: The access level of each action. Valid values: Write, Read, and List.
-
Resource type: The resource types that support authorization for the action. For more information:
- Required resource types are marked with an asterisk (*).
- For operations that do not support resource-level authorization,
All Resourcesis used.
-
Condition key: The condition keys defined by the cloud service.
-
Dependent action: The other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions for the action to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetEnterpriseVocAnalysisTask | get | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique identifier of the Alibaba Cloud Model Studio workspace: obtain the workspace ID (Workspace ID) | xxxx |
| TaskId | string | Yes | The unique ID of the task. Note You do not need to specify TaskId by default. The system automatically generates a TaskId. If the same TaskId is specified for subsequent tasks, the tasks belong to the same conversation group. | xxx |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | The status code. | NoData |
| Data | object | The result of the enterprise VOC analysis. | |
| StatisticsOverview | object | The statistics overview. | |
| Count | integer | The total number of analyzed data entries. | 100 |
| TagDimensionStatistics | object | The statistics of content tags. | |
| TagValueCountStatistic | array<object> | The statistics of tag value counts. | |
| tagValueCountStatistic | object | ||
| TagName | string | The tag name. | xxx |
| TagTaskType | string | The type of the tag mining task. Valid values: | multiTagValues |
| ValueCount | integer | The number of tag values. | 100 |
| FilterDimensionStatistics | object | The statistics of filter tags. | |
| TagValueCountStatistic | array<object> | The statistics of tag value counts. | |
| tagValueCountStatistic | object | ||
| TagName | string | The tag name. | xxx |
| TagTaskType | string | The type of the tag mining task. Valid values: | multiTagValues |
| ValueCount | integer | The number of tag values. | 100 |
| Usage | object | The usage statistics. | |
| OutputTokens | long | The number of output tokens. | 100 |
| InputTokens | long | The number of input tokens. | 200 |
| Status | string | The status of the task. Valid values: | SUCCESSED |
| ErrorMessage | string | The error message. | error |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error description. | success |
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request is successful. | true |
Examples
Success response
JSON format
{
"Code": "NoData",
"Data": {
"StatisticsOverview": {
"Count": 100,
"TagDimensionStatistics": {
"TagValueCountStatistic": [
{
"TagName": "xxx",
"TagTaskType": "multiTagValues",
"ValueCount": 100
}
]
},
"FilterDimensionStatistics": {
"TagValueCountStatistic": [
{
"TagName": "xxx",
"TagTaskType": "multiTagValues",
"ValueCount": 100
}
]
}
},
"Usage": {
"OutputTokens": 100,
"InputTokens": 200
},
"Status": "SUCCESSED",
"ErrorMessage": "error"
},
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true
}
Error codes
Visit the Error Center to view more error codes.