v44

latestOpenAPI 3.0.0MITraw.githubusercontent.com2024-11-0494279768.0 KB
Moderations

Classifies if text and/or image inputs are potentially harmful. Learn more in the [moderation guide](https://platform.openai.com/docs/guides/moderation).

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.