ListSubTasks
Retrieves subtask information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-aisc:ListSubTasks |
none |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RootTaskId |
string |
No |
The ID of the root task returned upon task submission. |
110146ac282314fe4f7cd11afc7540eb |
| TaskType |
string |
No |
The task type. |
SKILL_CHECK |
| CurrentPage |
integer |
No |
The current page number. |
1 |
| PageSize |
integer |
No |
The page size. |
10 |
| OnlyRunning |
boolean |
No |
Specifies whether to query only running subtasks. If set to true, all running subtasks of the current tenant are queried across root tasks. In this case, RootTaskId is not required. |
|
| ResourceDirectoryAccountId |
integer |
No |
The ID of the resource directory account. |
123456789 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
9FDE3D6F-26BD-5937-B0E5-8F47962B**** |
| Data |
array<object> |
The list of task results. |
|
|
array<object> |
The task result. |
||
| Id |
integer |
The task ID. |
4190063324899520 |
| TaskStatus |
string |
The task status. |
success |
| TaskResultMessage |
object |
The task result message. |
|
| SkillCheckResult |
object |
The Skill check task result. |
|
| RiskInfo |
array<object> |
The file check risk information. |
|
|
array<object> |
The list of risk details. |
||
| Path |
string |
The file path. |
/home/97e55e6af371836f/ |
| ResultType |
string |
The result type of the check. Valid values:
|
1 |
| Ext |
object |
The list of file check risks. |
|
| Virus |
array<object> |
The virus detection risk. |
|
|
object |
The list of risk details. |
||
| Ext |
string |
The extended information field, which is a reserved parameter. |
{} |
| Score |
integer |
The risk score. The maximum score is 100. |
100 |
| Type |
string |
The virus type. |
Backdoor |
| Guardrail |
object |
The security guardrail detection risk. |
|
| Suggestion |
string |
The handling suggestion. |
block |
| Detail |
array<object> |
The list of risk details. |
|
|
array<object> |
The risk details. |
||
| Level |
string |
The risk level. Valid values:
|
high |
| Suggestion |
string |
The handling suggestion. |
block |
| Type |
string |
The risk type. |
promptAttack |
| Result |
array<object> |
The list of result details. |
|
|
object |
The result details. |
||
| Confidence |
number |
The confidence level. Valid values: 0 to 100. |
25 |
| Description |
string |
The result description. |
Suspicious attacks. |
| Label |
string |
The label information. |
attack |
| Level |
string |
The risk level. Valid values:
|
high |
| Sensitive |
object |
The sensitive information risk. |
|
| Detail |
array<object> |
The list of risk details. |
|
|
object |
The risk details. |
||
| Desc |
string |
The description. |
aliyun_ak_24 |
| Result |
array |
The list of sensitive information. |
|
|
string |
The sensitive information. |
LTAIvdi11f0b**** |
|
| Config |
object |
The configuration check risk. |
|
| Detail |
array<object> |
The list of risk details. |
|
|
object |
The risk details. |
||
| Line |
string |
The line number of the matched content. |
2555 |
| Description |
string |
The description. |
The skill configuration allows Bash execution via agent-browser:* pattern without requiring user confirmation. This enables potentially dangerous command execution through the browser automation CLI. |
| Content |
string |
The matched content. |
allowed-tools: Bash(agent-browser:*) |
| ItemName |
string |
The name of the check item. |
Dangerous Tools Without Confirmation |
| Score |
integer |
The check score of the Skill package. |
95 |
| EnRiskName |
string |
The English risk name of the Skill package. |
Medium-Risk Skill |
| ZhReportUrl |
string |
The temporary download URL for the Chinese report of the Skill package. |
https://skill-**** |
| EnReportUrl |
string |
The temporary download URL for the English report of the Skill package. |
https://skill-**** |
| FullCheckResult |
object |
The check result of the full check task, which provides the status and description for each check item. |
|
| VulScan |
object |
The result of the vulnerability scanning check item. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
submitted |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| HealthCheck |
object |
The result of the health check item. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
strategyId=1001 |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| AssetScan |
object |
The result of the asset scanning check item. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
dispatched |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| SkillCheck |
object |
The result of the Skill file check item. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
dispatched |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| MemoryCheck |
object |
The result of the memory check item. If the detector is not connected, the result defaults to success. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
memory check task created, detector not implemented yet |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| SessionCheck |
object |
The result of the session check item. If the detector is not connected, the result defaults to success. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
session check task created, detector not implemented yet |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| McpCheck |
object |
The result of the MCP detection check item. If the detector is not integrated, the result defaults to success. |
|
| Status |
string |
The status of the check item. Valid values: init, running, success, failed, timeout, and skipped. |
success |
| Message |
string |
The result description of the check item, such as the cause of failure, the cause of skipping, or the delivered policy ID. |
mcp check task created, detector not implemented yet |
| StrategyId |
integer |
The policy ID corresponding to the check item. This field is used only by the health check item. |
1001 |
| Percent |
integer |
The progress percentage of the check item. Valid values: 0 to 100. This field is not used in the current version. |
100 |
| Target |
string |
The detection target. |
c7acb2f1264e4467887ef8f4c36c44ca1 |
| FileHash |
string |
The hash value of the uploaded file. |
03d1f08455e965cac0351eaa59256fd9 |
| AgentName |
string |
The display name of the agent. It is parsed from the application information based on the subtask target. This field is empty if the application record is missing. |
agent-01 |
| GmtTaskStart |
integer |
The timestamp in milliseconds when the subtask starts. This field is empty if the subtask has not started. |
1764036000000 |
| GmtTaskFinished |
integer |
The timestamp in milliseconds when the subtask finishes. This field is empty if the subtask has not finished. |
1764036120000 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The current page number. |
1 |
| PageSize |
integer |
The page size. |
10 |
| TotalCount |
integer |
The total number of records in the query result. |
1 |
| Count |
string |
The number of entries displayed on the current page. |
1 |
Examples
Success response
JSON format
{
"RequestId": "9FDE3D6F-26BD-5937-B0E5-8F47962B****",
"Data": [
{
"Id": 4190063324899520,
"TaskStatus": "success",
"TaskResultMessage": {
"SkillCheckResult": {
"RiskInfo": [
{
"Path": "/home/97e55e6af371836f/",
"ResultType": "1",
"Ext": {
"Virus": [
{
"Ext": "{}",
"Score": 100,
"Type": "Backdoor"
}
],
"Guardrail": {
"Suggestion": "block",
"Detail": [
{
"Level": "high",
"Suggestion": "block",
"Type": "promptAttack",
"Result": [
{
"Confidence": 25,
"Description": "Suspicious attacks.",
"Label": "attack",
"Level": "high"
}
]
}
]
},
"Sensitive": {
"Detail": [
{
"Desc": "aliyun_ak_24",
"Result": [
"LTAIvdi11f0b****"
]
}
]
},
"Config": {
"Detail": [
{
"Line": "2555",
"Description": "The skill configuration allows Bash execution via agent-browser:* pattern without requiring user confirmation. This enables potentially dangerous command execution through the browser automation CLI.",
"Content": "allowed-tools: Bash(agent-browser:*)",
"ItemName": "Dangerous Tools Without Confirmation"
}
]
}
}
}
],
"Score": 95,
"EnRiskName": "Medium-Risk Skill",
"ZhReportUrl": "https://skill-****",
"EnReportUrl": "https://skill-****"
},
"FullCheckResult": {
"VulScan": {
"Status": "success",
"Message": "submitted",
"StrategyId": 1001,
"Percent": 100
},
"HealthCheck": {
"Status": "success",
"Message": "strategyId=1001",
"StrategyId": 1001,
"Percent": 100
},
"AssetScan": {
"Status": "success",
"Message": "dispatched",
"StrategyId": 1001,
"Percent": 100
},
"SkillCheck": {
"Status": "success",
"Message": "dispatched",
"StrategyId": 1001,
"Percent": 100
},
"MemoryCheck": {
"Status": "success",
"Message": "memory check task created, detector not implemented yet",
"StrategyId": 1001,
"Percent": 100
},
"SessionCheck": {
"Status": "success",
"Message": "session check task created, detector not implemented yet",
"StrategyId": 1001,
"Percent": 100
},
"McpCheck": {
"Status": "success",
"Message": "mcp check task created, detector not implemented yet",
"StrategyId": 1001,
"Percent": 100
}
}
},
"Target": "c7acb2f1264e4467887ef8f4c36c44ca1",
"FileHash": "03d1f08455e965cac0351eaa59256fd9",
"AgentName": "agent-01",
"GmtTaskStart": 1764036000000,
"GmtTaskFinished": 1764036120000
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 1,
"Count": "1"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | The resource directory account does not have permission to verify. |
| 500 | RdCheckInnerError | Resource directory account service internal error. | Resource directory account service internal error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.