ListTaskGroup

Updated at:

Queries the list of node groups.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-saf:ListTaskGroup

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the error messages returned by the operation. Valid values:

  • zh: Chinese.

  • en: English. Default value: en.

zh

SampleName

string

No

The sample name.

TEst

Type

string

No

The access type.

SAF_CONSOLE

TaskGroupName

string

No

The node group name.

TeskGroupTest

RegId

string

No

The region code.

cn-hangzhou

CurrentPage

integer

No

The current page number.

1

PageSize

integer

No

The number of entries per page.

10

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

A32FE941-35F2-5378-B37C-4B8FDB16F094

ResultObject

array<object>

The request result.

array<object>

The returned results.

TaskGroupId

integer

The node group ID.

g-uf62fwvw2f8dx88xo2lt

TaskGroupName

string

The node group name.

GroupTest

SubTaskCount

integer

The number of subtasks parsed and split from the node.

4

GroupStatus

string

The group status.

RUNNING

SampleNames

array

The node group name.

string

The node group name.

tsgds

CreatorUserId

integer

The creator of the node group.

324253

CreateTime

integer

The creation time. The value is a UNIX timestamp in milliseconds.

1588820785212

Tab

string

The scenario.

FINANCE

SubTaskList

array<object>

The subtasks.

object

SubTaskId

integer

The subtask ID.

3

TaskGroupId

integer

The node group ID.

4

SampleId

integer

The sample ID.

4

SampleName

string

The sample name.

fs

ServiceCode

string

The service code.

anti_fraud_riskscreening

ServiceName

string

The service name.

Apply for Anti-Fraud V5 (Score Edition)

ModelScene

string

The model scenario.

rfs

TaskStatus

string

The execution status of the import task. Valid values:

  • DOING: Running.

  • FINISH: Completed.

Finished

FinishTime

integer

The time when the task ended.

2026-01-12 15:47:23

Tab

string

The scenario.

FINANCE

SupportDownload

boolean

Indicates whether download is supported.

true

SupportView

boolean

Indicates whether viewing is supported.

true

SupportCancel

boolean

Specifies whether the task can be canceled. Valid values:

  • true: The task can be canceled.

  • false: The task cannot be canceled.

true

SupportMergeSelect

boolean

Indicates whether merged download is supported.

false

HideViewResultButton

boolean

Indicates whether the view result button is hidden.

true

IsCharge

boolean

Indicates whether the task is billable.

true

GroupName

string

The user group name.

pts-demo

Code

string

The status code.

200

HttpStatusCode

string

The HTTP status code.

200

Message

string

The returned message.

success

TotalItem

integer

The total number of returned entries.

1

TotalPage

integer

The total number of pages.

1

CurrentPage

integer

The current page number.

2

PageSize

integer

The number of entries per page.

10

Examples

Success response

JSON format

{
  "RequestId": "A32FE941-35F2-5378-B37C-4B8FDB16F094",
  "ResultObject": [
    {
      "TaskGroupId": 0,
      "TaskGroupName": "GroupTest",
      "SubTaskCount": 4,
      "GroupStatus": "RUNNING",
      "SampleNames": [
        "tsgds"
      ],
      "CreatorUserId": 324253,
      "CreateTime": 1588820785212,
      "Tab": "FINANCE",
      "SubTaskList": [
        {
          "SubTaskId": 3,
          "TaskGroupId": 4,
          "SampleId": 4,
          "SampleName": "fs",
          "ServiceCode": "anti_fraud_riskscreening",
          "ServiceName": "申请反欺诈V5(分值版)",
          "ModelScene": "rfs",
          "TaskStatus": "Finished",
          "FinishTime": 0,
          "Tab": "FINANCE",
          "SupportDownload": true,
          "SupportView": true,
          "SupportCancel": true,
          "SupportMergeSelect": false,
          "HideViewResultButton": true,
          "IsCharge": true,
          "GroupName": "pts-demo"
        }
      ]
    }
  ],
  "Code": "200",
  "HttpStatusCode": "200",
  "Message": "success",
  "TotalItem": 1,
  "TotalPage": 1,
  "CurrentPage": 2,
  "PageSize": 10
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.