ListSubTasks

更新时间:
复制 MD 格式

Get subtask information.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RootTaskId

string

No

The main task ID 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

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

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 information.

SkillCheckResult

object

RiskInfo

array<object>

array<object>

Path

string

/home/97e55e6af371836f/

ResultType

string

file

Ext

object

Virus

array<object>

object

Ext

string

{}

Score

integer

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

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

The detection target.

c7acb2f1264e4467887ef8f4c36c44ca1

FileHash

string

The hash value of the uploaded file.

03d1f08455e965cac0351eaa59256fd9

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 data 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": "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"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.