POST
/
backend
/
knowledgebase
/
ingest
/
urls
curl --location 'https://api.opencopilot.so/backend/knowledgebase/ingest/urls' \
--header 'Authorization: Bearer <token>' \
--form 'bot_id="bcfd9096-b947-49fb-888c-232858de7ca0"' \
--form 'urls="https://en.wikipedia.org/wiki/Utopia"'

Endpoint for ingesting knowledge from url (alpha):

Important: This endpoint is in alpha and may change in the future. Please report any issues or feedback to the issue tracker.

Ingest Knowledge

Knowledge is any information that the copilot can use to answer questions. as for now, the copilot can ingest knowledge in the following formats:

  • Website: when you provide a URL, the copilot will scrape the content of the website recursively and ingest the content into its knowledge base, you can also provide a list of URLs to scrape.