Import/Export Knowledge Base

To perform import / export actions of your knowledge base (XML format), you need the following:

  • The bot's UUID (the unique identifier of the bot you want to export or of the bot whose information you want to import);

  • A token (code authorizing you to perform these actions).

How to get the UUID of the bot?

Each bot has a UUID (a unique identifier).

You can find the UUID of your bot by going to Preferences > Api > API access.

How to get the token?

To get the token, go to Preferences > Api > API access then click on the URL at the top of the page.

Add to the URL: authentication.html - this should be similar to an address like this: https://app1.earth.doyoudreamup.com/servlet/authentication.html

Export a knowledge base

To export a knowledge base, go to the page Preferences > API > API access and click on the displayed link.

Then click Knowledge base.

To launch the export:

  1. Click GET /bot/knowledgebase/export/{botUUID}/{excludeGalleryContent}.

  2. Fill in the UUID of the bot for which you want to export the knowledge base and the authorization (your token). Also specify if you want to exclude the gallery while exporting your knowledge base.

  3. Click Execute.

  4. Click Download file to retrieve the knowledge base.

Import a knowledge base

To import a knowledge base, go to Preferences > Api > API access and click the link provided.

Then click Knowledge base.

To start the import:

  1. Click POST /bot/knowledgebase/import/{botUUID}.

  2. Enter the UUID of the bot for which you want to import the knowledge base and the authorization (your token).

  3. Click Choose file to select your file.

  4. Click Execute. The process may take a little time.

Delete a knowledge base

To delete a knowledge base, go to Preferences > Api > API access and click the link provided.

Then click on Knowledge base.

To start the deletion:

  1. Click DELETE /bot/knowledgebase/delete/{botUUID}/{excludeGalleryContent}.

  2. Enter the UUID of the bot for which you want to remove the knowledge base and the authorization (your token). Also specify if you want to exclude the gallery while exporting your knowledge base.

  3. Click Execute.

Last updated

Tous droits réservés @ 2023 dydu.