Mengkueri set data
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAIDBClusterDatasets |
list |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-beijing |
| DBClusterId |
string |
No |
ID Kluster PolarDB Basis Data Relasional Cloud-Native untuk layanan model AI. |
pc-2ze88*** |
| DatasetType |
string |
No |
Tipe set data. Nilai valid:
|
train |
| TrainMode |
string |
No |
Mode pelatihan. Nilai valid:
|
grpo |
| ContinuationToken |
string |
No |
Token yang digunakan untuk mengambil halaman hasil berikutnya. Nilai ini diperoleh dari tanggapan permintaan sebelumnya. Untuk permintaan pertama, kosongkan parameter ini. |
EFSDF-DF-*** |
| PageSize |
string |
No |
Jumlah entri yang dikembalikan pada setiap halaman. Nilai valid: 30, 50, dan 100. Nilai default: 30. |
30 |
| PageNumber |
string |
No |
Nomor halaman yang dikembalikan. Nilai default: 1. |
1 |
| DatasetId |
string |
No |
ID set data. |
pds-2ze88*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| ContinuationToken |
string |
The continuation token from the request. |
EFSDF-DF-*** |
| RelativeDBClusterId |
string |
The relative DB cluster ID. |
pc-2ze88*** |
| DatasetType |
string |
The dataset type. Valid values:
|
train |
| DatasetMode |
string |
The training mode. Valid values:
|
stf |
| NextContinuationToken |
string |
The token for retrieving the next page of results. This parameter is returned only if |
EFSDF-DF-*** |
| IsTruncated |
boolean |
Indicates if more datasets are available. Valid values:
|
true |
| TotalCount |
string |
The total count of datasets. |
6 |
| PageSize |
string |
The page size. |
30 |
| Datasets |
array<object> |
An array of dataset objects. |
|
|
object |
A dataset object. |
||
| FileName |
string |
The file name. |
train-***.json |
| Path |
string |
The file path. |
polardb_ai/datasets/train/sft/dataset01/train-***.json |
| BucketName |
string |
The bucket name. |
pcs-2ze22***-q7*** |
| StorageType |
string |
The storage type. The only valid value is:
|
Standard |
| Capacity |
string |
The file size in bytes. |
2845904 |
| LastModified |
string |
The time the file was last modified, in UTC and formatted as ISO 8601. |
2025-11-06T06:50:43Z |
| CreationTime |
string |
The time the file was created, in UTC and formatted as ISO 8601. |
2025-11-06T06:50:43Z |
| DatasetId |
string |
The dataset ID. |
pds-2ze88*** |
| DatasetType |
string |
The dataset type. Valid values:
|
train |
| TrainMode |
string |
The training mode. Valid values:
|
stf |
| TotalRecords |
string |
The total number of records. |
6 |
| PageNumber |
string |
The page number. |
1 |
| DatasetId |
string |
The dataset ID. |
pds-2ze88*** |
| DataServiceId |
string |
The data service ID. |
pcs-2zeei*** |
| FileCount |
string |
The total number of files in the dataset. |
6 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"ContinuationToken": "EFSDF-DF-***",
"RelativeDBClusterId": "pc-2ze88***",
"DatasetType": "train",
"DatasetMode": "stf",
"NextContinuationToken": "EFSDF-DF-***\n",
"IsTruncated": true,
"TotalCount": "6",
"PageSize": "30",
"Datasets": [
{
"FileName": "train-***.json",
"Path": "polardb_ai/datasets/train/sft/dataset01/train-***.json",
"BucketName": "pcs-2ze22***-q7***",
"StorageType": "Standard\n",
"Capacity": "2845904",
"LastModified": "2025-11-06T06:50:43Z",
"CreationTime": "2025-11-06T06:50:43Z",
"DatasetId": "pds-2ze88***",
"DatasetType": "train",
"TrainMode": "stf"
}
],
"TotalRecords": "6",
"PageNumber": "1",
"DatasetId": "pds-2ze88***",
"DataServiceId": "pcs-2zeei***",
"FileCount": "6"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.