Skip to main content

SubmitCustomTopicSelectionPerspectiveAnalysisTask

Submits a custom analysis task to analyze hot topic perspectives.

Debug

You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples. Debug

Authorization information

The following table describes the authorization information for 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 are as follows:
  • Action: the specific permission point.
  • Access level: the access level of each action. Valid values: Write, Read, or List.
  • Resource type: the resource types that support authorization for the action. Details are as follows:
    • For required resource types, an asterisk (*) is added as a prefix.
    • For actions that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.
ActionAccess levelResource typeCondition keyRelated action
aimiaobi:SubmitCustomTopicSelectionPerspectiveAnalysisTaskcreate
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier of the business space: AgentKey

xxxxx_p_efm
Documentsarray<object>No

The list of documents to be analyzed.

DocumentobjectNo
AuthorstringNo

Author

Author
ContentstringYes

Content

Article content
PubTimestringNo

Publication time. Format: YYYY-MM-dd HH:mm:ss

2024-01-22 10:29:00
SourcestringNo

The source of the article

Sina
SummarystringNo

Summary

Article summary
TitlestringNo

Title

Article title
UrlstringNo

Article URL

https://www.example.com/aaa.docx
TopicstringNo

The name of the topic to be analyzed

The topic name to be analyzed (at least one of documents or topic must be provided)
PromptstringYes

The input prompt for custom perspectives

The input prompt for custom perspectives

Response parameters

NameTypeDescriptionExample value
object

PlainResult

Codestring

Status code

NoData
Dataobject

Business data

TaskIdstring

Unique task ID

3f7045e099474ba28ceca1b4eb6d6e21
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
RequestIdstring

Unique request ID

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

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

true

Examples

Success response JSON format
{
  "Code": "NoData",
  "Data": {
    "TaskId": "3f7045e099474ba28ceca1b4eb6d6e21"
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.