OPTIONAL. Create a new conversation with the Copilot. The conversation ID can be used in the sendMessage endpoint. The sendMessage endpoint automatically creates new conversations upon first request, but calling this endpoint can simplify certain use cases where it is helpful for the application to have the conversation ID before the first message is sent.
Request
This endpoint expects an object.
userEmail
stringRequired
End-user for the conversation.
Response
This endpoint returns an object
conversationId
UUID
POST
1
curl -X POST https://api.credal.ai/api/v0/copilots/createConversation \