GET

/v1/schemas/meta/chat/v1%2Fmessages

kind inputactivity chathash 57cfddf4…extracted Nov 9, 2026version currentsource upstream spec ↗

Request body

14 properties · 3 required · 45 $defs
propertytypedescriptionconstraints
model*string(minLength: 1)length ≥ 1
messages*anthropic-input-message[](minItems: 1)items ≥ 1
max_tokens*integer(minimum: 1)n ≥ 1
systemstring | anthropic-system-text-block-par…
toolsanthropic-tool[]
tool_choiceanthropic-tool-choice
metadataanthropic-metadata-param
temperaturenumber(minimum: 0, maximum: 1)nullable
top_pnumber(minimum: 0, maximum: 1)nullable
thinkingobject | object | object
service_tierenumauto | standard_only
cache_controlanthropic-cache-control-ephemeral-param
output_configanthropic-output-config
streamboolean(default: false)default: false

Validate a payload

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