GET
/v1/schemas/openai/moderation/moderations
Accept:
kind inputactivity moderationhash fd21238e…extracted Nov 17, 2026version currentsource upstream spec ↗
Request body
2 properties · 1 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| input* | string | string[] | ModerationImageURLIn… | 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](https://developers.openai.com/api/docs/guides/moderation), and learn about available models [here](https://developers.openai.com/api/docs/guides/moderation). |
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", …}]}