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.
isTestRequest
boolean default:
falseMarks the request as a test one. Test requests are excluded from the AnswerGenius report, but they still consume ClickHelp AI Points (CAPs). Default: false.
Responses
POST/answergenius/ask
{
"id": "…",
"messages": [
{
"content": "…",
"contentType": "html",
"messageType": "…"
}
]
}