GET
/v1/schemas/moonshotai-cn/chat/v1%2Fchat%2Fcompletions?kind=output
Accept:
Response body
6 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | 补全结果的唯一标识符 | |
| object | string | 对象类型 | |
| created | integer | 补全创建时的 Unix 时间戳 | |
| model | string | 用于补全的模型 | |
| choices | object[] | 补全选项列表 | |
| usage | object |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"moonshotai-cn","endpointId":"v1/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}