import SambaNova from 'sambanova';const client = new SambaNova({ apiKey: process.env['SAMBANOVA_API_KEY'], // This is the default and can be omitted});const response = await client.responses.create({ input: [ { content: 'What is the weather in San Francisco?', role: 'user', type: 'message', }, { content: [ { text: 'The weather in San Francisco is 65°F and partly cloudy.', type: 'output_text' }, ], role: 'assistant', type: 'message', }, { content: 'What should I wear?', role: 'user', type: 'message', }, ], model: 'MiniMax-M3',});console.log(response);
import os
from sambanova import SambaNova
client = SambaNova(
api_key=os.environ.get("SAMBANOVA_API_KEY"), # This is the default and can be omitted
)
for response in client.responses.create(
input=[{
"content": "What is the weather in San Francisco?",
"role": "user",
"type": "message",
}, {
"content": [{
"text": "The weather in San Francisco is 65°F and partly cloudy.",
"type": "output_text",
}],
"role": "assistant",
"type": "message",
}, {
"content": "What should I wear?",
"role": "user",
"type": "message",
}],
model="MiniMax-M3",
):
print(response)
{ "id": "resp_18cb0a9a457241f5b0383ebeee31b80d", "object": "response", "created_at": 1775853213, "completed_at": 1775853214, "status": "completed", "model": "gpt-oss-120b", "output": [ { "id": "rs_d608e0328e6340a69919f808ee38df6c", "type": "reasoning", "status": "completed", "summary": [], "content": [ { "type": "reasoning_text", "text": "User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise." } ] }, { "id": "msg_c1eb06dccbc64f469533bb51be664a9e", "type": "message", "role": "assistant", "status": "completed", "content": [ { "type": "output_text", "annotations": [], "logprobs": [], "text": "Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise." } ] } ], "usage": { "input_tokens": 78, "output_tokens": 126, "total_tokens": 204, "input_tokens_details": { "cached_tokens": 0 }, "output_tokens_details": { "reasoning_tokens": 48 } }, "error": null, "incomplete_details": null, "instructions": null, "metadata": {}, "parallel_tool_calls": true, "tool_choice": "auto", "tools": [], "temperature": 1, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "reasoning": { "effort": "medium", "summary": null }, "text": { "format": { "type": "text" } }, "truncation": "disabled", "store": false, "background": false, "service_tier": "free", "user": null, "previous_response_id": null}
Responses
Create a model response
Creates a model response for the given input. Only type: "function" tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via input[] on each request.
POST
/
responses
JavaScript
import SambaNova from 'sambanova';const client = new SambaNova({ apiKey: process.env['SAMBANOVA_API_KEY'], // This is the default and can be omitted});const response = await client.responses.create({ input: [ { content: 'What is the weather in San Francisco?', role: 'user', type: 'message', }, { content: [ { text: 'The weather in San Francisco is 65°F and partly cloudy.', type: 'output_text' }, ], role: 'assistant', type: 'message', }, { content: 'What should I wear?', role: 'user', type: 'message', }, ], model: 'MiniMax-M3',});console.log(response);
import os
from sambanova import SambaNova
client = SambaNova(
api_key=os.environ.get("SAMBANOVA_API_KEY"), # This is the default and can be omitted
)
for response in client.responses.create(
input=[{
"content": "What is the weather in San Francisco?",
"role": "user",
"type": "message",
}, {
"content": [{
"text": "The weather in San Francisco is 65°F and partly cloudy.",
"type": "output_text",
}],
"role": "assistant",
"type": "message",
}, {
"content": "What should I wear?",
"role": "user",
"type": "message",
}],
model="MiniMax-M3",
):
print(response)
{ "id": "resp_18cb0a9a457241f5b0383ebeee31b80d", "object": "response", "created_at": 1775853213, "completed_at": 1775853214, "status": "completed", "model": "gpt-oss-120b", "output": [ { "id": "rs_d608e0328e6340a69919f808ee38df6c", "type": "reasoning", "status": "completed", "summary": [], "content": [ { "type": "reasoning_text", "text": "User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise." } ] }, { "id": "msg_c1eb06dccbc64f469533bb51be664a9e", "type": "message", "role": "assistant", "status": "completed", "content": [ { "type": "output_text", "annotations": [], "logprobs": [], "text": "Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise." } ] } ], "usage": { "input_tokens": 78, "output_tokens": 126, "total_tokens": 204, "input_tokens_details": { "cached_tokens": 0 }, "output_tokens_details": { "reasoning_tokens": 48 } }, "error": null, "incomplete_details": null, "instructions": null, "metadata": {}, "parallel_tool_calls": true, "tool_choice": "auto", "tools": [], "temperature": 1, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "reasoning": { "effort": "medium", "summary": null }, "text": { "format": { "type": "text" } }, "truncation": "disabled", "store": false, "background": false, "service_tier": "free", "user": null, "previous_response_id": null}
Authorizations
Authorization
string
header
required
SambaNova API key, sent as a bearer token in the Authorization header (Authorization: Bearer <key>). Default authentication scheme used by the SambaNova SDK across every OpenAI compatible endpoint.
Body
application/json
Response creation parameters
responses request object
model
stringenum<string>
required
The model ID to use (e.g. gpt-oss-120b). See available models
A plain text input equivalent to a user-role message.
instructions
string | null
Inserts a system (or developer) message as the first item in the model's context. Equivalent to a system-role message prepended to input[].
stream
boolean | null
default:false
If true, the response is delivered as server-sent events (SSE).
max_output_tokens
integer | null
Upper bound on the number of tokens the model may generate, including visible output tokens and reasoning tokens.
Example:
1024
temperature
number | null
default:0.7
Controls randomness in generation. Range: 0–2. It is recommended to alter this, top_p, or top_k but not more than one at a time.
Required range: 0 <= x <= 2
Example:
0.7
top_p
number | null
default:1
Nucleus sampling cutoff. Range: 0–1. It is recommended to alter this, temperature, or top_k but not more than one at a time.
Required range: 0 <= x <= 1
Example:
1
top_k
integer | null
Limits sampling to the top K most probable tokens. It is recommended to alter this, top_p, or temperature but not more than one at a time.
Required range: 1 <= x <= 100
Example:
5
top_logprobs
integer | null
Number of top log-probability entries to return per output token. Null means log probabilities are not returned.
frequency_penalty
number | null
default:0
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. Not currently implemented; accepted for API compatibility and echoed in the response.
Required range: -2 <= x <= 2
presence_penalty
number | null
default:0
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. Not currently implemented; accepted for API compatibility and echoed in the response.
Required range: -2 <= x <= 2
tools
Response Tool · object[] | null
Tools available to the model. Only type: "function" is supported; all other tool types are filtered server-side.
Maximum array length: 128
Show child attributes
parallel_tool_calls
boolean | null
default:true
Whether the model may issue multiple tool calls in parallel within one turn.
max_tool_calls
integer | null
Maximum number of tool calls the model may make in a single response turn. Not currently implemented; accepted for API compatibility.
tool_choice
enum<string>Response Named Tool Choice · object
String shorthand for tool selection behavior.
Available options:
none,
auto,
required
text
Text · object
Response format configuration. Supports plain text, json_object, and json_schema.
Show child attributes
reasoning
Reasoning · object | null
Reasoning configuration for models that support it. Ignored on non-reasoning models.
Show child attributes
user
string | null
Included for API compatibility, but only echoed back in response
metadata
Metadata · object | null
Included for API compatibility, but not supported
Show child attributes
store
boolean | null
default:false
SambaNova is stateless - this field is accepted for API compatibility but has no effect. Always echoed back as false.
truncation
enum<string> | null
default:disabled
Accepted for API compatibility and echoed in the response. Context truncation behavior is not currently configurable via this field in SambaNova.
Available options:
auto,
disabled
previous_response_id
string | null
Not supported. SambaNova is stateless and does not maintain server-side conversation state. Accepted for API compatibility but ignored; clients must supply the full conversation history in input[].
background
boolean | null
Accepted for API compatibility and echoed back in the response. Has no effect on server behavior.
service_tier
string | null
Accepted for API compatibility and echoed back in the response. Has no effect on server behavior.
Response
Successful response. Returns a ResponseResponse object (non-streaming), or a stream of server-sent ResponseStreamEvent object events ending with a response.completed event (when stream: true).
Response Response
Response Created Event
Response In Progress Event
Response Output Item Added Event
Response Content Part Added Event
Response Reasoning Text Delta Event
Response Reasoning Text Done Event
Response Output Text Delta Event
Response Output Text Done Event
Response Function Call Arguments Delta Event
Response Function Call Arguments Done Event
Response Content Part Done Event
Response Output Item Done Event
Response Completed Event
A response object returned by POST /responses (non-streaming). Contains the model's output items, echoed input parameters, lifecycle metadata, and token usage.
id
string
required
Unique identifier for this response.
object
enum<string>
required
The object type. Always "response".
Available options:
response
status
enum<string>
required
Lifecycle status of the response. "completed" means the model finished successfully. "failed" means an error occurred during generation. "incomplete" means generation was cut short (e.g. max_output_tokens reached).
Available options:
completed,
failed,
in_progress,
incomplete
created_at
integer
required
Unix timestamp (seconds) when the response was created.
Ordered array of output items generated by the model. Items may be of type "message", "reasoning", or "function_call".
A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role "assistant" with content type "output_text" represents a prior model turn; user/system/developer turns use content type "input_text". Plain string content is accepted in all roles on input.
Response Message
Response Function Call
Response Output Reasoning
Show child attributes
Example:
{ "type": "message", "role": "user", "content": "What is the weather in San Francisco?" }
error
Error · object | null
required
In-band error object present when status is "failed". Null when the response completed successfully.
Show child attributes
incomplete_details
Incomplete Details · object | null
required
Present when status is "incomplete". Describes why generation stopped before completion (e.g. max_output_tokens reached).
Show child attributes
temperature
number | null
required
The temperature value used for this response.
top_p
number | null
required
The top_p value used for this response.
frequency_penalty
number | null
required
The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility
presence_penalty
number | null
required
The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility
tools
Response Tool · object[]
required
Tool definitions available to the model for this response.
Show child attributes
parallel_tool_calls
boolean
required
Whether parallel tool calls were enabled.
tool_choice
enum<string>Response Named Tool Choice · object
required
String shorthand for tool selection behavior.
Available options:
none,
auto,
required
truncation
enum<string> | null
required
The truncation value echoed from the request.
Available options:
auto,
disabled
background
boolean | null
required
Whether background generation was requested.
metadata
Metadata · object | null
required
The metadata echoed from the request.
Show child attributes
store
boolean | null
required
Whether the response was stored server-side. SambaNova is stateless - always false.
service_tier
string | null
required
The service tier used to process this request, as reported by the server.
user
string | null
required
The user, echoed back from request.
completed_at
integer | null
Unix timestamp (seconds) when the response finished generating.
The system instructions echoed from the request, or null if none were provided.
top_k
integer | null
The top_k value used for this response.
max_tool_calls
integer | null
The max_tool_calls value echoed from the request.
text
Text · object
The text format configuration (structured output mode) used for this response.
Show child attributes
reasoning
Reasoning · object | null
The reasoning configuration used for this response.
Show child attributes
max_output_tokens
integer | null
The max_output_tokens limit echoed from the request.
top_logprobs
integer | null
The top_logprobs value echoed from the request.
previous_response_id
string | null
Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SambaNova Documentation","colors":{"primary":"#974FC7","light":"#974FC7","dark":"#974FC7"},"logo":{"light":"https://mintcdn.com/sambanova-systems/SM8Xs_Eg3x1tlCPk/logo/new-logo.png?fit=max\u0026auto=format\u0026n=SM8Xs_Eg3x1tlCPk\u0026q=85\u0026s=20f20c2369b8f043d9b2ffa55408fd8d","dark":"https://mintcdn.com/sambanova-systems/Jn3W9iRFUNw6zFv7/logo/new-logo-dark.png?fit=max\u0026auto=format\u0026n=Jn3W9iRFUNw6zFv7\u0026q=85\u0026s=660233c9a1affaf1ed08785472551190","href":"https://sambanova.ai"},"favicon":"https://mintcdn.com/sambanova-systems/tKEjjixpklKce6C2/favicon.webp?fit=max\u0026auto=format\u0026n=tKEjjixpklKce6C2\u0026q=85\u0026s=f345bba634c9e3c52db898e169393d6b","api":{"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json","mdx":{"server":["https://api.sambanovacloud.com/"]}},"appearance":{"default":"system"},"background":{"color":{"light":"#f9fafb","dark":"#262626"}},"navbar":{"links":[{"href":"https://community.sambanova.ai","label":"Community"}],"primary":{"type":"button","label":"Try It Now","href":"https://cloud.sambanova.ai/?_gl=1*i3sino*_gcl_au*MzM0MDE5MzAwLjE3MjkwMTkyNzk.*_ga*MTk0NTY3NjQ1NC4xNzI5MDE5Mjg4*_ga_2D4J2VB6SX*MTcyOTA1ODE3OS4zLjAuMTcyOTA1ODE5Ni40My4wLjA."}},"footer":{"socials":{"youtube":"https://www.youtube.com/c/SambaNovaSystems/featured","x":"https://twitter.com/SambaNovaAI","linkedin":"https://www.linkedin.com/company/sambanova-systems"},"links":[{"header":"Company","items":[{"label":"About us","href":"https://sambanova.ai/company/about"},{"label":"Careers","href":"https://sambanova.ai/company/careers"},{"label":"Newsroom","href":"https://sambanova.ai/press"},{"label":"Contact us","href":"https://sambanova.ai/contact"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://sambanova.ai/resources/tag/blog"},{"label":"Case studies","href":"https://sambanova.ai/resources/tag/case-study"},{"label":"White papers","href":"https://sambanova.ai/resources/tag/white-paper"},{"label":"Events","href":"https://sambanova.ai/events"}]},{"header":"Developers","items":[{"label":"SambaAcademy","href":"https://sambanova.ai/samba-academy"},{"label":"Pricing","href":"https://cloud.sambanova.ai/plans/pricing"}]},{"header":"Support and legal","items":[{"label":"Support","href":"https://sambanova.ai/support"},{"label":"Legal agreements","href":"https://sambanova.ai/legal-agreements"},{"label":"Privacy policy","href":"https://sambanova.ai/privacy-policy"}]}]},"seo":{"paths":[{"path":"en/v0.5.17","metatags":{"robots":"noindex, follow"}},{"path":"ja/v0.5.17","metatags":{"robots":"noindex, follow"}},{"path":"en/v1.0.57","metatags":{"robots":"noindex, follow"}},{"path":"ja/v1.0.57","metatags":{"robots":"noindex, follow"}},{"path":"en/v1.1.1","metatags":{"robots":"noindex, follow"}},{"path":"ja/v1.1.1","metatags":{"robots":"noindex, follow"}},{"path":"en/v1.2.0","metatags":{"robots":"noindex, follow"}},{"path":"ja/v1.2.0","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.0.2","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.0.2","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.1.1","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.1.1","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.1.2","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.1.2","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.2.3","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.2.3","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.2.5","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.2.5","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.2.6","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.2.6","metatags":{"robots":"noindex, follow"}}]},"styling":{"codeblocks":{},"latex":true},"integrations":{"ga4":{"measurementId":"G-J9NMQGJS7S"},"mixpanel":{"projectToken":"ae12e973ba11b9259ca8f76fc03db5e1"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sambanova-systems","hasAudioNarration":false,"actualSubdomain":"sambanova-systems","customDomains":["docs.sambanova.ai"],"gitSource":{"type":"github","owner":"sambanova","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af6ed60e90c1f4f013ea583","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"en","tag":"SambaStack","count":593},{"language":"ja","tag":"SambaStack","count":526},{"language":"en","tag":"Hardware Administration","count":205},{"language":"en","tag":"Service Administration","count":203},{"language":"ja","tag":"ハードウェア管理","count":181},{"language":"ja","tag":"サービス管理","count":180},{"language":"en","tag":"SambaRack Manager","count":139},{"language":"ja","tag":"SambaRack Manager","count":121},{"language":"en","tag":"Model deployment","count":108},{"language":"ja","tag":"モデルデプロイ","count":92},{"language":"en","tag":"Integrations","count":81},{"language":"en","tag":"Reference Architecture","count":80},{"language":"ja","tag":"外部ツール連携","count":74},{"language":"en","tag":"Resources","count":73},{"language":"ja","tag":"リファレンスアーキテクチャ","count":70},{"language":"en","tag":"Monitoring and Observability","count":66},{"language":"ja","tag":"リソース","count":66},{"language":"ja","tag":"監視と可観測性","count":60},{"language":"en","tag":"Deploying models and bundles","count":42},{"language":"ja","tag":"プラットフォーム管理","count":35},{"language":"default","tag":"API reference","count":21},{"language":"default","tag":"Chat Agents API","count":11},{"language":"default","tag":"Inference API","count":10},{"language":"default","tag":"Subagents Interactive","count":4},{"language":"default","tag":"Subagents","count":4},{"language":"default","tag":"Audio","count":2},{"language":"default","tag":"Messages","count":2},{"language":"default","tag":"Models","count":2},{"language":"default","tag":"Chat completions","count":1},{"language":"default","tag":"Completions","count":1}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".logo-container{display:flex;align-items:center;justify-content:center;height:48px;margin-bottom:1rem}.logo-container img{max-width:100%;max-height:100%;width:auto;height:32px;object-fit:contain}.eyebrow{display:block;font-size:0.75rem;font-weight:500;text-transform:uppercase;color:#6B7280;margin-bottom:0.5rem;letter-spacing:0.05em}.page-description{display:none}.dark body,.dark p,.dark li,.dark td,.dark th,.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6{color:#E6E6E3}.dark [class*=\"muted\"],.dark [class*=\"secondary\"],.dark [class*=\"subtitle\"],.dark [class*=\"description\"]{color:#B3B3AE}.dark .card{background-color:#2e2e2e!important}#sidebar{background-color:#f3f4f6}.dark #sidebar{background-color:#202020}div:has(>#sidebar){padding-left:8px!important;padding-right:8px!important;margin-left:0!important;max-width:1680px!important}#content{max-width:880px!important}#navbar>.max-w-8xl{margin-left:0!important}#navbar div.lg\\:px-12{padding-left:24px!important}#navbar div.px-12{padding-left:24px!important}div:has(>#content-side-layout){gap:1.5rem!important}.prose p,.prose li,.prose>span,.prose .prose{font-size:14px!important;line-height:20px!important}#sidebar button svg{color:#4B5563!important;width:12px!important}.dark #sidebar button svg{color:#9CA3AF!important}#sidebar{border-right:1px solid rgba(0, 0, 0, 0.08)}.dark #sidebar{border-right:1px solid rgba(255, 255, 255, 0.08)}#sidebar button{justify-content:space-between!important}.itable{overflow-x:auto}.itable table{table-layout:fixed;width:100%}.itable th:first-child,.itable td:first-child{width:190px}@media (max-width: 640px){.itable table{table-layout:auto;width:auto;min-width:100%}.itable th:first-child,.itable td:first-child{width:auto}}.irow-hidden,.itable-hidden,.iheading-hidden{display:none}.integration-filter-input{display:block;width:100%;max-width:420px;font:inherit;font-size:14px;padding:10px 14px;border:1px solid rgba(0, 0, 0, 0.12);border-radius:8px;margin:4px 0 28px;background:transparent;color:inherit}.dark .integration-filter-input{border-color:rgba(255, 255, 255, 0.16)}"}],"page":{"pagePath":"api-reference/responses/create-a-model-response","slug":"/api-reference/responses/create-a-model-response","pageMetadata":{"title":"Create a model response","description":"Creates a model response for the given input. Only `type: \"function\"` tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via `input[]` on each request.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a model response for the given input. Only \", _jsx(_components.code, {\n children: \"type: \\\"function\\\"\"\n }), \" tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via \", _jsx(_components.code, {\n children: \"input[]\"\n }), \" on each request.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{},"config":{},"pageMetadata":{"title":"Create a model response","description":"Creates a model response for the given input. Only `type: \"function\"` tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via `input[]` on each request.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createResponse","tags":["Responses"],"summary":"Create a model response","description":"Creates a model response for the given input. Only `type: \"function\"` tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via `input[]` on each request.","security":["2ac7ab9c-085f-4f41-bb30-71810a54a96d"],"requestBody":"5e1d969a-9ee5-4521-a0b6-bb3281027054","responses":{"200":"646c9c17-515c-4cc6-ae95-a94ad035e9c6","400":"9c0293f7-47c2-4787-9d13-10000ee69557","401":"9349ed9f-9185-4de1-92b6-0e09dd352e76","404":"bf28a7fe-3846-4e38-a552-467aaa58a4de","408":"0cc4cb95-9dcf-40c4-b567-cc1acd999192","410":"19e3ef8f-aeca-4d63-a112-4f2e34753ef2","429":"ef5b09d6-f97f-4c48-aa56-ff9d919bcbe6","500":"c45241c7-ec5a-44b6-98b4-5fabed6c9fba","503":"06fe3235-71ef-4c68-8ef0-975559cc9adf"},"x-codeSamples":[{"lang":"JavaScript","source":"import SambaNova from 'sambanova';\n\nconst client = new SambaNova({\n apiKey: process.env['SAMBANOVA_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.responses.create({\n input: [\n {\n content: 'What is the weather in San Francisco?',\n role: 'user',\n type: 'message',\n },\n {\n content: [\n { text: 'The weather in San Francisco is 65°F and partly cloudy.', type: 'output_text' },\n ],\n role: 'assistant',\n type: 'message',\n },\n {\n content: 'What should I wear?',\n role: 'user',\n type: 'message',\n },\n ],\n model: 'MiniMax-M3',\n});\n\nconsole.log(response);"},{"lang":"Python","source":"import os\nfrom sambanova import SambaNova\n\nclient = SambaNova(\n api_key=os.environ.get(\"SAMBANOVA_API_KEY\"), # This is the default and can be omitted\n)\nfor response in client.responses.create(\n input=[{\n \"content\": \"What is the weather in San Francisco?\",\n \"role\": \"user\",\n \"type\": \"message\",\n }, {\n \"content\": [{\n \"text\": \"The weather in San Francisco is 65°F and partly cloudy.\",\n \"type\": \"output_text\",\n }],\n \"role\": \"assistant\",\n \"type\": \"message\",\n }, {\n \"content\": \"What should I wear?\",\n \"role\": \"user\",\n \"type\": \"message\",\n }],\n model=\"MiniMax-M3\",\n):\n print(response)"}],"method":"post","type":"path","servers":["b709db63-5fc4-4727-be6d-2a9dac334711"],"path":"/responses","baseUrlOptions":["https://api.sambanova.ai/v1"],"title":"Create a model response","codeSamples":[{"lang":"JavaScript","source":"import SambaNova from 'sambanova';\n\nconst client = new SambaNova({\n apiKey: process.env['SAMBANOVA_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.responses.create({\n input: [\n {\n content: 'What is the weather in San Francisco?',\n role: 'user',\n type: 'message',\n },\n {\n content: [\n { text: 'The weather in San Francisco is 65°F and partly cloudy.', type: 'output_text' },\n ],\n role: 'assistant',\n type: 'message',\n },\n {\n content: 'What should I wear?',\n role: 'user',\n type: 'message',\n },\n ],\n model: 'MiniMax-M3',\n});\n\nconsole.log(response);"},{"lang":"Python","source":"import os\nfrom sambanova import SambaNova\n\nclient = SambaNova(\n api_key=os.environ.get(\"SAMBANOVA_API_KEY\"), # This is the default and can be omitted\n)\nfor response in client.responses.create(\n input=[{\n \"content\": \"What is the weather in San Francisco?\",\n \"role\": \"user\",\n \"type\": \"message\",\n }, {\n \"content\": [{\n \"text\": \"The weather in San Francisco is 65°F and partly cloudy.\",\n \"type\": \"output_text\",\n }],\n \"role\": \"assistant\",\n \"type\": \"message\",\n }, {\n \"content\": \"What should I wear?\",\n \"role\": \"user\",\n \"type\": \"message\",\n }],\n model=\"MiniMax-M3\",\n):\n print(response)"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"description":"Response creation parameters","content":{"application/json":{"schema":{"title":"Response Request","type":"object","description":"responses request object","additionalProperties":true,"properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"The model ID to use (e.g. gpt-oss-120b). See available [models](https://docs.sambanova.ai/docs/en/models/sambacloud-models)","isRequired":true,"uniqueKey":"model.oneOf.0","typeLabel":"string"},{"type":"string","title":"Model","description":"The model ID to use (e.g. gpt-oss-120b). See available [models](https://docs.sambanova.ai/docs/en/models/sambacloud-models)","enum":["MiniMax-M3","MiniMax-M3.1-Flash","gemma-4-31B-it","gpt-oss-120b"],"isRequired":true,"uniqueKey":"model.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"model","typeLabel":"string | enum\u003cstring>"},"input":{"oneOf":[{"type":"string","title":"Text input","description":"A plain text input equivalent to a user-role message.","isRequired":true,"uniqueKey":"input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Function Call Output","description":"A tool result item used in input[] to return the output of a function call back to the model. Always input-only — the model never outputs function_call_output items. The call_id must match the id of the corresponding ResponseFunctionCall item from the prior model turn.","required":["type","call_id","output"],"example":{"type":"function_call_output","call_id":"call_abc123","output":"{\"temperature\":\"65°F\",\"condition\":\"partly cloudy\"}"},"properties":{"type":{"title":"Type","type":"string","enum":["function_call_output"],"description":"The type of this item. Always \"function_call_output\".","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call_id of the ResponseFunctionCall item this result corresponds to. Must match exactly.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"output":{"title":"Output","type":"string","description":"A JSON string containing the result of the function call. Returned to the model as the tool's response.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.output","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Optional identifier for this output item.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Optional identifier for this output item.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","enum":["in_progress","completed","incomplete"],"description":"Processing state. Optional when constructing input items.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","enum":["in_progress","completed","incomplete"],"description":"Processing state. Optional when constructing input items.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Function Call Output · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.summary","typeLabel":"Summary · object[] | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Output Reasoning · object"}],"uniqueKey":"input.oneOf.1.items.[INDEX]","typeLabel":"Response Message · object | Response Function Call · object | Response Function Call Output · object | Response Output Reasoning · object"},"title":"Input item list","description":"An ordered list of input items (messages, tool calls, tool results, etc.).","example":[{"role":"user","content":"What is the weather in San Francisco?"},{"role":"assistant","content":[{"type":"output_text","text":"The weather in San Francisco is 65°F and partly cloudy."}]},{"role":"user","content":"What should I wear?"}],"isRequired":true,"uniqueKey":"input.oneOf.1","typeLabel":"(Response Message · object | Response Function Call · object | Response Function Call Output · object | Response Output Reasoning · object)[]"}],"isRequired":true,"uniqueKey":"input","typeLabel":"string | (Response Message · object | Response Function Call · object | Response Function Call Output · object | Response Output Reasoning · object)[]"},"instructions":{"oneOf":[{"title":"Instructions","type":"string","description":"Inserts a system (or developer) message as the first item in the model's context. Equivalent to a system-role message prepended to input[].","uniqueKey":"instructions.oneOf.0","typeLabel":"string"},{"title":"Instructions","type":"null","description":"Inserts a system (or developer) message as the first item in the model's context. Equivalent to a system-role message prepended to input[].","uniqueKey":"instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions","typeLabel":"string | null"},"stream":{"oneOf":[{"title":"Stream","type":"boolean","description":"If true, the response is delivered as server-sent events (SSE).","default":false,"uniqueKey":"stream.oneOf.0","typeLabel":"boolean"},{"title":"Stream","type":"null","description":"If true, the response is delivered as server-sent events (SSE).","default":false,"uniqueKey":"stream.oneOf.1","typeLabel":"null"}],"uniqueKey":"stream","typeLabel":"boolean | null"},"max_output_tokens":{"oneOf":[{"title":"Max Output Tokens","type":"integer","description":"Upper bound on the number of tokens the model may generate, including visible output tokens and reasoning tokens.","example":1024,"uniqueKey":"max_output_tokens.oneOf.0","typeLabel":"integer"},{"title":"Max Output Tokens","type":"null","description":"Upper bound on the number of tokens the model may generate, including visible output tokens and reasoning tokens.","example":1024,"uniqueKey":"max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_output_tokens","typeLabel":"integer | null"},"temperature":{"oneOf":[{"title":"Temperature","type":"number","description":"Controls randomness in generation. Range: 0–2. It is recommended to alter this, top_p, or top_k but not more than one at a time.","minimum":0,"maximum":2,"default":0.7,"example":0.7,"uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"title":"Temperature","type":"null","description":"Controls randomness in generation. Range: 0–2. It is recommended to alter this, top_p, or top_k but not more than one at a time.","minimum":0,"maximum":2,"default":0.7,"example":0.7,"uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"title":"Top P","type":"number","description":"Nucleus sampling cutoff. Range: 0–1. It is recommended to alter this, temperature, or top_k but not more than one at a time.","minimum":0,"maximum":1,"default":1,"example":1,"uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"title":"Top P","type":"null","description":"Nucleus sampling cutoff. Range: 0–1. It is recommended to alter this, temperature, or top_k but not more than one at a time.","minimum":0,"maximum":1,"default":1,"example":1,"uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_p","typeLabel":"number | null"},"top_k":{"oneOf":[{"title":"Top K","type":"integer","description":"Limits sampling to the top K most probable tokens. It is recommended to alter this, top_p, or temperature but not more than one at a time.","minimum":1,"maximum":100,"example":5,"uniqueKey":"top_k.oneOf.0","typeLabel":"integer"},{"title":"Top K","type":"null","description":"Limits sampling to the top K most probable tokens. It is recommended to alter this, top_p, or temperature but not more than one at a time.","minimum":1,"maximum":100,"example":5,"uniqueKey":"top_k.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_k","typeLabel":"integer | null"},"top_logprobs":{"oneOf":[{"title":"Top Logprobs","description":"Number of top log-probability entries to return per output token. Null means log probabilities are not returned.","type":"integer","uniqueKey":"top_logprobs.oneOf.0","typeLabel":"integer"},{"title":"Top Logprobs","description":"Number of top log-probability entries to return per output token. Null means log probabilities are not returned.","type":"null","uniqueKey":"top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_logprobs","typeLabel":"integer | null"},"frequency_penalty":{"oneOf":[{"title":"Frequency Penalty","type":"number","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. Not currently implemented; accepted for API compatibility and echoed in the response.","minimum":-2,"maximum":2,"default":0,"uniqueKey":"frequency_penalty.oneOf.0","typeLabel":"number"},{"title":"Frequency Penalty","type":"null","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. Not currently implemented; accepted for API compatibility and echoed in the response.","minimum":-2,"maximum":2,"default":0,"uniqueKey":"frequency_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"frequency_penalty","typeLabel":"number | null"},"presence_penalty":{"oneOf":[{"title":"Presence Penalty","type":"number","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. Not currently implemented; accepted for API compatibility and echoed in the response.","minimum":-2,"maximum":2,"default":0,"uniqueKey":"presence_penalty.oneOf.0","typeLabel":"number"},{"title":"Presence Penalty","type":"null","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. Not currently implemented; accepted for API compatibility and echoed in the response.","minimum":-2,"maximum":2,"default":0,"uniqueKey":"presence_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"presence_penalty","typeLabel":"number | null"},"tools":{"oneOf":[{"title":"Tools","type":"array","description":"Tools available to the model. Only type: \"function\" is supported; all other tool types are filtered server-side.","items":{"title":"Response Tool","type":"object","description":"A tool definition passed to the model via the tools[] array. Only type \"function\" is supported; other tool types are filtered server-side.","properties":{"type":{"title":"Type","type":"string","description":"The type of tool. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to be called.","isRequired":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"tools.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"tools.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"parameters":{"oneOf":[{"title":"Parameters","type":"object","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].parameters.oneOf.0","typeLabel":"Parameters · object"},{"title":"Parameters","type":"null","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.items.[INDEX].parameters","typeLabel":"Parameters · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"tools.oneOf.0.items.[INDEX].strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"tools.oneOf.0.items.[INDEX].strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.items.[INDEX].strict","typeLabel":"boolean | null"}},"required":["type","name"],"example":{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null},"uniqueKey":"tools.oneOf.0.items.[INDEX]","typeLabel":"Response Tool · object"},"maxItems":128,"uniqueKey":"tools.oneOf.0","typeLabel":"Response Tool · object[]"},{"title":"Tools","type":"null","description":"Tools available to the model. Only type: \"function\" is supported; all other tool types are filtered server-side.","items":{"title":"Response Tool","type":"object","description":"A tool definition passed to the model via the tools[] array. Only type \"function\" is supported; other tool types are filtered server-side.","properties":{"type":{"title":"Type","type":"string","description":"The type of tool. Always \"function\".","enum":["function"]},"name":{"title":"Name","type":"string","description":"The name of the function to be called."},"description":{"oneOf":[{"title":"Description","type":"string","description":"A description of what the function does. Used by the model to decide when and whether to call it."},{"title":"Description","type":"null","description":"A description of what the function does. Used by the model to decide when and whether to call it."}]},"parameters":{"oneOf":[{"title":"Parameters","type":"object","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true},{"title":"Parameters","type":"null","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true}]},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response."},{"title":"Strict","type":"null","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response."}]}},"required":["type","name"],"example":{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null}},"maxItems":128,"uniqueKey":"tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools","typeLabel":"Response Tool · object[] | null"},"parallel_tool_calls":{"oneOf":[{"title":"Parallel Tool Calls","type":"boolean","description":"Whether the model may issue multiple tool calls in parallel within one turn.","default":true,"uniqueKey":"parallel_tool_calls.oneOf.0","typeLabel":"boolean"},{"title":"Parallel Tool Calls","type":"null","description":"Whether the model may issue multiple tool calls in parallel within one turn.","default":true,"uniqueKey":"parallel_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"parallel_tool_calls","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"title":"Max Tool Calls","type":"integer","description":"Maximum number of tool calls the model may make in a single response turn. Not currently implemented; accepted for API compatibility.","uniqueKey":"max_tool_calls.oneOf.0","typeLabel":"integer"},{"title":"Max Tool Calls","type":"null","description":"Maximum number of tool calls the model may make in a single response turn. Not currently implemented; accepted for API compatibility.","uniqueKey":"max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_tool_calls","typeLabel":"integer | null"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"String shorthand for tool selection behavior.","enum":["none","auto","required"],"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Response Named Tool Choice","description":"Forces the model to call a specific function. Pass this object as tool_choice to guarantee the model will invoke the named function.","required":["type","name"],"example":{"type":"function","name":"get_weather"},"properties":{"type":{"title":"Type","type":"string","description":"The type of tool to force. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.name","typeLabel":"string"}},"uniqueKey":"tool_choice.oneOf.1","typeLabel":"Response Named Tool Choice · object"}],"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | Response Named Tool Choice · object"},"text":{"title":"Text","type":"object","description":"Response format configuration. Supports plain text, json_object, and json_schema.","properties":{"format":{"oneOf":[{"type":"object","title":"Response Text Format Text","description":"Specifies that the model should produce output as plain text. This is the default.","required":["type"],"example":{"type":"text"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"text\".","enum":["text"],"isRequired":true,"uniqueKey":"text.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"text.format.oneOf.0","typeLabel":"Response Text Format Text · object"},{"type":"object","title":"Response Text Format JSON Object","description":"Specifies that the model should produce output as a raw JSON object. The model is not constrained to any specific schema.","required":["type"],"example":{"type":"json_object"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_object\".","enum":["json_object"],"isRequired":true,"uniqueKey":"text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"text.format.oneOf.1","typeLabel":"Response Text Format JSON Object · object"},{"type":"object","title":"Response Text Format JSON Schema","description":"Specifies that the model should produce structured output conforming to the provided JSON Schema. Unlike the Chat Completions API, the Responses API places name, schema, strict, and description directly on this object (not nested under a json_schema key).","required":["type","name"],"example":{"type":"json_schema","name":"event_extraction","description":"Extract structured event information from text","strict":false,"schema":{"type":"object","properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"],"additionalProperties":false}},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_schema\".","enum":["json_schema"],"isRequired":true,"uniqueKey":"text.format.oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"A name for the schema, used to identify it in the model's output.","isRequired":true,"uniqueKey":"text.format.oneOf.2.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"An optional description of the schema, used to guide the model.","uniqueKey":"text.format.oneOf.2.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"An optional description of the schema, used to guide the model.","uniqueKey":"text.format.oneOf.2.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.format.oneOf.2.description","typeLabel":"string | null"},"schema":{"oneOf":[{"title":"Schema","type":"object","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"text.format.oneOf.2.schema.oneOf.0","typeLabel":"Schema · object"},{"title":"Schema","type":"null","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"text.format.oneOf.2.schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.format.oneOf.2.schema","typeLabel":"Schema · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"text.format.oneOf.2.strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"text.format.oneOf.2.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.format.oneOf.2.strict","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"text.format.oneOf.2","typeLabel":"Response Text Format JSON Schema · object"}],"uniqueKey":"text.format","typeLabel":"Response Text Format Text · object | Response Text Format JSON Object · object | Response Text Format JSON Schema · object"}},"uniqueKey":"text","typeLabel":"Text · object"},"reasoning":{"oneOf":[{"title":"Reasoning","type":"object","description":"Reasoning configuration for models that support it. Ignored on non-reasoning models.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","enum":["low","medium","high"],"default":"medium","description":"Reasoning effort level. \"low\" is faster with less depth; \"high\" is deeper at higher token cost.","uniqueKey":"reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Effort","type":"null","enum":["low","medium","high"],"default":"medium","description":"Reasoning effort level. \"low\" is faster with less depth; \"high\" is deeper at higher token cost.","uniqueKey":"reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"title":"Reasoning","type":"null","description":"Reasoning configuration for models that support it. Ignored on non-reasoning models.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","enum":["low","medium","high"],"default":"medium","description":"Reasoning effort level. \"low\" is faster with less depth; \"high\" is deeper at higher token cost."},{"title":"Effort","type":"null","enum":["low","medium","high"],"default":"medium","description":"Reasoning effort level. \"low\" is faster with less depth; \"high\" is deeper at higher token cost."}]}},"uniqueKey":"reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning","typeLabel":"Reasoning · object | null"},"user":{"oneOf":[{"title":"User","type":"string","description":"Included for API compatibility, but only echoed back in response ","uniqueKey":"user.oneOf.0","typeLabel":"string"},{"title":"User","type":"null","description":"Included for API compatibility, but only echoed back in response ","uniqueKey":"user.oneOf.1","typeLabel":"null"}],"uniqueKey":"user","typeLabel":"string | null"},"metadata":{"oneOf":[{"title":"Metadata","type":"object","description":"Included for API compatibility, but not supported","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","type":"null","description":"Included for API compatibility, but not supported","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"store":{"oneOf":[{"title":"Store","type":"boolean","description":"SambaNova is stateless - this field is accepted for API compatibility but has no effect. Always echoed back as false.","default":false,"uniqueKey":"store.oneOf.0","typeLabel":"boolean"},{"title":"Store","type":"null","description":"SambaNova is stateless - this field is accepted for API compatibility but has no effect. Always echoed back as false.","default":false,"uniqueKey":"store.oneOf.1","typeLabel":"null"}],"uniqueKey":"store","typeLabel":"boolean | null"},"truncation":{"oneOf":[{"title":"Truncation","type":"string","description":"Accepted for API compatibility and echoed in the response. Context truncation behavior is not currently configurable via this field in SambaNova.","enum":["auto","disabled"],"default":"disabled","uniqueKey":"truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Truncation","type":"null","description":"Accepted for API compatibility and echoed in the response. Context truncation behavior is not currently configurable via this field in SambaNova.","enum":["auto","disabled"],"default":"disabled","uniqueKey":"truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"title":"Previous Response ID","type":"string","description":"Not supported. SambaNova is stateless and does not maintain server-side conversation state. Accepted for API compatibility but ignored; clients must supply the full conversation history in input[].","uniqueKey":"previous_response_id.oneOf.0","typeLabel":"string"},{"title":"Previous Response ID","type":"null","description":"Not supported. SambaNova is stateless and does not maintain server-side conversation state. Accepted for API compatibility but ignored; clients must supply the full conversation history in input[].","uniqueKey":"previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"title":"Background","type":"boolean","description":"Accepted for API compatibility and echoed back in the response. Has no effect on server behavior.","uniqueKey":"background.oneOf.0","typeLabel":"boolean"},{"title":"Background","type":"null","description":"Accepted for API compatibility and echoed back in the response. Has no effect on server behavior.","uniqueKey":"background.oneOf.1","typeLabel":"null"}],"uniqueKey":"background","typeLabel":"boolean | null"},"service_tier":{"oneOf":[{"title":"Service Tier","type":"string","description":"Accepted for API compatibility and echoed back in the response. Has no effect on server behavior.","uniqueKey":"service_tier.oneOf.0","typeLabel":"string"},{"title":"Service Tier","type":"null","description":"Accepted for API compatibility and echoed back in the response. Has no effect on server behavior.","uniqueKey":"service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_tier","typeLabel":"string | null"}},"required":["model","input"],"uniqueKey":"","typeLabel":"Response Request · object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","input":"\u003cstring>","instructions":"\u003cstring>","stream":false,"max_output_tokens":1024,"temperature":0.7,"top_p":1,"top_k":5,"top_logprobs":123,"frequency_penalty":0,"presence_penalty":0,"tools":[{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null}],"parallel_tool_calls":true,"max_tool_calls":123,"text":{"format":{"type":"text"}},"reasoning":{"effort":"medium"},"user":"\u003cstring>","metadata":{},"store":false,"truncation":"disabled","previous_response_id":"\u003cstring>","background":true,"service_tier":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"646c9c17-515c-4cc6-ae95-a94ad035e9c6":{"description":"Successful response. Returns a ResponseResponse object (non-streaming), or a stream of server-sent ResponseStreamEvent object events ending with a response.completed event (when stream: true).","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Response Response","description":"A response object returned by POST /responses (non-streaming). Contains the model's output items, echoed input parameters, lifecycle metadata, and token usage.","required":["id","object","status","created_at","model","output","tools","tool_choice","truncation","parallel_tool_calls","background","metadata","temperature","top_p","store","service_tier","error","incomplete_details","frequency_penalty","presence_penalty","user"],"example":{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"completed_at":1775853214,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]},{"id":"msg_c1eb06dccbc64f469533bb51be664a9e","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise."}]}],"usage":{"input_tokens":78,"output_tokens":126,"total_tokens":204,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":48}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},"properties":{"id":{"title":"ID","type":"string","description":"Unique identifier for this response.","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string"},"object":{"title":"Object","type":"string","description":"The object type. Always \"response\".","enum":["response"],"isRequired":true,"uniqueKey":"oneOf.0.object","typeLabel":"enum\u003cstring>"},"status":{"title":"Status","type":"string","description":"Lifecycle status of the response. \"completed\" means the model finished successfully. \"failed\" means an error occurred during generation. \"incomplete\" means generation was cut short (e.g. max_output_tokens reached).","enum":["completed","failed","in_progress","incomplete"],"isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"created_at":{"title":"Created At","type":"integer","description":"Unix timestamp (seconds) when the response was created.","isRequired":true,"uniqueKey":"oneOf.0.created_at","typeLabel":"integer"},"model":{"title":"Model","type":"string","description":"The model ID used to generate this response.","isRequired":true,"uniqueKey":"oneOf.0.model","typeLabel":"string"},"output":{"title":"Output","type":"array","description":"Ordered array of output items generated by the model. Items may be of type \"message\", \"reasoning\", or \"function_call\".","items":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2.summary","typeLabel":"Summary · object[] | null"}},"uniqueKey":"oneOf.0.output.items.[INDEX].oneOf.2","typeLabel":"Response Output Reasoning · object"}],"uniqueKey":"oneOf.0.output.items.[INDEX]","typeLabel":"Response Message · object | Response Function Call · object | Response Output Reasoning · object"},"isRequired":true,"uniqueKey":"oneOf.0.output","typeLabel":"(Response Message · object | Response Function Call · object | Response Output Reasoning · object)[]"},"error":{"oneOf":[{"title":"Error","type":"object","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.0.error.oneOf.0.code","typeLabel":"string"},"message":{"title":"message","type":"string","description":"A human-readable error message.","isRequired":true,"uniqueKey":"oneOf.0.error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.0.error.oneOf.0","typeLabel":"Error · object"},{"title":"Error","type":"null","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code."},"message":{"title":"message","type":"string","description":"A human-readable error message."}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.0.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"Error · object | null"},"incomplete_details":{"oneOf":[{"title":"Incomplete Details","type":"object","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete.","uniqueKey":"oneOf.0.incomplete_details.oneOf.0.reason","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.incomplete_details.oneOf.0","typeLabel":"Incomplete Details · object"},{"title":"Incomplete Details","type":"null","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete."}},"isRequired":true,"uniqueKey":"oneOf.0.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.incomplete_details","typeLabel":"Incomplete Details · object | null"},"temperature":{"oneOf":[{"title":"Temperature","type":"number","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.0.temperature.oneOf.0","typeLabel":"number"},{"title":"Temperature","type":"null","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.0.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"title":"Top P","type":"number","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.0.top_p.oneOf.0","typeLabel":"number"},{"title":"Top P","type":"null","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.0.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.top_p","typeLabel":"number | null"},"frequency_penalty":{"oneOf":[{"title":"Frequency Penalty","type":"number","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.0.frequency_penalty.oneOf.0","typeLabel":"number"},{"title":"Frequency Penalty","type":"null","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.0.frequency_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.frequency_penalty","typeLabel":"number | null"},"presence_penalty":{"oneOf":[{"title":"Presence Penalty","type":"number","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.0.presence_penalty.oneOf.0","typeLabel":"number"},{"title":"Presence Penalty","type":"null","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.0.presence_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.presence_penalty","typeLabel":"number | null"},"tools":{"title":"Tools","type":"array","description":"Tool definitions available to the model for this response.","items":{"title":"Response Tool","type":"object","description":"A tool definition passed to the model via the tools[] array. Only type \"function\" is supported; other tool types are filtered server-side.","properties":{"type":{"title":"Type","type":"string","description":"The type of tool. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.0.tools.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to be called.","isRequired":true,"uniqueKey":"oneOf.0.tools.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.0.tools.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.0.tools.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tools.items.[INDEX].description","typeLabel":"string | null"},"parameters":{"oneOf":[{"title":"Parameters","type":"object","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.0.tools.items.[INDEX].parameters.oneOf.0","typeLabel":"Parameters · object"},{"title":"Parameters","type":"null","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.0.tools.items.[INDEX].parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tools.items.[INDEX].parameters","typeLabel":"Parameters · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.0.tools.items.[INDEX].strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.0.tools.items.[INDEX].strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tools.items.[INDEX].strict","typeLabel":"boolean | null"}},"required":["type","name"],"example":{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null},"uniqueKey":"oneOf.0.tools.items.[INDEX]","typeLabel":"Response Tool · object"},"isRequired":true,"uniqueKey":"oneOf.0.tools","typeLabel":"Response Tool · object[]"},"parallel_tool_calls":{"title":"Parallel Tool Calls","type":"boolean","description":"Whether parallel tool calls were enabled.","isRequired":true,"uniqueKey":"oneOf.0.parallel_tool_calls","typeLabel":"boolean"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"String shorthand for tool selection behavior.","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.0.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Response Named Tool Choice","description":"Forces the model to call a specific function. Pass this object as tool_choice to guarantee the model will invoke the named function.","required":["type","name"],"example":{"type":"function","name":"get_weather"},"properties":{"type":{"title":"Type","type":"string","description":"The type of tool to force. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.0.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.0.tool_choice.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.tool_choice.oneOf.1","typeLabel":"Response Named Tool Choice · object"}],"isRequired":true,"uniqueKey":"oneOf.0.tool_choice","typeLabel":"enum\u003cstring> | Response Named Tool Choice · object"},"truncation":{"oneOf":[{"title":"Truncation","type":"string","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.0.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Truncation","type":"null","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.0.truncation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.truncation","typeLabel":"enum\u003cstring> | null"},"background":{"oneOf":[{"title":"Background","type":"boolean","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.0.background.oneOf.0","typeLabel":"boolean"},{"title":"Background","type":"null","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.0.background.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.background","typeLabel":"boolean | null"},"metadata":{"oneOf":[{"title":"Metadata","type":"object","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.0.metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","type":"null","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.metadata","typeLabel":"Metadata · object | null"},"store":{"oneOf":[{"title":"Store","type":"boolean","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.0.store.oneOf.0","typeLabel":"boolean"},{"title":"Store","type":"null","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.0.store.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.store","typeLabel":"boolean | null"},"service_tier":{"oneOf":[{"title":"Service Tier","type":"string","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.0.service_tier.oneOf.0","typeLabel":"string"},{"title":"Service Tier","type":"null","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.0.service_tier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.service_tier","typeLabel":"string | null"},"user":{"oneOf":[{"title":"User","type":"string","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.0.user.oneOf.0","typeLabel":"string"},{"title":"User","type":"null","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.0.user.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.user","typeLabel":"string | null"},"completed_at":{"oneOf":[{"title":"Completed At","type":"integer","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.0.completed_at.oneOf.0","typeLabel":"integer"},{"title":"Completed At","type":"null","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.0.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.completed_at","typeLabel":"integer | null"},"usage":{"title":"Response Usage","type":"object","description":"Token usage statistics for this response.","properties":{"input_tokens":{"title":"Input Tokens","type":"integer","description":"Number of tokens in the input, including conversation history and any system instructions.","isRequired":true,"uniqueKey":"oneOf.0.usage.input_tokens","typeLabel":"integer"},"output_tokens":{"title":"Output Tokens","type":"integer","description":"Number of tokens generated in the output, including visible text and any reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.0.usage.output_tokens","typeLabel":"integer"},"total_tokens":{"title":"Total Tokens","type":"integer","description":"Total tokens consumed by this request (input + output).","isRequired":true,"uniqueKey":"oneOf.0.usage.total_tokens","typeLabel":"integer"},"input_tokens_details":{"oneOf":[{"title":"Input Tokens Details","type":"object","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate.","uniqueKey":"oneOf.0.usage.input_tokens_details.oneOf.0.cached_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.0.usage.input_tokens_details.oneOf.0","typeLabel":"Input Tokens Details · object"},{"title":"Input Tokens Details","type":"null","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate."}},"uniqueKey":"oneOf.0.usage.input_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.input_tokens_details","typeLabel":"Input Tokens Details · object | null"},"output_tokens_details":{"oneOf":[{"title":"Output Tokens Details","type":"object","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models.","uniqueKey":"oneOf.0.usage.output_tokens_details.oneOf.0.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.0.usage.output_tokens_details.oneOf.0","typeLabel":"Output Tokens Details · object"},{"title":"Output Tokens Details","type":"null","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models."}},"uniqueKey":"oneOf.0.usage.output_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.output_tokens_details","typeLabel":"Output Tokens Details · object | null"},"start_time":{"oneOf":[{"title":"Start Time","type":"number","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.0.usage.start_time.oneOf.0","typeLabel":"number"},{"title":"Start Time","type":"null","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.0.usage.start_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.start_time","typeLabel":"number | null"},"end_time":{"oneOf":[{"title":"End Time","type":"number","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.0.usage.end_time.oneOf.0","typeLabel":"number"},{"title":"End Time","type":"null","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.0.usage.end_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.end_time","typeLabel":"number | null"},"time_to_first_token":{"oneOf":[{"title":"Time To First Token","type":"number","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.0.usage.time_to_first_token.oneOf.0","typeLabel":"number"},{"title":"Time To First Token","type":"null","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.0.usage.time_to_first_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.time_to_first_token","typeLabel":"number | null"},"total_latency":{"oneOf":[{"title":"Total Latency","type":"number","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.0.usage.total_latency.oneOf.0","typeLabel":"number"},{"title":"Total Latency","type":"null","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.0.usage.total_latency.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.total_latency","typeLabel":"number | null"},"output_tokens_per_sec":{"oneOf":[{"title":"Output Tokens Per Sec","type":"number","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.0.usage.output_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens Per Sec","type":"null","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.0.usage.output_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.output_tokens_per_sec","typeLabel":"number | null"},"output_tokens_after_first_per_sec":{"oneOf":[{"title":"Output Tokens After First Per Sec","type":"number","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.0.usage.output_tokens_after_first_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens After First Per Sec","type":"null","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.0.usage.output_tokens_after_first_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.output_tokens_after_first_per_sec","typeLabel":"number | null"},"total_tokens_per_sec":{"oneOf":[{"title":"Total Tokens Per Sec","type":"number","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.0.usage.total_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Total Tokens Per Sec","type":"null","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.0.usage.total_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.total_tokens_per_sec","typeLabel":"number | null"},"acceptance_rate":{"oneOf":[{"title":"Acceptance Rate","type":"number","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.0.usage.acceptance_rate.oneOf.0","typeLabel":"number"},{"title":"Acceptance Rate","type":"null","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.0.usage.acceptance_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.acceptance_rate","typeLabel":"number | null"},"is_last_response":{"oneOf":[{"title":"Is Last Response","type":"boolean","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.0.usage.is_last_response.oneOf.0","typeLabel":"boolean"},{"title":"Is Last Response","type":"null","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.0.usage.is_last_response.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.usage.is_last_response","typeLabel":"boolean | null"}},"required":["input_tokens","output_tokens","total_tokens"],"example":{"input_tokens":248,"output_tokens":72,"total_tokens":320,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18},"start_time":1737642515.445,"end_time":1737642515.904,"time_to_first_token":0.084,"total_latency":0.459,"output_tokens_per_sec":156.8,"output_tokens_after_first_per_sec":161.2,"total_tokens_per_sec":311.6,"acceptance_rate":4.06,"is_last_response":true},"uniqueKey":"oneOf.0.usage","typeLabel":"Response Usage · object"},"instructions":{"oneOf":[{"title":"Instructions","type":"string","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"title":"Instructions","type":"null","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.0.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instructions","typeLabel":"string | null"},"top_k":{"oneOf":[{"title":"Top K","type":"integer","description":"The top_k value used for this response.","uniqueKey":"oneOf.0.top_k.oneOf.0","typeLabel":"integer"},{"title":"Top K","type":"null","description":"The top_k value used for this response.","uniqueKey":"oneOf.0.top_k.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.top_k","typeLabel":"integer | null"},"max_tool_calls":{"oneOf":[{"title":"Max Tool Calls","type":"integer","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.0.max_tool_calls.oneOf.0","typeLabel":"integer"},{"title":"Max Tool Calls","type":"null","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.0.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.max_tool_calls","typeLabel":"integer | null"},"text":{"title":"Text","type":"object","description":"The text format configuration (structured output mode) used for this response. ","properties":{"format":{"oneOf":[{"type":"object","title":"Response Text Format Text","description":"Specifies that the model should produce output as plain text. This is the default.","required":["type"],"example":{"type":"text"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"text\".","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.0.text.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0.text.format.oneOf.0","typeLabel":"Response Text Format Text · object"},{"type":"object","title":"Response Text Format JSON Object","description":"Specifies that the model should produce output as a raw JSON object. The model is not constrained to any specific schema.","required":["type"],"example":{"type":"json_object"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_object\".","enum":["json_object"],"isRequired":true,"uniqueKey":"oneOf.0.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0.text.format.oneOf.1","typeLabel":"Response Text Format JSON Object · object"},{"type":"object","title":"Response Text Format JSON Schema","description":"Specifies that the model should produce structured output conforming to the provided JSON Schema. Unlike the Chat Completions API, the Responses API places name, schema, strict, and description directly on this object (not nested under a json_schema key).","required":["type","name"],"example":{"type":"json_schema","name":"event_extraction","description":"Extract structured event information from text","strict":false,"schema":{"type":"object","properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"],"additionalProperties":false}},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_schema\".","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.0.text.format.oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"A name for the schema, used to identify it in the model's output.","isRequired":true,"uniqueKey":"oneOf.0.text.format.oneOf.2.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.0.text.format.oneOf.2.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.0.text.format.oneOf.2.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.text.format.oneOf.2.description","typeLabel":"string | null"},"schema":{"oneOf":[{"title":"Schema","type":"object","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.0.text.format.oneOf.2.schema.oneOf.0","typeLabel":"Schema · object"},{"title":"Schema","type":"null","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.0.text.format.oneOf.2.schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.text.format.oneOf.2.schema","typeLabel":"Schema · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.0.text.format.oneOf.2.strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.0.text.format.oneOf.2.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.text.format.oneOf.2.strict","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0.text.format.oneOf.2","typeLabel":"Response Text Format JSON Schema · object"}],"uniqueKey":"oneOf.0.text.format","typeLabel":"Response Text Format Text · object | Response Text Format JSON Object · object | Response Text Format JSON Schema · object"}},"uniqueKey":"oneOf.0.text","typeLabel":"Text · object"},"reasoning":{"oneOf":[{"title":"Reasoning","type":"object","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.0.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.0.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported.","uniqueKey":"oneOf.0.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"string"},{"title":"Summary","type":"null","description":"Not supported.","uniqueKey":"oneOf.0.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.reasoning.oneOf.0.summary","typeLabel":"string | null"}},"uniqueKey":"oneOf.0.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"title":"Reasoning","type":"null","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]}]},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported."},{"title":"Summary","type":"null","description":"Not supported."}]}},"uniqueKey":"oneOf.0.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.reasoning","typeLabel":"Reasoning · object | null"},"max_output_tokens":{"oneOf":[{"title":"Max Output Tokens","type":"integer","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.0.max_output_tokens.oneOf.0","typeLabel":"integer"},{"title":"Max Output Tokens","type":"null","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.0.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.max_output_tokens","typeLabel":"integer | null"},"top_logprobs":{"oneOf":[{"title":"Top Logprobs","type":"integer","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.0.top_logprobs.oneOf.0","typeLabel":"integer"},{"title":"Top Logprobs","type":"null","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.0.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.top_logprobs","typeLabel":"integer | null"},"previous_response_id":{"oneOf":[{"title":"Previous Response ID","type":"string","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.0.previous_response_id.oneOf.0","typeLabel":"string"},{"title":"Previous Response ID","type":"null","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.0.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.previous_response_id","typeLabel":"string | null"}},"uniqueKey":"oneOf.0","typeLabel":"Response Response · object"},{"type":"object","title":"Response Created Event","description":"Emitted as the first SSE event when a streaming response begins. The embedded response object has status `in_progress` and an empty `output` array. Clients can use this event to capture the response `id` for later correlation.","required":["type","sequence_number","response"],"example":{"type":"response.created","sequence_number":0,"response":{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"status":"in_progress","model":"gpt-oss-120b","output":[],"usage":null,"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free"}},"properties":{"type":{"type":"string","enum":["response.created"],"isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response. Starts at 0 for `response.created`.","isRequired":true,"uniqueKey":"oneOf.1.sequence_number","typeLabel":"integer"},"response":{"title":"Response Response","type":"object","description":"A response object returned by POST /responses (non-streaming). Contains the model's output items, echoed input parameters, lifecycle metadata, and token usage.","properties":{"id":{"title":"ID","type":"string","description":"Unique identifier for this response.","isRequired":true,"uniqueKey":"oneOf.1.response.id","typeLabel":"string"},"object":{"title":"Object","type":"string","description":"The object type. Always \"response\".","enum":["response"],"isRequired":true,"uniqueKey":"oneOf.1.response.object","typeLabel":"enum\u003cstring>"},"status":{"title":"Status","type":"string","description":"Lifecycle status of the response. \"completed\" means the model finished successfully. \"failed\" means an error occurred during generation. \"incomplete\" means generation was cut short (e.g. max_output_tokens reached).","enum":["completed","failed","in_progress","incomplete"],"isRequired":true,"uniqueKey":"oneOf.1.response.status","typeLabel":"enum\u003cstring>"},"created_at":{"title":"Created At","type":"integer","description":"Unix timestamp (seconds) when the response was created.","isRequired":true,"uniqueKey":"oneOf.1.response.created_at","typeLabel":"integer"},"model":{"title":"Model","type":"string","description":"The model ID used to generate this response.","isRequired":true,"uniqueKey":"oneOf.1.response.model","typeLabel":"string"},"output":{"title":"Output","type":"array","description":"Ordered array of output items generated by the model. Items may be of type \"message\", \"reasoning\", or \"function_call\".","items":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2.summary","typeLabel":"Summary · object[] | null"}},"uniqueKey":"oneOf.1.response.output.items.[INDEX].oneOf.2","typeLabel":"Response Output Reasoning · object"}],"uniqueKey":"oneOf.1.response.output.items.[INDEX]","typeLabel":"Response Message · object | Response Function Call · object | Response Output Reasoning · object"},"isRequired":true,"uniqueKey":"oneOf.1.response.output","typeLabel":"(Response Message · object | Response Function Call · object | Response Output Reasoning · object)[]"},"error":{"oneOf":[{"title":"Error","type":"object","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.1.response.error.oneOf.0.code","typeLabel":"string"},"message":{"title":"message","type":"string","description":"A human-readable error message.","isRequired":true,"uniqueKey":"oneOf.1.response.error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.1.response.error.oneOf.0","typeLabel":"Error · object"},{"title":"Error","type":"null","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code."},"message":{"title":"message","type":"string","description":"A human-readable error message."}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.1.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.error","typeLabel":"Error · object | null"},"incomplete_details":{"oneOf":[{"title":"Incomplete Details","type":"object","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete.","uniqueKey":"oneOf.1.response.incomplete_details.oneOf.0.reason","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.response.incomplete_details.oneOf.0","typeLabel":"Incomplete Details · object"},{"title":"Incomplete Details","type":"null","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete."}},"isRequired":true,"uniqueKey":"oneOf.1.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.incomplete_details","typeLabel":"Incomplete Details · object | null"},"temperature":{"oneOf":[{"title":"Temperature","type":"number","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.1.response.temperature.oneOf.0","typeLabel":"number"},{"title":"Temperature","type":"null","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.1.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"title":"Top P","type":"number","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.1.response.top_p.oneOf.0","typeLabel":"number"},{"title":"Top P","type":"null","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.1.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.top_p","typeLabel":"number | null"},"frequency_penalty":{"oneOf":[{"title":"Frequency Penalty","type":"number","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.1.response.frequency_penalty.oneOf.0","typeLabel":"number"},{"title":"Frequency Penalty","type":"null","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.1.response.frequency_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.frequency_penalty","typeLabel":"number | null"},"presence_penalty":{"oneOf":[{"title":"Presence Penalty","type":"number","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.1.response.presence_penalty.oneOf.0","typeLabel":"number"},{"title":"Presence Penalty","type":"null","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.1.response.presence_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.presence_penalty","typeLabel":"number | null"},"tools":{"title":"Tools","type":"array","description":"Tool definitions available to the model for this response.","items":{"title":"Response Tool","type":"object","description":"A tool definition passed to the model via the tools[] array. Only type \"function\" is supported; other tool types are filtered server-side.","properties":{"type":{"title":"Type","type":"string","description":"The type of tool. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.1.response.tools.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to be called.","isRequired":true,"uniqueKey":"oneOf.1.response.tools.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.1.response.tools.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.1.response.tools.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.tools.items.[INDEX].description","typeLabel":"string | null"},"parameters":{"oneOf":[{"title":"Parameters","type":"object","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.1.response.tools.items.[INDEX].parameters.oneOf.0","typeLabel":"Parameters · object"},{"title":"Parameters","type":"null","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.1.response.tools.items.[INDEX].parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.tools.items.[INDEX].parameters","typeLabel":"Parameters · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.1.response.tools.items.[INDEX].strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.1.response.tools.items.[INDEX].strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.tools.items.[INDEX].strict","typeLabel":"boolean | null"}},"required":["type","name"],"example":{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null},"uniqueKey":"oneOf.1.response.tools.items.[INDEX]","typeLabel":"Response Tool · object"},"isRequired":true,"uniqueKey":"oneOf.1.response.tools","typeLabel":"Response Tool · object[]"},"parallel_tool_calls":{"title":"Parallel Tool Calls","type":"boolean","description":"Whether parallel tool calls were enabled.","isRequired":true,"uniqueKey":"oneOf.1.response.parallel_tool_calls","typeLabel":"boolean"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"String shorthand for tool selection behavior.","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.1.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Response Named Tool Choice","description":"Forces the model to call a specific function. Pass this object as tool_choice to guarantee the model will invoke the named function.","required":["type","name"],"example":{"type":"function","name":"get_weather"},"properties":{"type":{"title":"Type","type":"string","description":"The type of tool to force. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.1.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.1.response.tool_choice.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.response.tool_choice.oneOf.1","typeLabel":"Response Named Tool Choice · object"}],"isRequired":true,"uniqueKey":"oneOf.1.response.tool_choice","typeLabel":"enum\u003cstring> | Response Named Tool Choice · object"},"truncation":{"oneOf":[{"title":"Truncation","type":"string","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.1.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Truncation","type":"null","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.1.response.truncation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.truncation","typeLabel":"enum\u003cstring> | null"},"background":{"oneOf":[{"title":"Background","type":"boolean","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.1.response.background.oneOf.0","typeLabel":"boolean"},{"title":"Background","type":"null","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.1.response.background.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.background","typeLabel":"boolean | null"},"metadata":{"oneOf":[{"title":"Metadata","type":"object","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.1.response.metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","type":"null","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.response.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.1.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.metadata","typeLabel":"Metadata · object | null"},"store":{"oneOf":[{"title":"Store","type":"boolean","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.1.response.store.oneOf.0","typeLabel":"boolean"},{"title":"Store","type":"null","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.1.response.store.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.store","typeLabel":"boolean | null"},"service_tier":{"oneOf":[{"title":"Service Tier","type":"string","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.1.response.service_tier.oneOf.0","typeLabel":"string"},{"title":"Service Tier","type":"null","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.1.response.service_tier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.service_tier","typeLabel":"string | null"},"user":{"oneOf":[{"title":"User","type":"string","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.1.response.user.oneOf.0","typeLabel":"string"},{"title":"User","type":"null","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.1.response.user.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.response.user","typeLabel":"string | null"},"completed_at":{"oneOf":[{"title":"Completed At","type":"integer","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.1.response.completed_at.oneOf.0","typeLabel":"integer"},{"title":"Completed At","type":"null","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.1.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.completed_at","typeLabel":"integer | null"},"usage":{"title":"Response Usage","type":"object","description":"Token usage statistics for this response.","properties":{"input_tokens":{"title":"Input Tokens","type":"integer","description":"Number of tokens in the input, including conversation history and any system instructions.","isRequired":true,"uniqueKey":"oneOf.1.response.usage.input_tokens","typeLabel":"integer"},"output_tokens":{"title":"Output Tokens","type":"integer","description":"Number of tokens generated in the output, including visible text and any reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.1.response.usage.output_tokens","typeLabel":"integer"},"total_tokens":{"title":"Total Tokens","type":"integer","description":"Total tokens consumed by this request (input + output).","isRequired":true,"uniqueKey":"oneOf.1.response.usage.total_tokens","typeLabel":"integer"},"input_tokens_details":{"oneOf":[{"title":"Input Tokens Details","type":"object","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate.","uniqueKey":"oneOf.1.response.usage.input_tokens_details.oneOf.0.cached_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.1.response.usage.input_tokens_details.oneOf.0","typeLabel":"Input Tokens Details · object"},{"title":"Input Tokens Details","type":"null","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate."}},"uniqueKey":"oneOf.1.response.usage.input_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.input_tokens_details","typeLabel":"Input Tokens Details · object | null"},"output_tokens_details":{"oneOf":[{"title":"Output Tokens Details","type":"object","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models.","uniqueKey":"oneOf.1.response.usage.output_tokens_details.oneOf.0.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.1.response.usage.output_tokens_details.oneOf.0","typeLabel":"Output Tokens Details · object"},{"title":"Output Tokens Details","type":"null","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models."}},"uniqueKey":"oneOf.1.response.usage.output_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.output_tokens_details","typeLabel":"Output Tokens Details · object | null"},"start_time":{"oneOf":[{"title":"Start Time","type":"number","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.1.response.usage.start_time.oneOf.0","typeLabel":"number"},{"title":"Start Time","type":"null","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.1.response.usage.start_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.start_time","typeLabel":"number | null"},"end_time":{"oneOf":[{"title":"End Time","type":"number","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.1.response.usage.end_time.oneOf.0","typeLabel":"number"},{"title":"End Time","type":"null","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.1.response.usage.end_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.end_time","typeLabel":"number | null"},"time_to_first_token":{"oneOf":[{"title":"Time To First Token","type":"number","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.1.response.usage.time_to_first_token.oneOf.0","typeLabel":"number"},{"title":"Time To First Token","type":"null","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.1.response.usage.time_to_first_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.time_to_first_token","typeLabel":"number | null"},"total_latency":{"oneOf":[{"title":"Total Latency","type":"number","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.1.response.usage.total_latency.oneOf.0","typeLabel":"number"},{"title":"Total Latency","type":"null","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.1.response.usage.total_latency.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.total_latency","typeLabel":"number | null"},"output_tokens_per_sec":{"oneOf":[{"title":"Output Tokens Per Sec","type":"number","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.1.response.usage.output_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens Per Sec","type":"null","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.1.response.usage.output_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.output_tokens_per_sec","typeLabel":"number | null"},"output_tokens_after_first_per_sec":{"oneOf":[{"title":"Output Tokens After First Per Sec","type":"number","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.1.response.usage.output_tokens_after_first_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens After First Per Sec","type":"null","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.1.response.usage.output_tokens_after_first_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.output_tokens_after_first_per_sec","typeLabel":"number | null"},"total_tokens_per_sec":{"oneOf":[{"title":"Total Tokens Per Sec","type":"number","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.1.response.usage.total_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Total Tokens Per Sec","type":"null","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.1.response.usage.total_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.total_tokens_per_sec","typeLabel":"number | null"},"acceptance_rate":{"oneOf":[{"title":"Acceptance Rate","type":"number","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.1.response.usage.acceptance_rate.oneOf.0","typeLabel":"number"},{"title":"Acceptance Rate","type":"null","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.1.response.usage.acceptance_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.acceptance_rate","typeLabel":"number | null"},"is_last_response":{"oneOf":[{"title":"Is Last Response","type":"boolean","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.1.response.usage.is_last_response.oneOf.0","typeLabel":"boolean"},{"title":"Is Last Response","type":"null","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.1.response.usage.is_last_response.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.usage.is_last_response","typeLabel":"boolean | null"}},"required":["input_tokens","output_tokens","total_tokens"],"example":{"input_tokens":248,"output_tokens":72,"total_tokens":320,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18},"start_time":1737642515.445,"end_time":1737642515.904,"time_to_first_token":0.084,"total_latency":0.459,"output_tokens_per_sec":156.8,"output_tokens_after_first_per_sec":161.2,"total_tokens_per_sec":311.6,"acceptance_rate":4.06,"is_last_response":true},"uniqueKey":"oneOf.1.response.usage","typeLabel":"Response Usage · object"},"instructions":{"oneOf":[{"title":"Instructions","type":"string","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.1.response.instructions.oneOf.0","typeLabel":"string"},{"title":"Instructions","type":"null","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.1.response.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.instructions","typeLabel":"string | null"},"top_k":{"oneOf":[{"title":"Top K","type":"integer","description":"The top_k value used for this response.","uniqueKey":"oneOf.1.response.top_k.oneOf.0","typeLabel":"integer"},{"title":"Top K","type":"null","description":"The top_k value used for this response.","uniqueKey":"oneOf.1.response.top_k.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.top_k","typeLabel":"integer | null"},"max_tool_calls":{"oneOf":[{"title":"Max Tool Calls","type":"integer","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.1.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"title":"Max Tool Calls","type":"null","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.1.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.max_tool_calls","typeLabel":"integer | null"},"text":{"title":"Text","type":"object","description":"The text format configuration (structured output mode) used for this response. ","properties":{"format":{"oneOf":[{"type":"object","title":"Response Text Format Text","description":"Specifies that the model should produce output as plain text. This is the default.","required":["type"],"example":{"type":"text"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"text\".","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.1.response.text.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1.response.text.format.oneOf.0","typeLabel":"Response Text Format Text · object"},{"type":"object","title":"Response Text Format JSON Object","description":"Specifies that the model should produce output as a raw JSON object. The model is not constrained to any specific schema.","required":["type"],"example":{"type":"json_object"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_object\".","enum":["json_object"],"isRequired":true,"uniqueKey":"oneOf.1.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1.response.text.format.oneOf.1","typeLabel":"Response Text Format JSON Object · object"},{"type":"object","title":"Response Text Format JSON Schema","description":"Specifies that the model should produce structured output conforming to the provided JSON Schema. Unlike the Chat Completions API, the Responses API places name, schema, strict, and description directly on this object (not nested under a json_schema key).","required":["type","name"],"example":{"type":"json_schema","name":"event_extraction","description":"Extract structured event information from text","strict":false,"schema":{"type":"object","properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"],"additionalProperties":false}},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_schema\".","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.1.response.text.format.oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"A name for the schema, used to identify it in the model's output.","isRequired":true,"uniqueKey":"oneOf.1.response.text.format.oneOf.2.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.1.response.text.format.oneOf.2.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.1.response.text.format.oneOf.2.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.text.format.oneOf.2.description","typeLabel":"string | null"},"schema":{"oneOf":[{"title":"Schema","type":"object","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.1.response.text.format.oneOf.2.schema.oneOf.0","typeLabel":"Schema · object"},{"title":"Schema","type":"null","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.1.response.text.format.oneOf.2.schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.text.format.oneOf.2.schema","typeLabel":"Schema · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.1.response.text.format.oneOf.2.strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.1.response.text.format.oneOf.2.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.text.format.oneOf.2.strict","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.response.text.format.oneOf.2","typeLabel":"Response Text Format JSON Schema · object"}],"uniqueKey":"oneOf.1.response.text.format","typeLabel":"Response Text Format Text · object | Response Text Format JSON Object · object | Response Text Format JSON Schema · object"}},"uniqueKey":"oneOf.1.response.text","typeLabel":"Text · object"},"reasoning":{"oneOf":[{"title":"Reasoning","type":"object","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.1.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.1.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported.","uniqueKey":"oneOf.1.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"string"},{"title":"Summary","type":"null","description":"Not supported.","uniqueKey":"oneOf.1.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.reasoning.oneOf.0.summary","typeLabel":"string | null"}},"uniqueKey":"oneOf.1.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"title":"Reasoning","type":"null","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]}]},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported."},{"title":"Summary","type":"null","description":"Not supported."}]}},"uniqueKey":"oneOf.1.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.reasoning","typeLabel":"Reasoning · object | null"},"max_output_tokens":{"oneOf":[{"title":"Max Output Tokens","type":"integer","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.1.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"title":"Max Output Tokens","type":"null","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.1.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.max_output_tokens","typeLabel":"integer | null"},"top_logprobs":{"oneOf":[{"title":"Top Logprobs","type":"integer","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.1.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"title":"Top Logprobs","type":"null","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.1.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.top_logprobs","typeLabel":"integer | null"},"previous_response_id":{"oneOf":[{"title":"Previous Response ID","type":"string","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.1.response.previous_response_id.oneOf.0","typeLabel":"string"},{"title":"Previous Response ID","type":"null","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.1.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.response.previous_response_id","typeLabel":"string | null"}},"required":["id","object","status","created_at","model","output","tools","tool_choice","truncation","parallel_tool_calls","background","metadata","temperature","top_p","store","service_tier","error","incomplete_details","frequency_penalty","presence_penalty","user"],"examples":[{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"completed_at":1775853214,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]},{"id":"msg_c1eb06dccbc64f469533bb51be664a9e","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise."}]}],"usage":{"input_tokens":78,"output_tokens":126,"total_tokens":204,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":48}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},{"id":"resp_e8e3ad78db7546ce969f79b0828f3be3","object":"response","created_at":1775856350,"completed_at":1775856350,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_c512ec8087b247b0962b64b7595c92d2","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User asks: \"What is the weather in Bogotá?\" Need to fetch current weather using function get_weather. Provide city name \"Bogotá\". Use function."}]},{"id":"fc_c839dacb61a54c10b6560ad8d161f004","type":"function_call","call_id":"call_e52f086a16c94fa796","name":"get_weather","arguments":"{\"city\":\"Bogotá\"}","status":"completed"}],"usage":{"input_tokens":128,"output_tokens":59,"total_tokens":187,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":43}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[{"type":"function","name":"get_weather","description":"Get the current weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]},"strict":null}],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},{"id":"resp_673393d2de28449581eb6190a8168f84","object":"response","created_at":1775517028,"completed_at":1775517028,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_0c34dec41df941b2bce83e11a7614d31","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants to extract event info from a sentence. We need to output a JSON in the prescribed format."}]},{"id":"msg_3b1e13019bd84ebcbcf0c15f45f91dfe","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\n \"title\": \"SambaNova demo\",\n \"date\": \"2026-04-18\",\n \"time\": \"15:30\",\n \"location\": \"San Francisco\"\n}\n"}]}],"usage":{"input_tokens":131,"output_tokens":280,"total_tokens":411,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"json_schema","name":"event_extraction","schema":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"]}}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null}],"isRequired":true,"uniqueKey":"oneOf.1.response","typeLabel":"Response Response · object"}},"uniqueKey":"oneOf.1","typeLabel":"Response Created Event · object"},{"type":"object","title":"Response In Progress Event","description":"Emitted when the response transitions to the `in_progress` state, immediately after `response.created`. The embedded response object still has an empty `output` array; model generation has not yet produced any content.","required":["type","sequence_number","response"],"example":{"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"status":"in_progress","model":"gpt-oss-120b","output":[],"usage":null,"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free"}},"properties":{"type":{"type":"string","enum":["response.in_progress"],"isRequired":true,"uniqueKey":"oneOf.2.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.2.sequence_number","typeLabel":"integer"},"response":{"title":"Response Response","type":"object","description":"A response object returned by POST /responses (non-streaming). Contains the model's output items, echoed input parameters, lifecycle metadata, and token usage.","properties":{"id":{"title":"ID","type":"string","description":"Unique identifier for this response.","isRequired":true,"uniqueKey":"oneOf.2.response.id","typeLabel":"string"},"object":{"title":"Object","type":"string","description":"The object type. Always \"response\".","enum":["response"],"isRequired":true,"uniqueKey":"oneOf.2.response.object","typeLabel":"enum\u003cstring>"},"status":{"title":"Status","type":"string","description":"Lifecycle status of the response. \"completed\" means the model finished successfully. \"failed\" means an error occurred during generation. \"incomplete\" means generation was cut short (e.g. max_output_tokens reached).","enum":["completed","failed","in_progress","incomplete"],"isRequired":true,"uniqueKey":"oneOf.2.response.status","typeLabel":"enum\u003cstring>"},"created_at":{"title":"Created At","type":"integer","description":"Unix timestamp (seconds) when the response was created.","isRequired":true,"uniqueKey":"oneOf.2.response.created_at","typeLabel":"integer"},"model":{"title":"Model","type":"string","description":"The model ID used to generate this response.","isRequired":true,"uniqueKey":"oneOf.2.response.model","typeLabel":"string"},"output":{"title":"Output","type":"array","description":"Ordered array of output items generated by the model. Items may be of type \"message\", \"reasoning\", or \"function_call\".","items":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2.summary","typeLabel":"Summary · object[] | null"}},"uniqueKey":"oneOf.2.response.output.items.[INDEX].oneOf.2","typeLabel":"Response Output Reasoning · object"}],"uniqueKey":"oneOf.2.response.output.items.[INDEX]","typeLabel":"Response Message · object | Response Function Call · object | Response Output Reasoning · object"},"isRequired":true,"uniqueKey":"oneOf.2.response.output","typeLabel":"(Response Message · object | Response Function Call · object | Response Output Reasoning · object)[]"},"error":{"oneOf":[{"title":"Error","type":"object","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.2.response.error.oneOf.0.code","typeLabel":"string"},"message":{"title":"message","type":"string","description":"A human-readable error message.","isRequired":true,"uniqueKey":"oneOf.2.response.error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.2.response.error.oneOf.0","typeLabel":"Error · object"},{"title":"Error","type":"null","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code."},"message":{"title":"message","type":"string","description":"A human-readable error message."}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.2.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.error","typeLabel":"Error · object | null"},"incomplete_details":{"oneOf":[{"title":"Incomplete Details","type":"object","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete.","uniqueKey":"oneOf.2.response.incomplete_details.oneOf.0.reason","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.2.response.incomplete_details.oneOf.0","typeLabel":"Incomplete Details · object"},{"title":"Incomplete Details","type":"null","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete."}},"isRequired":true,"uniqueKey":"oneOf.2.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.incomplete_details","typeLabel":"Incomplete Details · object | null"},"temperature":{"oneOf":[{"title":"Temperature","type":"number","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.2.response.temperature.oneOf.0","typeLabel":"number"},{"title":"Temperature","type":"null","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.2.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"title":"Top P","type":"number","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.2.response.top_p.oneOf.0","typeLabel":"number"},{"title":"Top P","type":"null","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.2.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.top_p","typeLabel":"number | null"},"frequency_penalty":{"oneOf":[{"title":"Frequency Penalty","type":"number","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.2.response.frequency_penalty.oneOf.0","typeLabel":"number"},{"title":"Frequency Penalty","type":"null","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.2.response.frequency_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.frequency_penalty","typeLabel":"number | null"},"presence_penalty":{"oneOf":[{"title":"Presence Penalty","type":"number","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.2.response.presence_penalty.oneOf.0","typeLabel":"number"},{"title":"Presence Penalty","type":"null","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.2.response.presence_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.presence_penalty","typeLabel":"number | null"},"tools":{"title":"Tools","type":"array","description":"Tool definitions available to the model for this response.","items":{"title":"Response Tool","type":"object","description":"A tool definition passed to the model via the tools[] array. Only type \"function\" is supported; other tool types are filtered server-side.","properties":{"type":{"title":"Type","type":"string","description":"The type of tool. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.2.response.tools.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to be called.","isRequired":true,"uniqueKey":"oneOf.2.response.tools.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.2.response.tools.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.2.response.tools.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.tools.items.[INDEX].description","typeLabel":"string | null"},"parameters":{"oneOf":[{"title":"Parameters","type":"object","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.2.response.tools.items.[INDEX].parameters.oneOf.0","typeLabel":"Parameters · object"},{"title":"Parameters","type":"null","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.2.response.tools.items.[INDEX].parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.tools.items.[INDEX].parameters","typeLabel":"Parameters · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.2.response.tools.items.[INDEX].strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.2.response.tools.items.[INDEX].strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.tools.items.[INDEX].strict","typeLabel":"boolean | null"}},"required":["type","name"],"example":{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null},"uniqueKey":"oneOf.2.response.tools.items.[INDEX]","typeLabel":"Response Tool · object"},"isRequired":true,"uniqueKey":"oneOf.2.response.tools","typeLabel":"Response Tool · object[]"},"parallel_tool_calls":{"title":"Parallel Tool Calls","type":"boolean","description":"Whether parallel tool calls were enabled.","isRequired":true,"uniqueKey":"oneOf.2.response.parallel_tool_calls","typeLabel":"boolean"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"String shorthand for tool selection behavior.","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.2.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Response Named Tool Choice","description":"Forces the model to call a specific function. Pass this object as tool_choice to guarantee the model will invoke the named function.","required":["type","name"],"example":{"type":"function","name":"get_weather"},"properties":{"type":{"title":"Type","type":"string","description":"The type of tool to force. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.2.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.2.response.tool_choice.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.2.response.tool_choice.oneOf.1","typeLabel":"Response Named Tool Choice · object"}],"isRequired":true,"uniqueKey":"oneOf.2.response.tool_choice","typeLabel":"enum\u003cstring> | Response Named Tool Choice · object"},"truncation":{"oneOf":[{"title":"Truncation","type":"string","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.2.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Truncation","type":"null","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.2.response.truncation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.truncation","typeLabel":"enum\u003cstring> | null"},"background":{"oneOf":[{"title":"Background","type":"boolean","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.2.response.background.oneOf.0","typeLabel":"boolean"},{"title":"Background","type":"null","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.2.response.background.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.background","typeLabel":"boolean | null"},"metadata":{"oneOf":[{"title":"Metadata","type":"object","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.2.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.2.response.metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","type":"null","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.2.response.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.2.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.metadata","typeLabel":"Metadata · object | null"},"store":{"oneOf":[{"title":"Store","type":"boolean","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.2.response.store.oneOf.0","typeLabel":"boolean"},{"title":"Store","type":"null","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.2.response.store.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.store","typeLabel":"boolean | null"},"service_tier":{"oneOf":[{"title":"Service Tier","type":"string","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.2.response.service_tier.oneOf.0","typeLabel":"string"},{"title":"Service Tier","type":"null","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.2.response.service_tier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.service_tier","typeLabel":"string | null"},"user":{"oneOf":[{"title":"User","type":"string","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.2.response.user.oneOf.0","typeLabel":"string"},{"title":"User","type":"null","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.2.response.user.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.response.user","typeLabel":"string | null"},"completed_at":{"oneOf":[{"title":"Completed At","type":"integer","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.2.response.completed_at.oneOf.0","typeLabel":"integer"},{"title":"Completed At","type":"null","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.2.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.completed_at","typeLabel":"integer | null"},"usage":{"title":"Response Usage","type":"object","description":"Token usage statistics for this response.","properties":{"input_tokens":{"title":"Input Tokens","type":"integer","description":"Number of tokens in the input, including conversation history and any system instructions.","isRequired":true,"uniqueKey":"oneOf.2.response.usage.input_tokens","typeLabel":"integer"},"output_tokens":{"title":"Output Tokens","type":"integer","description":"Number of tokens generated in the output, including visible text and any reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.2.response.usage.output_tokens","typeLabel":"integer"},"total_tokens":{"title":"Total Tokens","type":"integer","description":"Total tokens consumed by this request (input + output).","isRequired":true,"uniqueKey":"oneOf.2.response.usage.total_tokens","typeLabel":"integer"},"input_tokens_details":{"oneOf":[{"title":"Input Tokens Details","type":"object","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate.","uniqueKey":"oneOf.2.response.usage.input_tokens_details.oneOf.0.cached_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.2.response.usage.input_tokens_details.oneOf.0","typeLabel":"Input Tokens Details · object"},{"title":"Input Tokens Details","type":"null","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate."}},"uniqueKey":"oneOf.2.response.usage.input_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.input_tokens_details","typeLabel":"Input Tokens Details · object | null"},"output_tokens_details":{"oneOf":[{"title":"Output Tokens Details","type":"object","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models.","uniqueKey":"oneOf.2.response.usage.output_tokens_details.oneOf.0.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.2.response.usage.output_tokens_details.oneOf.0","typeLabel":"Output Tokens Details · object"},{"title":"Output Tokens Details","type":"null","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models."}},"uniqueKey":"oneOf.2.response.usage.output_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.output_tokens_details","typeLabel":"Output Tokens Details · object | null"},"start_time":{"oneOf":[{"title":"Start Time","type":"number","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.2.response.usage.start_time.oneOf.0","typeLabel":"number"},{"title":"Start Time","type":"null","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.2.response.usage.start_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.start_time","typeLabel":"number | null"},"end_time":{"oneOf":[{"title":"End Time","type":"number","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.2.response.usage.end_time.oneOf.0","typeLabel":"number"},{"title":"End Time","type":"null","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.2.response.usage.end_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.end_time","typeLabel":"number | null"},"time_to_first_token":{"oneOf":[{"title":"Time To First Token","type":"number","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.2.response.usage.time_to_first_token.oneOf.0","typeLabel":"number"},{"title":"Time To First Token","type":"null","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.2.response.usage.time_to_first_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.time_to_first_token","typeLabel":"number | null"},"total_latency":{"oneOf":[{"title":"Total Latency","type":"number","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.2.response.usage.total_latency.oneOf.0","typeLabel":"number"},{"title":"Total Latency","type":"null","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.2.response.usage.total_latency.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.total_latency","typeLabel":"number | null"},"output_tokens_per_sec":{"oneOf":[{"title":"Output Tokens Per Sec","type":"number","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.2.response.usage.output_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens Per Sec","type":"null","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.2.response.usage.output_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.output_tokens_per_sec","typeLabel":"number | null"},"output_tokens_after_first_per_sec":{"oneOf":[{"title":"Output Tokens After First Per Sec","type":"number","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.2.response.usage.output_tokens_after_first_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens After First Per Sec","type":"null","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.2.response.usage.output_tokens_after_first_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.output_tokens_after_first_per_sec","typeLabel":"number | null"},"total_tokens_per_sec":{"oneOf":[{"title":"Total Tokens Per Sec","type":"number","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.2.response.usage.total_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Total Tokens Per Sec","type":"null","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.2.response.usage.total_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.total_tokens_per_sec","typeLabel":"number | null"},"acceptance_rate":{"oneOf":[{"title":"Acceptance Rate","type":"number","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.2.response.usage.acceptance_rate.oneOf.0","typeLabel":"number"},{"title":"Acceptance Rate","type":"null","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.2.response.usage.acceptance_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.acceptance_rate","typeLabel":"number | null"},"is_last_response":{"oneOf":[{"title":"Is Last Response","type":"boolean","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.2.response.usage.is_last_response.oneOf.0","typeLabel":"boolean"},{"title":"Is Last Response","type":"null","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.2.response.usage.is_last_response.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.usage.is_last_response","typeLabel":"boolean | null"}},"required":["input_tokens","output_tokens","total_tokens"],"example":{"input_tokens":248,"output_tokens":72,"total_tokens":320,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18},"start_time":1737642515.445,"end_time":1737642515.904,"time_to_first_token":0.084,"total_latency":0.459,"output_tokens_per_sec":156.8,"output_tokens_after_first_per_sec":161.2,"total_tokens_per_sec":311.6,"acceptance_rate":4.06,"is_last_response":true},"uniqueKey":"oneOf.2.response.usage","typeLabel":"Response Usage · object"},"instructions":{"oneOf":[{"title":"Instructions","type":"string","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.2.response.instructions.oneOf.0","typeLabel":"string"},{"title":"Instructions","type":"null","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.2.response.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.instructions","typeLabel":"string | null"},"top_k":{"oneOf":[{"title":"Top K","type":"integer","description":"The top_k value used for this response.","uniqueKey":"oneOf.2.response.top_k.oneOf.0","typeLabel":"integer"},{"title":"Top K","type":"null","description":"The top_k value used for this response.","uniqueKey":"oneOf.2.response.top_k.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.top_k","typeLabel":"integer | null"},"max_tool_calls":{"oneOf":[{"title":"Max Tool Calls","type":"integer","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.2.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"title":"Max Tool Calls","type":"null","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.2.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.max_tool_calls","typeLabel":"integer | null"},"text":{"title":"Text","type":"object","description":"The text format configuration (structured output mode) used for this response. ","properties":{"format":{"oneOf":[{"type":"object","title":"Response Text Format Text","description":"Specifies that the model should produce output as plain text. This is the default.","required":["type"],"example":{"type":"text"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"text\".","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.2.response.text.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.2.response.text.format.oneOf.0","typeLabel":"Response Text Format Text · object"},{"type":"object","title":"Response Text Format JSON Object","description":"Specifies that the model should produce output as a raw JSON object. The model is not constrained to any specific schema.","required":["type"],"example":{"type":"json_object"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_object\".","enum":["json_object"],"isRequired":true,"uniqueKey":"oneOf.2.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.2.response.text.format.oneOf.1","typeLabel":"Response Text Format JSON Object · object"},{"type":"object","title":"Response Text Format JSON Schema","description":"Specifies that the model should produce structured output conforming to the provided JSON Schema. Unlike the Chat Completions API, the Responses API places name, schema, strict, and description directly on this object (not nested under a json_schema key).","required":["type","name"],"example":{"type":"json_schema","name":"event_extraction","description":"Extract structured event information from text","strict":false,"schema":{"type":"object","properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"],"additionalProperties":false}},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_schema\".","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.2.response.text.format.oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"A name for the schema, used to identify it in the model's output.","isRequired":true,"uniqueKey":"oneOf.2.response.text.format.oneOf.2.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.2.response.text.format.oneOf.2.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.2.response.text.format.oneOf.2.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.text.format.oneOf.2.description","typeLabel":"string | null"},"schema":{"oneOf":[{"title":"Schema","type":"object","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.2.response.text.format.oneOf.2.schema.oneOf.0","typeLabel":"Schema · object"},{"title":"Schema","type":"null","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.2.response.text.format.oneOf.2.schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.text.format.oneOf.2.schema","typeLabel":"Schema · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.2.response.text.format.oneOf.2.strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.2.response.text.format.oneOf.2.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.text.format.oneOf.2.strict","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2.response.text.format.oneOf.2","typeLabel":"Response Text Format JSON Schema · object"}],"uniqueKey":"oneOf.2.response.text.format","typeLabel":"Response Text Format Text · object | Response Text Format JSON Object · object | Response Text Format JSON Schema · object"}},"uniqueKey":"oneOf.2.response.text","typeLabel":"Text · object"},"reasoning":{"oneOf":[{"title":"Reasoning","type":"object","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.2.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.2.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported.","uniqueKey":"oneOf.2.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"string"},{"title":"Summary","type":"null","description":"Not supported.","uniqueKey":"oneOf.2.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.reasoning.oneOf.0.summary","typeLabel":"string | null"}},"uniqueKey":"oneOf.2.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"title":"Reasoning","type":"null","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]}]},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported."},{"title":"Summary","type":"null","description":"Not supported."}]}},"uniqueKey":"oneOf.2.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.reasoning","typeLabel":"Reasoning · object | null"},"max_output_tokens":{"oneOf":[{"title":"Max Output Tokens","type":"integer","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.2.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"title":"Max Output Tokens","type":"null","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.2.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.max_output_tokens","typeLabel":"integer | null"},"top_logprobs":{"oneOf":[{"title":"Top Logprobs","type":"integer","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.2.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"title":"Top Logprobs","type":"null","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.2.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.top_logprobs","typeLabel":"integer | null"},"previous_response_id":{"oneOf":[{"title":"Previous Response ID","type":"string","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.2.response.previous_response_id.oneOf.0","typeLabel":"string"},{"title":"Previous Response ID","type":"null","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.2.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.response.previous_response_id","typeLabel":"string | null"}},"required":["id","object","status","created_at","model","output","tools","tool_choice","truncation","parallel_tool_calls","background","metadata","temperature","top_p","store","service_tier","error","incomplete_details","frequency_penalty","presence_penalty","user"],"examples":[{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"completed_at":1775853214,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]},{"id":"msg_c1eb06dccbc64f469533bb51be664a9e","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise."}]}],"usage":{"input_tokens":78,"output_tokens":126,"total_tokens":204,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":48}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},{"id":"resp_e8e3ad78db7546ce969f79b0828f3be3","object":"response","created_at":1775856350,"completed_at":1775856350,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_c512ec8087b247b0962b64b7595c92d2","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User asks: \"What is the weather in Bogotá?\" Need to fetch current weather using function get_weather. Provide city name \"Bogotá\". Use function."}]},{"id":"fc_c839dacb61a54c10b6560ad8d161f004","type":"function_call","call_id":"call_e52f086a16c94fa796","name":"get_weather","arguments":"{\"city\":\"Bogotá\"}","status":"completed"}],"usage":{"input_tokens":128,"output_tokens":59,"total_tokens":187,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":43}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[{"type":"function","name":"get_weather","description":"Get the current weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]},"strict":null}],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},{"id":"resp_673393d2de28449581eb6190a8168f84","object":"response","created_at":1775517028,"completed_at":1775517028,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_0c34dec41df941b2bce83e11a7614d31","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants to extract event info from a sentence. We need to output a JSON in the prescribed format."}]},{"id":"msg_3b1e13019bd84ebcbcf0c15f45f91dfe","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\n \"title\": \"SambaNova demo\",\n \"date\": \"2026-04-18\",\n \"time\": \"15:30\",\n \"location\": \"San Francisco\"\n}\n"}]}],"usage":{"input_tokens":131,"output_tokens":280,"total_tokens":411,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"json_schema","name":"event_extraction","schema":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"]}}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null}],"isRequired":true,"uniqueKey":"oneOf.2.response","typeLabel":"Response Response · object"}},"uniqueKey":"oneOf.2","typeLabel":"Response In Progress Event · object"},{"type":"object","title":"Response Output Item Added Event","description":"Emitted when a new output item (message, function call, or reasoning) is added to the response output array. The item has `status: in_progress` and may have empty content at this point.","required":["type","sequence_number","output_index","item"],"example":{"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"in_progress","summary":[],"content":[]}},"properties":{"type":{"type":"string","enum":["response.output_item.added"],"isRequired":true,"uniqueKey":"oneOf.3.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.3.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"Index of the output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.3.output_index","typeLabel":"integer"},"item":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.3.item.oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.3.item.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.3.item.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.3.item.oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.3.item.oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.3.item.oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.3.item.oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.2.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.3.item.oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.3.item.oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.3.item.oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.3.item.oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.2.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.2.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.2.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"oneOf.3.item.oneOf.2.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"oneOf.3.item.oneOf.2.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"oneOf.3.item.oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.2.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.3.item.oneOf.2.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.3.item.oneOf.2.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"oneOf.3.item.oneOf.2.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.item.oneOf.2.summary","typeLabel":"Summary · object[] | null"}},"isRequired":true,"uniqueKey":"oneOf.3.item.oneOf.2","typeLabel":"Response Output Reasoning · object"}],"isRequired":true,"uniqueKey":"oneOf.3.item","typeLabel":"Response Message · object | Response Function Call · object | Response Output Reasoning · object"}},"uniqueKey":"oneOf.3","typeLabel":"Response Output Item Added Event · object"},{"type":"object","title":"Response Content Part Added Event","description":"Emitted when a new content part is added to an output item's content array. The part's `text` is empty at this point; subsequent `response.output_text.delta` or `response.reasoning_text.delta` events carry the incremental content.","required":["type","sequence_number","item_id","output_index","content_index","part"],"example":{"type":"response.content_part.added","sequence_number":3,"item_id":"rs_d608e0328e6340a69919f808ee38df6c","output_index":0,"content_index":0,"part":{"type":"reasoning_text","text":""}},"properties":{"type":{"type":"string","enum":["response.content_part.added"],"isRequired":true,"uniqueKey":"oneOf.4.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.4.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the output item to which this content part belongs.","isRequired":true,"uniqueKey":"oneOf.4.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the parent output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.4.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"Index of this content part within the output item's `content` array.","isRequired":true,"uniqueKey":"oneOf.4.content_index","typeLabel":"integer"},"part":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.4.part.oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.part.oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.4.part.oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.part.oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Reasoning Content","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.1.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.4.part.oneOf.1","typeLabel":"Response Reasoning Content · object"}],"isRequired":true,"uniqueKey":"oneOf.4.part","typeLabel":"Response Input Text Content · object | Response Reasoning Content · object"}},"uniqueKey":"oneOf.4","typeLabel":"Response Content Part Added Event · object"},{"type":"object","title":"Response Reasoning Text Delta Event","description":"Emitted for each incremental chunk of reasoning text generated by the model. Accumulate `delta` values in order to reconstruct the full reasoning text.","required":["type","sequence_number","item_id","output_index","delta"],"example":{"type":"response.reasoning_text.delta","sequence_number":4,"item_id":"rs_d608e0328e6340a69919f808ee38df6c","output_index":0,"delta":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."},"properties":{"type":{"type":"string","enum":["response.reasoning_text.delta"],"isRequired":true,"uniqueKey":"oneOf.5.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.5.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the reasoning output item this delta belongs to.","isRequired":true,"uniqueKey":"oneOf.5.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the reasoning output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.5.output_index","typeLabel":"integer"},"delta":{"type":"string","description":"The incremental chunk of reasoning text.","isRequired":true,"uniqueKey":"oneOf.5.delta","typeLabel":"string"}},"uniqueKey":"oneOf.5","typeLabel":"Response Reasoning Text Delta Event · object"},{"type":"object","title":"Response Reasoning Text Done Event","description":"Emitted when a reasoning content part has been fully generated. The `text` field contains the complete accumulated reasoning text (equivalent to concatenating all preceding `response.reasoning_text.delta` values). Structural mirror of `response.reasoning_text.delta` with `text` instead of `delta`.","required":["type","sequence_number","item_id","output_index","text"],"example":{"type":"response.reasoning_text.done","sequence_number":5,"item_id":"rs_d608e0328e6340a69919f808ee38df6c","output_index":0,"text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."},"properties":{"type":{"type":"string","enum":["response.reasoning_text.done"],"x-stainless-const":true,"isRequired":true,"uniqueKey":"oneOf.6.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.6.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the reasoning output item this content belongs to.","isRequired":true,"uniqueKey":"oneOf.6.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the reasoning output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.6.output_index","typeLabel":"integer"},"text":{"type":"string","description":"The full accumulated reasoning text for this content part.","isRequired":true,"uniqueKey":"oneOf.6.text","typeLabel":"string"}},"uniqueKey":"oneOf.6","typeLabel":"Response Reasoning Text Done Event · object"},{"type":"object","title":"Response Output Text Delta Event","description":"Emitted for each incremental chunk of assistant message text. Accumulate `delta` values in order to reconstruct the full output text.","required":["type","sequence_number","item_id","output_index","content_index","delta","annotations","logprobs"],"example":{"type":"response.output_text.delta","sequence_number":10,"item_id":"msg_c1eb06dccbc64f469533bb51be664a9e","output_index":1,"content_index":0,"delta":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft","annotations":[],"logprobs":[]},"properties":{"type":{"type":"string","enum":["response.output_text.delta"],"isRequired":true,"uniqueKey":"oneOf.7.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.7.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the message output item this delta belongs to.","isRequired":true,"uniqueKey":"oneOf.7.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the message output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.7.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"Index of the content part within the output item's `content` array.","isRequired":true,"uniqueKey":"oneOf.7.content_index","typeLabel":"integer"},"delta":{"type":"string","description":"The incremental chunk of output text.","isRequired":true,"uniqueKey":"oneOf.7.delta","typeLabel":"string"},"annotations":{"type":"array","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.7.annotations.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.7.annotations.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"description":"Annotations attached to this delta chunk, if any.","isRequired":true,"uniqueKey":"oneOf.7.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},"logprobs":{"type":"array","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.7.logprobs.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.7.logprobs.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.7.logprobs.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.7.logprobs.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.7.logprobs.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.7.logprobs.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.logprobs.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.7.logprobs.items.[INDEX]","typeLabel":"Log Probs Content · object"},"description":"Log probability information for the tokens in this delta, if requested.","isRequired":true,"uniqueKey":"oneOf.7.logprobs","typeLabel":"Log Probs Content · object[]"}},"uniqueKey":"oneOf.7","typeLabel":"Response Output Text Delta Event · object"},{"type":"object","title":"Response Output Text Done Event","description":"Emitted when an output text content part has been fully generated. The `text` field contains the complete accumulated output text (equivalent to concatenating all preceding `response.output_text.delta` values). Structural mirror of `response.output_text.delta` with `text` instead of `delta`.","required":["type","sequence_number","item_id","output_index","content_index","text","annotations","logprobs"],"example":{"type":"response.output_text.done","sequence_number":15,"item_id":"msg_c1eb06dccbc64f469533bb51be664a9e","output_index":1,"content_index":0,"annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise."},"properties":{"type":{"type":"string","enum":["response.output_text.done"],"isRequired":true,"uniqueKey":"oneOf.8.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.8.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the message output item this content belongs to.","isRequired":true,"uniqueKey":"oneOf.8.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the message output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.8.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"Index of the content part within the output item's `content` array.","isRequired":true,"uniqueKey":"oneOf.8.content_index","typeLabel":"integer"},"text":{"type":"string","description":"The full accumulated output text for this content part.","isRequired":true,"uniqueKey":"oneOf.8.text","typeLabel":"string"},"annotations":{"type":"array","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.8.annotations.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.8.annotations.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"description":"All annotations attached to this text part.","isRequired":true,"uniqueKey":"oneOf.8.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},"logprobs":{"type":"array","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.8.logprobs.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.8.logprobs.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.8.logprobs.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.8.logprobs.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.8.logprobs.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.8.logprobs.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.8.logprobs.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.8.logprobs.items.[INDEX]","typeLabel":"Log Probs Content · object"},"description":"Log probability information for all tokens, if requested.","isRequired":true,"uniqueKey":"oneOf.8.logprobs","typeLabel":"Log Probs Content · object[]"}},"uniqueKey":"oneOf.8","typeLabel":"Response Output Text Done Event · object"},{"type":"object","title":"Response Function Call Arguments Delta Event","description":"Emitted for each incremental chunk of function call arguments JSON generated by the model. Accumulate `delta` values in order to reconstruct the full arguments string. The accumulated result will be a valid JSON string once the corresponding `response.function_call_arguments.done` event is received.","required":["type","sequence_number","item_id","output_index","delta"],"example":{"type":"response.function_call_arguments.delta","sequence_number":9,"item_id":"fc_c839dacb61a54c10b6560ad8d161f004","output_index":1,"delta":"{\"city\":\"Bogotá\"}"},"properties":{"type":{"type":"string","enum":["response.function_call_arguments.delta"],"isRequired":true,"uniqueKey":"oneOf.9.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.9.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the function call output item this delta belongs to.","isRequired":true,"uniqueKey":"oneOf.9.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the function call output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.9.output_index","typeLabel":"integer"},"delta":{"type":"string","description":"The incremental chunk of the function call arguments JSON string.","isRequired":true,"uniqueKey":"oneOf.9.delta","typeLabel":"string"}},"uniqueKey":"oneOf.9","typeLabel":"Response Function Call Arguments Delta Event · object"},{"type":"object","title":"Response Function Call Arguments Done Event","description":"Emitted when a function call's arguments have been fully generated. The `arguments` field contains the complete JSON arguments string (equivalent to concatenating all preceding `response.function_call_arguments.delta` values). Structural mirror of `response.function_call_arguments.delta` with `arguments` instead of `delta`.","required":["type","sequence_number","item_id","output_index","arguments"],"example":{"type":"response.function_call_arguments.done","sequence_number":10,"item_id":"fc_c839dacb61a54c10b6560ad8d161f004","output_index":1,"arguments":"{\"city\":\"Bogotá\"}"},"properties":{"type":{"type":"string","enum":["response.function_call_arguments.done"],"isRequired":true,"uniqueKey":"oneOf.10.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.10.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the function call output item.","isRequired":true,"uniqueKey":"oneOf.10.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the function call output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.10.output_index","typeLabel":"integer"},"arguments":{"type":"string","description":"The complete JSON arguments string for the function call.","isRequired":true,"uniqueKey":"oneOf.10.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.10","typeLabel":"Response Function Call Arguments Done Event · object"},{"type":"object","title":"Response Content Part Done Event","description":"Emitted when a content part has been fully generated. The `part` field contains the complete content for this part (equivalent to the state after accumulating all preceding delta events). Structural mirror of `response.content_part.added`.","required":["type","sequence_number","item_id","output_index","content_index","part"],"example":{"type":"response.content_part.done","sequence_number":6,"item_id":"rs_d608e0328e6340a69919f808ee38df6c","output_index":0,"content_index":0,"part":{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}},"properties":{"type":{"type":"string","enum":["response.content_part.done"],"isRequired":true,"uniqueKey":"oneOf.11.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.11.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"ID of the output item this content part belongs to.","isRequired":true,"uniqueKey":"oneOf.11.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"Index of the parent output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.11.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"Index of this content part within the output item's `content` array.","isRequired":true,"uniqueKey":"oneOf.11.content_index","typeLabel":"integer"},"part":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.part.oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.part.oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Reasoning Content","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.1.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.1","typeLabel":"Response Reasoning Content · object"}],"isRequired":true,"uniqueKey":"oneOf.11.part","typeLabel":"Response Input Text Content · object | Response Reasoning Content · object"}},"uniqueKey":"oneOf.11","typeLabel":"Response Content Part Done Event · object"},{"type":"object","title":"Response Output Item Done Event","description":"Emitted when an output item has been fully generated and its status transitions to `completed`. The `item` field contains the complete output item including all accumulated content. Structural mirror of `response.output_item.added`.","required":["type","sequence_number","output_index","item"],"example":{"type":"response.output_item.done","sequence_number":7,"output_index":0,"item":{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]}},"properties":{"type":{"type":"string","enum":["response.output_item.done"],"isRequired":true,"uniqueKey":"oneOf.12.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.12.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"Index of the output item in the response `output` array.","isRequired":true,"uniqueKey":"oneOf.12.output_index","typeLabel":"integer"},"item":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.12.item.oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.12.item.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.12.item.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.12.item.oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.12.item.oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.12.item.oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.12.item.oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.2.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.12.item.oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.12.item.oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.12.item.oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.12.item.oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.2.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.2.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.2.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"oneOf.12.item.oneOf.2.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"oneOf.12.item.oneOf.2.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"oneOf.12.item.oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.2.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.12.item.oneOf.2.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.12.item.oneOf.2.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"oneOf.12.item.oneOf.2.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.item.oneOf.2.summary","typeLabel":"Summary · object[] | null"}},"isRequired":true,"uniqueKey":"oneOf.12.item.oneOf.2","typeLabel":"Response Output Reasoning · object"}],"isRequired":true,"uniqueKey":"oneOf.12.item","typeLabel":"Response Message · object | Response Function Call · object | Response Output Reasoning · object"}},"uniqueKey":"oneOf.12","typeLabel":"Response Output Item Done Event · object"},{"type":"object","title":"Response Completed Event","description":"Emitted as the final SSE event when a streaming response has been fully generated. The embedded response object has `status: completed`, a fully populated `output` array, and a populated `usage` object. Structural mirror of `response.created`.","required":["type","sequence_number","response"],"example":{"type":"response.completed","sequence_number":18,"response":{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"completed_at":1775853214,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]},{"id":"msg_c1eb06dccbc64f469533bb51be664a9e","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step."}]}],"usage":{"input_tokens":78,"output_tokens":126,"total_tokens":204,"input_tokens_details":{"cached_tokens":0}},"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}}}},"properties":{"type":{"type":"string","enum":["response.completed"],"x-stainless-const":true,"isRequired":true,"uniqueKey":"oneOf.13.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"Monotonically increasing counter for ordering events within a streaming response.","isRequired":true,"uniqueKey":"oneOf.13.sequence_number","typeLabel":"integer"},"response":{"title":"Response Response","type":"object","description":"A response object returned by POST /responses (non-streaming). Contains the model's output items, echoed input parameters, lifecycle metadata, and token usage.","properties":{"id":{"title":"ID","type":"string","description":"Unique identifier for this response.","isRequired":true,"uniqueKey":"oneOf.13.response.id","typeLabel":"string"},"object":{"title":"Object","type":"string","description":"The object type. Always \"response\".","enum":["response"],"isRequired":true,"uniqueKey":"oneOf.13.response.object","typeLabel":"enum\u003cstring>"},"status":{"title":"Status","type":"string","description":"Lifecycle status of the response. \"completed\" means the model finished successfully. \"failed\" means an error occurred during generation. \"incomplete\" means generation was cut short (e.g. max_output_tokens reached).","enum":["completed","failed","in_progress","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.status","typeLabel":"enum\u003cstring>"},"created_at":{"title":"Created At","type":"integer","description":"Unix timestamp (seconds) when the response was created.","isRequired":true,"uniqueKey":"oneOf.13.response.created_at","typeLabel":"integer"},"model":{"title":"Model","type":"string","description":"The model ID used to generate this response.","isRequired":true,"uniqueKey":"oneOf.13.response.model","typeLabel":"string"},"output":{"title":"Output","type":"array","description":"Ordered array of output items generated by the model. Items may be of type \"message\", \"reasoning\", or \"function_call\".","items":{"oneOf":[{"type":"object","title":"Response Message","description":"A message item. When used as input, id and status are optional. When present in output[], id and status are always set by the server. Role \"assistant\" with content type \"output_text\" represents a prior model turn; user/system/developer turns use content type \"input_text\". Plain string content is accepted in all roles on input.","required":["type","role","content"],"example":{"type":"message","role":"user","content":"What is the weather in San Francisco?"},"properties":{"type":{"oneOf":[{"title":"Type","type":"string","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Type","type":"null","description":"The type of this item. Always \"message\".","enum":["message"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"role":{"title":"Role","type":"string","description":"The role of the message. \"assistant\" is set by the server on output items. All four values are valid when constructing input items.","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text content","description":"A plain text message body.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Response Input Text Content","description":"A plain text content part for use inside a ResponseMessage.","required":["type","text"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. \"input_text\" for user, developer, and system roles, and output_text for assistant messages.","enum":["input_text","output_text"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The text content of this part.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"oneOf":[{"title":"Annotations","type":"array","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"title":"URL","type":"string","description":"The URL being cited.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.end_index","typeLabel":"integer"},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.0","typeLabel":"string"},{"title":"Title","type":"null","description":"The title of the cited page.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0.title","typeLabel":"string | null"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Response URL Citation · object"},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Response File Citation · object"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0.items.[INDEX]","typeLabel":"Response URL Citation · object | Response File Citation · object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.0","typeLabel":"(Response URL Citation · object | Response File Citation · object)[]"},{"title":"Annotations","type":"null","description":"Annotations on spans of this text part, such as URL or file citations. Only present on output_text parts returned by the server. Not currently produced by SambaNova — included for OpenAI API compatibility.","items":{"oneOf":[{"type":"object","title":"Response URL Citation","description":"A URL citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","url","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"url_citation\".","enum":["url_citation"]},"url":{"title":"URL","type":"string","description":"The URL being cited."},"title":{"oneOf":[{"title":"Title","type":"string","description":"The title of the cited page."},{"title":"Title","type":"null","description":"The title of the cited page."}]},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}},{"type":"object","title":"Response File Citation","description":"A file citation annotation on an output text span. Not currently implemented by SambaNova — included for OpenAI API compatibility.","required":["type","file_id","start_index","end_index"],"properties":{"type":{"title":"Type","type":"string","description":"The annotation type. Always \"file_citation\".","enum":["file_citation"]},"file_id":{"title":"File ID","type":"string","description":"The ID of the cited file."},"start_index":{"title":"Start Index","type":"integer","description":"Character offset in the output text where the citation starts."},"end_index":{"title":"End Index","type":"integer","description":"Character offset in the output text where the citation ends."}}}]},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.annotations","typeLabel":"(Response URL Citation · object | Response File Citation · object)[] | null"},"logprobs":{"oneOf":[{"title":"Log Probs","type":"array","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"logprob":{"title":"Logprob","type":"number","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.logprob","typeLabel":"number"},"token":{"title":"Token","type":"string","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.token","typeLabel":"string"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Bytes","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs.bytes","typeLabel":"integer[] | null"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].top_logprobs","typeLabel":"TopLogProbs · object"},"bytes":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Bytes","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.0","typeLabel":"integer[]"},{"type":"null","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX].bytes","typeLabel":"integer[] | null"}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0.items.[INDEX]","typeLabel":"Log Probs Content · object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.0","typeLabel":"Log Probs Content · object[]"},{"title":"Log Probs","type":"null","description":"Log probability information for the output tokens. Only present on output_text parts when `top_logprobs` is set on the request.","items":{"title":"Log Probs Content","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"},"top_logprobs":{"title":"TopLogProbs","type":"object","additionalProperties":true,"properties":{"bytes":{"oneOf":[{"type":"array","items":{"type":"integer"},"title":"Bytes"},{"type":"null","title":"Bytes"}]},"logprob":{"title":"Logprob","type":"number"},"token":{"title":"Token","type":"string"}},"required":["token","logprob"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}},"required":["token","logprob","top_logprobs"],"examples":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111],"top_logprobs":[{"token":" Hello","logprob":-0.00012340000000000002,"bytes":[32,72,101,108,108,111]},{"token":" Hi","logprob":-8.243,"bytes":[32,72,105]}]}],"type":"object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log Probs Content · object[] | null"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Response Input Text Content · object"},{"type":"object","title":"Response Image Content","description":"An image content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a base64-encoded image as a data URL. external URLs not supported.","required":["type","image_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_image\".","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"title":"Image URL","type":"string","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string"},{"title":"Image URL","type":"null","description":"A base64-encoded image in data URL format or fully qualified URL (e.g. \"data:image/png;base64,...\"). Currently only base64-encoded image data is supported.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string | null"},"detail":{"oneOf":[{"title":"Detail","type":"string","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Detail","type":"null","description":"The detail level for image processing. \"auto\" lets the model decide. \"low\" uses a fixed low-res tile. \"high\" enables high-res tiling.","enum":["auto","low","high"],"default":"auto","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Response Image Content · object"},{"type":"object","title":"Response Audio Content","description":"An audio content part for use inside a ResponseMessage. Supported in input messages (user role). Provide base64-encoded audio data with the format.","required":["type","input_audio"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_audio\".","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"title":"Input Audio","type":"object","description":"The audio data and format.","properties":{"data":{"title":"Data","type":"string","description":"Base64-encoded audio data.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"title":"Format","type":"string","enum":["mp3","wav"],"description":"The format of the audio data.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data","format"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio · object"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Response Audio Content · object"},{"type":"object","title":"Response Video Content","description":"A video content part for use inside a ResponseMessage. Supported in input messages (user role). Provide a URL or base64-encoded video data.","required":["type","video_url"],"properties":{"type":{"title":"Type","type":"string","description":"The type of this content part. Always \"input_video\".","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"title":"Video URL","type":"string","description":"A URL of the video or base64-encoded video data in data URL format (e.g. \"data:video/mp4;base64,...\").","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"Response Video Content · object"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object"},"title":"Content part array","description":"An array of typed content parts.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"}],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content","typeLabel":"string | (Response Input Text Content · object | Response Image Content · object | Response Audio Content · object | Response Video Content · object)[]"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this message item. Always present on output items returned by the server. Not required when constructing input items.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string | null"},"status":{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0","typeLabel":"Response Message · object"},{"type":"object","title":"Response Function Call","description":"A function call item used in both input[] and output[]. When present in output[], the model is requesting a tool call — id and status are always set by the server. When used in input[], it replays a prior function call from the conversation history for multi-turn tool loops.","required":["type","call_id","name","arguments"],"example":{"type":"function_call","id":"fc_abc123","call_id":"call_abc123","name":"get_weather","arguments":"{\"location\":\"San Francisco, CA\"}","status":"completed"},"properties":{"type":{"title":"Type","type":"string","description":"The type of this item. Always \"function_call\".","enum":["function_call"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"call_id":{"title":"Call ID","type":"string","description":"The call ID generated by the model for this tool invocation. Used to correlate the function call with its corresponding function_call_output result.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.call_id","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"The name of the function the model wants to call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.name","typeLabel":"string"},"arguments":{"title":"Arguments","type":"string","description":"A JSON string of the arguments to pass to the function, as generated by the model. Validate the arguments in your code before calling the function — the model may hallucinate parameters not defined in the schema.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.arguments","typeLabel":"string"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this function call item. Always present on output items returned by the server. Required when replaying this item in a subsequent input[].","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. Always set on output items returned by the server. Not required when constructing input items.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1","typeLabel":"Response Function Call · object"},{"type":"object","title":"Response Output Reasoning","description":"A reasoning item emitted in output[] by models that expose their internal chain-of-thought. Contains the raw reasoning text the model produced before generating its final answer.","required":["type"],"example":{"type":"reasoning","id":"rs_msg_5dc0dc6fca844a20885869634cd3014a","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants weather information for San Francisco. I'll call get_weather with location \"San Francisco, CA\"."}]},"properties":{"type":{"title":"Type","type":"string","description":"The type of this output item. Always \"reasoning\".","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"title":"ID","type":"string","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.id.oneOf.0","typeLabel":"string"},{"title":"ID","type":"null","description":"Unique identifier for this reasoning item, assigned by the server.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string | null"},"status":{"oneOf":[{"title":"Status","type":"string","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Status","type":"null","description":"Processing state of this item. \"in_progress\" while streaming; \"completed\" when the full reasoning text has been emitted.","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring> | null"},"content":{"oneOf":[{"title":"Content","type":"array","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX].text","typeLabel":"string"}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.content.oneOf.0.items.[INDEX]","typeLabel":"Response Reasoning Content · object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.content.oneOf.0","typeLabel":"Response Reasoning Content · object[]"},{"title":"Content","type":"null","description":"The reasoning content parts. Each part has type \"reasoning_text\" and carries the raw thinking text. Absent when the item is first added (`response.output_item.added`); populated by `response.output_item.done`.","items":{"title":"Response Reasoning Content","type":"object","description":"A single content part within a reasoning item's content[]. Contains the raw reasoning text produced by the model during its internal thinking process.","properties":{"type":{"title":"Type","type":"string","description":"The type of this reasoning content part. Always \"reasoning_text\".","enum":["reasoning_text"]},"text":{"title":"Text","type":"string","description":"The raw reasoning text generated by the model."}},"required":["type","text"],"example":{"type":"reasoning_text","text":"The user is asking about the weather. I should call the get_weather function with the location extracted from the message."}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.content","typeLabel":"Response Reasoning Content · object[] | null"},"summary":{"oneOf":[{"title":"Summary","type":"array","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.summary.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.summary.oneOf.0","typeLabel":"Summary · object[]"},{"title":"Summary","type":"null","description":"A condensed summary of the reasoning content. Always returned as an empty array. Included for OpenAI API compatibility.","items":{"type":"object","additionalProperties":true},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.summary","typeLabel":"Summary · object[] | null"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2","typeLabel":"Response Output Reasoning · object"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX]","typeLabel":"Response Message · object | Response Function Call · object | Response Output Reasoning · object"},"isRequired":true,"uniqueKey":"oneOf.13.response.output","typeLabel":"(Response Message · object | Response Function Call · object | Response Output Reasoning · object)[]"},"error":{"oneOf":[{"title":"Error","type":"object","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0.code","typeLabel":"string"},"message":{"title":"message","type":"string","description":"A human-readable error message.","isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0","typeLabel":"Error · object"},{"title":"Error","type":"null","description":"In-band error object present when status is \"failed\". Null when the response completed successfully.","properties":{"code":{"title":"Code","type":"string","description":"The error code."},"message":{"title":"message","type":"string","description":"A human-readable error message."}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.error","typeLabel":"Error · object | null"},"incomplete_details":{"oneOf":[{"title":"Incomplete Details","type":"object","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete.","uniqueKey":"oneOf.13.response.incomplete_details.oneOf.0.reason","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.13.response.incomplete_details.oneOf.0","typeLabel":"Incomplete Details · object"},{"title":"Incomplete Details","type":"null","description":"Present when status is \"incomplete\". Describes why generation stopped before completion (e.g. max_output_tokens reached).","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete."}},"isRequired":true,"uniqueKey":"oneOf.13.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.incomplete_details","typeLabel":"Incomplete Details · object | null"},"temperature":{"oneOf":[{"title":"Temperature","type":"number","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.13.response.temperature.oneOf.0","typeLabel":"number"},{"title":"Temperature","type":"null","description":"The temperature value used for this response.","isRequired":true,"uniqueKey":"oneOf.13.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"title":"Top P","type":"number","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.13.response.top_p.oneOf.0","typeLabel":"number"},{"title":"Top P","type":"null","description":"The top_p value used for this response.","isRequired":true,"uniqueKey":"oneOf.13.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.top_p","typeLabel":"number | null"},"frequency_penalty":{"oneOf":[{"title":"Frequency Penalty","type":"number","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.13.response.frequency_penalty.oneOf.0","typeLabel":"number"},{"title":"Frequency Penalty","type":"null","description":"The frequency_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.13.response.frequency_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.frequency_penalty","typeLabel":"number | null"},"presence_penalty":{"oneOf":[{"title":"Presence Penalty","type":"number","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.13.response.presence_penalty.oneOf.0","typeLabel":"number"},{"title":"Presence Penalty","type":"null","description":"The presence_penalty value echoed from the request. Not currently implemented; accepted for API compatibility","isRequired":true,"uniqueKey":"oneOf.13.response.presence_penalty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.presence_penalty","typeLabel":"number | null"},"tools":{"title":"Tools","type":"array","description":"Tool definitions available to the model for this response.","items":{"title":"Response Tool","type":"object","description":"A tool definition passed to the model via the tools[] array. Only type \"function\" is supported; other tool types are filtered server-side.","properties":{"type":{"title":"Type","type":"string","description":"The type of tool. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to be called.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"A description of what the function does. Used by the model to decide when and whether to call it.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.tools.items.[INDEX].description","typeLabel":"string | null"},"parameters":{"oneOf":[{"title":"Parameters","type":"object","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].parameters.oneOf.0","typeLabel":"Parameters · object"},{"title":"Parameters","type":"null","description":"The parameters the function accepts, described as a JSON Schema object. Omit or set to null for functions that take no parameters.","additionalProperties":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.tools.items.[INDEX].parameters","typeLabel":"Parameters · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to generate arguments that strictly conform to the provided JSON schema. Not currently enforced by SambaNova accepted for API compatibility and echoed back as null in the response.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.tools.items.[INDEX].strict","typeLabel":"boolean | null"}},"required":["type","name"],"example":{"type":"function","name":"get_weather","description":"Get the current weather for a given location.","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"}},"required":["location"],"additionalProperties":false},"strict":null},"uniqueKey":"oneOf.13.response.tools.items.[INDEX]","typeLabel":"Response Tool · object"},"isRequired":true,"uniqueKey":"oneOf.13.response.tools","typeLabel":"Response Tool · object[]"},"parallel_tool_calls":{"title":"Parallel Tool Calls","type":"boolean","description":"Whether parallel tool calls were enabled.","isRequired":true,"uniqueKey":"oneOf.13.response.parallel_tool_calls","typeLabel":"boolean"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"String shorthand for tool selection behavior.","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Response Named Tool Choice","description":"Forces the model to call a specific function. Pass this object as tool_choice to guarantee the model will invoke the named function.","required":["type","name"],"example":{"type":"function","name":"get_weather"},"properties":{"type":{"title":"Type","type":"string","description":"The type of tool to force. Always \"function\".","enum":["function"],"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1","typeLabel":"Response Named Tool Choice · object"}],"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice","typeLabel":"enum\u003cstring> | Response Named Tool Choice · object"},"truncation":{"oneOf":[{"title":"Truncation","type":"string","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.13.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Truncation","type":"null","description":"The truncation value echoed from the request.","enum":["auto","disabled"],"isRequired":true,"uniqueKey":"oneOf.13.response.truncation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.truncation","typeLabel":"enum\u003cstring> | null"},"background":{"oneOf":[{"title":"Background","type":"boolean","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.13.response.background.oneOf.0","typeLabel":"boolean"},{"title":"Background","type":"null","description":"Whether background generation was requested.","isRequired":true,"uniqueKey":"oneOf.13.response.background.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.background","typeLabel":"boolean | null"},"metadata":{"oneOf":[{"title":"Metadata","type":"object","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.13.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.13.response.metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","type":"null","description":"The metadata echoed from the request.","additionalProperties":{"type":"string","uniqueKey":"oneOf.13.response.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.13.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.metadata","typeLabel":"Metadata · object | null"},"store":{"oneOf":[{"title":"Store","type":"boolean","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.13.response.store.oneOf.0","typeLabel":"boolean"},{"title":"Store","type":"null","description":"Whether the response was stored server-side. SambaNova is stateless - always false.","isRequired":true,"uniqueKey":"oneOf.13.response.store.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.store","typeLabel":"boolean | null"},"service_tier":{"oneOf":[{"title":"Service Tier","type":"string","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.13.response.service_tier.oneOf.0","typeLabel":"string"},{"title":"Service Tier","type":"null","description":"The service tier used to process this request, as reported by the server.","isRequired":true,"uniqueKey":"oneOf.13.response.service_tier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.service_tier","typeLabel":"string | null"},"user":{"oneOf":[{"title":"User","type":"string","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.13.response.user.oneOf.0","typeLabel":"string"},{"title":"User","type":"null","description":"The user, echoed back from request.","isRequired":true,"uniqueKey":"oneOf.13.response.user.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.user","typeLabel":"string | null"},"completed_at":{"oneOf":[{"title":"Completed At","type":"integer","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.13.response.completed_at.oneOf.0","typeLabel":"integer"},{"title":"Completed At","type":"null","description":"Unix timestamp (seconds) when the response finished generating.","uniqueKey":"oneOf.13.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.completed_at","typeLabel":"integer | null"},"usage":{"title":"Response Usage","type":"object","description":"Token usage statistics for this response.","properties":{"input_tokens":{"title":"Input Tokens","type":"integer","description":"Number of tokens in the input, including conversation history and any system instructions.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.input_tokens","typeLabel":"integer"},"output_tokens":{"title":"Output Tokens","type":"integer","description":"Number of tokens generated in the output, including visible text and any reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.output_tokens","typeLabel":"integer"},"total_tokens":{"title":"Total Tokens","type":"integer","description":"Total tokens consumed by this request (input + output).","isRequired":true,"uniqueKey":"oneOf.13.response.usage.total_tokens","typeLabel":"integer"},"input_tokens_details":{"oneOf":[{"title":"Input Tokens Details","type":"object","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate.","uniqueKey":"oneOf.13.response.usage.input_tokens_details.oneOf.0.cached_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.13.response.usage.input_tokens_details.oneOf.0","typeLabel":"Input Tokens Details · object"},{"title":"Input Tokens Details","type":"null","description":"Breakdown of input token consumption.","properties":{"cached_tokens":{"title":"Cached Tokens","type":"integer","description":"Number of input tokens served from the prompt cache. Cached tokens are billed at a reduced rate."}},"uniqueKey":"oneOf.13.response.usage.input_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.input_tokens_details","typeLabel":"Input Tokens Details · object | null"},"output_tokens_details":{"oneOf":[{"title":"Output Tokens Details","type":"object","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models.","uniqueKey":"oneOf.13.response.usage.output_tokens_details.oneOf.0.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.13.response.usage.output_tokens_details.oneOf.0","typeLabel":"Output Tokens Details · object"},{"title":"Output Tokens Details","type":"null","description":"Breakdown of output token consumption.","properties":{"reasoning_tokens":{"title":"Reasoning Tokens","type":"integer","description":"Number of tokens consumed by the model's internal reasoning process. Only present on reasoning-capable models."}},"uniqueKey":"oneOf.13.response.usage.output_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.output_tokens_details","typeLabel":"Output Tokens Details · object | null"},"start_time":{"oneOf":[{"title":"Start Time","type":"number","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.13.response.usage.start_time.oneOf.0","typeLabel":"number"},{"title":"Start Time","type":"null","description":"Unix timestamp (seconds) of when generation started.","uniqueKey":"oneOf.13.response.usage.start_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.start_time","typeLabel":"number | null"},"end_time":{"oneOf":[{"title":"End Time","type":"number","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.13.response.usage.end_time.oneOf.0","typeLabel":"number"},{"title":"End Time","type":"null","description":"Unix timestamp (seconds) of when generation finished.","uniqueKey":"oneOf.13.response.usage.end_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.end_time","typeLabel":"number | null"},"time_to_first_token":{"oneOf":[{"title":"Time To First Token","type":"number","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.13.response.usage.time_to_first_token.oneOf.0","typeLabel":"number"},{"title":"Time To First Token","type":"null","description":"Time in seconds from request receipt to first output token (TTFT).","uniqueKey":"oneOf.13.response.usage.time_to_first_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.time_to_first_token","typeLabel":"number | null"},"total_latency":{"oneOf":[{"title":"Total Latency","type":"number","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.13.response.usage.total_latency.oneOf.0","typeLabel":"number"},{"title":"Total Latency","type":"null","description":"Total time in seconds taken to generate the full response.","uniqueKey":"oneOf.13.response.usage.total_latency.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.total_latency","typeLabel":"number | null"},"output_tokens_per_sec":{"oneOf":[{"title":"Output Tokens Per Sec","type":"number","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.13.response.usage.output_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens Per Sec","type":"null","description":"Output token throughput (tokens/second) for this response.","uniqueKey":"oneOf.13.response.usage.output_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.output_tokens_per_sec","typeLabel":"number | null"},"output_tokens_after_first_per_sec":{"oneOf":[{"title":"Output Tokens After First Per Sec","type":"number","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.13.response.usage.output_tokens_after_first_per_sec.oneOf.0","typeLabel":"number"},{"title":"Output Tokens After First Per Sec","type":"null","description":"Output token throughput measured after the first token was emitted. Excludes the time-to-first-token latency from the rate calculation.","uniqueKey":"oneOf.13.response.usage.output_tokens_after_first_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.output_tokens_after_first_per_sec","typeLabel":"number | null"},"total_tokens_per_sec":{"oneOf":[{"title":"Total Tokens Per Sec","type":"number","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.13.response.usage.total_tokens_per_sec.oneOf.0","typeLabel":"number"},{"title":"Total Tokens Per Sec","type":"null","description":"Total token throughput (input + output tokens/second).","uniqueKey":"oneOf.13.response.usage.total_tokens_per_sec.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.total_tokens_per_sec","typeLabel":"number | null"},"acceptance_rate":{"oneOf":[{"title":"Acceptance Rate","type":"number","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.13.response.usage.acceptance_rate.oneOf.0","typeLabel":"number"},{"title":"Acceptance Rate","type":"null","description":"Speculative decoding acceptance rate. Ratio of draft tokens accepted by the verifier model. Higher values indicate better speculation efficiency.","uniqueKey":"oneOf.13.response.usage.acceptance_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.acceptance_rate","typeLabel":"number | null"},"is_last_response":{"oneOf":[{"title":"Is Last Response","type":"boolean","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.13.response.usage.is_last_response.oneOf.0","typeLabel":"boolean"},{"title":"Is Last Response","type":"null","description":"Always true for non-streaming responses. For streaming, true only on the final chunk that carries usage.","uniqueKey":"oneOf.13.response.usage.is_last_response.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage.is_last_response","typeLabel":"boolean | null"}},"required":["input_tokens","output_tokens","total_tokens"],"example":{"input_tokens":248,"output_tokens":72,"total_tokens":320,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18},"start_time":1737642515.445,"end_time":1737642515.904,"time_to_first_token":0.084,"total_latency":0.459,"output_tokens_per_sec":156.8,"output_tokens_after_first_per_sec":161.2,"total_tokens_per_sec":311.6,"acceptance_rate":4.06,"is_last_response":true},"uniqueKey":"oneOf.13.response.usage","typeLabel":"Response Usage · object"},"instructions":{"oneOf":[{"title":"Instructions","type":"string","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.13.response.instructions.oneOf.0","typeLabel":"string"},{"title":"Instructions","type":"null","description":"The system instructions echoed from the request, or null if none were provided.","uniqueKey":"oneOf.13.response.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.instructions","typeLabel":"string | null"},"top_k":{"oneOf":[{"title":"Top K","type":"integer","description":"The top_k value used for this response.","uniqueKey":"oneOf.13.response.top_k.oneOf.0","typeLabel":"integer"},{"title":"Top K","type":"null","description":"The top_k value used for this response.","uniqueKey":"oneOf.13.response.top_k.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.top_k","typeLabel":"integer | null"},"max_tool_calls":{"oneOf":[{"title":"Max Tool Calls","type":"integer","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.13.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"title":"Max Tool Calls","type":"null","description":"The max_tool_calls value echoed from the request.","uniqueKey":"oneOf.13.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.max_tool_calls","typeLabel":"integer | null"},"text":{"title":"Text","type":"object","description":"The text format configuration (structured output mode) used for this response. ","properties":{"format":{"oneOf":[{"type":"object","title":"Response Text Format Text","description":"Specifies that the model should produce output as plain text. This is the default.","required":["type"],"example":{"type":"text"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"text\".","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.13.response.text.format.oneOf.0","typeLabel":"Response Text Format Text · object"},{"type":"object","title":"Response Text Format JSON Object","description":"Specifies that the model should produce output as a raw JSON object. The model is not constrained to any specific schema.","required":["type"],"example":{"type":"json_object"},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_object\".","enum":["json_object"],"isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.13.response.text.format.oneOf.1","typeLabel":"Response Text Format JSON Object · object"},{"type":"object","title":"Response Text Format JSON Schema","description":"Specifies that the model should produce structured output conforming to the provided JSON Schema. Unlike the Chat Completions API, the Responses API places name, schema, strict, and description directly on this object (not nested under a json_schema key).","required":["type","name"],"example":{"type":"json_schema","name":"event_extraction","description":"Extract structured event information from text","strict":false,"schema":{"type":"object","properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"],"additionalProperties":false}},"properties":{"type":{"title":"Type","type":"string","description":"The format type. Always \"json_schema\".","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"title":"Name","type":"string","description":"A name for the schema, used to identify it in the model's output.","isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.2.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.13.response.text.format.oneOf.2.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","description":"An optional description of the schema, used to guide the model.","uniqueKey":"oneOf.13.response.text.format.oneOf.2.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.text.format.oneOf.2.description","typeLabel":"string | null"},"schema":{"oneOf":[{"title":"Schema","type":"object","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.2.schema.oneOf.0","typeLabel":"Schema · object"},{"title":"Schema","type":"null","description":"A JSON Schema object defining the structure the model's output must conform to. Typically includes \"type\", \"properties\", \"required\", and optionally \"additionalProperties\". Must be a valid JSON Schema.","additionalProperties":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.2.schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.text.format.oneOf.2.schema","typeLabel":"Schema · object | null"},"strict":{"oneOf":[{"title":"Strict","type":"boolean","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.13.response.text.format.oneOf.2.strict.oneOf.0","typeLabel":"boolean"},{"title":"Strict","type":"null","description":"When true, the model is instructed to produce output that strictly matches the schema. Not currently enforced by SambaNova — accepted for API compatibility.","uniqueKey":"oneOf.13.response.text.format.oneOf.2.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.text.format.oneOf.2.strict","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"oneOf.13.response.text.format.oneOf.2","typeLabel":"Response Text Format JSON Schema · object"}],"uniqueKey":"oneOf.13.response.text.format","typeLabel":"Response Text Format Text · object | Response Text Format JSON Object · object | Response Text Format JSON Schema · object"}},"uniqueKey":"oneOf.13.response.text","typeLabel":"Text · object"},"reasoning":{"oneOf":[{"title":"Reasoning","type":"object","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported.","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"string"},{"title":"Summary","type":"null","description":"Not supported.","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.summary","typeLabel":"string | null"}},"uniqueKey":"oneOf.13.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"title":"Reasoning","type":"null","description":"The reasoning configuration used for this response.","properties":{"effort":{"oneOf":[{"title":"Effort","type":"string","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]},{"title":"Effort","type":"null","description":"The reasoning effort level that was applied for supported models.","enum":["low","medium","high"]}]},"summary":{"oneOf":[{"title":"Summary","type":"string","description":"Not supported."},{"title":"Summary","type":"null","description":"Not supported."}]}},"uniqueKey":"oneOf.13.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning","typeLabel":"Reasoning · object | null"},"max_output_tokens":{"oneOf":[{"title":"Max Output Tokens","type":"integer","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.13.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"title":"Max Output Tokens","type":"null","description":"The max_output_tokens limit echoed from the request.","uniqueKey":"oneOf.13.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.max_output_tokens","typeLabel":"integer | null"},"top_logprobs":{"oneOf":[{"title":"Top Logprobs","type":"integer","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.13.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"title":"Top Logprobs","type":"null","description":"The top_logprobs value echoed from the request.","uniqueKey":"oneOf.13.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.top_logprobs","typeLabel":"integer | null"},"previous_response_id":{"oneOf":[{"title":"Previous Response ID","type":"string","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.13.response.previous_response_id.oneOf.0","typeLabel":"string"},{"title":"Previous Response ID","type":"null","description":"Not supported. Always null. SambaNova is stateless; use input[] to supply full conversation history.","uniqueKey":"oneOf.13.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.previous_response_id","typeLabel":"string | null"}},"required":["id","object","status","created_at","model","output","tools","tool_choice","truncation","parallel_tool_calls","background","metadata","temperature","top_p","store","service_tier","error","incomplete_details","frequency_penalty","presence_penalty","user"],"examples":[{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"completed_at":1775853214,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]},{"id":"msg_c1eb06dccbc64f469533bb51be664a9e","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise."}]}],"usage":{"input_tokens":78,"output_tokens":126,"total_tokens":204,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":48}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},{"id":"resp_e8e3ad78db7546ce969f79b0828f3be3","object":"response","created_at":1775856350,"completed_at":1775856350,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_c512ec8087b247b0962b64b7595c92d2","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User asks: \"What is the weather in Bogotá?\" Need to fetch current weather using function get_weather. Provide city name \"Bogotá\". Use function."}]},{"id":"fc_c839dacb61a54c10b6560ad8d161f004","type":"function_call","call_id":"call_e52f086a16c94fa796","name":"get_weather","arguments":"{\"city\":\"Bogotá\"}","status":"completed"}],"usage":{"input_tokens":128,"output_tokens":59,"total_tokens":187,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":43}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[{"type":"function","name":"get_weather","description":"Get the current weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]},"strict":null}],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null},{"id":"resp_673393d2de28449581eb6190a8168f84","object":"response","created_at":1775517028,"completed_at":1775517028,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_0c34dec41df941b2bce83e11a7614d31","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"The user wants to extract event info from a sentence. We need to output a JSON in the prescribed format."}]},{"id":"msg_3b1e13019bd84ebcbcf0c15f45f91dfe","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\n \"title\": \"SambaNova demo\",\n \"date\": \"2026-04-18\",\n \"time\": \"15:30\",\n \"location\": \"San Francisco\"\n}\n"}]}],"usage":{"input_tokens":131,"output_tokens":280,"total_tokens":411,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":18}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"json_schema","name":"event_extraction","schema":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"location":{"type":"string"}},"required":["title","date","time","location"]}}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null}],"isRequired":true,"uniqueKey":"oneOf.13.response","typeLabel":"Response Response · object"}},"uniqueKey":"oneOf.13","typeLabel":"Response Completed Event · object"}],"uniqueKey":"","typeLabel":"Response Response · object | Response Created Event · object | Response In Progress Event · object | Response Output Item Added Event · object | Response Content Part Added Event · object | Response Reasoning Text Delta Event · object | Response Reasoning Text Done Event · object | Response Output Text Delta Event · object | Response Output Text Done Event · object | Response Function Call Arguments Delta Event · object | Response Function Call Arguments Done Event · object | Response Content Part Done Event · object | Response Output Item Done Event · object | Response Completed Event · object"},"examples":{"Example":{"title":"Example","value":{"id":"resp_18cb0a9a457241f5b0383ebeee31b80d","object":"response","created_at":1775853213,"completed_at":1775853214,"status":"completed","model":"gpt-oss-120b","output":[{"id":"rs_d608e0328e6340a69919f808ee38df6c","type":"reasoning","status":"completed","summary":[],"content":[{"type":"reasoning_text","text":"User wants a three-sentence bedtime story about a unicorn. Provide three sentences, gentle, bedtime. Should be concise."}]},{"id":"msg_c1eb06dccbc64f469533bb51be664a9e","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Under a moonlit canopy of twinkling stars, a silver-mane unicorn tiptoed into the meadow, leaving a trail of soft, glowing stardust behind each gentle step. She whispered a lullaby to the sleepy flowers, and they swayed in rhythm, their petals folding like tiny blankets around the night. As the world hushed, the unicorn curled around a sleepy child's dream, gifting them a night of sweet, sparkling adventures until sunrise."}]}],"usage":{"input_tokens":78,"output_tokens":126,"total_tokens":204,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":48}},"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"parallel_tool_calls":true,"tool_choice":"auto","tools":[],"temperature":1,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"reasoning":{"effort":"medium","summary":null},"text":{"format":{"type":"text"}},"truncation":"disabled","store":false,"background":false,"service_tier":"free","user":null,"previous_response_id":null}}},"exampleType":"generated"}},"exampleType":"generated"},"9c0293f7-47c2-4787-9d13-10000ee69557":{"description":"Bad Request — missing or invalid parameters","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"GeneralError","description":"other kind of errors","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"oneOf":[{"title":"code","type":"string","description":"error code","uniqueKey":"oneOf.0.error.code.oneOf.0","typeLabel":"string"},{"title":"code","type":"null","description":"error code","uniqueKey":"oneOf.0.error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.error.code","typeLabel":"string | null"},"message":{"title":"message","type":"string","description":"error message","uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"param":{"oneOf":[{"title":"param","type":"string","description":"error params","uniqueKey":"oneOf.0.error.param.oneOf.0","typeLabel":"string"},{"title":"param","type":"null","description":"error params","uniqueKey":"oneOf.0.error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.error.param","typeLabel":"string | null"},"type":{"title":"type","type":"string","description":"error type","uniqueKey":"oneOf.0.error.type","typeLabel":"string"},"error_model_output":{"oneOf":[{"title":"Error Model Output","type":"string","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"oneOf.0.error.error_model_output.oneOf.0","typeLabel":"string"},{"title":"Error Model Output","type":"null","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"oneOf.0.error.error_model_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.error.error_model_output","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"},"request_id":{"oneOf":[{"title":"request_id","type":"string","description":"unique request identifier for debugging","uniqueKey":"oneOf.0.request_id.oneOf.0","typeLabel":"string"},{"title":"request_id","type":"null","description":"unique request identifier for debugging","uniqueKey":"oneOf.0.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.request_id","typeLabel":"string | null"}},"uniqueKey":"oneOf.0","typeLabel":"GeneralError · object"},{"type":"object","title":"SimpleError","description":"other kind of simple schema errors","required":["error"],"properties":{"error":{"oneOf":[{"title":"error","type":"string","description":"error detail.","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.0","typeLabel":"string"},{"title":"error","type":"null","description":"error detail.","isRequired":true,"uniqueKey":"oneOf.1.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string | null"}},"uniqueKey":"oneOf.1","typeLabel":"SimpleError · object"}],"uniqueKey":"","typeLabel":"GeneralError · object | SimpleError · object"},"examples":{"missing_input":{"title":"missing_input","value":{"error":{"message":"Missing required field: 'input'.","type":"invalid_request_error","param":"input","code":"missing_required_field"},"request_id":"abc123"}},"invalid_role":{"title":"invalid_role","value":{"error":{"message":"Invalid value: 'foo'. Supported values are: 'user', 'assistant', 'system', 'developer'.","type":"invalid_request_error","param":"input[1].role","code":"invalid_value"},"request_id":"abc124"}},"empty_input":{"title":"empty_input","value":{"error":{"message":"Invalid value for 'input': expected a non-empty array or string.","type":"invalid_request_error","param":"input","code":"invalid_value"},"request_id":"abc125"}},"invalid_json":{"title":"invalid_json","value":{"error":{"code":null,"message":"We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. A JSON payload is expected, but what was sent was not valid JSON.)","param":null,"type":"invalid_request_error"},"request_id":"3f7db127"}},"adapter_mapping_failed":{"title":"adapter_mapping_failed","value":{"error":{"code":"adapter_mapping_failed","error_model_output":"{\n \"name\": \"get_weather\",\n \"arguments\": {\n city: \"Bogotá\"\n }\n}","message":"Failed to parse tool call from GPT OSS output: Expecting property name enclosed in double quotes: line 4 column 5 (char 48)","param":null,"type":"server_error"},"request_id":"494e734dc82b4b37bd914238c79c3e6c"}},"simple":{"title":"simple","value":{"error":"Unhandled error"}}},"exampleType":"examples"}},"exampleType":"examples"},"9349ed9f-9185-4de1-92b6-0e09dd352e76":{"description":"Unauthorized — invalid or missing API key","content":{"application/json":{"schema":{"title":"GeneralError","type":"object","description":"other kind of errors","properties":{"error":{"type":"object","properties":{"code":{"oneOf":[{"title":"code","type":"string","description":"error code","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"title":"code","type":"null","description":"error code","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"},"message":{"title":"message","type":"string","description":"error message","uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"title":"param","type":"string","description":"error params","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"title":"param","type":"null","description":"error params","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"type":{"title":"type","type":"string","description":"error type","uniqueKey":"error.type","typeLabel":"string"},"error_model_output":{"oneOf":[{"title":"Error Model Output","type":"string","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"error.error_model_output.oneOf.0","typeLabel":"string"},{"title":"Error Model Output","type":"null","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"error.error_model_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.error_model_output","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"oneOf":[{"title":"request_id","type":"string","description":"unique request identifier for debugging","uniqueKey":"request_id.oneOf.0","typeLabel":"string"},{"title":"request_id","type":"null","description":"unique request identifier for debugging","uniqueKey":"request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"request_id","typeLabel":"string | null"}},"required":["error"],"uniqueKey":"","typeLabel":"GeneralError · object"},"examples":{"invalid_api_key":{"title":"invalid_api_key","value":{"error":{"message":"Incorrect API key provided: *****. You can find your API key at https://cloud.sambanova.ai/apis.","type":"invalid_request_error","param":null,"code":"invalid_api_key"},"request_id":"abc126"}},"missing_api_key":{"title":"missing_api_key","value":{"error":{"message":"You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY).","type":"invalid_request_error","param":null,"code":null},"request_id":"abc127"}}},"exampleType":"examples"}},"exampleType":"examples"},"bf28a7fe-3846-4e38-a552-467aaa58a4de":{"description":"Not found — model does not exist or is not accessible","content":{"application/json":{"schema":{"title":"GeneralError","type":"object","description":"other kind of errors","properties":{"error":{"type":"object","properties":{"code":{"oneOf":[{"title":"code","type":"string","description":"error code","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"title":"code","type":"null","description":"error code","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"},"message":{"title":"message","type":"string","description":"error message","uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"title":"param","type":"string","description":"error params","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"title":"param","type":"null","description":"error params","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"type":{"title":"type","type":"string","description":"error type","uniqueKey":"error.type","typeLabel":"string"},"error_model_output":{"oneOf":[{"title":"Error Model Output","type":"string","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"error.error_model_output.oneOf.0","typeLabel":"string"},{"title":"Error Model Output","type":"null","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"error.error_model_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.error_model_output","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"oneOf":[{"title":"request_id","type":"string","description":"unique request identifier for debugging","uniqueKey":"request_id.oneOf.0","typeLabel":"string"},{"title":"request_id","type":"null","description":"unique request identifier for debugging","uniqueKey":"request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"request_id","typeLabel":"string | null"}},"required":["error"],"uniqueKey":"","typeLabel":"GeneralError · object"},"examples":{"model_not_found":{"title":"model_not_found","value":{"error":{"message":"The model `abc` does not exist or you do not have access to it.","type":"invalid_request_error","param":"model","code":"model_not_found"},"request_id":"abc128"}},"simple":{"title":"simple","value":{"error":"Not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"0cc4cb95-9dcf-40c4-b567-cc1acd999192":{"description":"Request Timeout","content":{"application/json":{"schema":{"title":"SimpleError","type":"object","description":"other kind of simple schema errors","properties":{"error":{"oneOf":[{"title":"error","type":"string","description":"error detail.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"title":"error","type":"null","description":"error detail.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"}},"required":["error"],"uniqueKey":"","typeLabel":"SimpleError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"19e3ef8f-aeca-4d63-a112-4f2e34753ef2":{"description":"Gone — model is no longer available (deprecated or removed)","content":{"application/json":{"schema":{"title":"SimpleError","type":"object","description":"other kind of simple schema errors","properties":{"error":{"oneOf":[{"title":"error","type":"string","description":"error detail.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"title":"error","type":"null","description":"error detail.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"}},"required":["error"],"uniqueKey":"","typeLabel":"SimpleError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ef5b09d6-f97f-4c48-aa56-ff9d919bcbe6":{"description":"Too Many Requests — rate limit exceeded","content":{"application/json":{"schema":{"title":"GeneralError","type":"object","description":"other kind of errors","properties":{"error":{"type":"object","properties":{"code":{"oneOf":[{"title":"code","type":"string","description":"error code","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"title":"code","type":"null","description":"error code","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"},"message":{"title":"message","type":"string","description":"error message","uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"title":"param","type":"string","description":"error params","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"title":"param","type":"null","description":"error params","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"type":{"title":"type","type":"string","description":"error type","uniqueKey":"error.type","typeLabel":"string"},"error_model_output":{"oneOf":[{"title":"Error Model Output","type":"string","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"error.error_model_output.oneOf.0","typeLabel":"string"},{"title":"Error Model Output","type":"null","description":"Raw model output that could not be parsed. Present on `server_error` responses when the model produced output that failed internal parsing (e.g. a malformed tool call JSON).","uniqueKey":"error.error_model_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.error_model_output","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"oneOf":[{"title":"request_id","type":"string","description":"unique request identifier for debugging","uniqueKey":"request_id.oneOf.0","typeLabel":"string"},{"title":"request_id","type":"null","description":"unique request identifier for debugging","uniqueKey":"request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"request_id","typeLabel":"string | null"}},"required":["error"],"uniqueKey":"","typeLabel":"GeneralError · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","type":"\u003cstring>","error_model_output":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c45241c7-ec5a-44b6-98b4-5fabed6c9fba":{"description":"Internal Server Error — unexpected issue on server side","content":{"text/plain":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"06fe3235-71ef-4c68-8ef0-975559cc9adf":{"description":"Service Temporarily Unavailable","content":{"text/plain":{"schema":{"type":"string","example":"Service Temporarily Unavailable","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"Service Temporarily Unavailable"}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2ac7ab9c-085f-4f41-bb30-71810a54a96d":{"api_key":{"type":"http","description":"SambaNova API key, sent as a bearer token in the `Authorization` header (`Authorization: Bearer \u003ckey>`). Default authentication scheme used by the SambaNova SDK across every OpenAI compatible endpoint.","scheme":"bearer","bearerFormat":"apiKey","scopes":[],"schemeName":"api_key"}}},"servers":{"b709db63-5fc4-4727-be6d-2a9dac334711":{"url":"https://api.sambanova.ai/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"SambaNova API key, sent as a bearer token in the `Authorization` header (`Authorization: Bearer \u003ckey>`). Default authentication scheme used by the SambaNova SDK across every OpenAI compatible endpoint.","scheme":"bearer","bearerFormat":"apiKey","scopes":[],"schemeName":"api_key"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"SambaNova API key, sent as a bearer token in the `Authorization` header (`Authorization: Bearer \u003ckey>`). Default authentication scheme used by the SambaNova SDK across every OpenAI compatible endpoint.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"api_key","name":"Authorization"}],"title":"api_key"}]},"originalFileLocation":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json"},"subdomain":"sambanova-systems","siteName":"SambaNova Documentation","title":"Create a model response - SambaNova Documentation","navMaps":{"firstHrefInVersion":{"v2.3.2":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v2.2.6":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v2.2.5":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v2.2.3":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v2.1.2":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v2.1.1":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v2.0.2":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v1.2.0":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v1.1.1":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v1.0.57":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"v0.5.17":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0}},"firstHrefInLanguage":{"en":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0},"ja":{"href":"/api-reference/responses/create-a-model-response","matchLevel":0}}},"lastModified":"2026-10-27T19:26:53.500Z","originalFileLocation":"api-reference/responses/create-a-model-response.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a model response for the given input. Only type: \u0026quot;function\u0026quot; tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via input[] on each request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SambaNova Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a model response - SambaNova Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a model response for the given input. Only type: \u0026quot;function\u0026quot; tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via input[] on each request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SambaNova Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sambanova-systems.mintlify.site/docs/_mintlify/api/og/v2?division=Responses\u0026amp;title=Create+a+model+response\u0026amp;description=Creates+a+model+response+for+the+given+input.+Only+%60type%3A+%22function%22%60+tools+are+supported%3B+other+tool+types+are+filtered+server-side.+SambaNova+is+stateless%2C+co\u0026amp;theme=b0fade985727b879a050f159\u0026amp;signature=db29754e3c70602aebbb26e251bfc92e513ce4491a918f18fa1375bcc7993cfc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a model response - SambaNova Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a model response for the given input. Only type: \u0026quot;function\u0026quot; tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via input[] on each request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sambanova-systems.mintlify.site/docs/_mintlify/api/og/v2?division=Responses\u0026amp;title=Create+a+model+response\u0026amp;description=Creates+a+model+response+for+the+given+input.+Only+%60type%3A+%22function%22%60+tools+are+supported%3B+other+tool+types+are+filtered+server-side.+SambaNova+is+stateless%2C+co\u0026amp;theme=b0fade985727b879a050f159\u0026amp;signature=db29754e3c70602aebbb26e251bfc92e513ce4491a918f18fa1375bcc7993cfc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SambaNova Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#974FC7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/responses/create-a-model-response.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sambanova.ai/#organization\",\"name\":\"SambaNova Documentation\",\"url\":\"https://docs.sambanova.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sambanova-systems/SM8Xs_Eg3x1tlCPk/logo/new-logo.png?fit=max\u0026auto=format\u0026n=SM8Xs_Eg3x1tlCPk\u0026q=85\u0026s=20f20c2369b8f043d9b2ffa55408fd8d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sambanova.ai/docs#website\",\"name\":\"SambaNova Documentation\",\"url\":\"https://docs.sambanova.ai/docs\",\"publisher\":{\"@id\":\"https://docs.sambanova.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response#webpage\",\"url\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response\",\"name\":\"Create a model response\",\"description\":\"Creates a model response for the given input. Only type: \\\"function\\\" tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via input[] on each request.\",\"dateModified\":\"2026-10-27T19:26:53.500Z\",\"isPartOf\":{\"@id\":\"https://docs.sambanova.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inference API\",\"item\":\"https://docs.sambanova.ai/docs/api-reference/chat-completions/create-chat-based-completion\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a model response\",\"item\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response#apireference\",\"headline\":\"Create a model response\",\"name\":\"Create a model response\",\"description\":\"Creates a model response for the given input. Only type: \\\"function\\\" tools are supported; other tool types are filtered server-side. SambaNova is stateless, conversation history must be supplied in full via input[] on each request.\",\"url\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sambanova.ai/docs/api-reference/responses/create-a-model-response#webpage\"},\"dateModified\":\"2026-10-27T19:26:53.500Z\",\"publisher\":{\"@id\":\"https://docs.sambanova.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sambanova.ai/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/api-reference/responses/create-a-model-response.md","siteName":"SambaNova Documentation","nav":{"global":null,"versions":[{"version":"v2.3.2","tag":"Latest","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.3.2/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.2.6/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v2.2.6","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.2.6/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.2.6/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v2.2.5","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.2.5/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.2.5/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v2.2.3","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.2.3/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.2.3/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v2.1.2","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.1.2/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.1.2/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v2.1.1","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.1.1/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.1.1/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v2.0.2","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.0.2/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v2.0.2/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v1.2.0","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v1.2.0/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v1.2.0/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v1.1.1","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v1.1.1/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v1.1.1/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v1.0.57","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v1.0.57/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v1.0.57/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]},{"version":"v0.5.17","languages":[{"language":"en","tabs":[{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/en/get-started/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"sidebarTitle":"API Reference","title":"SambaNova API reference","mode":"wide","href":"/en/api-reference/overview"}]},{"group":"Inference API","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API","pages":[{"sidebarTitle":"Overview","title":"Chat agents API overview","mode":"wide","href":"/en/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"Using the API","pages":[{"sidebarTitle":"API Error Codes","title":"API error codes","href":"/en/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v0.5.17/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","tabs":[{"tab":"開発者ガイド","pages":[{"title":"開発者ガイド","href":"/ja/get-started/overview"}]},{"tab":"API リファレンス","groups":[{"group":"概要","pages":[{"sidebarTitle":"API リファレンス","title":"SambaNova API リファレンス","mode":"wide","href":"/ja/api-reference/overview"}]},{"group":"推論 API (英語)","pages":[{"group":"Chat completions","pages":[{"title":"Create chat-based completion","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /chat/completions","href":"/api-reference/chat-completions/create-chat-based-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","description":null,"deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /completions","href":"/api-reference/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create a model response","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /responses","href":"/api-reference/responses/create-a-model-response"}]},{"group":"Messages","pages":[{"title":"Create a message","description":"Anthropic Messages API compatible endpoint. Generates a model response for the supplied conversation. Authentication accepts either the bearer `Authorization: Bearer \u003ckey>` header (SambaNova SDK default) or the `x-api-key` header (Anthropic SDK default); the same API key is used in both cases. When `stream: true` is set, the response is a sequence of Server-Sent Events whose payloads conform to `MessageStreamEvent`; otherwise the response is a single `Message` object.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages","href":"/api-reference/messages/create-a-message"},{"title":"Count tokens for a message request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /messages/count_tokens","href":"/api-reference/messages/count-tokens-for-a-message-request"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Transcribes audio into the input language.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/transcriptions","href":"/api-reference/audio/transcribes-audio-into-the-input-language"},{"title":"Translate audio into English.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json post /audio/translations","href":"/api-reference/audio/translate-audio-into-english"}]},{"group":"Models","pages":[{"title":"Get environment's available model list metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models","href":"/api-reference/models/get-environments-available-model-list-metadata"},{"title":"Get environment's available model metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json get /models/{model_id}","href":"/api-reference/models/get-environments-available-model-metadata"}]}]},{"group":"Chat Agents API (英語)","pages":[{"sidebarTitle":"概要","title":"チャットエージェント API の概要","mode":"wide","href":"/ja/agents-api-reference/overview"},{"group":"Main Agent","pages":[{"title":"Main Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent","href":"/api-reference/main-agent/main-agent"}]},{"group":"Main Agent Interactive","pages":[{"title":"Main Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/mainagent/interactive","href":"/api-reference/main-agent-interactive/main-agent-interactive"}]},{"group":"Subagents","pages":[{"title":"Coding Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding","href":"/api-reference/subagents/coding-agent"},{"title":"Datascience Agent And Report","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience","href":"/api-reference/subagents/datascience-agent-and-report"},{"title":"Deepresearch Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch","href":"/api-reference/subagents/deepresearch-agent"},{"title":"Financial Analysis Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis","href":"/api-reference/subagents/financial-analysis-agent"}]},{"group":"Subagents Interactive","pages":[{"title":"Coding Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/coding/interactive","href":"/api-reference/subagents-interactive/coding-agent-interactive"},{"title":"Datascience Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/datascience/interactive","href":"/api-reference/subagents-interactive/datascience-interactive"},{"title":"Deepresearch Interactive Agent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/deepresearch/interactive","href":"/api-reference/subagents-interactive/deepresearch-interactive-agent"},{"title":"Financial Analysis Agent Interactive","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml post /agent/financialanalysis/interactive","href":"/api-reference/subagents-interactive/financial-analysis-agent-interactive"}]},{"group":"File Management","pages":[{"title":"Download Agent File","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/sambanova/agents/refs/heads/main/chat-sambanova-agent-api-spec.yaml get /agent/files/{file_id}","href":"/api-reference/file-management/download-agent-file"}]}]},{"group":"API の使用","pages":[{"sidebarTitle":"API エラーコード","title":"API エラーコード","href":"/ja/api-reference/using-the-api/api-error-codes"}]}]},{"tab":"外部ツール連携","pages":[{"title":"外部ツール連携","href":"/ja/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/ja/v0.5.17/sambastack/getting-started/introduction"}]},{"tab":"リリースノート","pages":[{"title":"リリースノート","href":"/ja/release-notes/overview"}]}]}]}]},"basePath":"","title":"Create a model response - SambaNova Documentation","buildId":"dpl_7z5w9HGpTJWNSQwKnp8antE5wcga","deploymentId":"dpl_7z5w9HGpTJWNSQwKnp8antE5wcga","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bkre8rQn.js","utils-BJj10D6F.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-eW9o2T91.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BQ7D1H_p.js","snippetPresets-CrIrC6Gs.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C6GJVVJA.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVfO7SPW.js","shallow-C73HYyds.js","getApiPlaygroundDisplay-BO8DyuwE.js","CodeSnippet-DCnJHTsY.js","CodeSnippets-BKEN_mP6.js","Page-DsSY_dtW.js","getPastedJson-C1TtBd_7.js","icon-D2Zbv82k.js","MethodPill-BJmx0crv.js","DuplicateIcon-el34Cr1f.js","createIcon-j40nuRwp.js","DynamicMarkdown-GbuFGOrk.js","SectionHeading-CPJ3TjQO.js","axios-vUo_bRtp.js","Markdown-CV2aWYRx.js","clsx-C6Es_NVG.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DWHRB1DX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C6ce86GB.js"]}