The POST /environments/{{envID}}/riskPredictors operation creates a new custom risk predictor. The request body must have the risk predictor’s type property set to MAP. It must also define the map property to specify the mapping of risk levels to the list of conditions.

Note that the name property is case (and space) sensitive; the API does not allow two predictors with the exact same name. However, the API does not restrict creating predictors with names such as my name and My Name. Case sensitivity also applies to the compactName property. The API recognizes mypredictor and MyPredictor as unique names.