Currently the only documentation about any kind of configuration uses the UI. I have not found any example where this was not the case.
Ideally I would wish for examples in terraform, but it would also be enough to know where the configuration is placed and what the format and schema of the file is. If this was treated a stable API, it would be even better.