Content Moderation

Semantex API Content Moderation

Moderates the content to ensure that the content text complies with our usage policies.

Validates the content text to ensure that it is not one of the following: sexual, hate, violence, self-harm, sexual/minors, hate/threatening, violence/graphic

Securityapi_key
Request
query Parameters
text
required
string

The text content with UTF-8 text representation

Responses
200

200 response

get/text/moderate
Request samples
Response samples
application/json
{
  • "status": {
    },
  • "result": {
    }
}

Moderates the content to ensure that the content text complies with our usage policies.

Validates the content text to ensure that it is not one of the following: sexual, hate, violence, self-harm, sexual/minors, hate/threatening, violence/graphic

Securityapi_key
Request
Request Body schema: application/json
required
text
required
string non-empty

The text content with UTF-8 text representation

Responses
200

200 response

post/text/moderate
Request samples
application/json
{
  • "text": "string"
}
Response samples
application/json
{
  • "status": {
    },
  • "result": {
    }
}