GET

/v1/schemas/moonshot/chat/v1%2Fchat%2Fcompletions?kind=output

kind outputactivity chathash b92176b7…extracted Sep 28, 2026version currentsource upstream spec ↗

Response body

6 properties · 0 required · 0 $defs
propertytypedescriptionconstraints
idstringUnique identifier for the completion
objectstringObject type
createdintegerUnix timestamp of when the completion was created
modelstringModel used for the completion
choicesobject[]List of completion choices
usageobject

Validate a payload

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