Create/Edit Agent
Edits/Creates a new agent in the system
Authorizations
Agent/Workspace secret API key as bearer token.
Path Parameters
The ID of the agent to create/edit
Body
Platform of the Agent
vf
, vg
Agent title/name
Agent description
For VF agents only -- the API key for the agent
For VF agents only -- the Project API key
Predefined themes: 'blue-light' | 'purple-light' | 'blue-dark' | 'purple-dark' | 'custom-light' | 'custom-dark' // custom themes used along customThemeJSONString
MUST JSON.stringify() this object before passing it to the API.
Custom theme object for the agent
Widget popup launch image
Web widget chat avatar image url
Web widget chat header image url
Web widget chat banner image url
Chatbox background image
Google font family name Browse fonts
Branding text under the chatbox
Language of the agent (ISO 639-1), Learn more
Widget handoff title
Widget handoff subtitle
Layout of the buttons in the chatbox
horizontal
, vertical
(Advanced) Custom CSS for the web widget
WA access token for sending messages
WA number_id connected to the agent
WA Business ID connected to the agent
Discord webhook URL
Google chat integration -- Service account private_key for sending messages
Google chat integration -- Service account client_email for sending messages
VG agents specific -- Array of strings for initial messages
VG agents specific -- prompt for the agent
Temperature of the LLM
model_id to use to power the agent
gpt-3.5-turbo-0125
, gpt-4-1106-preview
, llama2-70b-4096
, mixtral-8x7b-32768
, gemma-7b-it
Max tokens for the LLM to generate per interaction (message to the AI)
(Advanced) Dimensions of the vector store for the agent
(Advanced) Max chunks retrieved as context from the vector store for the agent
Enable or disable the AI UI engine for the agent (Makes the AI generate UI elements on its on for the web widget)
Agent secret API key to control kb, conversations, etc
Delay between messages in milliseconds
Popup proactive message
Record chat history on VG dashboard or not
Disable scroll on new messages
Autostart the widget on page load (Consumes an interaction for VF agents)
VF agents specific -- Listen for URL changes and send an intent to Voiceflow when the URL changes
Forget chathistory on widget close
Enable Mic button for voice input
VF agents specific -- Enable AI translation of the response coming from VF
VF agents specific -- Disable no reply listener
Always show handoff popup even if no agents are online
Make the handoff popup fixed instead of disappearing on scroll
VF agents specific -- Make the AI reply to the first message on channels like WA, discord, etc by sending 2 requests on initilization instead of launching the flow only.
Always show handoff popup even if no agents are online
Enable quick upload button for web widget