TextModeration

Detect profanity and match against custom and shared blocklists

Changed on

Detects profanity in more than 100 languages and matches against custom and shared blocklists.

post/contentmoderator/moderate/v1.0/ProcessText/Screen/

Request

  • Base URL
    {Endpoint}
  • URL
    {Endpoint}/contentmoderator/moderate/v1.0/ProcessText/Screen/
  • Auth
    API key in header Ocp-Apim-Subscription-Key

Query parameters

languagestring

Language of the text.

autocorrectboolean

Autocorrect text.

PIIboolean

Detect personal identifiable information.

listIdstring

List ID.

classifyboolean

Classify input.

Headers

Content-Type'text/plain' | 'text/html' | 'text/xml' | 'text/markdown' required

Content type.

Request body text/plain

object required

Response

Status 200.

OriginalTextstring

Original text.

NormalizedTextstring

Normalized text.

AutoCorrectedTextstring

Autocorrected text.

Misrepresentationstring[]

Misrepresentation text.

Languagestring

Language of the input text content.

TrackingIdstring

Unique Content Moderator transaction ID.

Changes