GetEnterpriseVocAnalysisTask

Updated at:

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.

Try it now

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 Resources is 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.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetEnterpriseVocAnalysisTaskget
*All Resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringYes

The unique identifier of the Alibaba Cloud Model Studio workspace: obtain the workspace ID (Workspace ID)

xxxx
TaskIdstringYes

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

ElementTypeDescriptionExample
object

PlainResult

Codestring

The status code.

NoData
Dataobject

The result of the enterprise VOC analysis.

StatisticsOverviewobject

The statistics overview.

Countinteger

The total number of analyzed data entries.

100
TagDimensionStatisticsobject

The statistics of content tags.

TagValueCountStatisticarray<object>

The statistics of tag value counts.

tagValueCountStatisticobject
TagNamestring

The tag name.

xxx
TagTaskTypestring

The type of the tag mining task. Valid values: singleTagValue (single tag), multiTagValues (multiple tags), and summaryAndOverview (summary and overview).

multiTagValues
ValueCountinteger

The number of tag values.

100
FilterDimensionStatisticsobject

The statistics of filter tags.

TagValueCountStatisticarray<object>

The statistics of tag value counts.

tagValueCountStatisticobject
TagNamestring

The tag name.

xxx
TagTaskTypestring

The type of the tag mining task. Valid values: singleTagValue (single tag), multiTagValues (multiple tags), and summaryAndOverview (summary and overview).

multiTagValues
ValueCountinteger

The number of tag values.

100
Usageobject

The usage statistics.

OutputTokenslong

The number of output tokens.

100
InputTokenslong

The number of input tokens.

200
Statusstring

The status of the task. Valid values: PENDING (pending), RUNNING (running), SUCCESSED (successful), FAILED (failed), and CANCELED (canceled).

SUCCESSED
ErrorMessagestring

The error message.

error
HttpStatusCodeinteger

The HTTP status code.

200
Messagestring

The error description.

success
RequestIdstring

The unique ID of the request.

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Indicates whether the request is successful. true indicates success and false indicates failure.

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.