Data Source Q&A API

This page covers the QAnswer Data Source Q&A API endpoints.

Info

Create an API Key Create API Key section.

An AI assistant is required. Create one via the Create AI Assistant API, or follow the Create AI Assistant steps in the application.

Try it

Create the connector

  • Create the connector with the following API request.
  • The API response returns the information needed to add Q&A pairs using the request below.
POST

/api/connectors/qna/create


Try it
Code

Add Q&A

Add a question and answer pair with the following API request.

POST

/api/connectors/qna/add


Try it
Code