chat

Create a chat completion

Changed on
post/v1/chat/completions

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/v1/chat/completions
  • Auth
    HTTP bearer

Request body

max_tokensinteger
modelstring
parallel_tool_callsboolean
providerstring

Gateway routing hint; stripped before upstream execution.

service_tierstring
streamboolean
temperaturenumber
tool_choiceunknown
toolsobject[]
top_pnumber
userstring

Response

JSON response or SSE stream when stream=true

createdinteger
idstring
modelstring
objectstring
providerstring
system_fingerprintstring

Changes

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/event-stream)

    • info

      added the new optional request property ////

    • info

      added the optional property ///// to the response with the status (media type: application/json)

    • info

      added the optional property ///// to the response with the status (media type: text/event-stream)