### 📝 Description of the feature build a common interface for both server and serverless APIs to avoid duplication of code ### 💡 Steps for implementing the feature _No response_ ### 🔗 Useful links and references _No response_