Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Input (or inputs) to classify. Can be a single string, an array of strings, or an array of multi-modal input objects similar to other models.
A string of text to classify for moderation.
Example:
"I want to kill them."
The content moderation model you would like to use. Learn more in the moderation guide, and learn about available models here.
Example:
"omni-moderation-2024-09-26"