GET
/v1/schemas/nvidia/chat/thinkingmachines/inkling-2-small?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace68379997d528f6a72245a23df70a5f7780e2bed7556b6616625d75c01f65ea9c{
"fetchedAt": 1796275264,
"extractorVersion": "2",
"verifiedAt": null
} |
Response body
6 properties · 5 required · 5 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | ||
| object* | enum | chat.completion | |
| created* | integer | ||
| model* | string | ||
| choices* | ChatCompletionChoice[] | ||
| usage | ChatCompletionUsage |
Types
5 $defsChatCompletionAssistantMessageobject
| role* | enum | assistant | |
| content | string | ||
| reasoning_content | string | Reasoning text, when returned by the model. | |
| tool_calls | ChatCompletionToolCall[] |
ChatCompletionChoiceobject
| index* | integer | ||
| message* | ChatCompletionAssistantMessage | ||
| finish_reason | string | Why generation ended; common values are stop, length and tool_calls. |
ChatCompletionToolCallobject
| id* | string | ||
| type* | enum | function | |
| function* | ChatCompletionToolCallFunction |
ChatCompletionToolCallFunctionobject
| name* | string | ||
| arguments* | string | JSON-encoded function arguments. |
ChatCompletionUsageobject
| prompt_tokens | integer | n ≥ 0 | |
| completion_tokens | integer | n ≥ 0 | |
| total_tokens | integer | n ≥ 0 | |
| prompt_tokens_details | object | ||
| completion_tokens_details | object |
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", …}]}