GET

/v1/schemas/minimax-cn/chat/anthropic/v1/messages?kind=output

kind outputactivity chathash 8b1afe83…extracted Nov 8, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
40a5b441896c807cd4b42ad53adceea08d4a05335a8d4056ef51dc342232dca4
{
  "fetchedAt": 1794114637,
  "extractorVersion": "2",
  "verifiedAt": null
}

Response body

7 properties · 0 required · 2 $defs
propertytypedescriptionconstraints
idstring本次响应的唯一 ID
typeenum对象类型,固定为 `message`message
roleenum角色,固定为 `assistant`assistant
modelstring本次请求使用的模型 ID
contentResponseContentBlock[]响应内容块列表
stop_reasonenum模型停止生成的原因: - end_turn:模型自然结束 - max_tokens:达到 max_tokens 限制 - tool_use:模型请求工具调用 - pause_turn:服务端工具(如 web_search)的调用次数达到上限,本轮暂停。将返回的 content 作为 assistant 消息追加后再次请求即可继续end_turn | max_tokens | tool_use | pause_turn
usageUsage本次请求的 token 用量,包含适用时的 prompt cache 用量。

Types

2 $defs

ResponseContentBlockobject

响应消息中的内容块。模型输出 text、tool_use(调用工具时),以及 thinking(开启深度思考时)。响应中不会出现 image、video、tool_result 或 mid_conv_system 块。

type*enum内容块类型: - text:文本内容 - tool_use:模型工具调用 - thinking:模型思考过程text | tool_use | thinking
textstring文本内容,type=text 时使用。
idstring工具调用 ID,type=tool_use 时返回。
namestring工具名称,type=tool_use 时返回。
inputobject工具输入参数,type=tool_use 时返回。
thinkingstring模型思考过程内容,type=thinking 时使用。
signaturestringthinking 内容签名,多轮续写时需要原样回带。

Usageobject

本次请求的 token 用量,包含适用时的 prompt cache 用量。

input_tokensinteger输入消耗的 Token 数
output_tokensinteger输出消耗的 Token 数
cache_creation_input_tokensinteger创建 prompt cache 的输入 token 数。
cache_read_input_tokensinteger命中 prompt cache 的输入 token 数。

Validate a payload

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