georg
06/06/2025, 4:22 PMVapi Support Bot
06/06/2025, 4:24 PMhistoria_personal.json, make sure the file is uploaded and attached via a Query Tool.
Here’s a quick API example to attach the file to your assistant:
bash
curl --location --request PATCH 'https://api.vapi.ai/assistant/df57a123-88bd-422e-a8fc-4ef0a33052c9' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
"model": {
"provider": "openai",
"model": "gpt-4o",
"toolIds": ["<QUERY_TOOL_ID>"]
}
}'
Replace <QUERY_TOOL_ID> with the ID of your Query Tool that references historia_personal.json.
After updating, test your assistant to confirm it responds with real data from the file.
[See full guide](https://docs.vapi.ai/knowledge-base/using-query-tool#step-3-attach-the-query-tool-to-your-assistant)
Source:
- [Using the Query Tool for Knowledge Bases](https://docs.vapi.ai/knowledge-base/using-query-tool)georg
06/06/2025, 4:37 PMVapi
06/07/2025, 12:27 AM