GET

/v1/schemas/openai/moderation/moderations

kind inputactivity moderationhash 23c6069bextracted Jul 6, 2026version currentsource upstream spec ↗

Request body

2 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
input*string | string[] | object | object[]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.
modelstring | enumThe content moderation model you would like to use. Learn more in [the moderation guide](/docs/guides/moderation), and learn about available models [here](/docs/models#moderation).default: "omni-moderation-latest"

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"openai","endpointId":"moderations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}