Ask AnswerGenius
Send a query to AnswerGenius.
Query Parameters
- formatstring enum
The format of the
contentfield in each chat message of the response. Possible values:html,md. Default:html.Examplehtml- html
- md
Body
application/json
query
string required
The query to send to AnswerGenius.
chatId
string The ID of a specific chat conversation with AnswerGenius. Specifying the chatId adds more context to a conversation.
projectId
string The ID of a publication for prioritized search.
Responses
POST/answergenius/ask
{
"id": "…",
"messages": [
{
"content": "…",
"contentType": "html",
"messageType": "…"
}
]
}