GET
/v1/schemas/llmgateway/moderation/v1/moderations
Accept:
kind inputactivity moderationhash b62abc4d…extracted Oct 23, 2026version currentsource upstream spec ↗
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace8988ce1de68843444b9baeb7234e0ffddf7218c1ecbde8dce29b02d9ea3edae6{
"fetchedAt": 1792733497,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
2 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| input* | string | string[] | object[] | Plain text, an array of text strings, or an array of multimodal input items. | |
| model | string | OpenAI moderation model. Defaults to omni-moderation-latest. | default: "omni-moderation-latest" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"llmgateway","endpointId":"v1/moderations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}