Skip to content
VaakyoDocs
Navigation
Open console →

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:

SectionModel fieldDocumentation
Agentname, welcome_message, system_promptAgent tab
LLMllmLLM tab
VoicevoiceVoice tab
TranscribertranscriberTranscriber tab
CallcallCall tab
Toolstools, calcom, crmTools
Analyticsanalytics, memoryAnalytics tab, Caller memory
Webhook & numberwebhook_url, webhook_headers, phone_numberWebhook and number
TestsStored separatelyTesting
VersionsRead onlyVersions

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

FieldTypeDefaultNotes
idstringgeneratedRead only. 32-character hexadecimal identifier.
namestringrequired1 to 120 characters.
welcome_messagestring""Spoken when the call connects.
system_promptstring""Core instructions for dialogue and behavior.
llmobjectsee LLMLanguage model settings.
voiceobjectsee VoiceText-to-speech settings.
transcriberobjectsee TranscriberSpeech 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_idsarray[]Attached knowledge base IDs.
knowledge_modestring"auto""auto" (inline when small) or "search".
callobjectsee CallCall mechanics and audio parameters.
analyticsobjectsee AnalyticsPost-call data extraction.
toolsarray[]Function calling definitions. Header values are masked (••••••••).
calcomobjectoffBook meetings on Cal.com during calls. See Cal.com.
crmobjectoffThe CRM’s built-in tools in calls. See CRM.
memoryobjectoffRemember each caller across calls. See Caller memory.
webhook_urlstring""Endpoint for call lifecycle events.
webhook_headersobject{}Extra headers sent to webhook_url. Values are masked (••••••••).
phone_numberstring""Assigned phone number in E.164 format.
statusstring"active""active", "paused" (stops answering inbound calls), or "frozen" (enforced if repeated guardrail violations occur).
frozen_reasonstring""Read only. Reason populated if the agent is frozen.
frozen_atISO 8601nullRead only. Timestamp when frozen.
frozen_incident_idstring""Read only. The compliance incident that triggered freezing.
frozen_fromstring""Read only. The status the agent returns to when it is unfrozen.
avatarinteger, string or nullnullConsole icon identifier.
versioninteger1Read only. Incremented on each save.
variablesarray of strings[]Read only. List of extracted {variable} placeholders.
updated_bystringRead only. User account or API key identifier that performed the last change.
created_at, updated_atISO 8601Read only timestamp, in Asia/Kolkata by default (another zone with the timezone parameter).

Endpoints

ActionRequestPermission
List agentsGET /api/v1/agentsagents.view
Create an agentPOST /api/v1/agentsagents.edit
Get agent detailsGET /api/v1/agents/{id}agents.view
Update an agentPUT /api/v1/agents/{id}agents.edit
Delete an agentDELETE /api/v1/agents/{id}agents.edit
Place a callPOST /api/v1/agents/{id}/callcalls.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

StatusCause
404Agent not found in workspace.
409Workspace agent limit reached.
422Invalid 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.
Esc