fix: API for GUI