Reading Events

Events can be accessed using the data-sdk library of formant toolkit. You can see the api documentation here.

import { Fleet } from "@formant/data-sdk";

const events = await Fleet.queryEvents({deviceIds:["7217e309-0e41-47d3-92c5-cf0026ceb992"]});