GET
/v1/schemas/minimax/chat/v1%2Fchat%2Fcompletions?kind=output
Accept:
Response body
11 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | Unique ID of this response | |
| choices | object[] | List of response choices | |
| created | integer | Unix timestamp (seconds) when the response was created | format: int64 |
| model | string | Model ID used for this request | |
| object | enum | Object type. `chat.completion` for non-streaming, `chat.completion.chunk` for streaming | chat.completion | chat.completion.chunk |
| usage | Usage | Token usage statistics for this request | |
| input_sensitive | boolean | Whether the input content triggered sensitive word detection. If the input content is severely inappropriate, the API will return a content violation error message with empty reply content | |
| input_sensitive_type | integer | Type of sensitive word triggered by input, returned when input_sensitive is true. Values: 1 Severe violation; 2 Pornography; 3 Advertising; 4 Prohibited; 5 Abuse; 6 Violence/Terrorism; 7 Other | format: int64 |
| output_sensitive | boolean | Whether the output content triggered sensitive word detection. If the output content is severely inappropriate, the API will return a content violation error message with empty reply content | |
| output_sensitive_type | integer | Type of sensitive word triggered by output | format: int64 |
| base_resp | object | Error status code and details |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"minimax","endpointId":"v1/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}