Could you use the Get Device Clients API call against your switches - which returns the switchport to which a client is connected - and then from that determine which switch ports haven’t had a client connected is 30 days? It’ll take a bit of iteration to walk through the networks and switches, but still easier than manually doing it.