get
https://{BaseUrl}/api/v3.0/events:listRecentByType
Gets the most recent event for each specified event type attributed to a specific actor such as a device, user, etc. This endpoint returns one event per type, with the most recent event based on startTimestamp. By default, the API will return only the general event information. To include additional data specific to the requested event type, use the include parameter. The possible values for the include parameter are returned in the dataSchemas field of the event object.
Data Filtering Data filters allow filtering events based on fields within specific event data schemas. These filters follow the naming pattern data.{schemaName}.{fieldName} and apply to all event types. Events that do not contain the specified schema will be excluded from results.
data.{schemaName}.{fieldName} and apply to all event types. Events that do not contain the specified schema will be excluded from results.For example, when searching for both motion and device status events with a connectionStatus filter, motion events will not be returned (since they don't have connectionStatus), and only device status events that match the connectionStatus criteria will be returned.