Apple's XDR Displays like the Pro Display XDR and the Liquid Retina Display XDR support Display Reference Modes, also known as Presets. These can be changed from within System Preferences > Displays > Display Settings > Presets (After selecting an XDR Display).
Is there a way to get the list of available Presets and change the current Preset programmatically? Whether it's through a script or through an API? It seems like ColorSync is used to change/set a color profile but I don't see any reference for setting a preset within ColorSync.
Documentation for Reference Modes: https://support.apple.com/en-us/HT210435