Hello marinosvlachos,
The grayscale depth exported via GUI is scaled between min and max distance values for the current camera to 0-255 range.
If you wish to export the depth in actual scale (in floating point format instead of false colors or grayscale representation), you can use Python scripting (see attached script).
The script requires the source depth maps to be present in the project.
In case you would like to generate the depth in a similar way as GUI option does (based on the available mesh), then the following function should be used:
chunk.model.renderDepth(camera.transform, camera.sensor.calibration)
It also returns the floating point value that should be multiplied by chunk.transform.matrix.scale for absolute scale value.