POST
/v0/copilots/createConversationCreate ConversationOPTIONAL. Create a new conversation with the Agent. 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 body
application/json
object
agentIdstring · uuidrequiredCredal-generated Agent ID to specify which agent to route the request to.
userEmailstringrequiredEnd-user for the conversation.
{
"agentId": "00000000-0000-0000-0000-000000000000",
"userEmail": "string"
}Responses
objectcopilots_CreateConversationResponse
CreateConversationResponse
conversationIdstring · uuidrequired{
"conversationId": "00000000-0000-0000-0000-000000000000"
}