Skip to main content
POST
chat claude messages

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
messages
any[]
required

messages

maxTokens
integer<int32>

Maximum token count

system
any

system prompt

stream
boolean
default:true

streaming output

temperature
number<double>

Temperature (0-1)

topP
number<double>

top P

topK
number<double>

top k

stopSequences
string[]

stopSequences

tools
any[]

Tool List (Function Calling)

toolChoice
any

Tool selection strategy

Response

200 - */*

OK

The response is of type object.