You are looking at documentation for an older release. Not what you want? See the current release documentation.
The get endpoint will retransform the source if the
parameter is set. Example:
curl -XGET "http://localhost:9200/test/example/3?pretty&_source_transform"
The transform is performed before any source filtering but it is mostly designed to make it easy to see what was passed to the index for debugging.