In the node callback there is no "current node". The node callback is invoked when CPLEX has to select the next node to process. At this point in time the previous node has already been processed. In the node callback you can get the depth of any open node using the callback's get_depth() function. Pass which_node=0 to get the depth of the node that CPLEX would select next. You can see all the callback's functions in the reference documentation here.
If you want to get the depth of the current node in another callback then you have to follow the instructions in this thread.
#CPLEXOptimizers#DecisionOptimization