Conversation

Ask a question with streaming response

Beta
POST
Ask a question

Path parameters

conversationIdstringRequired
The ID of a new or existing conversation to use as context for the question

Request

This endpoint expects an object.
id
stringRequired
Externally supplied ID to uniquely identify this message within the conversation
text
stringRequired
The text of the message
context
objectOptional
The context of the message
responseConfig
objectOptional
Optional configuration for responses to this conversation. Only applies to new conversations.

Response

This endpoint returns a stream of union
Text
OR
Metadata
OR
Start
OR
End

Errors