api device status checker