curl -X POST https://api.scaledown.xyz/classify \
-H "Content-Type: application/json" \
-H "x-api-key: <your-api-key>" \
-d '{
"text": "I was charged twice for my subscription this month and need a refund immediately.",
"labels": [
{
"name": "billing",
"rubric": "Is this text about a billing issue, charge, refund, or payment problem?"
},
{
"name": "technical",
"rubric": "Is this text about a technical problem, bug, or product not working correctly?"
},
{
"name": "account",
"rubric": "Is this text about account access, login, password, or account settings?"
},
{
"name": "general",
"rubric": "Is this a general question or inquiry that does not fit a specific support category?"
}
]
}'