export an assistant into json
# support
r
I have built an assistant in the Vapi dashboard. Is there any way I can export its properties into a json file? #json #model_export
v
You can export your assistant's properties as JSON by using the Vapi API. Run the following cURL command (replace
<assistant_id>
and
<your_token>
with your values):
Copy code
bash
curl https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <your_token>"
This will return your assistant's configuration in JSON format, which you can save to a file. Note: There is no mention of a direct "export to JSON" button in the dashboard UI itself. Source: - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get?explorer=true)
c
You can use the GET/assistant API for exporting the assistant schema, and then you can store it inside the JSON.
6 Views