adding api dependency to nodemanager