Skip to main content
POST
Create a chat completion
Authenticate with a Bearer API key and send JSON.
A non-streaming response contains id, object, created, model, choices[], and usage. Each choice has index, message, and finish_reason. Streaming responses provide choices[].delta increments.