[feature] add endpoint codebase