Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for a wired network device.
GET {{baseUrl}}/devices/:serial/lossAndLatencyHistory
Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for a wired network device.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
t0 | string | The beginning of the timespan for the data. The maximum lookback period is 365 days from today. | |
t1 | string | The end of the timespan for the data. t1 can be a maximum of 31 days after t0. | |
timespan | string | The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. | |
resolution | string | The time resolution in seconds for returned data. The valid resolutions are: 60, 600, 3600, 86400. The default is 60. | |
uplink | string | The WAN uplink used to obtain the requested stats. Valid uplinks are wan1, wan2, cellular. The default is wan1. | |
ip | string | (Required) The destination IP used to obtain the requested stats. This is required. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null |
RESPONSES
status: OK
[{"startTime":"2018-10-09T22:18:27Z","endTime":"2018-10-09T22:19:27Z","lossPercent":5.23,"latencyMs":324.12,"goodput":1493},{"startTime":"2018-10-09T22:19:27Z","endTime":"2018-10-09T22:20:27Z","lossPercent":1,"latencyMs":43,"goodput":2567},{"startTime":"2018-10-09T22:20:27Z","endTime":"2018-10-09T22:21:27Z","lossPercent":0.01,"latencyMs":44.02,"goodput":7899}]