API Reference
Completions
POST
/
chat
/completion
Authorization
Authorization
RequiredBearer <token>
API Key
In: header
Request Body
application/json
Requiredmessages
RequiredMessages
model
RequiredModel
frequency_penalty
Frequency Penalty
Default:
0
max_tokens
Max Tokens
n
N
Default:
1
temperature
Temperature
Default:
1
top_p
Top P
Default:
1
tools
Tools
tool_choice
Tool Choice
stream
Stream
Default:
false
moderate_before
ModerateBefore
Successful Response