Skip to main content

GetTopicSelectionPerspectiveAnalysisTask

Retrieves the result of a topic selection perspective analysis task.

Try it now

You can run this API directly in OpenAPI Explorer, which saves you the trouble of calculating signatures. After the API runs successfully, OpenAPI Explorer can automatically generate SDK code examples. Debug

RAM authorization

The following table describes the authorization information of this API. You can use the Action element in RAM permission policy statements to grant RAM users or RAM roles the permission to call this API. Details:
  • Operation: 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:
    • Required resource types are marked with a leading asterisk (*).
    • 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 operation: other permissions required to successfully perform the operation. The caller must also have the permissions of the dependent operations for the operation to succeed.
OperationAccess levelResource typeCondition keyDependent operation
aimiaobi:GetTopicSelectionPerspectiveAnalysisTaskget
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

The unique identifier of the workspace: AgentKey

xxxxx_p_efm
TaskIdstringNo

The unique ID of the task.

Note By default, you do not need to specify TaskId. The system automatically generates one. If subsequent tasks use the same TaskId, the tasks belong to the same conversation group.
c9f226b02cca4f42a84c5e955c39dfd2

Response elements

NameTypeDescriptionExample value
object

PlainResult

Codestring

The status code.

NoData
Dataobject

The business data.

ErrorMessagestring

The error message.

Error message
FreshViewPointsResultobject

The analysis result of novel topic selection perspectives.

Attitudesarray<object>

A list of viewpoints of novel topic selection perspectives.

Attitudeobject
Attitudestring

The current viewpoint.

Current viewpoint
AttitudeTypestring

The type of the viewpoint.

Viewpoint type
Ratiostring

The proportion of the current viewpoint.

Proportion of the current viewpoint
ViewPointsarray<object>

A list of topic selection perspectives.

ViewPointobject
Outlinesarray<object>

The outline.

Outlineobject

A list of outlines.

Outlinestring

The outline.

Outline
Summarystring

The summary of the outline.

Outline summary
Pointstring

The generated perspective.

Perspective
Summarystring

The summary.

Summary
HotViewPointsResultobject

The analysis result of hot topic selection perspectives.

Attitudesarray<object>

A list of viewpoints of hot topic selection perspectives.

Attitudeobject

A list of viewpoints of hot topic selection perspectives.

Attitudestring

The current viewpoint.

Current viewpoint
AttitudeTypestring

The type of the viewpoint.

Viewpoint type
Newsarray<object>

A list of related news.

Newobject

A news object.

Contentstring

The news content.

Content
DocIdstring

The custom unique ID of the document.

9957175DEDCF49C5ACF7A956B4FD67B2
DocUuidstring

The unique ID of the article.

"123456"
ImageUrlsarray

The URLs of the images used in the article.

ImageUrlstring

The external link of an image in the article.

https://www.example.com/aaa.png
Sourcestring

The source of the news.

Quark
Summarystring

The summary of the news.

News summary
Tagsarray

The tags.

Tagstring

The tags of the article.

["Tag1","Tag2"]
Titlestring

The title of the news.

News title
Topicstring

The topic of the article.

Article topic
Urlstring

The URL link.

http://www.example.com
CreateTimestring

The creation time.

2024-05-08 02:23:01
PubTimestring

The publication time.

2024-05-08 02:23:02
Ratiostring

The proportion of the current viewpoint.

Proportion of the current viewpoint
ViewPointsarray<object>

A list of topic selection perspectives.

ViewPointobject
Outlinesarray<object>

The outline.

Outlineobject

An outline object.

Outlinestring

The outline.

Outline
Summarystring

The summary of the outline.

Outline summary
Pointstring

The generated perspective.

Perspective
Summarystring

The summary.

Summary
Statusstring

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

SUSPENDED
TimedViewPointsResultobject

The analysis result of time-sensitive topic selection perspectives.

Attitudesarray<object>

A list of viewpoints of time-sensitive topic selection perspectives.

Attitudeobject

A viewpoint object.

Attitudestring

The current viewpoint.

Current viewpoint
AttitudeTypestring

The type of the viewpoint.

Viewpoint type
PubTimestring

The publication time.

2024-01-22 10:29
Ratiostring

The proportion of the current viewpoint.

Proportion of the current viewpoint
Sourcestring

The source of the news.

Sina
Titlestring

The current viewpoint, which is equivalent to the news title.

Title
Urlstring

The news URL.

http://www.example.com/news/1.html
ViewPointsarray<object>

A list of topic selection perspectives.

ViewPointobject

A perspective object.

Outlinesarray<object>

The outline.

Outlineobject

An outline object.

Outlinestring

The outline.

Outline
Summarystring

The summary of the outline.

Outline summary
Pointstring

The generated perspective.

Perspective
Summarystring

The summary.

Summary
Topicstring

The hot spot topic event.

Hot spot topic event
TopicSummaryResultobject

The summary of the hot spot topic event.

Summariesarray<object>

A list of summaries.

Summarieobject

A summary object.

DocListarray<object>

The articles referenced to generate the summary of this title.

DocListobject

An article object.

Sourcestring

The source of the article.

Toutiao
Titlestring

The title of the article.

Title
Urlstring

The URL of the article.

http://www.example.com
Summarystring

The summary.

Summary
Titlestring

The title.

Title
WebReviewPointsResultobject

The analysis result of online review topic selection perspectives.

Attitudesarray<object>

A list of viewpoints of online review topic selection.

Attitudeobject
Attitudestring

The current viewpoint.

Current viewpoint
AttitudeTypestring

The type of the viewpoint.

Viewpoint type
Commentsarray<object>

A list of user comments.

Commentobject

An object.

Sourcestring

The source.

Source
Textstring

The content.

Content
Titlestring

The title.

Title
Urlstring

The URL that the comment belongs to.

Current URL
Usernamestring

The username.

Username
Ratiostring

The proportion of the current viewpoint.

Proportion of the current viewpoint
ViewPointsarray<object>

A list of topic selection perspectives.

ViewPointobject
Outlinesarray<object>

The outline.

Outlineobject

An outline object.

Outlinestring

The outline.

Outline
Summarystring

The summary of the outline.

Outline summary
Pointstring

The generated perspective.

Perspective
Summarystring

The summary.

Summary
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. The value true indicates success, and the value false indicates failure.

true

Examples

Success response JSON format
{
  "Code": "NoData",
  "Data": {
    "ErrorMessage": "错误信息",
    "FreshViewPointsResult": {
      "Attitudes": [
        {
          "Attitude": "当前观点",
          "AttitudeType": "观点类型",
          "Ratio": "当前观点占比",
          "ViewPoints": [
            {
              "Outlines": [
                {
                  "Outline": "大纲",
                  "Summary": "大纲摘要"
                }
              ],
              "Point": "视角",
              "Summary": "摘要"
            }
          ]
        }
      ]
    },
    "HotViewPointsResult": {
      "Attitudes": [
        {
          "Attitude": "当前观点",
          "AttitudeType": "观点类型",
          "News": [
            {
              "Content": "Content",
              "DocId": "9957175DEDCF49C5ACF7A956B4FD67B2",
              "DocUuid": 123456,
              "ImageUrls": [
                "https://www.example.com/aaa.png"
              ],
              "Source": "夸克",
              "Summary": "新闻摘要",
              "Tags": [
                [
                  "标签1",
                  "标签2"
                ]
              ],
              "Title": "新闻标题",
              "Topic": "文章主题",
              "Url": "http://www.example.com",
              "CreateTime": "2024-05-08 02:23:01",
              "PubTime": "2024-05-08 02:23:02"
            }
          ],
          "Ratio": "当前观点占比",
          "ViewPoints": [
            {
              "Outlines": [
                {
                  "Outline": "大纲",
                  "Summary": "大纲摘要"
                }
              ],
              "Point": "视角",
              "Summary": "摘要"
            }
          ]
        }
      ]
    },
    "Status": "SUSPENDED",
    "TimedViewPointsResult": {
      "Attitudes": [
        {
          "Attitude": "当前观点",
          "AttitudeType": "观点类型",
          "PubTime": "2024-01-22 10:29",
          "Ratio": "当前观点占比",
          "Source": "新浪",
          "Title": "标题",
          "Url": "http://www.example.com/news/1.html",
          "ViewPoints": [
            {
              "Outlines": [
                {
                  "Outline": "大纲",
                  "Summary": "大纲摘要"
                }
              ],
              "Point": "视角",
              "Summary": "摘要"
            }
          ]
        }
      ]
    },
    "Topic": "热点主题事件",
    "TopicSummaryResult": {
      "Summaries": [
        {
          "DocList": [
            {
              "Source": "头条",
              "Title": "标题",
              "Url": "http://www.example.com"
            }
          ],
          "Summary": "摘要",
          "Title": "标题"
        }
      ]
    },
    "WebReviewPointsResult": {
      "Attitudes": [
        {
          "Attitude": "当前观点",
          "AttitudeType": "观点类型",
          "Comments": [
            {
              "Source": "来源",
              "Text": "内容",
              "Title": "标题",
              "Url": "当前所属的URL",
              "Username": "用户名"
            }
          ],
          "Ratio": "当前观点占比",
          "ViewPoints": [
            {
              "Outlines": [
                {
                  "Outline": "大纲",
                  "Summary": "大纲摘要"
                }
              ],
              "Point": "视角",
              "Summary": "摘要"
            }
          ]
        }
      ]
    }
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.