Why do the diamonds need to be transparent?
Contents are completely enclosed by diamond to hold the pressure. No way to probe otherwise as far as i know.
Here is an example at an ESRF beamline https://www.esrf.eu/home/UsersAndScience/Experiments/MEx/ID1...