@RaphaelL that looks like what I need. When I run it for my networks the totals don't match up
example in the dashboard for the past 7 days it shows 565.4MB for this one AP but this is what I get from the API
[{'startTs': '2023-09-25T00:00:00Z', 'endTs': '2023-09-26T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-26T00:00:00Z', 'endTs': '2023-09-27T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-27T00:00:00Z', 'endTs': '2023-09-28T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-28T00:00:00Z', 'endTs': '2023-09-29T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-29T00:00:00Z', 'endTs': '2023-09-30T00:00:00Z', 'totalKbps': 5, 'sentKbps': 0, 'receivedKbps': 5}, {'startTs': '2023-09-30T00:00:00Z', 'endTs': '2023-10-01T00:00:00Z', 'totalKbps': 26, 'sentKbps': 6, 'receivedKbps': 20}, {'startTs': '2023-10-01T00:00:00Z', 'endTs': '2023-10-02T00:00:00Z', 'totalKbps': 19, 'sentKbps': 2, 'receivedKbps': 17}]