A treatment is a state of a Split. A simple feature flag has two treatments: on and off. An experiment can have any number of treatments.

  "name": String,
  "configurations": String,
  "description": String,
  "keys": [ String ],
  "segments": [ String ]

Keys are used to show the specified treatment for a specific customer. It is analogous to the Individual Target section on the Web Console.

In the same way, Segments is used to show the treatment to users in a particular segment.

'Configurations' are JSON representations of components of your feature that might you want to be able to change on the fly (e.g. you could set the color of a button to red or set number of retries allowed on an API endpoint via these configurations)