Hello,
Since I had a need for a list of MX devices that had WAN interfaces in a "Failed" or "Not connected" state, we had to use the API. It's basically a list of devices that have one of the two WAN interfaces in a non-working state.
It uses this request: https://dashboard.meraki.com/api_docs#return-the-uplink-information-for-a-device
Here's a link to the Github page.