All Products
Search
Document Center

DataWorks:GetDatasetVersion

Last Updated:Mar 30, 2026

Gets information for a given dataset version.

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

Id

string

Yes

The dataset version ID.

dataworks-datasetVersion:3pXXXb8o0ngr07njhps1 :2

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

4CDF7B72-020B-542A-8465-21CFFA8XXXXX

Success

boolean

Indicates whether the request was successful.

true

DatasetVersion DatasetVersion

The dataset version.

Examples

Success response

JSON format

{
  "RequestId": "4CDF7B72-020B-542A-8465-21CFFA8XXXXX",
  "Success": true,
  "DatasetVersion": {
    "Id": "dataworks-datasetVersion:0gfxxxjx155usz3hrv:1",
    "DatasetId": "dataworks-datasetVersion:0gfxxxjx155usz3hrv",
    "Comment": "Initial version",
    "CreatorId": "17815XXX61016173",
    "VersionNumber": 1,
    "StorageType": "OSS",
    "Url": "oss://test-oss-bucket/test_dir/",
    "MountPath": "/mnt/data",
    "CreateTime": 1736756055000,
    "ModifyTime": 1736756055000,
    "Labels": [
      {
        "Key": "key1",
        "Value": "value1"
      }
    ],
    "ImportInfo": {
      "key": "None"
    }
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.