Chat
Create a stateless chat completion
Generate a multilingual assistant response. Send the full conversation on every request. Optional application instructions must be sent from a trusted server.
POST
/
api/v1/chat/completionsAuthorization
AuthorizationRequiredBearer <token>
In: header
Request Body
application/jsonRequiredinstructionsInstructions
Optional application instructions set by the API customer. Send these only from a trusted server; never expose API keys in clients.
max_tokensMax Tokens
Default:
512Minimum: 1Maximum: 2048messagesRequiredMessages
Successful Response