Cancels a deep writing task.
Debug
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.
Debug
RAM authorization
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 a RAM user or RAM role the permission to call this API. Details:
- Action: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, and List.
-
Resource type: the resource types that support authorization for the operation. Details:
- Required resource types are marked with an asterisk (*).
- For operations 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 operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:CancelDeepWriteTask | update | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-xxxxx | |
| 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 succeeded | true |
| Code | string | Error code | DataNotExists |
| Message | string | Error message | Error message |
| HttpStatusCode | integer | HTTP status code | 400 |
| Data | object | Task response object | |
| TaskId | string | Task ID | xbabac91-fdad-44d6-95ce-****** |
| Input | string | User query | Beijing 2025 new energy vehicle development trends |
| Status | string | Task status Valid values:
| cancelled |
Examples
Success response
JSON format