Agents
Agents
An agent is a voice agent configuration defining how conversations are conducted, which models and voices are used, and how calls are handled.
Editor sections
In the console, agent configurations are organized into focused sections:
| Section | Model field | Documentation |
|---|---|---|
| Agent | name, welcome_message, system_prompt | Agent tab |
| LLM | llm | LLM tab |
| Voice | voice | Voice tab |
| Transcriber | transcriber | Transcriber tab |
| Call | call | Call tab |
| Tools | tools, calcom, crm | Tools |
| Analytics | analytics, memory | Analytics tab, Caller memory |
| Webhook & number | webhook_url, webhook_headers, phone_number | Webhook and number |
| Tests | Stored separately | Testing |
| Versions | Read only | Versions |
Templates
Create agent › From a template in the console starts from a ready-made agent for an Indian business: clinic appointments, coaching admissions follow-up, real-estate site visits, loan EMI reminders or COD order confirmation. Each comes with a Hinglish prompt, post-call extraction fields and India-ready call settings: calling hours 9:00 to 21:00 IST and Indian formats. The voice and transcriber are your workspace’s defaults. After that it is an ordinary agent: change anything.
The agent object
{
"id": "1b81a241c0e44f5c9d1f0e2a7c3b9d10",
"name": "Front desk",
"welcome_message": "Hello {customer_name}, thanks for calling City Clinic.",
"system_prompt": "You are the receptionist of City Clinic. Help the caller book a visit.",
"llm": {"provider": "gemini", "model": "gemini-3.5-flash-lite", "temperature": 0.4, "max_tokens": 300},
"voice": {"provider": "cartesia", "model": "sonic-3.6", "voice_id": "", "voice_name": "", "language": "hi", "speed": 1.0},
"transcriber": {"provider": "cartesia", "model": "ink-2", "turn_detection": "balanced", "language": "hi", "endpointing_ms": 300, "keyterms": []},
"knowledge_base_ids": [],
"knowledge_mode": "auto",
"call": {
"max_duration_seconds": 600,
"hangup_after_silence_seconds": 15,
"allow_interruptions": true,
"interruption_min_words": 2,
"calling_hours": false,
"call_start_hour": 9,
"call_end_hour": 21,
"timezone": "Asia/Kolkata",
"record": true,
"hangup_message": "",
"hangup_on_prompt": false,
"hangup_prompt": "You decide whether a phone conversation is complete. ...",
"check_user_online": false,
"user_online_message": "Are you still there?",
"user_online_after_seconds": 9
},
"analytics": {"summarize": false, "extraction_prompt": ""},
"tools": [],
"calcom": {"enabled": false, "event_type_id": 0},
"crm": {"enabled": false, "tools": ["save_contact", "search_catalog", "check_availability", "book", "my_bookings", "place_order", "my_orders"], "save_after_call": true},
"memory": {"enabled": false, "scope": "agent", "instructions": "", "max_facts": 20, "keep_days": 365, "store": "vaakyo"},
"webhook_url": "",
"webhook_headers": {},
"phone_number": "",
"status": "active",
"avatar": null,
"version": 1,
"variables": ["customer_name"],
"updated_by": "key:my-server",
"created_at": "2026-10-01T14:42:44.120000+05:30",
"updated_at": "2026-10-01T14:42:44.120000+05:30"
}
Top-level fields
| Field | Type | Default | Notes |
|---|---|---|---|
id | string | generated | Read only. 32-character hexadecimal identifier. |
name | string | required | 1 to 120 characters. |
welcome_message | string | "" | Spoken when the call connects. |
system_prompt | string | "" | Core instructions for dialogue and behavior. |
llm | object | see LLM | Language model settings. |
voice | object | see Voice | Text-to-speech settings. |
transcriber | object | see Transcriber | Speech recognition settings. A new agent without one gets the workspace’s default speech services (Deepgram Nova-3 with a Sarvam backup where available). |
knowledge_base_ids | array | [] | Attached knowledge base IDs. |
knowledge_mode | string | "auto" | "auto" (inline when small) or "search". |
call | object | see Call | Call mechanics and audio parameters. |
analytics | object | see Analytics | Post-call data extraction. |
tools | array | [] | Function calling definitions. Header values are masked (••••••••). |
calcom | object | off | Book meetings on Cal.com during calls. See Cal.com. |
crm | object | off | The CRM’s built-in tools in calls. See CRM. |
memory | object | off | Remember each caller across calls. See Caller memory. |
webhook_url | string | "" | Endpoint for call lifecycle events. |
webhook_headers | object | {} | Extra headers sent to webhook_url. Values are masked (••••••••). |
phone_number | string | "" | Assigned phone number in E.164 format. |
status | string | "active" | "active", "paused" (stops answering inbound calls), or "frozen" (enforced if repeated guardrail violations occur). |
frozen_reason | string | "" | Read only. Reason populated if the agent is frozen. |
frozen_at | ISO 8601 | null | Read only. Timestamp when frozen. |
frozen_incident_id | string | "" | Read only. The compliance incident that triggered freezing. |
frozen_from | string | "" | Read only. The status the agent returns to when it is unfrozen. |
avatar | integer, string or null | null | Console icon identifier. |
version | integer | 1 | Read only. Incremented on each save. |
variables | array of strings | [] | Read only. List of extracted {variable} placeholders. |
updated_by | string | Read only. User account or API key identifier that performed the last change. | |
created_at, updated_at | ISO 8601 | Read only timestamp, in Asia/Kolkata by default (another zone with the timezone parameter). |
Endpoints
| Action | Request | Permission |
|---|---|---|
| List agents | GET /api/v1/agents | agents.view |
| Create an agent | POST /api/v1/agents | agents.edit |
| Get agent details | GET /api/v1/agents/{id} | agents.view |
| Update an agent | PUT /api/v1/agents/{id} | agents.edit |
| Delete an agent | DELETE /api/v1/agents/{id} | agents.edit |
| Place a call | POST /api/v1/agents/{id}/call | calls.place |
Duplicating, pinning, sharing and restoring earlier versions of an agent are done in the console.
Create
curl -X POST https://api.vaakyo.com/api/v1/agents \
-H "Authorization: Bearer $VAAKYO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Front desk", "system_prompt": "You are the receptionist of City Clinic."}'
Update
PUT /api/v1/agents/{id} replaces the entire agent configuration:
curl -s https://api.vaakyo.com/api/v1/agents/$AGENT_ID -H "Authorization: Bearer $VAAKYO_API_KEY" > agent.json
# modify agent.json
curl -X PUT https://api.vaakyo.com/api/v1/agents/$AGENT_ID \
-H "Authorization: Bearer $VAAKYO_API_KEY" \
-H "Content-Type: application/json" \
-d @agent.json
Error responses
| Status | Cause |
|---|---|
404 | Agent not found in workspace. |
409 | Workspace agent limit reached. |
422 | Invalid configuration, an unavailable provider, or a phone_number that is not on your workspace (that number is not on this workspace: use one of your numbers (Phone numbers)). Saving a number another of your agents has moves it to this agent. |