All Products
Search
Document Center

DataWorks:ListDataAssets

Last Updated:Jan 12, 2026

Queries the information about DataWorks data assets to which tags are added by page.

Operation description

This API operation is available only for DataWorks Enterprise Edition or a more advanced edition.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
Tagsarray<object>Yes

The tags that are added to data assets. This parameter specifies a filter condition.

  • You can specify multiple tags, which are in the logical OR relation. For example, you can query the data assets that contain one of the following tags: ["key1:v1", "key2:v1", "key3:v1"].
  • If you do not configure this parameter, tag-based filtering is not performed.
objectYes

The tag that is added to the data asset. The tag is specified in the key:value structure.

KeystringYes

The tag key.

The tag key can be up to 64 characters in length and can contain letters, digits, and the following characters: -@#*<>|[]()+=&%$!~. It cannot start with dw:.

key
ValuestringNo

The tag value.

value
DataAssetIdsarrayNo

The data asset IDs.

stringNo

The data asset ID.

7000069357000
DataAssetTypestringNo

The type of the data asset. Valid values:

  • ACS::DataWorks::Table
  • ACS::DataWorks::Task
ACS::DataWorks::Task
ProjectIdlongNo

The DataWorks workspace ID.

10000
PageNumberintegerNo

The page number. Pages start from page 1. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10. Maximum value: 100.

10
EnvTypestringNo

The environment of the workspace to which the data asset belongs. Valid values:

  • Dev: development environment
  • Prod: production environment
Prod

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

0bc1ec92159376
PagingInfoobject

The pagination information.

TotalCountinteger

The total number of entries returned.

100
PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries per page.

10
DataAssetsarray<object>

The data assets.

DataAssetobject

The data asset.

Idstring

The data asset ID.

7259557313
Namestring

The name of the data asset.

ali_cn_es_gfn
Typestring

The type of the data asset. Valid values:

  • ACS::DataWorks::Table
  • ACS::DataWorks::Task
ACS::DataWorks::Task
EnvTypestring

The environment of the workspace to which the data asset belongs. Valid values:

  • Dev: development environment
  • Prod: production environment
Prod
ProjectIdlong

The DataWorks workspace ID.

54275
DataAssetTagMappingsarray<object>

The mappings between data assets and tags.

DataAssetTagMappingobject

The mapping between the data asset and the tag.

Keystring

The tag key.

key
Valuestring

The tag value.

value
TagSourcestring

The way in which the mapping between the data asset and the tag is created. Valid values:

  • System
  • UserDefined
UserDefined
Creatorstring

The creator of the mapping between the data asset and the tag.

12345
AutoTraceEnabledboolean

Indicates whether the lineage-based automatic backtrack feature is enabled for the mapping.

false
DataAssetIdstring

The data asset ID.

7259557313

Examples

Sample success responses

JSONformat

{
  "RequestId": "0bc1ec92159376",
  "PagingInfo": {
    "TotalCount": 100,
    "PageNumber": 1,
    "PageSize": 10,
    "DataAssets": [
      {
        "Id": 7259557313,
        "Name": "ali_cn_es_gfn",
        "Type": "ACS::DataWorks::Task",
        "EnvType": "Prod",
        "ProjectId": 54275,
        "DataAssetTagMappings": [
          {
            "Key": "key",
            "Value": "value",
            "TagSource": "UserDefined",
            "Creator": 12345,
            "AutoTraceEnabled": false,
            "DataAssetId": 7259557313
          }
        ]
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-05-19The internal configuration of the API is changed, but the call is not affectedView Change Details