Get Historical Events
  • 20 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Get Historical Events

  • Dark
    Light

Article summary

Get
/insight/{oid}/{sid}

Retrieve historical data from the sensor using Insight.

Security
HTTP
Type bearer
Path parameters
oid
stringRequired

organization id

sid
stringRequired

sensor id

Query parameters
start
integer

required timestamp in seconds where to begin fetching events

end
integer

required timestamp in seconds where to stop fetching events

limit
integer

maximum number of events to return

event_type
string

specific event type to fetch

is_compressed
string

set to 'true' to enable compression, data returned 'events' is base64(gzip(data))

cursor
string

optional cursor for paginated access, set to '-' for first query

is_forward
string

direction of paginated query results, defaults to 'true' (ascending).

output_name
string

send data to a named output instead

Responses
200

successful operation

401

Access token is missing or invalid


Was this article helpful?