v1
latestOpenAPI 3.0.12026-07-14453659.5 KBLanguage Prediction
Prediction for Sentiment
Returns a sentiment prediction for the given string.
post/v2/language/sentiment
Request body
Example request
{
"document": "I can't tell you how much fun it was",
"modelId": "WJH4YCA7YX4PCWVNCYNWYHBMY4",
"numResults": 3
}Response
Prediction Result
Example response
{
"object": "predictresponse",
"sampleId": "Sample1"
}