All Products
Search
Document Center

Simple Log Service:ListAnnotationData

Last Updated:Sep 06, 2024

Queries data in datasets.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /ml/annotationdataset/{datasetId}/annotationdata

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.