Data Source Website API

This page covers the QAnswer Data Source Website 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 links using the request below.
POST

/api/connectors/website/create


Try it
Code

Website list

  • Scrape a website to retrieve a list of links with the following API request.
  • If you don't need a click_tag, set it to [] instead of ["string"]
POST

/api/connectors/website/list


Try it
Code

Add a link

Add a link or a list of links to the connector.

POST

/api/connectors/website/add


Try it
Code