
Explanation:

To detect aggressive language (e.g., profanity/abuse) and sexually explicit content in text using the Content Moderator Text - Screen API:
classify = true
Enables machine-assisted text classification that returns category scores (e.g., sexually explicit/suggestive categories). This is required to identify sexual content.
language = < code > (for example, eng )
Specifies the language so profanity/abusive terms are detected correctly. The profanity detection in Text- Screen is language dependent.
autocorrect = true
Helps normalize intentionally misspelled or obfuscated words so that profanity or aggressive terms are still detected (e.g., "f@#$" # "fuck").
Other parameters in the blade are not necessary for this goal:
PII targets personal data extraction, not aggression/sexuality.
listId is for matching against custom blocklists.
Headers like Ocp-Apim-Subscription-Key and Content-Type are required to call the API, but they are not the content-analysis settings that control detection behavior asked for in this question.
Microsoft Azure AI References
Azure AI Content Moderator - Screen text API parameters (autocorrect, language, classify) and category outputs.
Azure AI Content Moderator - Text moderation concepts: profanity detection and classification categories.