DashscopeAsyncTaskFinishEvent
A callback event that indicates the completion of a Dashscope asynchronous task.
Try it now
You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer automatically generates SDK code examples.
RAM authorization
The following table lists the authorization information of this API. You can use the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details:
-
Operation: the specific permission point.
-
Access level: the access level of each operation, which can be Write, Read, or List.
-
Resource type: the resource types supported for authorization in this operation. Details:
- Required resource types are marked with a preceding *.
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of the related operations at the same time for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| dianjin:DashscopeAsyncTaskFinishEvent | none | *All resources * |
| None |
Request syntax
POST /{workspaceId}/event/dashscopeAsyncTaskFinish HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| X-Load-Test | boolean | No | Indicates whether the request is part of a stress test | |
| workspaceId | string | Yes | Workspace ID | llm-xxx |
| body | object | No | Request body parameters | |
| any | No | Request body parameters | {} |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | WanProdResponse | ||
| code | string | Return code | 0 |
| message | string | Return message | Success |
| success | boolean | Indicates whether the operation succeeded | |
| retryAble | boolean | Indicates whether the operation can be retried |
Examples
Success response
JSON format
{
"code": 0,
"message": "成功",
"success": true,
"retryAble": true
}
Error codes
Visit the Error Center for more error codes.
Release notes
| Change time | Change summary | Operation |
|---|---|---|
| 2025-12-30 | New OpenAPI | View change details |