Returns a list of dataset structs.
Operation description
The endpoint for this operation is available only in the China (Shanghai) and Singapore regions.
Try it now
Test
RAM authorization
Request syntax
GET /ml/annotationdataset HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| offset |
integer |
No |
The line from which to start the query. |
0 |
| size |
integer |
No |
The number of entries to return on each page for a paged query. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| data |
array |
The list of data that is returned. |
|
| MLDataSetParam |
The dataset struct. |
||
| total |
integer |
The total number of entries. |
20 |
Examples
Success response
JSON format
{
"data": [
{
"datasetId": "d9bd488f6dd42d294495fb780858e83d",
"name": "sls_builtin_dataset_metric.shapeclassification.anomalydetection",
"description": "数据集A",
"dataType": "Metric",
"labelId": "a191ae4ca615b0ccb93c211fc8a998af",
"createTime": 1695090077,
"lastModifyTime": 1695090077,
"createBy": "sls-console",
"settingType": "Metric.ShapeClassification.AnomalyDetection"
}
],
"total": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.