Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request DELETE \ --url http://localhost:8787/api/v1/knowledge-bases/{id} \ --header 'Authorization: Bearer <token>'
import requests url = "http://localhost:8787/api/v1/knowledge-bases/{id}" headers = {"Authorization": "Bearer <token>"} response = requests.delete(url, headers=headers) print(response.text)
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('http://localhost:8787/api/v1/knowledge-bases/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
Delete a knowledge base and drop its vector collection
curl -X DELETE https://api.agentic-os.com/api/v1/knowledge-bases/KB_ID \ -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
requests.delete( "https://api.agentic-os.com/api/v1/knowledge-bases/KB_ID", headers={"Authorization": f"Bearer {API_KEY}"}, )
await fetch("https://api.agentic-os.com/api/v1/knowledge-bases/KB_ID", { method: "DELETE", headers: { Authorization: `Bearer ${API_KEY}` }, });
204 No Content