John,
this call is what we need to meet a customer reporting requirement, but it seems to have major problems - I've tried it on two different MX devices. Whether used via the Meraki Python library, or using the test window on the Meraki developer hub, it returns values that are dramatically larger than Dashboard reports, and sometimes far higher than a physical uplink is capable of.
Choosing a network with MX84 HA pair (similar discrepancy occurs with a single MX65W)...
For the 'last day', Dashboard summary reports c, 400 MB download / 490 MB upload.
The same network, with timespan and sample period both 86400 is below, the result the developer hub page gives has figures far higher than Dashboard.
A separate issue is why are two cellular uplinks reported, both called 'cellular'? This uplink is not configured, but I could understand one appearing as an idle default, but two with the same name seems very strange.
[
{
"startTime": "2022-06-20T00:00:00Z",
"endTime": "2022-06-21T00:00:00Z",
"byInterface": [
{
"interface": "cellular",
"sent": 0,
"received": 0
},
{
"interface": "cellular",
"sent": 0,
"received": 0
},
{
"interface": "wan1",
"sent": 1234125007,
"received": 681064422
},
{
"interface": "wan2",
"sent": 256459293,
"received": 307045519
}
]
}
]