#Check Message Safety
https://ots.telecomsxchange.com/predict/Classifies one message as ham, spam or phishing. Text is normalised before classification, so full-width, look-alike and leetspeak disguises (Paypal, paypa1) are classified as the text they imitate.
probability is the model's confidence in the returned label, from 0 to 1. processing_time is the server-side time in seconds.
Body fields
application/json| Name | Type | Description |
|---|---|---|
textrequired | string | The message to classify, 1 to 512 characters. Example |
modelrequired | string | Model to run. Use ots-mbert. Example |
curl -X POST "https://ots.telecomsxchange.com/predict/" \
-H "Content-Type: application/json" \
-d '{"text":"Your account has been suspended. Verify now at http://secure-login-check.xyz","model":"ots-mbert"}'