GET
/v1/schemas/minimax/chat/anthropic%2Fv1%2Fmessages?kind=output
Accept:
Response body
7 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | Unique ID of this response | |
| type | enum | Object type, fixed as `message` | message |
| role | enum | Role, fixed as `assistant` | assistant |
| model | string | Model ID used for this request | |
| content | ResponseContentBlock[] | List of response content blocks | |
| stop_reason | enum | Reason for stopping generation: - end_turn: Model ended naturally - max_tokens: Reached max_tokens limit - tool_use: Model requested tool use - pause_turn: A server tool (such as web_search) reached its usage limit and the turn was paused. Append the returned … | end_turn | max_tokens | tool_use | pause_turn |
| usage | Usage | Token usage for this request, including prompt cache usage when applicable. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"minimax","endpointId":"anthropic/v1/messages","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}