Endpoint Details
Review how to make this request and handle its possible responses.
https://integrate.api.nvidia.com/v1/chat/completionsRequest Body
Edit the request fields below.
Request details
Parameters11 Parameters
modelrequiredthinkingmachines/inkling-2-smallValid values: thinkingmachines/inkling-2-smallmessagesrequiredConversation 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.
1messages[].rolerequiredsystem · user · assistant · toolmessages[].contentoptionalText, or text/image parts for user image input. Null content is allowed for assistant tool calls.
messages[].tool_call_idoptionalFor a tool result message, the ID of the assistant tool call being answered.
messages[].tool_callsoptionalTool calls from a previous assistant message.
temperatureoptional1Minimum: 0Maximum: 2top_poptional1Minimum: 0Maximum: 1Exclusive minimum: truemax_tokensoptional1024Minimum: 1Maximum: 131072streamoptionalfalsetoolsoptionalFunction tools available to the assistant.
tool_choiceoptionalChoose automatic tool selection, disable tools, require a tool call, or name a specific function.
response_formatoptionalText output, JSON object output, or output constrained by a supplied JSON Schema.
stream_optionsoptionalOptions for streamed responses.
reasoning_effortoptionalOptional 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 · maxHeaders3 Headers
AuthorizationrequiredFormat: Bearer $NVIDIA_API_KEY
Content-TyperequiredAcceptoptional