| Parameter | Type | Required? | Description |
|---|---|---|---|
| channel | String | Yes | Channel of sending. One of ["sms", "push", "email"] |
| kpi | String | Yes | KPI of sending. One of ["ctr", "open_rate"] |
| text | String | Yes | Text to explain |
When successful, returns:
{
"channel": email,
"kpi": "ctr",
"influences: [0.1 0.1 0.1 0.1 0 -0.05 -0.05 -0.05 -0.05 -0.05 -0.05 -0.05 -0.05]
}curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/ml/sending/explain_text_kpi_prediction' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel": "email",
"kpi": "ctr",
"text": "string"
}'{
"influences": [
0
]
}