curl -X POST https://api.trynawa.com/v1/rubric/classify \
-H "Authorization: Bearer nawa_test_sk_xxx" \
-H "Content-Type: application/json" \
-d '{
"text": "وين الترجمة العربية؟ مافهمت شي",
"rubric": {
"categories": ["translation_request", "technical_issue", "content_feedback", "off_topic"],
"descriptions": {
"translation_request": "User is asking for subtitles or translation",
"technical_issue": "Audio, video, or playback problems",
"content_feedback": "Comments about the content quality",
"off_topic": "Not related to the video"
}
},
"platform": "youtube"
}'