GET
/v1/schemas/nvidia/chat/moonshotai%2Fkimi-k2.6
Accept:
Request body
11 properties · 2 required · 11 $defs| property | type | description | constraints |
|---|---|---|---|
| messages* | NIMLLMChatCompletionMessage[] | A list of messages comprising the conversation so far. | items ≥ 1 |
| model* | string | The model to use. | default: "moonshotai/kimi-k2.6" |
| chat_template_kwargs | object | Optional kwargs forwarded to the model chat template (e.g. {"thinking": true} / {"thinking": false}). | nullable |
| tools | ChatCompletionTool[] | Optional OpenAI-compatible tool definitions for function calling. | nullable |
| tool_choice | enum | ChatCompletionNamedToolChoice | Optional OpenAI-compatible tool choice. Use `auto`, `none`, `required`, or a named-tool choice object. | nullable |
| max_tokens | integer | The maximum number of tokens that can be generated. | 1 ≤ n ≤ 65536 · nullable |
| seed | integer | Changing the seed will produce a different response with similar characteristics. Fixing the seed will reproduce the same results if all other parameters are also kept constant. | -9007199254740991 ≤ n ≤ 9007199254740991 · nullable |
| stream | boolean | If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` | nullable |
| stream_options | object | Optional OpenAI-compatible stream options, such as `include_usage`. | nullable |
| temperature | number | What sampling temperature to use, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. | 0 ≤ n ≤ 1 · nullable |
| top_p | number | An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both. | 0 < n ≤ 1 · nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"moonshotai/kimi-k2.6","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}