Skip to main content
POST
/
config
/
agents
/
{agent_id}
/
configure
Configure Agent
curl --request POST \
  --url https://api.example.com/config/agents/{agent_id}/configure \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_configuration": {
    "provider": "openai",
    "model_name": "gpt-4o-mini",
    "temperature": 0.7,
    "max_tokens": 150,
    "first_message_mode": true,
    "first_message_script": "<string>"
  },
  "voice_config": {
    "provider": "elevenlabs",
    "voice_id": "<string>",
    "background_sound_url": "<string>",
    "input_min_characters": 30
  },
  "transcriber_config": {
    "provider": "deepgram",
    "model": "nova-3",
    "background_denoising": true,
    "confidence_threshold": 0.4
  },
  "conversation_control": {
    "wait_seconds": 0.4,
    "smart_endpointing": true,
    "interruption_words": 3,
    "punctuation_boundary_ms": 100,
    "no_punctuation_boundary_ms": 1500
  },
  "call_timeout": {
    "silence_timeout_seconds": 30,
    "max_duration_seconds": 600,
    "idle_messages_enabled": true,
    "max_idle_messages": 3,
    "idle_timeout_seconds": 7.5
  },
  "analysis_config": {
    "analysis_prompt": "<string>",
    "analysis_timeout_sec": 10,
    "min_messages_for_analysis": 2
  },
  "voicemail_config": {
    "voicemail_detection_enabled": true,
    "voicemail_message": "<string>",
    "end_call_message": "<string>"
  },
  "keypad_config": {
    "keypad_input_enabled": false,
    "keypad_timeout_seconds": 2,
    "keypad_delimiters": "#"
  }
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string<uuid>
required

Body

application/json

Complete agent configuration update model.

model_configuration
ModelConfig · object

Model configuration for agents.

voice_config
VoiceConfig · object

Voice configuration for agents.

transcriber_config
TranscriberConfig · object

Transcriber configuration for agents.

conversation_control
ConversationControl · object

Conversation control settings.

call_timeout
CallTimeout · object

Call timeout and duration settings.

analysis_config
AnalysisConfig · object

Call analysis configuration.

voicemail_config
VoicemailConfig · object

Voicemail and end call message configuration via LiveKit + Agent Workflow.

keypad_config
KeypadConfig · object

Keypad input configuration.

Response

Successful Response