Skip to main content
POST
chat responses

Maven

Normal Request Example

Stream Response

Body

application/json
model
enum<string>
required

model, You can view the list of supported models through the interface /ai/chat/models

Available options:
gpt-5.4,
gpt-5.5,
claude-opus-4-6,
claude-opus-4-7,
claude-opus-4-8
input
any
required

input messages

instructions
string

instructions

stream
boolean
default:false

streaming output

temperature
number<double>

Temperature (0-2)

maxOutputTokens
integer<int32>

Maximum token count

topP
number<double>

top P

tools
any[]

Tool List (Function Calling)

toolChoice
any

Tool selection strategy

text
any

Text

Response

200 - */*

OK

The response is of type object.