GET

/v1/schemas/xiaomi/chat/anthropic/v1/messages

kind inputactivity chathash 54c1f60e…extracted Oct 21, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

generated

Source trace
5aa307fb7ab2f67c2cce954fff6bb36f5a59ce999a104649ace1e44aaf2ded1a
{
  "fetchedAt": 1792559508,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

11 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
messages*object[]Input messages. Each input message must be an object with a role and content . Each input message content may be either a single string or an array of content blocks, where each block has a specific type . Using a string for content is shorthand for an array o…
model*enumThe model that will complete your prompt. Available options: mimo-v2.6-flash , mimo-v2.6-pro , mimo-v2.6-pro-ultraspeedmimo-v2.6-flash | mimo-v2.6-pro | mimo-v2.6-pro-ultraspeed
max_tokensintegerThe maximum number of tokens to generate before stopping. Note that our models may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate. mimo-v2.6-flash : default 131072 mimo-v2.6-pro : default 1310…
stop_sequencesany[]Custom text sequences that will cause the model to stop generating. Our models will normally stop when they have naturally completed their turn, which will result in a response stop_reason of end_turn . If you want the model to stop generating when it encounte…
streambooleanWhether to incrementally stream the response using server-sent events.
systemstring | object[]A system prompt is a way of providing context and instructions to model, such as specifying a particular goal or role.
temperaturenumberSampling temperature controls the diversity of the text generated by the model. The higher the temperature, the more diverse the generated text will be; conversely, the lower the temperature, the more deterministic the generated text will be. In thinking mode,…
thinkingobjectConfiguration for enabling model's extended thinking. Note: During the multi-turn tool calls process in thinking mode, the model returns a thinking content block alongside tool_use content block. To continue the conversation, it is recommended to keep all prev…
tool_choiceobjectHow the model should use the provided tools.
toolsobject[]Definitions of tools that the model may use. If you include tools in your API request, the model may return tool_use content blocks that represent the model's use of those tools. You can then run those tools using the tool input generated by the model and then…
top_pnumberUse nucleus sampling. In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by top_p . You should either alte…

Validate a payload

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