You can submit a deep writing task. You can provide information such as questions, instructions, and attachments, based on the topic you want to research or analyze. The system schedules and executes this task in the background.
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 resourcesis 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.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:SubmitDeepWriteTask | create | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-1setzb9xb8m11vrc | |
| Input | string | Yes | The user's question. | Beijing 2025 new energy vehicle development trends |
| Instructions | string | No | The instructions. | Please analyze Beijing new energy vehicles in terms of car brands, new car releases, energy, etc. |
| Files | array<object> | No | A list of attachments. | |
| object | No | |||
| FileKey | string | No | The Object Storage Service (OSS) address of the attachment. | oss://default/aimiaobi-poc/aimiaobi/deep-write-upload/1_1/xxx.txt |
| FileDescription | string | No | A description of the attachment. | Attachment description |
| FileName | string | No | The name of the attachment. | Attachment name |
| AgentOrchestration | object | No | The agent orchestration options. | |
| DataCollectorAgent | object | No | The data collection agent. | |
| Name | string | No | The name. | DataCollectorAgent |
| DataAnalystAgent | object | No | The data analysis agent. | |
| Name | string | No | The name. | DataAnalystAgent |
| EnableSearch | boolean | No | Specifies whether to enable retrieval. | true |
| ReporterAgent | object | No | The reporter agent. | |
| Name | string | No | The name. | ReporterAgent |
| EnableCitation | boolean | No | Specifies whether to enable citations. |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | xxxxx |
| Success | boolean | Indicates whether the request was successful. | true |
| Code | string | The error code. | DataNotExists |
| Message | string | The error message. | Error message |
| HttpStatusCode | integer | The HTTP status code. | 400 |
| Data | object | The task response object. | |
| TaskId | string | The task ID. | xbabac91-fdad-44d6-95ce-****** |
| Status | string | The status of the task. Valid values:
| queued |
Examples
Success response
JSON format