Hey @eroche
With some edits I was able to see a neat response:
import meraki
API_KEY = 'apikey'
dashboard = meraki.DashboardAPI(API_KEY)
serial = 'sn'
ip = '8.8.8.8'
response = dashboard.devices.getDeviceLossAndLatencyHistory(
serial,
ip,
t0='2024-07-07T00:00:00Z',
t1='2024-08-06T23:59:59Z',
# timespan = '2678400',
resolution='60',
uplink='wan1'
)
fields = ['startTs', 'endTs', 'lossPercent', 'latencyMs', 'goodput', 'jitter']
for entry in response:
for field in fields:
print(f"{field}: {entry[field]}")
print('---') # Separator for each entry
![8375c780-1fe5-4afe-9643-96102778ee64.PNG 8375c780-1fe5-4afe-9643-96102778ee64.PNG](https://community.meraki.com/t5/image/serverpage/image-id/38759iF1E9DFF213DA44F7/image-size/large?v=v2&px=999)
Let me know if this works for you or helps!
If you found this post helpful, please give it kudos. If my answer solved your problem, click "accept as solution" so that others can benefit from it