Skip to main content
POST
Create Moderation

Authorizations

Authorization
string
header
required

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

Body

application/json
input
required

Text or multimodal content to classify.

model
string
default:openai/omni-moderation-latest

Model identifier in 'provider/model' format, e.g. 'openai/omni-moderation-latest'.

Response

Successful Response

id
string
required
model
string
required
results
OpenAIModerationResult · object[]
required
cost
number | null
provider
string | null