Skip to main content

Query Device Trait Value Change History

POST 

/history/device-point-values/query

This API is used to query the change history of multiple traits for multiple devices within a given time range. It supports continuous retrieval of historical records through the pagination cursor cursor.

To query the latest changes, omit cursor to start a new query. Do not reuse a pagination cursor for polling.

You may adjust pageSize when querying the next page with the most recently returned nextCursor. Only an identical retry of the latest continuation request is supported; cursor, pageSize, and all other query parameters must remain unchanged. After advancing, reading from an earlier cursor is not supported.

Invalid parameters or an invalid cursor result in a 400 response. If the cursor expires or becomes invalid, omit cursor and start a new query; the query does not automatically resume from the beginning. A 503 response indicates that the query service is temporarily busy and may be retried.

Request​

Responses​

Success