Conversation

Initialize conversation

Beta
POST
Pre-populate a new conversation with messages

Request

This endpoint expects an object.
id
stringRequired
Externally supplied ID to uniquely identify this conversation
messages
list of objectsRequired
The messages in the conversation
context
objectOptional
The context of the conversation
responseConfig
objectOptional
Optional configurations for responses to this conversation

Response

This endpoint returns an object
context
object
The context of the conversation
id
string
Externally supplied ID to uniquely identify this conversation
messages
list of unions
The messages in the conversation
responseConfig
objectOptional
Optional configurations for responses to this conversation

Errors