The color temperature setting can be acquired by camera.getOptions, and it can be changed by camera.setOptions.
Value: 2500 or over, 10000 or less. This can be set in 100 Kelvin unit.
From Randal
If you have a color temperature meter you can get an accurate CT value. There are color temperature apps for smart phones but I can’t vouch for their accuracy.
Most charts look like this one with a range of values:
Easy solution is to include a 18% gray card in the first image and open the RAW or JPG in Photoshop Camera Raw. Scott Kelby explains how here.