To begin a chat, submit a POST request to the /ask endpoint containing a JSON object with a query attribute. The primary response will consist of a conversationId and a response.
For ongoing chat, incorporate the conversationId in later API calls.
In order to obtain a response associated with a particular conversationId’s chat history, send a POST request to the /ask endpoint, including the conversationId.