All Products
Search
Document Center

Artificial Intelligence Recommendation:QueryDataMessageStatistics

Last Updated:Sep 22, 2025

Retrieves statistics for update messages in a data table.

Operation description

Retrieves statistics for update messages in a specified data table of an instance.

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

GET /v2/openapi/instances/{instanceId}/tables/{table}/data-message-statistics HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

The ID of the instance.

airec-cn-o400whm78004

startTime

integer

Yes

The start time. This is a UNIX timestamp in seconds.

1586673466

endTime

integer

Yes

The end time. This is a UNIX timestamp in seconds.

1586673466

table

string

Yes

The name of the Artificial Intelligence Recommendation table. Valid values: item and user.

item

cmdType

string

No

The command type. Valid values: update, delete, and add.

update

itemId

string

No

This parameter is required when the table parameter is set to item.

111

itemType

string

No

This parameter is required when the table parameter is set to item.

video

userId

string

No

This parameter is required when the table parameter is set to user.

222

userType

string

No

This parameter is required when the table parameter is set to user.

app

traceId

string

No

The trace ID.

Alibaba

sceneId

string

No

The ID of the scenario.

test

bhvType

string

No

expose: impression

click: click

like: like

comment: comment

collect: favorite

stay: duration of stay

cart: add to cart

buy: purchase

evaluate: review

expose

messageSource

string

No

CONSOLE

FEEDER

FEEDER

imei

string

No

The IMEI of the device.

d41d8cd98f00b204e9800998ecf8427e

Response elements

Element

Type

Description

Example

object

result

object

The query result.

xxx

code

string

The error code.

InternalServerError

requestId

string

The ID of the request.

8F81A922-6C81-46D6-B78C-CC35E16B1691

message

string

The error details.

An internal server error occurred

Examples

Success response

JSON format

{
  "result": {
    "test": "test",
    "test2": 1
  },
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.