Create chat completion
Generates a response based on a list of messages sent by the user to the model. The list of messages may include system messages, user messages, and assistant messages.
This endpoint allows other tools in the developer ecosystem to leverage poolside as a drop-in replacement for other models.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Response
Successful response - JSON when stream=false, SSE when stream=true
A list of chat completions from the model.
1The Unix timestamp (in seconds) when the completion was created.
The model used for the chat completion.
The object type 'chat.completion' or ''chat.completion.chunk'
A URL to the JSON Schema for this object.
"https://example.com/openai/schemas/ChatCompletion.json"
Usage statistics for the chat completion.