GET

/v1/schemas/moonshotai-cn/chat/v1%2Fresponses?kind=output

kind outputactivity chathash add3fb2b…extracted Oct 7, 2026version currentsource upstream spec ↗

Response body

26 properties · 0 required · 13 $defs
propertytypedescriptionconstraints
idstring响应的唯一标识符。
objectenumresponse
created_atinteger响应创建时的 Unix 时间戳。
completed_atany响应结束时的 Unix 时间戳。`status` 为 `completed` 或 `incomplete` 时给出,为 `in_progress` 或 `failed` 时是 `null`。
statusenum响应状态。流式的起手快照为 `in_progress`。in_progress | completed | incomplete | failed
modelstring产生本次响应的模型。
outputResponsesOutputItem[]输出 item 数组,顺序为 web_search_call(如有)、reasoning、message、工具调用。
usageResponsesUsage本次响应的 Token 用量。nullable
incomplete_detailsobject`status` 为 `incomplete` 时给出原因。
errorobject`status` 为 `failed` 时给出错误信息。
instructionsany
reasoningany
textany
toolsany
tool_choiceenum控制工具调用行为。取 `auto` 时由模型自行决定是否调用工具。auto · nullable
max_output_tokensany
temperatureany
top_pany
metadataany
parallel_tool_callsboolean
service_tierany
storeboolean固定为 `false`。
backgroundany固定为 `false`。
previous_response_idany固定为 `null`。
conversationany固定为 `null`。
prompt_cache_optionsobject服务端实际应用的上下文缓存写入选项。当请求省略 prompt_cache_options 时,以此处返回的 mode 和 ttl 为准

Validate a payload

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