Skip to main content

GetCustomTopicSelectionPerspectiveAnalysisTask

Retrieve the result of a custom topic selection perspective 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

Authorization information

The following table describes the authorization information of the API. You can use it in the Action element of a RAM permission policy statement to grant RAM users or RAM roles the permission to call this API. For more information, see the following:
  • 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 in the operation. For more information, see the following:
    • Required resource types are marked with a leading *.
    • 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 the dependent actions at the same time for the operation to succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetCustomTopicSelectionPerspectiveAnalysisTaskget
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier of the workspace: AgentKey

xxxxx_p_efm
TaskIdstringYes

Unique ID of the task.

Note You do not need to specify TaskId by default. The system generates it automatically. When the TaskId of subsequent tasks is the same, these tasks belong to the same conversation group.
0dbf1055f8a2475d99904c3b76a0ffba

Response elements

NameTypeDescriptionExample value
object

PlainResult

Codestring

Status code

NoData
Dataobject

Business data

CustomViewPointsResultobject

Result of the custom topic selection analysis task

Attitudesarray<object>

List of custom viewpoints. By default, one viewpoint is generated based on the prompt input.

Attitudeobject
Attitudestring

Current viewpoint

Current viewpoint
AttitudeTypestring

Viewpoint type

Viewpoint type
Ratiostring

Proportion of the current viewpoint

Proportion of the current viewpoint
ViewPointsarray<object>

List of topic selection perspectives

ViewPointobject
Outlinesarray<object>

Outline

Outlineobject
Outlinestring

Outline

Outline
Summarystring

Outline summary

Outline summary
Pointstring

Generated perspective

Perspective
Summarystring

Summary

Summary
Topicstring

Hot topic event

Hot topic event
ErrorMessagestring

Error message

Error message
Statusstring

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

FAILED
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
RequestIdstring

Unique request identifier

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

Indicates success: true for success, false for failure

true

Examples

Success response JSON format
{
  "Code": "NoData",
  "Data": {
    "CustomViewPointsResult": {
      "Attitudes": [
        {
          "Attitude": "当前观点",
          "AttitudeType": "观点类型",
          "Ratio": "当前观点占比",
          "ViewPoints": [
            {
              "Outlines": [
                {
                  "Outline": "大纲",
                  "Summary": "大纲摘要"
                }
              ],
              "Point": "视角",
              "Summary": "摘要"
            }
          ]
        }
      ],
      "Topic": "热点主题事件"
    },
    "ErrorMessage": "错误信息",
    "Status": "FAILED"
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.