Skip to main content

GetDocClusterTask

Retrieves the result of a content aggregation 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

Authorization information

The following table describes the authorization information of this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details:
  • Action: the specific permission point.
  • Access level: the access level of each operation. Valid values: Write, Read, or List.
  • Resource type: the resource types that support authorization for the operation. Details:
    • For required resource types, an asterisk (*) is prefixed.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Dependent action: the other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetDocClusterTaskget
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

The unique identifier of the workspace: AgentKey

xxxxx_p_efm
TaskIdstringYes

The unique ID of the task

Note You do not need to specify TaskId by default. The system automatically generates it. When the TaskId specified for subsequent tasks is the same, these tasks belong to the same conversation group.
93771c8e1142467fb1aedf1763feba1e

Response parameters

NameTypeDescriptionExample value
object

PlainResult

Codestring

The status code

NoData
Dataobject

The business data

ErrorMessagestring

The error message

Error message
Statusstring

The task status (PENDING: pending, RUNNING: running, SUCCESSED: succeeded, SUSPENDED: suspended, FAILED: failed, CANCELED: canceled)

PENDING
Topicsarray<object>

The list of clustering topics

Topicobject

The hot spot event object

DocIdsarray

The list of document IDs under the clustering topic

DocIdstring

The document ID

xxxxx
Summarystring

The summary of the clustering topic

Summary of the clustering topic
Titlestring

The name of the clustering topic

Name of the clustering topic
HttpStatusCodeinteger

The HTTP status code

200
Messagestring

The error description

success
RequestIdstring

The unique ID of the request

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

Whether the request is successful: true indicates success, false indicates failure

true

Examples

Normal response example JSON format
{
  "Code": "NoData",
  "Data": {
    "ErrorMessage": "错误信息",
    "Status": "PENDING",
    "Topics": [
      {
        "DocIds": [
          "xxxxx"
        ],
        "Summary": "聚类主题摘要",
        "Title": "聚类主题名"
      }
    ]
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.