Attach Agent Knowledge Base

Beta

Attach a knowledge base to an agent. The search_knowledge tool is auto-registered on the next conversation and can only query the attached knowledge bases.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

agent_idstringRequired

Agent id (prefixed external id, agent_...).

kb_idstringRequired

Knowledge base id (prefixed external id, kb_...).

Headers

Speechify-VersionstringOptional

Response

Knowledge base attached.

Errors

401
Unauthorized Error
404
Not Found Error