POST
/
v1
/
openai
/
chat
/
completions

Authorizations

Authorization
string
header
required

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

Body

application/json
messages
object[]
required
domain
string | null

Domain of the request

id
string
logprobs
integer | null
max_tokens
integer
default:
1024
metadata
object

Metadata of the request

model
string
default:
vlm-1
n
integer | null
default:
1
response_format
object | null

Format of the response

schema
object | null

Schema of the request

stream
boolean
default:
false
temperature
number
default:
0.7
top_k
integer | null
top_p
number
default:
1

Response

201 - application/json

https://platform.openai.com/docs/api-reference/chat/object

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