AgenticUniverse - Previously Formi
  1. Model Configuration
AgenticUniverse - Previously Formi
  • Our Technical Note
    • Why Open AI is not Enough
    • How business Outcomes would Change Radically with AgenticUniverse
    • Our Research
      • STT - Nuances and Insights
      • Solving for STT Constraints
  • Generate Token
    • Login/Generate Token
      POST
  • Agent Configuration
    • Model Configuration
      • Configuration Helpers
        • Supported Providers
        • Supported Models
        • Supported Parameters
      • Get Model Configuration
        GET
      • Set Model Configuration
        POST
    • State Machine
      • Edge
        • Legacy
          • Create Edge
          • Edge Details
          • Update Edge
          • Delete Edge
        • Update edge properties
        • Get edge details
        • Delete an edge
        • Create an edge (transition) between two states
      • State
        • Create State from Template
        • Get State Information
        • Update State
        • Delete State
      • Get State Machine Structure
    • Prompt Templates
      • Get All Templates
      • Render Template
    • Tools
      • Get Tools List
      • Add Tool
      • Update Tool
      • Delete Tool
    • Get All Agents
      GET
    • Single Agent Details
      GET
    • Create Agent
      POST
    • Update Agent Details
      PUT
    • Enable Dashboard For An Outlet
      POST
    • Disable Dashboard For An Outlet
      POST
    • Get Call queue Sheet ID
      GET
  • Interactions
    • Pre-Interaction Context
      • Schedule an Interaction
      • Update an Interaction Id
      • Delete an Interaction Id
      • Clear all interactions
      • Get Summarized Interaction Info
    • Interaction Modalities
      • Video
        • Generation
          • Generate Welcome Video
      • Text
        • Start Interaction
        • Create Response
        • End Interaction
      • Voice
        • Connection Configuration
          • Quickstart
          • Connecting Twilio
          • Connecting Exotel
          • Formi WebSocket Configuration Guide
          • Create a New Connection Vendor
          • Get All Connection Vendors
          • Update a Connection Vendor
          • Delete a Connection Vendor
          • Get Agent's Connection Config
          • Add or Update Agent's Connection Config
    • Post Interaction Configuration
      • Email Destination Configuration
      • Variables CRUD
        • Get all required variables for the outlet with map
        • Modify variable definition for outlet
        • Add a new variable for the outlet
        • DELETE variable for outlet
        • Connect Variable to a destination
      • Destinations CRUD
        • Get all destinations for the outlet
        • Modify Destination for outlet
        • Add a new Destination for the outlet
        • DELETE Destinations for outlet
      • Post Call Email Configuration
        • Check Email Configuration
        • Set Email Configuration
    • Get Interaction Summary
      GET
    • Resolve an Escalated Interaction
      POST
    • Get the Interaction list
      GET
    • Get Information regarding Single Interaction
      GET
    • End Interaction
      POST
  • Agent Utilisation
    • Get Credits Available
    • Interaction Utilisation
    • Model Utilisation
  • Webhooks
    • Get webhook URL
    • Update webhook URL
    • Get webhook metadata
    • Modify webhook metadata
    • Get reservation ingestion metadata
  • Reachout Mechanism
    • Campaign Management
      • Campaigns List
      • Campaign Details
      • Create Campaign
      • Batch Schedule Interaction for Leads
      • Quick Schedule
      • Single Campaign Report
    • Lead Management
      • Upload Leads
      • Upload Leads - Status
      • Get Leads List
  • Untitled Endpoint
    GET
  • Add Signal
    POST
  • Schemas
    • Schemas
      • Schemas
        • CreateEdgeWithTemplateDTO
        • UpdateEdgeWithTemplateDTO
        • EdgeDetails
      • WebhookUrlRequest
      • InteractionSummaryCard
      • InteractionInfo
      • CreateVendorPayload
      • WebhookMetadataRequest
      • InteractionSummaryPayload
      • CustomerDetails
      • Vendor
      • SuccessResponse
      • InteractionSummaryResponse
      • InteractionDetails
      • ConnectionConfig
      • ErrorResponse
      • GenericSuccessResponse
      • SuccessResponseVendorList
      • SuccessResponseSingleVendor
      • SuccessResponseAgentConfig
    • Response
      • Unauthorized
      • NotFound
      • ServerError
    • Add Calls Payload
  1. Model Configuration

Set Model Configuration

Developing
Staging Env
https://staging-api.formi.co.in
Staging Env
https://staging-api.formi.co.in
POST
https://staging-api.formi.co.in
/v2/agents/{agent_id}/config/model
Last modified:2025-12-05 10:12:45
Maintainer:Not configured

Request

Path Params

Header Params

Body Params application/json

Example
{
        "LLM": {
            "conversation_llm": {
                "provider": "azure",
                "model_name": "gpt-4.1-mini",
                "params": {
                    "base_url": "https://dvenk-mi5rktal-eastus2.cognitiveservices.azure.com/openai/v1",
                    "api_key":"FM3pt4FdbeCOrwSl9brRygtYM3GlGlu1ImPqcjjZeObZ5pQN6mHsJQQJ99BKACHYHv6XJ3w3AAAAACOGIQ5p",
                    "streaming": true,
                    "temperature": 0.2
                }
            },
            "transition_llm": {
                "provider": "azure",
                "model_name": "gpt-4.1-mini",
                "params": {
                    "base_url": "https://dvenk-mi5rktal-eastus2.cognitiveservices.azure.com/openai/v1",
                    "api_key":"FM3pt4FdbeCOrwSl9brRygtYM3GlGlu1ImPqcjjZeObZ5pQN6mHsJQQJ99BKACHYHv6XJ3w3AAAAACOGIQ5p",
                    "streaming": true,
                    "temperature": 0.2
                }
            }
        },
        "TTS": {
            "tts_model": {
                "provider": "elevenlabs",
                "model_name": "eleven_turbo_v2_5",
                "params": {
                    "pace": 1,
                    "pitch": 0,
                    "speed": 1,
                    "style": 0.5,
                    "volume": 1,
                    "voice_id": "mCQMfsqGDT6IDkEKR20a",
                    "language_code":"hi",
                    "stability": 0.7,
                    "streaming": true,
                    "temperature": 0.7,
                    "volume_gain_db": 0,
                    "similarity_boost": 0.5,
                    "background_audio_enabled": false
                }
            },
            "enhance_pronunciation": false
        },
        "STT": {
            "stt_provider": "deepgram",
            "params": {
                "model": "nova-2",
                "language_code": "hi"
            },
            "gibberish_detection": null,
            "threshold": null
        },
        "welcome_message": "Good Afternoon, am i speaking with Arun?",
        "allowed_languages": [
            "hi",
            "en"
        ],
        "language_adapter": {
            "enabled": true,
            "fallback": false,
            "logs": "",
            "w_previous_input": 0.7,
            "w_current_input": 0.3
        },
        "allow_incoming_interactions": true,
        "allow_context_transfer_to_incoming_interactions": true,
        "VAD": {
            "vad_probability_threshold": 0.98,
            "high_probability_window_size": 0.1,
            "high_noise_detector_threshold": 0.3
        },
        "backchanneling_filler_data": {
            "approval": [],
            "denial": [],
            "informing": [],
            "asking": [],
            "others": []
        },
        "max_backchannel_fillers_per_turn": 4,
        "backchanneling_wait_time": 1.0,
        "audio_denoise_config": {
            "denoise_enabled": false,
            "speech_enhancement_enabled": false,
            "params": {
                "attenuation_limit": 6.0,
                "mix_ratio": 0.85
            }
        },
        "z_factor_window_selector": 1.96
    }

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging-api.formi.co.in/v2/agents/68/config/model' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjZ9.G5VpBPI5UbbQjSl2qdvAh6DLmnXwvFevAsR7DNI7DxY' \
--header 'Content-Type: application/json' \
--data-raw '{
        "LLM": {
            "conversation_llm": {
                "provider": "azure",
                "model_name": "gpt-4.1-mini",
                "params": {
                    "base_url": "https://dvenk-mi5rktal-eastus2.cognitiveservices.azure.com/openai/v1",
                    "api_key":"FM3pt4FdbeCOrwSl9brRygtYM3GlGlu1ImPqcjjZeObZ5pQN6mHsJQQJ99BKACHYHv6XJ3w3AAAAACOGIQ5p",
                    "streaming": true,
                    "temperature": 0.2
                }
            },
            "transition_llm": {
                "provider": "azure",
                "model_name": "gpt-4.1-mini",
                "params": {
                    "base_url": "https://dvenk-mi5rktal-eastus2.cognitiveservices.azure.com/openai/v1",
                    "api_key":"FM3pt4FdbeCOrwSl9brRygtYM3GlGlu1ImPqcjjZeObZ5pQN6mHsJQQJ99BKACHYHv6XJ3w3AAAAACOGIQ5p",
                    "streaming": true,
                    "temperature": 0.2
                }
            }
        },
        "TTS": {
            "tts_model": {
                "provider": "elevenlabs",
                "model_name": "eleven_turbo_v2_5",
                "params": {
                    "pace": 1,
                    "pitch": 0,
                    "speed": 1,
                    "style": 0.5,
                    "volume": 1,
                    "voice_id": "mCQMfsqGDT6IDkEKR20a",
                    "language_code":"hi",
                    "stability": 0.7,
                    "streaming": true,
                    "temperature": 0.7,
                    "volume_gain_db": 0,
                    "similarity_boost": 0.5,
                    "background_audio_enabled": false
                }
            },
            "enhance_pronunciation": false
        },
        "STT": {
            "stt_provider": "deepgram",
            "params": {
                "model": "nova-2",
                "language_code": "hi"
            },
            "gibberish_detection": null,
            "threshold": null
        },
        "welcome_message": "Good Afternoon, am i speaking with Arun?",
        "allowed_languages": [
            "hi",
            "en"
        ],
        "language_adapter": {
            "enabled": true,
            "fallback": false,
            "logs": "",
            "w_previous_input": 0.7,
            "w_current_input": 0.3
        },
        "allow_incoming_interactions": true,
        "allow_context_transfer_to_incoming_interactions": true,
        "VAD": {
            "vad_probability_threshold": 0.98,
            "high_probability_window_size": 0.1,
            "high_noise_detector_threshold": 0.3
        },
        "backchanneling_filler_data": {
            "approval": [],
            "denial": [],
            "informing": [],
            "asking": [],
            "others": []
        },
        "max_backchannel_fillers_per_turn": 4,
        "backchanneling_wait_time": 1.0,
        "audio_denoise_config": {
            "denoise_enabled": false,
            "speech_enhancement_enabled": false,
            "params": {
                "attenuation_limit": 6.0,
                "mix_ratio": 0.85
            }
        },
        "z_factor_window_selector": 1.96
    }'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-12-05 10:12:45
Previous
Get Model Configuration
Next
Create Edge
Built with