PUT
/
agents
/
{id}
curl --request PUT \
  --url https://api.vogent.ai/api/agents/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "defaultVoiceId": "<string>",
  "defaultVersionedPromptId": "<string>",
  "callAgentExtractorId": "<string>",
  "inboundWebhookResponse": true,
  "inboundWebhookUrl": "<string>",
  "maxDurationSeconds": 10800,
  "metadata": {},
  "openingLine": {
    "lineType": "INBOUND_ONLY",
    "content": "<string>"
  },
  "voiceVolumeLevel": -100,
  "backgroundNoiseType": "noise",
  "linkedFunctionDefinitionIds": [
    "<string>"
  ],
  "linkedFunctionDefinitionInputs": [
    {
      "functionDefinitionId": "<string>",
      "lifecycleMessagesOverride": {
        "started": [
          "<string>"
        ]
      }
    }
  ],
  "transcriberParams": {
    "type": "deepgram",
    "keywords": [
      "<string>"
    ]
  },
  "idleMessageConfig": {
    "enabled": true,
    "messages": [
      "<string>"
    ],
    "idleDurationMilliseconds": 5001,
    "maxIdleMessages": 2
  },
  "utteranceDetectorConfig": {
    "sensitivity": "ULTRA_FAST"
  },
  "language": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "transcriberParams": {
    "type": "deepgram",
    "keywords": [
      "<string>"
    ]
  },
  "metadata": {},
  "utteranceDetectorConfig": {
    "sensitivity": "ULTRA_FAST"
  },
  "idleMessageConfig": {
    "enabled": true,
    "messages": [
      "<string>"
    ],
    "idleDurationMilliseconds": 5001,
    "maxIdleMessages": 2
  },
  "language": "<string>",
  "maxDurationSeconds": 10800,
  "defaultVoiceId": "<string>",
  "defaultVersionedPromptId": "<string>",
  "defaultExtractorId": "<string>",
  "linkedFunctionDefinitions": [
    {
      "functionDefinitionId": "<string>",
      "lifecycleMessagesOverride": {
        "started": [
          "<string>"
        ]
      }
    }
  ]
}

Path Parameters

id
string
required

ID of the agent.

Body

application/json

Updates an agent

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.