GetInterveneImportTaskInfo
Gets information about an import task.
Try it now
You can run this API directly in OpenAPI Explorer, sparing you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table describes the authorization information for this API. You can use it in the Action element of a RAM permission policy statement to grant a RAM user or RAM role the permission to call this API. Details are as follows:
-
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 for the action. Details are as follows:
- Required resource types are marked with a leading *.
- 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: The other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions before the action can succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetInterveneImportTaskInfo | get | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | Workspace unique identifier: AgentKey | 67c520d1fa43455ea44fb69fa402d54d_p_beebot_public |
| TaskId | string | No | The unique identifier of the task Note You do not need to specify TaskId by default. The system generates it automatically. When the TaskId of subsequent tasks is the same, these tasks belong to the same conversation group. | 19162157 |
Response elements
| Name | Type | Description | Example |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | The status code. | 0 |
| Data | object | The business data. | |
| Status | object | The task status information. | |
| Msg | string | The task information. | success |
| Percentage | integer | The completion percentage. | 80 |
| Status | integer | The status of the task. Valid values:
| 0 |
| TaskId | string | The task ID. | 41405255 |
| TaskName | string | The task name. | ft-task-20190101m8rnK |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error description. | Success |
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request was successful: true for success, false for failure. | true |
Examples
Success response
JSON format
{
"Code": 0,
"Data": {
"Status": {
"Msg": "success",
"Percentage": 80,
"Status": 0,
"TaskId": 41405255,
"TaskName": "ft-task-20190101m8rnK"
},
"Code": 0
},
"HttpStatusCode": 200,
"Message": "Success",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true
}
Error codes
For more error codes, visit Error Center.