GetEnterpriseVocAnalysisTask - Get enterprise VOC analysis results

Updated at:

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.

Try it out

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.

OperationAccess levelResource typeCondition keyDependent action
quanmiaolightapp:GetEnterpriseVocAnalysisTaskget
*All resources
*
    None
None

Request syntax

GET /{workspaceId}/quanmiao/lightapp/getEnterpriseVocAnalysisTask HTTP/1.1

Request parameters

NameTypeRequiredDescriptionExample value
workspaceIdstringNo

The unique Alibaba Cloud Model Studio workspace ID: Obtain workspaceId

llm-xxx
taskIdstringNo

The task ID.

a3d1c2ac-f086-4a21-9069-f5631542f5a2

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

requestIdstring

Id of the request

117F5ABE-CF02-5502-9A3F-E56BC9081A64
codestring

The error code.

NoPermission
httpStatusCodeinteger

The HTTP status code.

403
messagestring

The message returned when the response fails.

You do not have permission to access this operation.
successboolean

true: the operation succeeded. false: the operation failed.

false
dataobject

The result object.

statusstring

The task status (PENDING: pending execution, RUNNING: in progress, SUCCESSED: succeeded, FAILED: failed, CANCELED: canceled)

PENDING
errorMessagestring

The error message.

The task error message.
usageobject

The usage statistics.

outputTokensinteger

The number of output tokens.

2
inputTokensinteger

The number of input tokens.

1
statisticsOverviewobject

The statistics overview.

countinteger

The total number of analyzed records.

17
tagDimensionStatisticsobject

The tag statistics.

tagValueCountStatisticarray<object>

The tag value count statistics.

tagValueCountStatisticobject

The tag value count statistics.

tagNamestring

The tag name.

The tag name.
valueCountinteger

The number of tag values.

10
filterDimensionStatisticsobject

The filtered tag statistics.

tagValueCountStatisticarray<object>

The tag value count statistics.

tagValueCountStatisticobject

The tag value count statistics.

tagNamestring

The tag name.

The tag name.
valueCountinteger

The number of tag values.

10
modelIdstring

The ID of the model used.

qwen-max
modelNamestring

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 codeError codeError messageDescription
403NoPermissionYou 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.