Is there a way to find DevEUI if I only have the DevAddr?

Is there a way to find DevEUI if I only have the DevAddr?

NM, I was able to find it in the loraserver_ns database.

Is there a way to do this via an API? Right now the only way I can see to do it is by calling the GET /devices API, and then call GET /devices/{deveui}/activation for each device.

It would be really great if there was a way to search and return devices with the DevAddr…in a perfect world it would even see previous DevAddr for that device too.

This can become useful with looking at raw gateway data to correlate that gateway data with device data for troubleshooting issues. This will help answer the “it’s the NS” vs “it’s the device” debates that always seem to come up when troubleshooting devices with device manufacturers.