获取子任务信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RootTaskId |
string |
否 |
提交任务返回的主任务 ID。 |
110146ac282314fe4f7cd11afc7540eb |
| TaskType |
string |
否 |
任务类型。 |
SKILL_CHECK |
| CurrentPage |
integer |
否 |
当前页码。 |
1 |
| PageSize |
integer |
否 |
分页大小。 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
9FDE3D6F-26BD-5937-B0E5-8F47962B**** |
| Data |
array<object> |
任务结果列表。 |
|
|
array<object> |
任务结果。 |
||
| Id |
integer |
任务 ID。 |
4190063324899520 |
| TaskStatus |
string |
任务状态。 |
success |
| TaskResultMessage |
object |
任务结果信息。 |
|
| SkillCheckResult |
object |
Skill 检测任务结果。 |
|
| RiskInfo |
array<object> |
文件检测风险信息。 |
|
|
array<object> |
风险详情列表。 |
||
| Path |
string |
文件路径。 |
/home/97e55e6af371836f/ |
| ResultType |
string |
结果类型。 |
file |
| Ext |
object |
文件检测风险列表。 |
|
| Virus |
array<object> |
病毒检测风险。 |
|
|
object |
风险详情列表。 |
||
| Ext |
string |
扩展信息字段,备用参数。 |
{} |
| Score |
integer |
风险分数,满分 100。 |
100 |
| Type |
string |
病毒类型。 |
Backdoor |
| Guardrail |
object |
安全护栏检测风险。 |
|
| Suggestion |
string |
处理建议。 |
block |
| Detail |
array<object> |
风险详情列表。 |
|
|
array<object> |
风险详情。 |
||
| Level |
string |
风险等级,枚举值:
|
high |
| Suggestion |
string |
处理建议。 |
block |
| Type |
string |
风险类型。 |
promptAttack |
| Result |
array<object> |
结果详情列表。 |
|
|
object |
结果详情。 |
||
| Confidence |
number |
置信度,取值范围为 0 到 100。 |
25 |
| Description |
string |
结果描述信息。 |
Suspicious attacks. |
| Label |
string |
标签信息。 |
attack |
| Level |
string |
风险等级,枚举值:
|
high |
| Sensitive |
object |
敏感信息风险。 |
|
| Detail |
array<object> |
风险详情列表。 |
|
|
object |
风险详情。 |
||
| Desc |
string |
描述信息。 |
aliyun_ak_24 |
| Result |
array |
敏感信息列表。 |
|
|
string |
敏感信息。 |
LTAIvdi11f0b**** |
|
| Config |
object |
配置检测风险。 |
|
| Detail |
array<object> |
风险详情列表。 |
|
|
object |
风险详情。 |
||
| Line |
string |
检测命中内容的行数。 |
2555 |
| Description |
string |
描述信息。 |
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 |
检测命中内容。 |
allowed-tools: Bash(agent-browser:*) |
| ItemName |
string |
检查项名称。 |
Dangerous Tools Without Confirmation |
| Target |
string |
检测对象。 |
c7acb2f1264e4467887ef8f4c36c44ca1 |
| FileHash |
string |
上传文件的 Hash 值。 |
03d1f08455e965cac0351eaa59256fd9 |
| PageInfo |
object |
分页信息。 |
|
| CurrentPage |
integer |
当前页码。 |
1 |
| PageSize |
integer |
分页大小。 |
10 |
| TotalCount |
integer |
查询结果的总记录数。 |
1 |
| Count |
string |
当前页显示的数据条数。 |
1 |
示例
正常返回示例
JSON格式
{
"RequestId": "9FDE3D6F-26BD-5937-B0E5-8F47962B****",
"Data": [
{
"Id": 4190063324899520,
"TaskStatus": "success",
"TaskResultMessage": {
"SkillCheckResult": {
"RiskInfo": [
{
"Path": "/home/97e55e6af371836f/",
"ResultType": "file",
"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"
}
]
}
}
}
]
}
},
"Target": "c7acb2f1264e4467887ef8f4c36c44ca1",
"FileHash": "03d1f08455e965cac0351eaa59256fd9"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 1,
"Count": "1"
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。