[Ide] Restore api to fix the build