Queries the result of a deep writing task. If the task is not complete, the operation returns its current status—such as queued, running, failed, or canceled. If the task is complete, the operation returns a URL that points to a compressed package of the task output that you can download.
Try it now
You can run this API directly in OpenAPI Explorer without having to calculate signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
RAM authorization
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. For more information, see the following descriptions:
- 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 in the action. For more information, see the following descriptions:
- For required resource types, an asterisk (*) is prefixed.
- For actions that do not support resource-level authorization,
All Resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent action: other permissions required to successfully perform the action. The operator must have the permissions of all dependent actions for the action to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetDeepWriteTaskResult | get | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-1setzb9xb8m11vrc | |
| TaskId | string | No | Task ID | xbabac91-fdad-44d6-95ce-****** |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | xxxxx |
| Success | boolean | Indicates whether the request was successful. | |
| Code | string | Error code. | DataNotExists |
| Message | string | Error message. | Error message |
| HttpStatusCode | integer | HTTP status code. | 400 |
| Data | object | The task response object. | |
| TaskId | string | Task ID | f8707efa-c30e-407f-a611-50871aa68952 |
| ArtifactUrl | string | The download URL of the task result. | https://aimiaobi-service-pre-hangzhou.oss-cn-hangzhou.aliyuncs.com/aimiaobi/deep-write-workspace/142***1/dbaaebd1-eb1b-41e8-9b99-******-result.zip?Expire=1111 |
Examples
Success response
JSON format