Parameter | Type | Required? | Description |
---|---|---|---|
payload | Array[Hash] | Yes | Array of objects with the following fields: ["channel", "kpi", "model_input"] |
payload[].channel | String | Yes | Channel of sending. One of ["sms", "push", "email"] |
payload[].kpi | String | Yes | KPI of sending. One of ["ctr", "open_rate"] |
payload[].model_input | Hash | Yes | Object with model input features. See example payload below in example. |
When successful, returns:
[
{
"base_value": 0.0,
"features": [
{
"name": "sent",
"effect": 0.0,
"value": 0.1
}
],
"kpi": "ctr"
}
]