Moderations
Create moderation
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.
post/moderations
Request body
Example request
{
"input": "I want to kill them."
}Response
OK
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.
{
"input": "I want to kill them."
}OK