Agents
The agent can then search the knowledge base during conversations. The knowledge base must belong to the agent's tenant.
Required permission: agents:write
BearerAuthorizationBearer <token>Tenant API key (evk_…), created in Studio → Vault → API keys.
tenantId*stringTenant id, or current for the key's own tenant. Must be the key's tenant or one of its sub-tenants.
agentId*stringAgent id.
kbId*stringKnowledge base id.
Linked (also when it already was).
curl -X POST 'https://api.envocal.ai/v1/tenants/string/agents/string/knowledge-bases/string'curl -X POST 'https://api.envocal.ai/v1/tenants/string/agents/string/knowledge-bases/string'