Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.zudu.ai/api/agents/{agentId}/duplicate \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --header 'X-API-SECRET: <api-key>' \ --data ' { "agent_name": "My Duplicated Agent" } '
{ "message": "Agent duplicated successfully", "status": "success", "error": null, "data": { "agent_id": "agent_<new-uuid>", "organization_id": "org_xyz789", "created_at": "2025-01-15T12:45:00", "updated_at": "2025-01-15T12:45:00", "agent_name": "My Duplicated Agent", "begin_message": "Hello! How can I assist you today?", "begin_message_variables": [], "begin_message_delay_ms": 1000, "test_variables": {}, "webhook_url": "https://example.com/webhook", "post_call_webhook_id": "webhook_123", "end_call_after_silence_ms": 60000, "max_call_duration_ms": 3600000, "take_turn_after_silence_seconds": 6, "timezone": "UTC", "knowledge_base_ids": [ "kb_123" ], "mcp_server_ids": [ "mcp_123" ], "rag_config": { "chunks_to_retrieve": 10, "similarity_threshold": 0.7 }, "llm_config": { "system_message": "You are helpful.", "temperature": 0.7, "max_tokens": 1000, "tools": [], "system_message_variables": [] }, "stt_config": { "language": "en", "language_name": "English", "use_realtime": true }, "tts_config": { "voice_id": "21m00Tcm4TlvDq8ikWAM", "voice_speed": 1, "language": "en", "language_name": "English", "provider": "elevenlabs", "model": "eleven_multilingual_v2" }, "post_call_analysis_data": [], "post_call_analysis_model": null, "post_call_evaluation_criteria": [], "widget_config": null, "additional_languages": [], "access_info": {} } }
Duplicates an existing agent (current behavior).
API Key for MCP server and external service authentication
API Secret for MCP server and external service authentication
50
Agent duplicated successfully
Show child attributes