curl --location '/v1/behaviourrdscore/score/batch' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"models": "champion",
"create_variables": false,
"generate_shap_plot": false,
"clients": [
{
"client_id": "cli-001",
"features": {
"idade": 30,
"renda_mensal": 3000
}
},
{
"client_id": "cli-002",
"features": {
"idade": 45,
"renda_mensal": 8000
}
}
]
}'{
"data": {
"results": [
{
"client_id": "cli-001",
"eligible": true,
"scores": {
"champion": {
"scorecard": 680,
"band": "B"
}
}
},
{
"client_id": "cli-002",
"eligible": true,
"scores": {
"champion": {
"scorecard": 790,
"band": "A"
}
}
}
]
},
"codigo_retorno": 200,
"mensagem": "Batch processado com sucesso"
}