DELETE

Remove Knowledge Base from Agent

Detaches a knowledge base from the Agent.

DELETEhttps://api.vantaxai.com/v1/agents/{agent_id}/knowledge-bases/{knowledgebase_id}

Headers

  • Authorizationstringrequired

    Bearer authentication with your secret API key.

    example: Bearer vx_live_3fa9c2…

Path Parameters

  • agent_idstringrequired

    The Agent.

    example: agt_3d9b21

  • knowledgebase_idstringrequired

    The knowledge base to detach.

    example: kb_71ac0

Request

curl -X DELETE https://api.vantaxai.com/v1/agents/agt_3d9b21/knowledge-bases/kb_71ac0 \
  -H "Authorization: Bearer vx_live_3fa9c2..."

Response

{
  "success": true,
  "message": "Knowledge base removed from Agent",
  "data": { "id": "agt_3d9b21", "knowledgebase_id": null }
}