PATCH
Update Agent
Updates one or more fields on an existing Agent.
PATCH
https://api.vantaxai.com/v1/agents/{agent_id}Only include the fields you want to change. Assigning a `knowledgebase_id` or `calendar_id` here is how you wire those resources to an Agent.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Path Parameters
agent_idstringrequiredThe Agent to update.
example: agt_3d9b21
Body Parameters
namestringoptionalNew display name.
system_promptstringoptionalUpdated instructions / persona.
voice_idstringoptionalReassign the voice.
knowledgebase_idstringoptionalAttach (or replace) the knowledge base.
calendar_idstringoptionalAttach (or replace) the booking calendar.
ai_modelstringoptionalSwitch the underlying model.
is_activebooleanoptionalEnable or disable the Agent.