Retrieve IPSEC tunnel traffic data outside of LibreNMS web gui?

From what I can gather I am unable at this time to use the API to get IPSEC traffic for a given device. However within LibreNMS under the “IPSec Tunnel Traffic Volume” I can see the volume for a given device during a timeframe. I do not need the graph, but the total actual numeric value for In + Out for say 24 hours or 6 hours.

I know its a long shot, but needed ask anyways; is there a method using a Mysql query, or an undocumented API perhaps? Or any other method of retrieving this? With 40 devices, it would be too time consuming to daily go through each device, so ultimately I was hoping to achieve an automated method

Just to clarify, I am able to get the graphs using API - “curl -k -H ‘X-Auth-Token: APIKEY’ https://localhost/api/v0/devices/H506/device_cipsec_flow_bits” but it is the actual data I need, not the graph. Ideally if I can get it in JSON then I could export that into our application.