GET

/v1/schemas/llmgateway/moderation/v1/moderations

kind inputactivity moderationhash adebbffa…extracted Nov 20, 2026version currentsource upstream spec ↗

Request body

4 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
input*string | string[] | object[]Plain text, an array of text strings, or an array of multimodal input items.
safety_identifierstringOpaque end-user identifier stored in log params.safety_identifier. Never forwarded upstream and never replaces LLM Gateway's provider-facing identifier.length ≤ 128
userstringLegacy end-user identifier, recorded as params.safety_identifier when safety_identifier is absent and it is at most 128 characters. Never forwarded upstream.
modelstringOpenAI moderation model. Defaults to omni-moderation-latest.default: "omni-moderation-latest"

Validate a payload

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