All Products
Search
Document Center

Simple Log Service:ListAnnotationData

Last Updated:Nov 13, 2024

Queries data in datasets.

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 syntax

GET /ml/annotationdataset/{datasetId}/annotationdata HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
offsetintegerNo

The line from which the query starts.

0
sizeintegerNo

The number of entries per page.

100
datasetIdstringNo

The unique identifier of the dataset.

cb8cc4eb51a85e823471cdb368fae9be

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

dataarray

The data returned.

MLDataParam

The data structure returned.

totalinteger

The total number of entries returned.

20

Examples

Sample success responses

JSONformat

{
  "data": [
    {
      "annotationdataId": "dc74b0f569126bb310e1ba6454c351ac",
      "dataHash": "59db060bd89468245d76416a68a510ac",
      "datasetId": "a9bd488f6dd42d294495fb780858e83d",
      "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

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