/devices execute query builder