Creates a new knowledge base from direct text input.
Create a knowledge base by providing text content directly in the request. This is ideal for when you have structured text content that you want to make searchable for your AI agents. This endpoint returns aDocumentation Index
Fetch the complete documentation index at: https://blandai-feat-kb-attachment-matrix.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
data.id UUID. Plug that UUID into any of the surfaces below to make the knowledge base available on a call. The same UUID can be attached to as many places as you want; the relationship is many-to-many.
| Surface | How to attach | Notes |
|---|---|---|
| Web Agent (browser SDK) | POST /v1/agents or POST /v1/agents/{id}, tools: ["<kb_uuid>"] | The tools array accepts knowledge base UUIDs and tool IDs interchangeably. |
| Inbound phone number | POST /v1/personas or PATCH /v1/personas/{id}, kb_ids: ["<kb_uuid>"], then attach the number | Updates land on the draft; promote before the change is live. |
| SMS / iMessage | Same as inbound phone: set kb_ids on the persona, then attach the SMS-capable number | Channel capability follows the number’s own configuration. |
| Pathway node | Configure the knowledge base on the node in the pathway builder | See Pathways. Nodes hold their own KB list. |
| Outbound call | POST /v1/calls, tools: ["<kb_uuid>"] | Same array as Web Agents. If persona_id is set, the persona’s kb_ids apply and tools adds to them. |
KB- prefixed vector store IDs are no longer issued. Existing KB- IDs still resolve, but new knowledge bases use UUIDs.
application/json for text-based knowledge bases."text" for text-based knowledge bases."PROCESSING", "COMPLETED", "FAILED", or "DELETED"."TEXT" for text-based knowledge bases."FAILED".null on successful creation.