Ask AnswerGenius

Ask AnswerGenius

Send a query to AnswerGenius.

Query Parameters
  • format
    string enum

    The format of the content field 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": "…"
    }
  ]
}