Skip to main content
POST
completions

Body

application/json
model
string
required
Minimum string length: 1
messages
any[]
metadata
object
logprobs
boolean
n
integer<int32>
seed
integer<int32>
stop
any
stream
boolean
temperature
number<double>
tools
any[]
store
boolean
reasoning_effort
string
frequency_penalty
number<double>
logit_bias
object
top_logprobs
integer<int32>
max_completion_tokens
integer<int32>
presence_penalty
number<double>
service_tier
string
stream_options
object
top_p
number<double>
tool_choice
any
extra
object

Response

200

OK