GET
/v1/schemas/moonshot/chat/v1%2Fresponses?kind=output
Accept:
Response body
26 properties · 0 required · 13 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | Unique identifier of the response. | |
| object | enum | response | |
| created_at | integer | Unix timestamp of when the response was created. | |
| completed_at | any | Unix timestamp of when the response finished. Present when `status` is `completed` or `incomplete`; `null` when `status` is `in_progress` or `failed`. | |
| status | enum | Response status. The opening snapshot of a stream is `in_progress`. | in_progress | completed | incomplete | failed |
| model | string | Model that produced the response. | |
| output | ResponsesOutputItem[] | The output item array, ordered as web_search_call (if any), reasoning, message, tool calls. | |
| usage | ResponsesUsage | Token usage for this response. | nullable |
| incomplete_details | object | Reason the response is `incomplete`. | |
| error | object | Error information when `status` is `failed`. | |
| instructions | any | ||
| reasoning | any | ||
| text | any | ||
| tools | any | ||
| tool_choice | enum | Controls tool-calling behavior. With `auto`, the model decides whether to call a tool. | auto · nullable |
| max_output_tokens | any | ||
| temperature | any | ||
| top_p | any | ||
| metadata | any | ||
| parallel_tool_calls | boolean | ||
| service_tier | any | ||
| store | boolean | Always `false`. | |
| background | any | Always `false`. | |
| previous_response_id | any | Always `null`. | |
| conversation | any | Always `null`. | |
| prompt_cache_options | object | The context cache write options actually applied by the server. When the request omits prompt_cache_options, refer to the mode and ttl returned here |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"moonshot","endpointId":"v1/responses","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}