Skip to main content
The knowledge base is the material your assistants consult to answer your leads: policies, price tables, manuals, frequently asked questions. Each item can be created from a text or from an uploaded file.

Scope: global or assistant-specific

Every knowledge item has a scope, defined by the assistant_id field:
An exclusive item belongs to a single assistant. To share the same material across a few assistants — but not all of them — keep the item global and use exclusions.

Exclusions: narrowing down a global item

Global items accept an excluded_assistant_ids list. The assistants on that list stop seeing that knowledge, even though it is global.
Exclusions only apply to global items. Trying to exclude an assistant from an item that already has assistant_id filled in returns 409.

Accepted file formats

The limit is 10 MB per file. The content is extracted as text and indexed — images inside the file are not interpreted.

Usage instruction

The optional usage_instruction field (up to 2000 characters) tells the assistant when to rely on that knowledge. It is useful when you have several similar items:

Knowledge object

Endpoints

Every endpoint operates only on the knowledge of the organization that owns the API key used in the request. It is not possible to read or change data from another organization.