GET
/v1/schemas/minimax-cn/chat/v1%2Fchat%2Fcompletions?kind=output
Accept:
Response body
11 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | 本次响应的唯一 ID | |
| choices | object[] | 响应选择列表 | |
| created | integer | 响应创建的 Unix 时间戳(秒) | format: int64 |
| model | string | 本次请求使用的模型 ID | |
| object | enum | 对象类型。非流式为 `chat.completion`,流式为 `chat.completion.chunk` | chat.completion | chat.completion.chunk |
| usage | Usage | 本次请求的 Token 使用情况统计 | |
| input_sensitive | boolean | 输入内容是否命中敏感词。如果输入内容严重违规,接口会返回内容违规错误信息,回复内容为空 | |
| input_sensitive_type | integer | 输入命中敏感词类型,当input_sensitive为true时返回。取值为以下其一:1 严重违规;2 色情;3 广告;4 违禁;5 谩骂;6 暴恐;7 其他 | format: int64 |
| output_sensitive | boolean | 输出内容是否命中敏感词。如果输出内容严重违规,接口会返回内容违规错误信息,回复内容为空 | |
| output_sensitive_type | integer | 输出命中敏感词类型 | format: int64 |
| base_resp | object | 错误状态码和详情 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"minimax-cn","endpointId":"v1/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}