POST
/
v1
/
openai
/
chat
/
completions

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
model
string
default: vlm-1
messages
object[]
required
max_tokens
integer
default: 250
n
integer | null
default: 1
temperature
number
default: 0.7
top_p
number
default: 1
top_k
integer | null
logprobs
integer | null
stream
boolean
default: false
response_format
object | null

Format of the response

domain
string | null

Domain of the request

schema
object | null

Schema of the request

metadata
object

Metadata of the request

Response

201 - application/json
id
string
object
enum<string>
default: chat.completion
Available options:
chat.completion,
chat.completion.chunk
created
integer
model
string
required
choices
any[]
required
usage
object | null
system_fingerprint
string | null
default: 2024-08-01