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.

tags
any

Up to 10 key/value labels recorded with this call, for filtering and grouping usage. Merged with the X-EdenAI-Tags header.

Example:
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