Chat
Completions
Use this endpoint to generate a chat completion.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful chat completion response (non-streaming). For streaming, use stream=true and expect text/event-stream.
The response is of type object
.