In the C API you can grab the presolved model and output that in LP file format. That will give you the model that CPLEX actually solves. Note that this may still contain indicator constraints since CPLEX may choose to handle some indicator constraints directly without explicitly linearizing them.
In the above approach you can also disable presolve (CPX_PARAM_PREIND=0). In that case CPLEX will only do the minimal presolve required, in your case this means linearizing the indicator constraints.
#CPLEXOptimizers#DecisionOptimization