POST
/
moderation

Authorizations

Authorization
string
headerrequired

API Key

Body

application/json
input
string
required
moderation_prompt
string
rewrite
boolean

Response

200 - application/json
id
string
required
created
integer
required
model
string
required
flagged
boolean
required
passed
number
required
detected
number
required
rewrite
string | null
system_fingerprint
string | null
categories
any[] | null
usage
object | null