auto discover apis