Lists the data records in a specified dataset.
Operation description
This operation is available only in the China (Shanghai) and Singapore regions.
Try it now
Test
RAM authorization
Request syntax
GET /ml/annotationdataset/{datasetId}/annotationdata HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| offset |
integer |
No |
The starting position of the paged query. |
0 |
| size |
integer |
No |
The number of entries to return on each page. |
100 |
| datasetId |
string |
No |
The unique ID of the dataset. |
cb8cc4eb51a85e823471cdb368fae9be |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| data |
array |
The list of data records. |
|
| MLDataParam |
The data structure. |
||
| total |
integer |
The total number of records. |
20 |
Examples
Success response
JSON format
{
"data": [
{
"annotationdataId": "dc74b0f569126bb310e1ba6454c351ac",
"dataHash": "59db060bd89468245d76416a68a510ac",
"datasetId": "cb8cc4eb51a85e823471cdb368fae9be",
"value": "xxx/xxx/xxx/",
"valueType": "oss",
"config": {
"key": "simulator-nginx-demo"
},
"annotations": {
"key": {
"annotatedBy": "xxxx",
"updateTime": 1694761550,
"results": [
{
"key": "SPIKE_UP_TYPE"
}
]
}
},
"predictions": {
"key": {
"annotatedBy": "xxx",
"updateTime": 1694761550,
"results": [
{
"key": "SPIKE_UP_TYPE"
}
]
}
},
"createTime": 1695094335,
"lastModifyTime": 1695094335
}
],
"total": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.