Moderations

Classifies if text is potentially harmful.

post/moderations

Request body

Example request

{
  "input": "I want to kill them."
}

Response

OK

idstring required

The unique identifier for the moderation request.

modelstring required

The model used to generate the moderation results.

Changes