Finding stream uuid in DNG
One answer
You want to read up on this https://rsjazz.wordpress.com/2019/03/07/type-system-manager-part-2/ and access the provided source code. That should help you with the API. The command exportConfigurations exposes some API you would need.