Register a new knowledge unit (file or URL) to your bot’s knowledge base for indexing.
Supported Sources:
Process:
Note: Example requests/responses shown here are illustrative. When using the live “Try it” tool, you may see two responses: an HTTP status preview and the API’s JSON body.
Your API key from account settings
Your bot ID from account settings
Bot ID to add knowledge to
Title for the knowledge entry
"API Documentation"
Source type for the knowledge
0, 1 1
Array of URLs (when KnowledgeSource = 1)
["https://en.wikipedia.org/wiki/API"]Description of the knowledge content
"API documentation for testing"