Classify content against the content policy

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
inputstring or list of strings or list of objectsRequired

Text, list of texts, or list of multimodal (text/image_url) items.

modelstringOptionalDefaults to omni-moderation-latest

Moderation model to use. Defaults to omni-moderation-latest.

Response

Moderation result(s).

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error