Chat
Our flag ship API endpoint
Chat completion
POST
/api/chat
Generate the next completion in a chat based data model.
Returns details about the user associated with the authentication provided in the request's authorization header.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
| string | Model to use for the generation |
| chat | Chat dialog between user and assistant |
Response
Last updated