get https://api.dev.vitro.link/api/operationHistory/findByBattery
List the events of a battery in a given time range
Battery events are triggered when metric measurements deviate from expected values and cross defined thresholds. These events help monitor the health and performance of batteries in the system.
For example, if a battery is expected to have a voltage of V=13.42
, and a reading shows an unexpectedly low or high voltage that crosses the set thresholds, the system will trigger either a warning or an alert, depending on how high the deviation is.

Low voltage on battery, crossing the Alert threshold
The events list provides a historical record of all events a battery has experienced over time.

List of events the battery went through
The following metrics can trigger alerts:
- Core temperature: The average temperature of the battery poles
- Pole diff temperature: The temperature difference between the poles
- Resistance: The battery's electrical resistance
- Voltage: The battery's voltage level
- Charge: The battery's charge level
- Online: The battery's connectivity status with Astra (whether it's sending heartbeats)