Endpoints
Completions
POST
/
chat
/
completion
Authorizations
Authorization
string
headerrequiredAPI Key
Body
application/json
messages
object[]
requiredmodel
any
requiredfrequency_penalty
number | null
default: 0max_tokens
integer | null
n
integer | null
default: 1temperature
number | null
default: 1top_p
number | null
default: 1tools
object[] | null
tool_choice
Available options:
none
, auto
stream
boolean | null
default: falsemoderate_before
boolean
Response
200 - application/json
id
string
requiredchoices
object[]
requiredcreated
integer
requiredmodel
string
requiredobject
any
requiredsystem_fingerprint
string | null
usage
object | null