{
"documentation_id": "doc_a1b2c3d4e5f6",
"agent_id": "agent_b2c3d4e5f6a7"
}
{
"success": true,
"message": "Document 'Product Manual' attached to agent 'Sales Rep'"
}
Knowledge Base
Attach to Agent
POST
/
api
/
knowledge-base
/
attach
{
"documentation_id": "doc_a1b2c3d4e5f6",
"agent_id": "agent_b2c3d4e5f6a7"
}
{
"success": true,
"message": "Document 'Product Manual' attached to agent 'Sales Rep'"
}
Attach a knowledge base document to an agent, allowing the agent to query it during calls.
Headers
Request Body
Permissions
kb:update(admin, agent_manager)
Response
{
"documentation_id": "doc_a1b2c3d4e5f6",
"agent_id": "agent_b2c3d4e5f6a7"
}
{
"success": true,
"message": "Document 'Product Manual' attached to agent 'Sales Rep'"
}