curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/systemone' \
--header "Authorization: Bearer $MIXROUTE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "jev-latest",
"state": "The customer reports a duplicate payment.",
"questions": {
"category": {
"type": "choice",
"instructions": "Select the category.",
"criteria": {
"billing": "Payment issue",
"other": "Other issue"
}
}
}
}'