You need to specify the destination IP, it's mandatory.
For instance, if I get the details for a few minutes for WAN 1 on an MX that is set to use 8.8.8.8 for it's latency reporting, with query parameters...
timespan 1200, resolution 60, interface wan1, ip 8.8.8.8
I get...
[
{
"startTs": "2022-05-31T12:48:00Z",
"endTs": "2022-05-31T12:49:00Z",
"lossPercent": null,
"latencyMs": null,
"goodput": null,
"jitter": null
},
{
"startTs": "2022-05-31T12:49:00Z",
"endTs": "2022-05-31T12:50:00Z",
"lossPercent": 0,
"latencyMs": 13.96,
"goodput": 100000,
"jitter": 0.35
},
{
"startTs": "2022-05-31T12:50:00Z",
"endTs": "2022-05-31T12:51:00Z",
"lossPercent": 0,
"latencyMs": 13.92,
"goodput": 100000,
"jitter": 0.38
},
{
"startTs": "2022-05-31T12:51:00Z",
"endTs": "2022-05-31T12:52:00Z",
"lossPercent": 0,
"latencyMs": 13.95,
"goodput": 100000,
"jitter": 0.34
},
{
"startTs": "2022-05-31T12:52:00Z",
"endTs": "2022-05-31T12:53:00Z",
"lossPercent": 0,
"latencyMs": 14.04,
"goodput": 100000,
"jitter": 0.53
},
{
"startTs": "2022-05-31T12:53:00Z",
"endTs": "2022-05-31T12:54:00Z",
"lossPercent": 0,
"latencyMs": 13.9,
"goodput": 100000,
"jitter": 0.28
},
{
"startTs": "2022-05-31T12:54:00Z",
"endTs": "2022-05-31T12:55:00Z",
"lossPercent": 0,
"latencyMs": 13.87,
"goodput": 100000,
"jitter": 0.35
},
{
"startTs": "2022-05-31T12:55:00Z",
"endTs": "2022-05-31T12:56:00Z",
"lossPercent": 0,
"latencyMs": 13.91,
"goodput": 100000,
"jitter": 0.21
},
{
"startTs": "2022-05-31T12:56:00Z",
"endTs": "2022-05-31T12:57:00Z",
"lossPercent": 0,
"latencyMs": 13.85,
"goodput": 100000,
"jitter": 0.29
},
{
"startTs": "2022-05-31T12:57:00Z",
"endTs": "2022-05-31T12:58:00Z",
"lossPercent": 0,
"latencyMs": 13.94,
"goodput": 100000,
"jitter": 0.3
}
]