Add API for management ui