API ReferenceAgents

Delete knowledge base

DELETE
/api/v1/console/agents/{agentId}/knowledge_bases/{kbId}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Team API key (prefix sk_). You may also send the key via X-Api-Key header.

In: header

Path Parameters

agentId*string
kbId*string

Response Body

application/json

curl -X DELETE "https://example.com/api/v1/console/agents/string/knowledge_bases/string"
{  "message": "Success",  "data": null}