List Events

GET {{baseUrl}}/devices/:deviceId/events?page[cursor]=<string>&filter[timestamp][to]=<string>&filter[timestamp][from]=<string>

List Event (including Alerts)

Request Params

KeyDatatypeRequiredDescription
page[cursor]stringCursor representing which page to fetch
filter[timestamp][to]stringOnly return items were 'timestamp' is less than to the specificed RFC3339 value, i.e. to-time. Default is now-time.
filter[timestamp][from]string

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;links&quot;:{&quot;self&quot;:&quot;/partitions/b2ae267d-1d74-4e2a-bff8-e7c90a3b854a/devices/7026ab05-2d02-47b4-bc26-c033939d5823/events&quot;,&quot;next&quot;:&quot;/partitions/b2ae267d-1d74-4e2a-bff8-e7c90a3b854a/devices/7026ab05-2d02-47b4-bc26-c033939d5823/events?page[cursor]=qwerty&quot;},&quot;data&quot;:[{&quot;type&quot;:&quot;Event&quot;,&quot;id&quot;:&quot;1bcaafc3-d4d3-43e1-ab64-89d8518d5951&quot;,&quot;attributes&quot;:{&quot;eventType&quot;:&quot;ALARM&quot;,&quot;panelAddress&quot;:&quot;laborum commodo&quot;,&quot;message&quot;:&quot;The filter is clogged&quot;,&quot;address&quot;:&quot;1/2/11&quot;,&quot;timestamp&quot;:&quot;2023-04-28T12:31:11.329683036Z&quot;,&quot;state&quot;:&quot;Active&quot;},&quot;meta&quot;:{&quot;createdAt&quot;:&quot;1963-05-01T00:48:29.886Z&quot;,&quot;updatedAt&quot;:&quot;1999-11-07T18:24:18.194Z&quot;}},{&quot;type&quot;:&quot;Event&quot;,&quot;id&quot;:&quot;1bcaafc3-d4d3-43e1-ab64-89d8518d5951&quot;,&quot;attributes&quot;:{&quot;eventType&quot;:&quot;ALARM&quot;,&quot;panelAddress&quot;:&quot;culpa Excepteur incididunt irure&quot;,&quot;message&quot;:&quot;The filter is clogged&quot;,&quot;address&quot;:&quot;1/2/11&quot;,&quot;timestamp&quot;:&quot;2023-04-28T12:31:11.329683036Z&quot;,&quot;state&quot;:&quot;Active&quot;},&quot;meta&quot;:{&quot;createdAt&quot;:&quot;2016-04-02T02:40:30.469Z&quot;,&quot;updatedAt&quot;:&quot;1962-05-16T17:33:29.374Z&quot;}}]}