return instances by 'get_instances()' api function