Text Analysis API
string · requiredintegerstring[]boolean · requiredstring · date-time · requiredinteger · requiredstring[]string[]string[]string[]stringstring · enum
ModeratedDetection
valueDetected value
positionPosition of detection in the text
flagsModeration flags
DetectionResults
successWhether the detection was successful
analyzed_atTimestamp of the analysis
object · required
countTotal number of detections
NLPAnalysisResults
languagesLanguages detected in the text, with the primary language first
object
topicsKey topics or themes in the text
categoriesCategories the text belongs to
keywordsImportant keywords or key phrases in the text
summaryA very brief 1-2 sentence summary of the text content
sentimentThe overall sentiment of the text
Enum values:
positive
negative
neutral
mixed
object