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.