Skip to main content
POST
/
ai
/
agents
/
{agent_id}
/
knowledge-bases
/
{kb_id}
Attach knowledge base to agent
curl --request POST \
  --url https://api.wacht.dev/ai/agents/{agent_id}/knowledge-bases/{kb_id} \
  --header 'Authorization: <api-key>'

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

agent_id
string
required

AI Agent ID

kb_id
string
required

Knowledge Base ID

Response

200

Knowledge base attached