Knowledge base api.
# support
l
Can we no longer create custom knowledge bases via the api as laid out here: https://docs.vapi.ai/knowledge-base/custom-knowledge-base
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
Yes, you can still create custom knowledge bases via the API. Here's a sample cURL command to create one:
Copy code
bash
curl --location 'https://api.vapi.ai/knowledge-base' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_VAPI_API_KEY' \
  --data '{
    "provider": "custom-knowledge-base",
    "server": {
      "url": "https://your-domain.com/kb/search",
      "secret": "your-webhook-secret"
    }
  }'
Replace the URL and secret with your own values. For more details, see the [official documentation](https://docs.vapi.ai/knowledge-base/custom-knowledge-base). Source: - [Custom Knowledge Base | Vapi Docs](https://docs.vapi.ai/knowledge-base/custom-knowledge-base)
c
Hi liam123, If you have any questions or requirements about creating or managing custom knowledge bases in Vapi, you might find our [Introduction to Knowledge Bases guide](https://docs.vapi.ai/knowledge-base) helpful. This resource outlines both dashboard and API methods for setting up knowledge bases, including steps like uploading files, configuring your assistant, and publishing changes. For advanced configurations, you can use the API to manage knowledge bases, including creating, updating, or deleting them, as described in our [Custom Knowledge Base documentation](https://docs.vapi.ai/knowledge-base/custom-knowledge-base). This document details how to implement a custom knowledge base server using webhooks, allowing for full control over document retrieval and integration with your search infrastructure. Let me know if you need more specific guidance or have a particular issue with the setup.
l
Hey, I appreciate your response, I managed to integrate it using custom knowledge base api but now I'm concerned about the new changelog saying that it is being depreciated but I cannot find anything in the docs about what the new system will be: https://docs.vapi.ai/changelog
c
Custom knowledge base should still be an option since we don't have other available options that will be usable, but we will check with the team and get back to you to confirm this information.
l
It is still working, but I'm just woried about this changelog entry which says it is going
c
Not sure if you saw this documentation page but might be useful for you: