POST
/
ai-agent
/
create
curl --request POST \
  --url https://api.callab.ai/v1/ai-agent/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "language": "en-US",
  "status": "<string>",
  "agent_flow": {},
  "agent_dynamic_variables": [
    {}
  ],
  "agent_post_call_outcomes": {},
  "prompt": "<string>",
  "prompt_type": "mono",
  "begin_message": "<string>",
  "voice_id": "<string>",
  "who_talks_first": "agent",
  "reminder_frequency_from": 50,
  "reminder_frequency_to": 2,
  "responsiveness": 0.5,
  "voice_speed": 1,
  "voice_temperature": 0.5,
  "background_audio_status": "disabled",
  "background_volume": 0.5,
  "background_audio_id": "<string>",
  "global_tools": {},
  "voice_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "voice_params": {},
  "is_denoiser_enabled": false,
  "denoiser_reduction_level": "moderate",
  "denoiser_boost_level": "none",
  "vad_min_speech_duration": 100,
  "vad_min_silence_duration": 100,
  "vad_activation_threshold": 100,
  "vad_prefix_padding_duration": 100,
  "vad_eos_timeout": 0,
  "is_amd_enabled": true,
  "is_amd_multilingual": false,
  "amd_timeout": 10000,
  "knowledge_base_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "chunker_mode": "stable",
  "is_turn_detection_enabled": true,
  "turn_detection_mode": "smart",
  "turn_detection_timeout": 3000,
  "workspace": "<string>"
}'
{
  "status": "ok",
  "message": "<string>",
  "data": {
    "name": "<string>",
    "description": "<string>",
    "language": "<string>",
    "status": "<string>",
    "agent_flow": {},
    "agent_dynamic_variables": {},
    "agent_post_call_outcomes": {},
    "prompt": "<string>",
    "starting_state": "<string>",
    "who_talks_first": "<string>",
    "reminder_frequency_from": 123,
    "reminder_frequency_to": 123,
    "max_silence_duration": 123,
    "responsiveness": 123,
    "voice_speed": 123,
    "voice_temperature": 123,
    "interruption_sensitivity": 123,
    "llm_temperature": 123,
    "agent_type": "<string>",
    "background_audio_status": "<string>",
    "workspace_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

AI agent creation data

Data required to create a new AI agent.

Response

200
application/json

AI agent created

The response is of type object.