Auto-Apply Preset on arbitrary EXIF?

So I have a Fuji camera, which has a “dynamic range expansion” mode, which protects highlights by underexposure and a matching tone curve. In Darktable, it simply shows as an underexposed RAW file. The tone curve is easy enough to replicate, but how can I apply it automatically?

Presumably, there is some EXIF tag that marks the dynamic range expansion mode in the file, but as far as I can tell, this information is not available in Darktable, right?

Other applications would be auto-applying an appropriate LUT for the shot film simulation, or auto-applying the various in-camera shadow or highlight modifications as tone curve modifications or filmic presets.

Do you know if the full EXIF information is available to the Lua API?