All Products
Search
Document Center

Simple Log Service:PutAnnotationData

Last Updated:Oct 09, 2025

Stores annotation data in a dataset.

Operation description

This operation is available only in the China (Shanghai) and Singapore regions.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

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

Request parameters

Parameter

Type

Required

Description

Example

datasetId

string

No

The unique identifier of the dataset.

cb8cc4eb51a85e823471cdb368fae9be

annotationdataId

string

No

The unique identifier of the data.

2156d560fc7c01420542df92cd6365ds

body

object

No

The request struct.

rawLog

array

No

The raw log data.

object

No

The log data, which is a map of key-value pairs.

string

No

The key and value of a raw log entry. Both are strings.

[ { "time": "1694761550", "cnt": "45416", "cnt2": "12454" } ]

mlDataParam MLDataParam

No

The data struct.

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.