Update Agent
Update an existing agent — only provided fields are modified
Overview
Update an existing agent’s configuration. Only the fields you provide will be updated — all other settings remain unchanged. Ifprompt_content is provided, a new version of the agent’s internal prompt is automatically created.
If call_analysis_prompt.custom_prompt is provided, a new version of the analysis prompt is automatically created before the agent is updated.
Only send call_analysis_enabled, call_analysis_prompt, and call_analysis_schema when you explicitly want to configure call analysis. If call_analysis_enabled is true, provide call_analysis_prompt as well.
Try It Behavior
InTry it, llm is shown as a single object.
- For standard providers, fill
llm.params.temperatureonly. - For
CUSTOM_LLM, fillllm.params.base_url,llm.params.api_key, and optionallyllm.params.API_TYPE.
Authentication
vk_.Path Parameters
68ea2517dbb84c09bae1ba0aRequest Body
All fields are optional. Only provided fields will be updated.| Provider | Allowed params |
|---|---|
| STT | No params allowed (must be empty {}) |
| STS | No public API param restrictions |
| LLM | Standard providers: only temperature (0.0 - 2.0). CUSTOM_LLM: requires base_url plus api_key; optional API_TYPE and temperature |
| TTS | Only speed |
INBOUND or OUTBOUND.temperature. CUSTOM_LLM requires base_url plus api_key, and optionally accepts API_TYPE and temperature.speed param allowed).true only when you
want call analysis to run. If true, provide call_analysis_prompt as well.Response
Returns the complete updated agent object with all configurations and timestamps.Authorizations
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Path Parameters
The unique agent ID
Body
All fields are optional — only provided fields will be updated.
Agent name
1 - 100Agent description
500Agent type
INBOUND, OUTBOUND Agent category
Customer Service, Sales, Scheduling, Research, Healthcare, Customer Success, Education, Finance, HR, Legal, Productivity, Creative, IT/DevOps, E-commerce, Entertainment, Travel, Wellness, Anime, Cartoon, Gaming, Lifestyle, other Usage tips
Mobile numbers associated with the agent
LLM configuration. Use provider_name to choose a standard provider or CUSTOM_LLM. For standard providers, only params.temperature applies. For CUSTOM_LLM, use params.base_url, params.api_key, and optional params.API_TYPE.
Optional call analysis prompt reference. Provide custom_prompt to create a new analysis prompt version before linking it to the agent.
Toggle call analysis on or off for the agent. Set to true only when you want call analysis to run; when true, provide call_analysis_prompt as well.
Optional schema for structured call analysis output, keyed by field name.
{
"summary": { "type": "str" },
"customer_intent": { "type": "Optional[str]" },
"follow_up_required": { "type": "bool" }
}New prompt content — creates a new version of the agent's internal prompt
Reference to an existing prompt
Agent's greeting message
Configure agent tools. Each tool can be true (enable), false (disable), or an object with configuration.
Widget configuration
Response
Agent updated successfully
Agent ID
Agent name
Agent description
Agent type
INBOUND, OUTBOUND Agent category
Usage tips
Associated mobile numbers
STT configuration
LLM configuration
TTS configuration
STS configuration (if set)
Whether call analysis is enabled for the agent
Prompt reference
Agent's greeting message
Dynamic variables in the prompt
Configured tools
Widget configuration
Media files associated with the agent
Creation timestamp
Last update timestamp

