Create Agent
Create a new AI agent with complete configuration
Documentation Index
Fetch the complete documentation index at: https://docs.eigi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Create a new AI agent with full configuration including speech-to-text (STT), large language model (LLM), text-to-speech (TTS), prompt, tools, and widget settings.Prompt Configuration
You can configure the agent’s prompt in two ways:- Inline prompt (
prompt_content) — Provide the prompt text directly. An internal prompt is auto-created for the agent. - Prompt reference (
prompt) — Reference an existing prompt by name and optionally version.
Provider Restrictions (Public API)
| Provider | Allowed params |
|---|---|
| STT | No params allowed (must be empty {}) |
| LLM | Only temperature (0.0 - 2.0) |
| TTS | Only speed |
Authentication
vk_.Request Body
INBOUND or OUTBOUND.Customer Service, Sales, Healthcare, etc.).prompt_content).true (enable), false (disable), or an object with configuration.Available tools: end_call, transfer_call, schedule_call, set_language, background_audio, user_idle.Response
Returns the complete agent object with all configurations,id, and timestamps.Authorizations
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Body
Agent name (1-100 characters)
1 - 100"Customer Support Agent"
Agent type
INBOUND, OUTBOUND Agent description (max 500 characters)
500Agent 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 for the agent
Mobile numbers associated with the agent
Inline prompt content — auto-creates an internal prompt for the agent
Reference to an existing prompt (alternative to prompt_content)
Agent's greeting message shown when chat starts
Configure agent tools. Each tool can be true (enable), false (disable), or an object with configuration.
Widget configuration for chat interface customization
Response
Agent created 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)
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

