Create a new agent
Create a new agent. By default, creates a new version (v1) and a draft. If is_draft is true, creates only a draft.
Autorizaciones
Cuerpo
The language used by the agent. Use multi for the agent using both english and spanish in the same call (multi will expand to more languages in the future)
es, en, multi, ar, be, bn, bs, bg, ca, hr, cs, da, nl, et, fi, nl-BE, fr, de, de-CH, el, he, hi, hu, id, it, ja, kn, ko, lv, lt, mk, ms, mr, no, fa, pl, pt, ro, ru, sr, sk, sl, sv, tl, ta, te, tr, uk, ur, vi The list of messages to send to the caller as reminders. If not provided, the default value is an empty list which makes the model to generate the reminder messages by itself. Please, note that when using an empty list, the reminder_frequency_ms can be a little bit higher than specified since it has to generate the messages
Built-in call-tools to attach to the agent. Each list element is FLAT (no nested per-variant object): the discriminator is the top-level type field, with the variant's other fields as siblings. Example: [{"type": "transfer_call", "name": "transfer_to_owner", "target_number": "+34600112233", "description": "Transfer when the user asks to talk to the owner"}, {"type": "hang_up", "name": "end_call"}]
Transfer a call to another number.
Wire shape (FLAT, all fields top-level):
- TransferCallToolSchema
- HangUpToolSchema
Detect and handle automated phone menus (IVR) on outbound calls
What the agent does when a phone menu is detected
navigate, hang_up How the agent navigates the menu: towards a plain-language goal or pressing a fixed key sequence
goal, key_sequence Goal the agent navigates the menu towards, e.g. 'Reach a human in billing'. Required when navigating in 'goal' mode. Supports {{dynamic_variables}}.
DTMF keys pressed in order (0-9, *, #), e.g. '1,3,5'. Required when navigating in 'key_sequence' mode.
Respuesta
Successful Response
The language used by the agent. Use multi for the agent using both english and spanish in the same call (multi will expand to more languages in the future)
es, en, multi, ar, be, bn, bs, bg, ca, hr, cs, da, nl, et, fi, nl-BE, fr, de, de-CH, el, he, hi, hu, id, it, ja, kn, ko, lv, lt, mk, ms, mr, no, fa, pl, pt, ro, ru, sr, sk, sl, sv, tl, ta, te, tr, uk, ur, vi The list of messages to send to the caller as reminders. If not provided, the default value is an empty list which makes the model to generate the reminder messages by itself. Please, note that when using an empty list, the reminder_frequency_ms can be a little bit higher than specified since it has to generate the messages
Detect and handle automated phone menus (IVR) on outbound calls
What the agent does when a phone menu is detected
navigate, hang_up How the agent navigates the menu: towards a goal or pressing a fixed key sequence
goal, key_sequence Plain-language goal the agent navigates the menu towards
Comma-separated DTMF keys pressed in order, e.g. '1,3,5'

