Is there a way to view assistant code configuratio...
# support
l
See title
u
Hi
@liamdu386
k
Yes, you can view and edit your assistant’s configuration directly in the Vapi Dashboard by selecting the assistant and accessing its settings.
v
Based on what I've found, it appears you can view and edit your assistant’s configuration directly in the Vapi Dashboard by selecting the assistant and accessing its settings. This should allow you to manage your assistant’s configuration without needing to use the API playground. If you have a specific aspect of the configuration in mind, let me know and I can try to help further!
l
But how? How do I view the code setup?
Like I know I can modify the assistant configs in the dashboard, but how do I see the code mapping 1:1?
v
Currently, the Vapi Dashboard allows you to configure your assistant through UI fields (like model selection, prompts, etc.), but I couldn't find documentation confirming a direct "code" or raw JSON view of your assistant's configuration within the dashboard itself. To clarify, are you looking for a way to export or view the assistant's configuration as raw JSON/code directly in the dashboard, similar to what you see in the API playground? Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard#get-started-by-creating-an-assistant) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
Currently, the documentation shows you can configure your assistant in the Vapi Dashboard using forms and settings, but it does not confirm if you can view the raw code or JSON setup directly in the dashboard UI. To help further, are you specifically looking for a way to view or edit the assistant's configuration as raw JSON or code within the dashboard? Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
k
To view your Vapi assistant’s code-like config, go to the Dashboard → Assistants → Settings, and for a 1:1 code mapping, use the Vapi API to fetch the assistant’s JSON configuration, which mirrors what’s editable in the UI.
v
There is currently no way to view your assistant's raw code or JSON configuration directly in the Vapi Dashboard UI. To get a 1:1 code mapping of your assistant's config, use the API:
Copy code
bash
curl https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <your_token>"
This will return the full JSON configuration for your assistant. [See API Reference](https://docs.vapi.ai/api-reference/assistants/get) Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
There is currently no way to view your assistant's raw code or JSON configuration directly in the Vapi Dashboard UI. To get a 1:1 code mapping of your assistant's config, use the API:
Copy code
bash
curl https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <your_token>"
This will return the full JSON configuration for your assistant. [See API Reference](https://docs.vapi.ai/api-reference/assistants/get) Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
l
So the answer is there is no way.
Or is there?
@Shubham Bajaj feature request pls. shouldn't take more than 20 mins to build right 😆
v
Correct—there is no way to view your assistant's raw code or JSON configuration directly in the Vapi Dashboard UI. To get a 1:1 code mapping, use the API:
Copy code
bash
curl https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <your_token>"
This will return the full JSON config for your assistant. [See API Reference](https://docs.vapi.ai/api-reference/assistants/get) Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
No, there is currently no way to view your assistant's raw code or JSON configuration directly in the Vapi Dashboard UI. To get a 1:1 code mapping of your assistant's config, use the API:
Copy code
bash
curl https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <your_token>"
This will return the full JSON configuration for your assistant. [See API Reference](https://docs.vapi.ai/api-reference/assistants/get) Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
There is currently no way to view your assistant's raw code or JSON configuration directly in the Vapi Dashboard UI. To get a 1:1 code mapping, use the API:
Copy code
bash
curl https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <your_token>"
This will return the full JSON configuration for your assistant. [See API Reference](https://docs.vapi.ai/api-reference/assistants/get) Sources: - [Vapi Quickstart Dashboard Guide](https://docs.vapi.ai/quickstart/dashboard) - [Vapi API Reference Get Assistant](https://docs.vapi.ai/api-reference/assistants/get)
k
Nope, there is no other way.
l
Should build a way! It'll be awesome as a dev who tests on the dashboard and codes transient assistants in my own codebase
v
You're absolutely right—at the moment, there isn't a way to view your assistant's raw code or JSON configuration directly in the Vapi Dashboard UI. The only way to get the full JSON config is through the API. Your suggestion to add this feature makes a lot of sense, especially for developers who want a smoother workflow between the dashboard and their own codebase. Thanks for sharing your feedback!
k
@liamdu386 You can raise an feature request for it over here: https://roadmap.vapi.ai