Create Chat Completion
Create a chat completion.
Generates a model response for the given conversation and configuration. Supports OpenAI-compatible parameters and provider-specific extensions.
Headers:
- Authorization: bearer key for the calling account.
- Optional BYOK or provider headers if applicable.
Behavior:
- If multiple models are supplied, the first one is used, and the agent may hand off to another model.
- Tools may be invoked on the server or signaled for the client to run.
- Streaming responses emit incremental deltas; non-streaming returns a single object.
- Usage metrics are computed when available and returned in the response.
Responses:
- 200 OK: JSON completion object with choices, message content, and usage.
- 400 Bad Request: validation error.
- 401 Unauthorized: authentication failed.
- 402 Payment Required or 429 Too Many Requests: quota, balance, or rate limit issue.
- 500 Internal Server Error: unexpected failure.
Billing:
- Token usage metered by the selected model(s).
- Tool calls and MCP sessions may be billed separately.
- Streaming is settled after the stream ends via an async task.
Example (non-streaming HTTP): POST /v1/chat/completions Content-Type: application/json Authorization: Bearer <key>
{ "model": "provider/model-name", "messages": [{"role": "user", "content": "Hello"}] }
200 OK { "id": "cmpl_123", "object": "chat.completion", "choices": [ {"index": 0, "message": {"role": "assistant", "content": "Hi there!"}, "finish_reason": "stop"} ], "usage": {"prompt_tokens": 3, "completion_tokens": 4, "total_tokens": 7} }
Example (streaming over SSE): POST /v1/chat/completions Accept: text/event-stream
data: {"id":"cmpl_123","choices":[{"index":0,"delta":{"content":"Hi"}}]} data: {"id":"cmpl_123","choices":[{"index":0,"delta":{"content":" there!"}}]} data: [DONE]
Request body
Example request
{
"model_attributes": {
"gpt-5": {
"accuracy": 0.95,
"speed": 0.6
}
},
"agent_attributes": {
"accuracy": 0.9,
"complexity": 0.8
},
"max_turns": 5
}Response
JSON or SSE stream of ChatCompletionChunk events
Example response
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "The next Warriors game is tomorrow at 7:30 PM.",
"role": "assistant"
}
}
],
"created": 1677652288,
"id": "chatcmpl-123",
"model": "gpt-4o-mini",
"object": "chat.completion",
"tools_executed": [
"search_events",
"get_event_details"
],
"usage": {
"completion_tokens": 12,
"prompt_tokens": 9,
"total_tokens": 21
}
}Changes
Changed in 19 of the 39 revisions of this API.8876180
- ▲
removed
ResponseFormatJsonSchemaSchemasubschema #2from theresponse_format/anyOf[subschema #1]/oneOf[subschema #2: ResponseFormatJsonSchema]/json_schema/schemarequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1: Responsemodalitiesfrom themodalitiesrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #2: Stopconfigurationfrom thestoprequest propertyanyOflistrequest-property-any-of-removed
- ▲
the request property
prediction/anyOf[subschema #1]/oneOf[subschema #1: PredictionContent]/typebecame requiredrequest-property-became-required
- ▲
the request property
response_format/anyOf[subschema #1]/oneOf[subschema #1: ResponseFormatText]/typebecame requiredrequest-property-became-required
- ▲
the request property
response_format/anyOf[subschema #1]/oneOf[subschema #2: ResponseFormatJsonSchema]/typebecame requiredrequest-property-became-required
- ▲
the request property
response_format/anyOf[subschema #1]/oneOf[subschema #3: ResponseFormatJsonObject]/typebecame requiredrequest-property-became-required
- ▲
the request property
thinking/anyOf[subschema #1]/oneOf[subschema #1: ThinkingConfigEnabled]/typebecame requiredrequest-property-became-required
- ▲
the request property
thinking/anyOf[subschema #1]/oneOf[subschema #2: ThinkingConfigDisabled]/typebecame requiredrequest-property-became-required
- ▲
the request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #1: ToolChoiceAuto]/typebecame requiredrequest-property-became-required
- ▲
the request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #2: ToolChoiceAny]/typebecame requiredrequest-property-became-required
- ▲
the request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #3: ToolChoiceTool]/typebecame requiredrequest-property-became-required
- ▲
the request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #4: ToolChoiceNone]/typebecame requiredrequest-property-became-required
- ▲
removed the enum value
24hof the request propertyprompt_cache_retention/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
autoof the request propertyfunction_call/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
autoof the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
defaultof the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
flexof the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
highof the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
highof the request propertyverbosity/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
in-memoryof the request propertyprompt_cache_retention/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
lowof the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
lowof the request propertyverbosity/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
mediumof the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
mediumof the request propertyverbosity/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
minimalof the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
noneof the request propertyfunction_call/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
noneof the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
priorityof the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
scaleof the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
removed the enum value
standard_onlyof the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-removed
- ▲
request property
messageslist-of-types was narrowed by removing typesstringfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
prediction/anyOf[subschema #1]/oneOf[subschema #1: PredictionContent]/contentlist-of-types was narrowed by removing typesobjectfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
response_format/anyOf[subschema #1]/oneOf[subschema #2: ResponseFormatJsonSchema]/json_schema/descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
response_format/anyOf[subschema #1]/oneOf[subschema #2: ResponseFormatJsonSchema]/json_schema/strictlist-of-types was narrowed by removing typesobjectfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #1: ToolChoiceAuto]/disable_parallel_tool_uselist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #2: ToolChoiceAny]/disable_parallel_tool_uselist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
tool_choice/anyOf[subschema #1]/oneOf[subschema #3: ToolChoiceTool]/disable_parallel_tool_uselist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
the
response_format/anyOf[subschema #1]/oneOf[subschema #2: ResponseFormatJsonSchema]/json_schema/schemarequest property type/format changed from/toobject/request-property-type-changed
- ▲
the
response_format/anyOf[subschema #1]/oneOf[subschema #2: ResponseFormatJsonSchema]/json_schema/strict/anyOf[subschema #1]/request property type/format changed fromobject/toboolean/request-property-type-changed
- ▲
the
tools/anyOf[subschema #1]/items/request property type/format changed fromobject/to/request-property-type-changed
- ▲
added
ChatCompletionMessageCustomToolCallto thechoices/items/message/tool_calls/items/response propertyoneOflist for the response status200(media type: application/json)response-property-one-of-added
- ●
the
thinking/anyOf[subschema #1]/oneOf[subschema #1: ThinkingConfigEnabled]/budget_tokensrequest property's min was set to1024.00request-property-min-set
- ●
removed the request property
auto_execute_toolsrequest-property-removed
- ●
removed the request property
disable_automatic_function_callingrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/disable_automatic_function_callingrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/disable_automatic_function_callingrequest-property-removed
- ●
removed the request property
tools/anyOf[subschema #1]/items/functionrequest-property-removed
- ●
removed the request property
tools/anyOf[subschema #1]/items/typerequest-property-removed
- ○
added the new optional request property
automatic_tool_executionnew-optional-request-property
- ○
added the new optional request property
stop_sequencesnew-optional-request-property
- ○
added
subschema #1to themodalitiesrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1to thestoprequest propertyanyOflistrequest-property-any-of-added
- ○
the
typerequest property default valueanywas removedrequest-property-default-value-removed
- ○
the
typerequest property default valueautowas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuecontentwas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuedisabledwas removedrequest-property-default-value-removed
- ○
the
typerequest property default valueenabledwas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuejson_objectwas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuejson_schemawas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuenonewas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuetextwas removedrequest-property-default-value-removed
- ○
the
typerequest property default valuetoolwas removedrequest-property-default-value-removed
- ○
added discriminator to
tools/anyOf[subschema #1]/items/request propertyrequest-property-discriminator-added
- ○
added
ChatCompletionToolCustomToolChatCompletionsto thetools/anyOf[subschema #1]/items/request propertyoneOflistrequest-property-one-of-added
- ○
added
Audio-Outputto thechoices/items/message/audioresponse propertyanyOflist for the response status200(media type: application/json)response-property-any-of-added
- ○
removed
Audiofrom thechoices/items/message/audioresponse propertyanyOflist for the response status200(media type: application/json)response-property-any-of-removed
- ○
mapped value for discriminator key
customchanged fromChatCompletionMessageCustomToolCall-OutputtoChatCompletionMessageCustomToolCallforchoices/items/message/tool_calls/items/response property for the response status200(media type: application/json)response-property-discriminator-mapping-changed
- ○
removed
ChatCompletionMessageCustomToolCall-Outputfrom thechoices/items/message/tool_calls/items/response propertyoneOflist for the response status200(media type: application/json)response-property-one-of-removed
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new required request property
functions/anyOf[subschema #1]/items/namenew-required-request-property
- ▲
added the new required request property
safety_settings/anyOf[subschema #1]/items/categorynew-required-request-property
- ▲
added the new required request property
safety_settings/anyOf[subschema #1]/items/thresholdnew-required-request-property
- ▲
added the new required request property
tools/anyOf[subschema #1]/items/functionnew-required-request-property
- ▲
added the new required request property
tools/anyOf[subschema #1]/items/typenew-required-request-property
- ▲
removed
Modelsfrom themodelrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
ResponseFormatTextResponseFormatJsonObjectResponseFormatJsonSchemafrom theresponse_formatrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1from themessagesrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1from themodalitiesrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from thetool_choicerequest propertyanyOflistrequest-property-any-of-removed
- ▲
request property
disable_automatic_function_callinglist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
function_calllist-of-types was narrowed by removing typesobjectfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
the
temperature/anyOf[subschema #1]/request property's max was decreased to1.00request-property-max-decreased
- ▲
the
top_logprobs/anyOf[subschema #1]/request property's max was decreased to8.00request-property-max-decreased
- ▲
the
prediction/anyOf[subschema #1]/request property type/format changed fromobject/to/request-property-type-changed
- ▲
added
ChatCompletionMessageToolCall-OutputChatCompletionMessageCustomToolCall-Outputto thechoices/items/message/tool_calls/items/response propertyoneOflist for the response status200response-property-one-of-added
- ●
the
seed/anyOf[subschema #1]/request property's max was set to9223372036854775808.00request-property-max-set
- ●
the
seed/anyOf[subschema #1]/request property's min was set to0.00request-property-min-set
- ●
removed the request property
inputrequest-property-removed
- ●
removed the request property
instructionsrequest-property-removed
- ●
removed the request property
systemrequest-property-removed
- ○
added the new optional request property
cachedContentnew-optional-request-property
- ○
added the new optional request property
functions/anyOf[subschema #1]/items/descriptionnew-optional-request-property
- ○
added the new optional request property
functions/anyOf[subschema #1]/items/parametersnew-optional-request-property
- ○
added the new optional request property
prompt_cache_retentionnew-optional-request-property
- ○
added the new optional request property
prompt_modenew-optional-request-property
- ○
added the new optional request property
safe_promptnew-optional-request-property
- ○
added the new optional request property
system_instructionnew-optional-request-property
- ○
added
subschema #1to theresponse_formatrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1to thetool_choicerequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1: Messagesto themessagesrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1: Responsemodalitiesto themodalitiesrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #2to themodelrequest propertyanyOflistrequest-property-any-of-added
- ○
the request property
thinking/anyOf[subschema #1]/oneOf[subschema #1: ThinkingConfigDisabled -> subschema #2: ThinkingConfigDisabled]/typebecame optionalrequest-property-became-optional
- ○
the request property
thinking/anyOf[subschema #1]/oneOf[subschema #2: ThinkingConfigEnabled -> subschema #1: ThinkingConfigEnabled]/typebecame optionalrequest-property-became-optional
- ○
the
deferredrequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
disable_automatic_function_callingrequest property default valuetruewas addedrequest-property-default-value-added
- ○
the
frequency_penaltyrequest property default value0was addedrequest-property-default-value-added
- ○
the
logprobsrequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
nrequest property default value1was addedrequest-property-default-value-added
- ○
the
parallel_tool_callsrequest property default valuetruewas addedrequest-property-default-value-added
- ○
the
presence_penaltyrequest property default value0was addedrequest-property-default-value-added
- ○
the
reasoning_effortrequest property default valuemediumwas addedrequest-property-default-value-added
- ○
the
service_tierrequest property default valueautowas addedrequest-property-default-value-added
- ○
the
stoprequest property default value<|endoftext|>was addedrequest-property-default-value-added
- ○
the
storerequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
temperaturerequest property default value1was addedrequest-property-default-value-added
- ○
the
tool_choicerequest property default valueautowas addedrequest-property-default-value-added
- ○
the
top_prequest property default value1was addedrequest-property-default-value-added
- ○
the
typerequest property default valuedisabledwas addedrequest-property-default-value-added
- ○
the
typerequest property default valueenabledwas addedrequest-property-default-value-added
- ○
the
verbosityrequest property default valuemediumwas addedrequest-property-default-value-added
- ○
added discriminator to
prediction/anyOf[subschema #1]/request propertyrequest-property-discriminator-added
- ○
added the new
flexenum value to the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
minimalenum value to the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
noneenum value to the request propertyreasoning_effort/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
priorityenum value to the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
scaleenum value to the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
standard_onlyenum value to the request propertyservice_tier/anyOf[subschema #1]/request-property-enum-value-added
- ○
request property
stoplist-of-types was widened by adding typesstringto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
streamlist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
added
PredictionContentto theprediction/anyOf[subschema #1]/request propertyoneOflistrequest-property-one-of-added
- ○
mapped value for discriminator key
customchanged fromChatCompletionMessageCustomToolCalltoChatCompletionMessageCustomToolCall-Outputforchoices/items/message/tool_calls/items/response property for the response status200response-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
functionchanged fromChatCompletionMessageToolCalltoChatCompletionMessageToolCall-Outputforchoices/items/message/tool_calls/items/response property for the response status200response-property-discriminator-mapping-changed
- ○
response property
choices/items/message/contentlist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
removed
ChatCompletionMessageToolCallChatCompletionMessageCustomToolCallfrom thechoices/items/message/tool_calls/items/response propertyoneOflist for the response status200response-property-one-of-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed
ResponseFormatJSONObjectResponseFormatJSONSchemafrom theresponse_formatrequest propertyanyOflistrequest-property-any-of-removed
- ○
added
ResponseFormatJsonObjectResponseFormatJsonSchemato theresponse_formatrequest propertyanyOflistrequest-property-any-of-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed
subschema #1from theresponse_formatrequest propertyanyOflistrequest-property-any-of-removed
- ○
added
ResponseFormatTextResponseFormatJSONObjectResponseFormatJSONSchemato theresponse_formatrequest propertyanyOflistrequest-property-any-of-added
- ▲
- ▲
response property
choices/items/message/contentlist-of-types was widened by adding typesarrayto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
the request property
messagesbecame optionalrequest-property-became-optional
- ○
added the new
web_search_call.action.sourcesenum value to the request propertymodel/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/response_include/anyOf[subschema #1]/items/request-property-enum-value-added
- ○
added the new
web_search_call.action.sourcesenum value to the request propertymodel/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/response_include/anyOf[subschema #1]/items/request-property-enum-value-added
- ○
added the new
web_search_call.resultsenum value to the request propertymodel/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/response_include/anyOf[subschema #1]/items/request-property-enum-value-added
- ○
added the new
web_search_call.resultsenum value to the request propertymodel/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/response_include/anyOf[subschema #1]/items/request-property-enum-value-added
- ○
request property
messageslist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ▲
- ▲
removed
MCPServersMCPServerChoicefrom themcp_serversrequest propertyanyOflistrequest-property-any-of-removed
- ▲
the
objectresponse property const value changed fromchat.completion.chunktochat.completionfor the status200(media type: application/json)response-property-const-changed
- ▲
the
usageresponse's property type/format changed from/toobject/for status200(media type: application/json)response-property-type-changed
- ▲
removed the required property
choices/items/deltafrom the response with the200status (media type: application/json)response-required-property-removed
- ○
added the new optional request property
deferrednew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/deferrednew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/search_parametersnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/deferrednew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/search_parametersnew-optional-request-property
- ○
added the new optional request property
search_parametersnew-optional-request-property
- ○
added
subschema #1subschema #2to themcp_serversrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #3to themodel/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/tool_choice/anyOf[ToolChoice]/request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #3to themodel/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/tool_choice/anyOf[ToolChoice]/request propertyanyOflistrequest-property-any-of-added
- ○
added the optional property
mcp_server_errorsto the response with the200status (media type: application/json)response-optional-property-added
- ○
added the optional property
tools_executedto the response with the200status (media type: application/json)response-optional-property-added
- ○
added the optional property
usage/anyOf[subschema #1: CompletionUsage]/completion_tokens_details/accepted_prediction_tokensto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/anyOf[subschema #1: CompletionUsage]/completion_tokens_details/audio_tokensto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/anyOf[subschema #1: CompletionUsage]/completion_tokens_details/reasoning_tokensto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/anyOf[subschema #1: CompletionUsage]/completion_tokens_details/rejected_prediction_tokensto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/anyOf[subschema #1: CompletionUsage]/prompt_tokens_details/audio_tokensto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/anyOf[subschema #1: CompletionUsage]/prompt_tokens_details/cached_tokensto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/completion_tokens_detailsto the response with the200status (media type: application/json)response-optional-property-added
- ○
added the optional property
usage/prompt_tokens_detailsto the response with the200status (media type: application/json)response-optional-property-added
- ○
removed
CompletionTokensDetailssubschema #2from theusage/anyOf[subschema #1: CompletionUsage]/completion_tokens_detailsresponse propertyanyOflist for the response status200(media type: text/event-stream)response-property-any-of-removed
- ○
removed
CompletionUsagesubschema #2from theusageresponse propertyanyOflist for the response status200(media type: application/json)response-property-any-of-removed
- ○
removed
PromptTokensDetailssubschema #2from theusage/anyOf[subschema #1: CompletionUsage]/prompt_tokens_detailsresponse propertyanyOflist for the response status200(media type: text/event-stream)response-property-any-of-removed
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/content/anyOf[subschema #1]/items/bytesbecame required for the status200(media type: application/json)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/content/anyOf[subschema #1]/items/bytesbecame required for the status200(media type: text/event-stream)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/content/anyOf[subschema #1]/items/top_logprobs/items/bytesbecame required for the status200(media type: application/json)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/content/anyOf[subschema #1]/items/top_logprobs/items/bytesbecame required for the status200(media type: text/event-stream)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/refusal/anyOf[subschema #1]/items/bytesbecame required for the status200(media type: application/json)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/refusal/anyOf[subschema #1]/items/bytesbecame required for the status200(media type: text/event-stream)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/refusal/anyOf[subschema #1]/items/top_logprobs/items/bytesbecame required for the status200(media type: application/json)response-property-became-required
- ○
the response property
choices/items/logprobs/anyOf[subschema #1: ChoiceLogprobs]/refusal/anyOf[subschema #1]/items/top_logprobs/items/bytesbecame required for the status200(media type: text/event-stream)response-property-became-required
- ○
the response property
objectbecame required for the status200(media type: application/json)response-property-became-required
- ○
the
objectresponse's property default valuechat.completion.chunkwas removed for the status200(media type: application/json)response-property-default-value-removed
- ○
response property
system_fingerprintlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
added the required property
choices/items/messageto the response with the200status (media type: application/json)response-required-property-added
- ○
added the required property
usage/completion_tokensto the response with the200status (media type: application/json)response-required-property-added
- ○
added the required property
usage/prompt_tokensto the response with the200status (media type: application/json)response-required-property-added
- ○
added the required property
usage/total_tokensto the response with the200status (media type: application/json)response-required-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
auto_execute_toolsnew-optional-request-property
- ○
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/extra_bodyrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/extra_bodyrequest-property-removed
- ○
added the new optional request property
disable_automatic_function_callingnew-optional-request-property
- ○
added the new optional request property
inputnew-optional-request-property
- ○
added the new optional request property
instructionsnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/disable_automatic_function_callingnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/prompt_cache_keynew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/safety_identifiernew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/structured_outputnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/timeoutnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/tool_confignew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/verbositynew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/web_search_optionsnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/disable_automatic_function_callingnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/prompt_cache_keynew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/safety_identifiernew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/structured_outputnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/timeoutnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/tool_confignew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/verbositynew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settings/anyOf[subschema #1: ModelSettings]/web_search_optionsnew-optional-request-property
- ○
request property
messageslist-of-types was widened by adding typesstringto media typeapplication/jsonrequest-property-list-of-types-widened
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
added the new required request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/modelnew-required-request-property
- ▲
added the new required request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/modelnew-required-request-property
- ▲
removed
subschema #1from themcp_serversrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #3from themodelrequest propertyanyOflistrequest-property-any-of-removed
- ▲
the request property
modelbecame requiredrequest-property-became-required
- ▲
the
messagesrequest property's minItems was increased to1request-property-min-items-increased
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/attributesrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/frequency_penaltyrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/logit_biasrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/logprobsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/max_completion_tokensrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/max_tokensrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/metadatarequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/nrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/namerequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/parallel_tool_callsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/presence_penaltyrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/response_formatrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/seedrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/service_tierrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/stoprequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/streamrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/stream_optionsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/temperaturerequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/tool_choicerequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/toolsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/top_logprobsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/top_prequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/userrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/attributesrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/frequency_penaltyrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/logit_biasrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/logprobsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/max_completion_tokensrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/max_tokensrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/metadatarequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/nrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/namerequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/parallel_tool_callsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/presence_penaltyrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/response_formatrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/seedrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/service_tierrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/stoprequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/streamrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/stream_optionsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/temperaturerequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/tool_choicerequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/toolsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/top_logprobsrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/top_prequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/userrequest-property-removed
- ○
api operation id
create_v1_chat_completions_postremoved and replaced withcreate_chat_completion_v1_chat_completions_postapi-operation-id-removed
- ○
the endpoint scheme security
Bearerwas added to the APIapi-security-added
- ○
the endpoint scheme security
HTTPBearerwas removed from the APIapi-security-removed
- ○
api tag
chataddedapi-tag-added
- ○
added the new optional request property
audionew-optional-request-property
- ○
added the new optional request property
function_callnew-optional-request-property
- ○
added the new optional request property
functionsnew-optional-request-property
- ○
added the new optional request property
generation_confignew-optional-request-property
- ○
added the new optional request property
logprobsnew-optional-request-property
- ○
added the new optional request property
max_completion_tokensnew-optional-request-property
- ○
added the new optional request property
metadatanew-optional-request-property
- ○
added the new optional request property
modalitiesnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/settingsnew-optional-request-property
- ○
added the new optional request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/settingsnew-optional-request-property
- ○
added the new optional request property
parallel_tool_callsnew-optional-request-property
- ○
added the new optional request property
predictionnew-optional-request-property
- ○
added the new optional request property
prompt_cache_keynew-optional-request-property
- ○
added the new optional request property
reasoning_effortnew-optional-request-property
- ○
added the new optional request property
response_formatnew-optional-request-property
- ○
added the new optional request property
safety_identifiernew-optional-request-property
- ○
added the new optional request property
safety_settingsnew-optional-request-property
- ○
added the new optional request property
seednew-optional-request-property
- ○
added the new optional request property
service_tiernew-optional-request-property
- ○
added the new optional request property
storenew-optional-request-property
- ○
added the new optional request property
stream_optionsnew-optional-request-property
- ○
added the new optional request property
systemnew-optional-request-property
- ○
added the new optional request property
thinkingnew-optional-request-property
- ○
added the new optional request property
tool_confignew-optional-request-property
- ○
added the new optional request property
top_knew-optional-request-property
- ○
added the new optional request property
top_logprobsnew-optional-request-property
- ○
added the new optional request property
verbositynew-optional-request-property
- ○
added the new optional request property
web_search_optionsnew-optional-request-property
- ○
added
MCPServersMCPServerChoiceto themcp_serversrequest propertyanyOflistrequest-property-any-of-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the request property
messagesbecame requiredrequest-property-became-required
- ▲
the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/namebecame requiredrequest-property-became-required
- ▲
the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/namebecame requiredrequest-property-became-required
- ▲
request property
messageslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/createdrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/idrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/objectrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #1: DedalusModelChoice]/anyOf[subschema #2: DedalusModel]/owned_byrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/createdrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/idrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/objectrequest-property-removed
- ●
removed the request property
model/anyOf[subschema #2: Models]/items/anyOf[subschema #2: DedalusModel]/owned_byrequest-property-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲