GET
/v1/schemas/nvidia/chat/thinkingmachines/inkling-2-small
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace68379997d528f6a72245a23df70a5f7780e2bed7556b6616625d75c01f65ea9c{
"fetchedAt": 1796275264,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
11 properties · 2 required · 11 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | enum | thinkingmachines/inkling-2-smal… · default: "thinkingmachines/inkling-2-smal… | |
| messages* | ChatMessage[] | Conversation messages. User messages can contain text or text/image content parts. Include assistant tool calls and matching tool result messages when continuing a tool interaction. | items ≥ 1 |
| temperature | number | 0 ≤ n ≤ 2 · default: 1 | |
| top_p | number | 0 ≤ n ≤ 1 · default: 1 | |
| max_tokens | integer | 1 ≤ n ≤ 131072 · default: 1024 | |
| stream | boolean | default: false | |
| tools | ChatCompletionTool[] | Function tools available to the assistant. | |
| tool_choice | enum | object | Choose automatic tool selection, disable tools, require a tool call, or name a specific function. | |
| response_format | object | object | object | Text output, JSON object output, or output constrained by a supplied JSON Schema. | |
| stream_options | object | Options for streamed responses. | |
| reasoning_effort | enum | Optional reasoning-effort hint. The endpoint accepts low, medium, high, xhigh and max; this does not guarantee a specific reasoning-token budget. Omit it to use the endpoint default. | low | medium | high | xhigh | max |
Types
11 $defsChatCompletionFunctionobject
| name* | string | Function name. | |
| description | string | What the function does. | |
| parameters | object | JSON Schema describing the function arguments. |
ChatCompletionNamedToolChoiceobject
| type* | enum | function | |
| function* | object |
ChatCompletionResponseFormatobject | object | object
Text output, JSON object output, or output constrained by a supplied JSON Schema.
ChatCompletionToolobject
| type* | enum | function | |
| function* | ChatCompletionFunction |
ChatCompletionToolCallobject
| id* | string | ||
| type* | enum | function | |
| function* | ChatCompletionToolCallFunction |
ChatCompletionToolCallFunctionobject
| name* | string | ||
| arguments* | string | JSON-encoded function arguments. |
ChatMessageobject
A conversation message. Supply content for user, system and tool messages. An assistant message containing tool_calls can have null or omitted content.
| role* | enum | system | user | assistant | tool | |
| content | string | TextContentPart | ImageContentPart[] | Text, or text/image parts for user image input. Null content is allowed for assistant tool calls. | |
| tool_call_id | string | For a tool result message, the ID of the assistant tool call being answered. | |
| tool_calls | ChatCompletionToolCall[] | Tool calls from a previous assistant message. |
ImageContentPartobject
| type* | enum | image_url | |
| image_url* | ImageURL |
ImageURLobject
| url* | string | URL of the image to analyze. |
JSONSchemaConfigurationobject
| name* | string | Name identifying this response schema. | |
| schema* | object | JSON Schema for the generated JSON value. | |
| strict | boolean | Request strict adherence to the supplied schema. |
TextContentPartobject
| type* | enum | text | |
| text* | string |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"thinkingmachines/inkling-2-small","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}