I've taken the approach of deleting and creating KBs. But when I tried to create one using the API playground like this:
**curl -X POST
https://api.vapi.ai/knowledge-base \
-H "Authorization: Bearer xxx" \
-H "Content-Type: application/json" \
-d '{
"provider": "trieve",
"createPlan": {
"type": "create",
"chunkPlans": [
{
"fileIds": [
"fname.txt"
]
}
]
},
"name": "stdRAG",
"searchPlan": {
"searchType": "hybrid",
"scoreThreshold": 0.3
}
}'**
I get "failed to extract key for request id {hex-string}"
I'm puzzled because I made the curl command using the playground, so I assume I can't have got the syntax wrong.