Skip to main content
PATCH
/
org
/
{org_id}
/
agents
/
{agent_id}
Error
A valid request URL is required to generate request examples
{
  "allowed_sip_trunks": [
    "<string>"
  ],
  "background_sound": [
    123
  ],
  "created_at": "<string>",
  "extra_config": [
    123
  ],
  "goodbye_config": [
    123
  ],
  "greeting_config": [
    123
  ],
  "id": "<string>",
  "llm_config": [
    123
  ],
  "name": "<string>",
  "organization_id": "<string>",
  "plugins": [
    123
  ],
  "precall_webhook": [
    123
  ],
  "prompt_template": "<string>",
  "public_quota": 123,
  "room_duration_config": [
    123
  ],
  "tools": [
    {
      "config_override": {},
      "description": "<string>",
      "is_enabled": true,
      "method": "<string>",
      "name": "<string>",
      "parameters": [
        {
          "description": "<string>",
          "name": "<string>",
          "required": true,
          "type": "<string>"
        }
      ],
      "tool_id": "<string>",
      "url": "<string>"
    }
  ],
  "transcriber_config": [
    123
  ],
  "type": "<string>",
  "updated_at": "<string>",
  "vad_config": [
    123
  ],
  "voice_config": [
    123
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

org_id
string
required

Organization ID

agent_id
string
required

Agent ID

Body

application/json

Agent update details

allowed_sip_trunks
string[]
background_sound
object
extra_config
object
goodbye_config
object
greeting_config
object
llm_config
object
name
string
plugins
any[]
precall_webhook
object
prompt_template
string
room_duration_config
object
transcriber_config
object
type
enum<string>
Available options:
voice,
chat,
video
vad_config
object
voice_config
object

Response

OK

allowed_sip_trunks
string[]
background_sound
integer[]
created_at
string
extra_config
integer[]
goodbye_config
integer[]
greeting_config
integer[]
id
string
llm_config
integer[]
name
string
organization_id
string
plugins
integer[]
precall_webhook
integer[]
prompt_template
string
public_quota
integer
room_duration_config
integer[]
tools
object[]
transcriber_config
integer[]
type
string
updated_at
string
vad_config
integer[]
voice_config
integer[]