ListDataSet

Updated at:

This feature is located in the Dataset management section of the frontend. The Apsara Stack URL is ip:port/api/dataset/ListDataSet.json.

Note

This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.

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

sca:ListDataSet

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

JsonStr

string

No

Input parameter JSON string

{"pageNumber":1,"pageSize":10}

BaseMeAgentId

integer

No

Workspace ID

123456

Response elements

Element

Type

Description

Example

object

PageResult

Data

object

Data

array<object>

List of datasets.

object

List of datasets.

SetId

integer

Dataset ID.

1

SetName

string

Dataset name.

数据集A

SetDomain

string

Domain name where the dataset resides. Ignore for internal use.

“”

SetRoleArn

string

Dataset access role. Ignore for internal use.

“”

SetBucketName

string

Dataset OSS bucket name. Ignore for internal use.

“”

SetFolderName

string

Dataset file folder name. Ignore for internal use.

“”

SetNumber

integer

Total number of dataset files.

1

RoleConfigStatus

integer

Role configuration status.

Valid values:

  • 0 :

    Not configured

  • 1 :

    Configured

  • 2 :

    No configuration required

1

ChannelId0

integer

Required for dual-track. The track number where the customer service role is located. Value is 0 or 1. For example, if customer service is on track 0, this value is 0.

0

ChannelId1

integer

Required for dual-track. The track number where the customer role is located. Value is 0 or 1. For example, if the customer is on track 1, this value is 1.

1

RoleConfigTask

string

Role configuration task

废弃字段

IsDelete

integer

Is deleted:

  • 0: Not deleted

  • 1: Deleted

0

CreateTime

string

Creation time.

2019-06-20T17:33Z

UpdateTime

string

Last update time.

2022-05-10T10:34Z

ChannelType

integer

Channel type.

1

SubDir

string

Dataset subdirectory

dateset_1791597291537_9B8/

CreateType

integer

Creation type.

Valid values:

  • 0 :

    Via user OSS

  • 1 :

    Direct upload

0

UserGroup

string

User group ID.

1

RoleConfigProp

string

Role configuration file.

filesFromLocal/ef7ff45c147a4a5e882c925f9a75ac43

AutoTranscoding

integer

Automatic transcoding

1

SetType

integer

Dataset creation type

  • 0: Preset

  • 1: User-created

Valid values:

  • 0 :

    Preset

  • 1 :

    User-created

1

DataSetType

integer

Dataset type

3

SourceDataType

integer

Quality inspection result type

  • 11: Dataset voice

  • 12: Dataset text

11

Count

integer

Total count.

23

CurrentPage

integer

Current page number.

10

PageSize

integer

Number of items displayed per page.

10

PageNumber

integer

Current page.

1

RequestId

string

Request ID.

96138D8D-8D26-4E41-BFF4-77AED1088BBD

Success

boolean

Indicates whether the request was successful. Callers can use this field to determine if the request succeeded: true for success; false/null for failure.

true

Code

string

Result code. 200 indicates success. Other values indicate failure. Callers can use this field to determine the cause of failure.

200

Message

string

Error details if an error occurs; "successful" on success.

successful

Messages

object

Message

array

Error details if an error occurs, used when multiple messages are output.

string

Error details if an error occurs, used when multiple messages are output.

无

HttpStatusCode

integer

HTTP status code

200

Examples

Success response

JSON format

{
  "Data": {
    "Data": [
      {
        "SetId": 1,
        "SetName": "数据集A",
        "SetDomain": "“”",
        "SetRoleArn": "“”",
        "SetBucketName": "“”",
        "SetFolderName": "“”",
        "SetNumber": 1,
        "RoleConfigStatus": 1,
        "ChannelId0": 0,
        "ChannelId1": 1,
        "RoleConfigTask": "废弃字段",
        "IsDelete": 0,
        "CreateTime": "2019-06-20T17:33Z",
        "UpdateTime": "2022-05-10T10:34Z",
        "ChannelType": 1,
        "SubDir": "dateset_1791597291537_9B8/",
        "CreateType": 0,
        "UserGroup": "1",
        "RoleConfigProp": "filesFromLocal/ef7ff45c147a4a5e882c925f9a75ac43",
        "AutoTranscoding": 1,
        "SetType": 1,
        "DataSetType": 3,
        "SourceDataType": 11
      }
    ]
  },
  "Count": 23,
  "CurrentPage": 10,
  "PageSize": 10,
  "PageNumber": 1,
  "RequestId": "96138D8D-8D26-4E41-BFF4-77AED1088BBD",
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "Messages": {
    "Message": [
      "无"
    ]
  },
  "HttpStatusCode": 200
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.