get https://api.derapi.com/sites//battery-intervals
Returns Site-level Battery charge and discharge data aggregated to the specific granularity requested for a specified start and end date. The energy data intervals are represented in kWh. Intervals are always aligned with the start of a month, day, or hour. Partial period requests are expanded to cover the full interval for the requested summary level. For example, a summary-level request of month with a start date of 12/3 and end date of 1/1 will return data covering the entire month of December.