GET
/v1/schemas/openai/moderation/moderations
Accept:
kind inputactivity moderationhash 23c6069b…extracted Jul 6, 2026version currentsource upstream spec ↗
Request body
2 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| 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. | |
| model | string | enum | The 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 tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"moderations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}