Skip to main content

Overview

Knowledge bases are collections of documents and text that Sendora’s AI voice agents retrieve from in real time during a call. When a prospect asks “What’s your pricing?” or “Do you integrate with Salesforce?”, the agent searches the relevant KB and answers accurately instead of hallucinating. KBs support two source types via the API:
  • Text, paste in raw content (FAQs, product sheets, objection handlers)
  • URL, provide a web page URL and Sendora crawls and indexes it automatically

Creating a knowledge base

Returns the created KB with an id you’ll use to add sources and assign it to agents.

Adding a text source

The content is chunked, embedded, and indexed within a few seconds. Check status: "ready" on the source before the agent goes live.

Adding a URL source

Sendora crawls the URL, strips navigation/footers, and indexes the main content. Crawling is async, poll the source status via GET /knowledge-bases/{kb_id}/sources.

Listing sources

Possible status values: pending, indexing, ready, error

Deleting a source

Removes the source and all its chunks from the index. The KB remains active.

Assigning a KB to a voice agent

A KB becomes available to an agent when you assign it:
An agent can have multiple KBs. During a call, the agent searches all assigned KBs and picks the most relevant chunk.

Unassigning a KB

The KB itself is not deleted, it’s just unlinked from the agent.

Full KB lifecycle example