kishan
06/05/2025, 8:26 AMkishan
06/05/2025, 8:26 AMVapi Support Bot
06/05/2025, 8:27 AMVapi Support Bot
06/05/2025, 8:27 AMbash
curl -X POST https://api.vapi.ai/knowledge-base \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "my-website-kb",
"provider": "trieve",
"searchPlan": { "scoreThreshold": 0.2, "searchType": "semantic" },
"createPlan": { "type": "import", "providerId": "<YOUR_TRIEVE_DATASET_ID>" }
}'
First, set up and crawl your website in Trieve, then use your Trieve dataset ID in the above request ([details](https://docs.vapi.ai/knowledge-base/integrating-with-trieve)).
Sources:
- [Integrating with Trieve](https://docs.vapi.ai/knowledge-base/integrating-with-trieve)
- [Create Knowledge Base API Reference](https://docs.vapi.ai/api-reference/knowledge-bases/create)Kings_big💫
06/05/2025, 8:33 AM