GET

/v1/schemas/moonshotai-cn/chat/v1%2Fchat%2Fcompletions?kind=output

kind outputactivity chathash 4c91613b…extracted Oct 7, 2026version currentsource upstream spec ↗

Response body

6 properties · 0 required · 0 $defs
propertytypedescriptionconstraints
idstring补全结果的唯一标识符
objectstring对象类型
createdinteger补全创建时的 Unix 时间戳
modelstring用于补全的模型
choicesobject[]补全选项列表
usageobject

Validate a payload

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