GET

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

kind inputactivity moderationhash adebbffa…extracted Nov 20, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
65ef99bc3de7e0ffeb5c65e7c49d9c164a981231c71024e5ebf496c01a404408
{
  "fetchedAt": 1795151434,
  "extractorVersion": "2",
  "verifiedAt": null
}

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", …}]}