add apis in idl