Skip to main content

GetDeepWriteTaskResult

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 Resources is 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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetDeepWriteTaskResultget
*All Resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringNollm-1setzb9xb8m11vrc
TaskIdstringNo

Task ID

xbabac91-fdad-44d6-95ce-******

Response elements

ElementTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

xxxxx
Successboolean

Indicates whether the request was successful.

Codestring

Error code.

DataNotExists
Messagestring

Error message.

Error message
HttpStatusCodeinteger

HTTP status code.

400
Dataobject

The task response object.

TaskIdstring

Task ID

f8707efa-c30e-407f-a611-50871aa68952
ArtifactUrlstring

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
{
  "RequestId": "xxxxx",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "Error message",
  "HttpStatusCode": 400,
  "Data": {
    "TaskId": "f8707efa-c30e-407f-a611-50871aa68952",
    "ArtifactUrl": "https://aimiaobi-service-pre-hangzhou.oss-cn-hangzhou.aliyuncs.com/aimiaobi/deep-write-workspace/142***1/dbaaebd1-eb1b-41e8-9b99-******-result.zip?Expire=1111"
  }
}

Error codes

Visit the Error Center to view more error codes.