Chatbot Webpages

Add Webpage

Add a URL to the chatbot's training sources. The page will be automatically crawled and trained. If the URL already exists, it will be retrained.

NOTE: Crawling runs in the background. Poll webpages.get until status is completed. Re-adding an existing URL retrains it.

post/chatbots/{chatbot_id}/webpages

Request

  • Base URL
    https://app.boei.help/api/v1
  • Auth
    HTTP bearer

Request body

urlstring required

The URL to crawl and train.

Example request

{
  "url": "https://example.com/docs"
}

Response

URL already exists

idstring
urlstring
statusstring
already_existsboolean

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "url": "https://example.com/docs",
  "status": "pending",
  "already_exists": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.