Get Device History

Fetch history data of a device. When page_size > 0 the response is paged - it returns a {key, value} envelope (key = the continuation token, value = the array of history records) plus the ContinuationToken/ResultCount/TotalCount headers; otherwise the full array is returned.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Device Id

Query Params
date-time
required

Start time in ISO 8601 format

date-time
required

End time in ISO 8601 format

int32

Number of events to return per page

Headers
boolean

When true, disabled devices are included in the tenant scope applied to this request. Defaults to false.

string

Continuation token from the previous response's ContinuationToken header, used to fetch the next page.

Responses

400

Invalid Request

401

Invalid API Key provided or Invalid Access token

404

Device Not Found

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json