retell-sdk 6.2.5 → 6.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +30 -3
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +30 -3
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +24 -7
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +24 -7
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +206 -34
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +206 -34
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/call.js +2 -1
  16. package/resources/call.js.map +1 -1
  17. package/resources/call.mjs +2 -1
  18. package/resources/call.mjs.map +1 -1
  19. package/resources/chat-agent.d.mts +19 -3
  20. package/resources/chat-agent.d.mts.map +1 -1
  21. package/resources/chat-agent.d.ts +19 -3
  22. package/resources/chat-agent.d.ts.map +1 -1
  23. package/resources/chat.d.mts +66 -6
  24. package/resources/chat.d.mts.map +1 -1
  25. package/resources/chat.d.ts +66 -6
  26. package/resources/chat.d.ts.map +1 -1
  27. package/resources/conversation-flow-component.d.mts +294 -42
  28. package/resources/conversation-flow-component.d.mts.map +1 -1
  29. package/resources/conversation-flow-component.d.ts +294 -42
  30. package/resources/conversation-flow-component.d.ts.map +1 -1
  31. package/resources/conversation-flow.d.mts +609 -87
  32. package/resources/conversation-flow.d.mts.map +1 -1
  33. package/resources/conversation-flow.d.ts +609 -87
  34. package/resources/conversation-flow.d.ts.map +1 -1
  35. package/resources/llm.d.mts +24 -3
  36. package/resources/llm.d.mts.map +1 -1
  37. package/resources/llm.d.ts +24 -3
  38. package/resources/llm.d.ts.map +1 -1
  39. package/resources/playground.d.mts +22 -2
  40. package/resources/playground.d.mts.map +1 -1
  41. package/resources/playground.d.ts +22 -2
  42. package/resources/playground.d.ts.map +1 -1
  43. package/resources/tests.d.mts +3 -3
  44. package/resources/tests.d.mts.map +1 -1
  45. package/resources/tests.d.ts +3 -3
  46. package/resources/tests.d.ts.map +1 -1
  47. package/src/resources/agent.ts +37 -6
  48. package/src/resources/batch-call.ts +27 -11
  49. package/src/resources/call.ts +227 -46
  50. package/src/resources/chat-agent.ts +24 -6
  51. package/src/resources/chat.ts +72 -6
  52. package/src/resources/conversation-flow-component.ts +378 -126
  53. package/src/resources/conversation-flow.ts +783 -261
  54. package/src/resources/llm.ts +27 -6
  55. package/src/resources/playground.ts +24 -2
  56. package/src/resources/tests.ts +6 -9
  57. package/src/version.ts +1 -1
  58. package/version.d.mts +1 -1
  59. package/version.d.ts +1 -1
  60. package/version.js +1 -1
  61. package/version.mjs +1 -1
@@ -177,7 +177,8 @@ export class Call extends APIResource {
177
177
  /**
178
178
  * Take over an in-progress call from the AI agent. The agent stops responding and
179
179
  * the specified live-listen participant is allowed to speak directly to the
180
- * caller. The call must be in ONGOING status.
180
+ * caller. The call must be in ONGOING status. Gateway calls cannot be taken over
181
+ * while a PCI session is active.
181
182
  *
182
183
  * @example
183
184
  * ```ts
@@ -1153,7 +1154,9 @@ export namespace PhoneCallResponse {
1153
1154
  arguments: string;
1154
1155
 
1155
1156
  /**
1156
- * Name of the function in this tool call.
1157
+ * Name of the tool. This is the configured tool name, or the node name for a
1158
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1159
+ * characters. To identify the kind of tool, use `type`.
1157
1160
  */
1158
1161
  name: string;
1159
1162
 
@@ -1172,6 +1175,15 @@ export namespace PhoneCallResponse {
1172
1175
  * internally to maintain reasoning chain in multi-turn function calling.
1173
1176
  */
1174
1177
  thought_signature?: string;
1178
+
1179
+ /**
1180
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1181
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1182
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1183
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1184
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1185
+ */
1186
+ type?: string;
1175
1187
  }
1176
1188
 
1177
1189
  export interface ToolCallResultUtterance {
@@ -1347,7 +1359,9 @@ export namespace PhoneCallResponse {
1347
1359
  arguments: string;
1348
1360
 
1349
1361
  /**
1350
- * Name of the function in this tool call.
1362
+ * Name of the tool. This is the configured tool name, or the node name for a
1363
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1364
+ * characters. To identify the kind of tool, use `type`.
1351
1365
  */
1352
1366
  name: string;
1353
1367
 
@@ -1366,6 +1380,15 @@ export namespace PhoneCallResponse {
1366
1380
  * internally to maintain reasoning chain in multi-turn function calling.
1367
1381
  */
1368
1382
  thought_signature?: string;
1383
+
1384
+ /**
1385
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1386
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1387
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1388
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1389
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1390
+ */
1391
+ type?: string;
1369
1392
  }
1370
1393
 
1371
1394
  export interface ToolCallResultUtterance {
@@ -1541,7 +1564,9 @@ export namespace PhoneCallResponse {
1541
1564
  arguments: string;
1542
1565
 
1543
1566
  /**
1544
- * Name of the function in this tool call.
1567
+ * Name of the tool. This is the configured tool name, or the node name for a
1568
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1569
+ * characters. To identify the kind of tool, use `type`.
1545
1570
  */
1546
1571
  name: string;
1547
1572
 
@@ -1560,6 +1585,15 @@ export namespace PhoneCallResponse {
1560
1585
  * internally to maintain reasoning chain in multi-turn function calling.
1561
1586
  */
1562
1587
  thought_signature?: string;
1588
+
1589
+ /**
1590
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1591
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1592
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1593
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1594
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1595
+ */
1596
+ type?: string;
1563
1597
  }
1564
1598
 
1565
1599
  export interface ToolCallResultUtterance {
@@ -1735,7 +1769,9 @@ export namespace PhoneCallResponse {
1735
1769
  arguments: string;
1736
1770
 
1737
1771
  /**
1738
- * Name of the function in this tool call.
1772
+ * Name of the tool. This is the configured tool name, or the node name for a
1773
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1774
+ * characters. To identify the kind of tool, use `type`.
1739
1775
  */
1740
1776
  name: string;
1741
1777
 
@@ -1754,6 +1790,15 @@ export namespace PhoneCallResponse {
1754
1790
  * internally to maintain reasoning chain in multi-turn function calling.
1755
1791
  */
1756
1792
  thought_signature?: string;
1793
+
1794
+ /**
1795
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1796
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1797
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1798
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1799
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1800
+ */
1801
+ type?: string;
1757
1802
  }
1758
1803
 
1759
1804
  export interface ToolCallResultUtterance {
@@ -1929,7 +1974,9 @@ export namespace PhoneCallResponse {
1929
1974
  arguments: string;
1930
1975
 
1931
1976
  /**
1932
- * Name of the function in this tool call.
1977
+ * Name of the tool. This is the configured tool name, or the node name for a
1978
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1979
+ * characters. To identify the kind of tool, use `type`.
1933
1980
  */
1934
1981
  name: string;
1935
1982
 
@@ -1948,6 +1995,15 @@ export namespace PhoneCallResponse {
1948
1995
  * internally to maintain reasoning chain in multi-turn function calling.
1949
1996
  */
1950
1997
  thought_signature?: string;
1998
+
1999
+ /**
2000
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
2001
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
2002
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
2003
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
2004
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
2005
+ */
2006
+ type?: string;
1951
2007
  }
1952
2008
 
1953
2009
  export interface ToolCallResultUtterance {
@@ -2174,7 +2230,9 @@ export namespace PhoneCallResponse {
2174
2230
  arguments: string;
2175
2231
 
2176
2232
  /**
2177
- * Name of the function in this tool call.
2233
+ * Name of the tool. This is the configured tool name, or the node name for a
2234
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
2235
+ * characters. To identify the kind of tool, use `type`.
2178
2236
  */
2179
2237
  name: string;
2180
2238
 
@@ -2193,6 +2251,15 @@ export namespace PhoneCallResponse {
2193
2251
  * internally to maintain reasoning chain in multi-turn function calling.
2194
2252
  */
2195
2253
  thought_signature?: string;
2254
+
2255
+ /**
2256
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
2257
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
2258
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
2259
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
2260
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
2261
+ */
2262
+ type?: string;
2196
2263
  }
2197
2264
 
2198
2265
  export interface ToolCallResultUtterance {
@@ -3190,7 +3257,9 @@ export namespace WebCallResponse {
3190
3257
  arguments: string;
3191
3258
 
3192
3259
  /**
3193
- * Name of the function in this tool call.
3260
+ * Name of the tool. This is the configured tool name, or the node name for a
3261
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3262
+ * characters. To identify the kind of tool, use `type`.
3194
3263
  */
3195
3264
  name: string;
3196
3265
 
@@ -3209,6 +3278,15 @@ export namespace WebCallResponse {
3209
3278
  * internally to maintain reasoning chain in multi-turn function calling.
3210
3279
  */
3211
3280
  thought_signature?: string;
3281
+
3282
+ /**
3283
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3284
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3285
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3286
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3287
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3288
+ */
3289
+ type?: string;
3212
3290
  }
3213
3291
 
3214
3292
  export interface ToolCallResultUtterance {
@@ -3384,7 +3462,9 @@ export namespace WebCallResponse {
3384
3462
  arguments: string;
3385
3463
 
3386
3464
  /**
3387
- * Name of the function in this tool call.
3465
+ * Name of the tool. This is the configured tool name, or the node name for a
3466
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3467
+ * characters. To identify the kind of tool, use `type`.
3388
3468
  */
3389
3469
  name: string;
3390
3470
 
@@ -3403,6 +3483,15 @@ export namespace WebCallResponse {
3403
3483
  * internally to maintain reasoning chain in multi-turn function calling.
3404
3484
  */
3405
3485
  thought_signature?: string;
3486
+
3487
+ /**
3488
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3489
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3490
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3491
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3492
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3493
+ */
3494
+ type?: string;
3406
3495
  }
3407
3496
 
3408
3497
  export interface ToolCallResultUtterance {
@@ -3578,7 +3667,9 @@ export namespace WebCallResponse {
3578
3667
  arguments: string;
3579
3668
 
3580
3669
  /**
3581
- * Name of the function in this tool call.
3670
+ * Name of the tool. This is the configured tool name, or the node name for a
3671
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3672
+ * characters. To identify the kind of tool, use `type`.
3582
3673
  */
3583
3674
  name: string;
3584
3675
 
@@ -3597,6 +3688,15 @@ export namespace WebCallResponse {
3597
3688
  * internally to maintain reasoning chain in multi-turn function calling.
3598
3689
  */
3599
3690
  thought_signature?: string;
3691
+
3692
+ /**
3693
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3694
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3695
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3696
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3697
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3698
+ */
3699
+ type?: string;
3600
3700
  }
3601
3701
 
3602
3702
  export interface ToolCallResultUtterance {
@@ -3772,7 +3872,9 @@ export namespace WebCallResponse {
3772
3872
  arguments: string;
3773
3873
 
3774
3874
  /**
3775
- * Name of the function in this tool call.
3875
+ * Name of the tool. This is the configured tool name, or the node name for a
3876
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3877
+ * characters. To identify the kind of tool, use `type`.
3776
3878
  */
3777
3879
  name: string;
3778
3880
 
@@ -3791,6 +3893,15 @@ export namespace WebCallResponse {
3791
3893
  * internally to maintain reasoning chain in multi-turn function calling.
3792
3894
  */
3793
3895
  thought_signature?: string;
3896
+
3897
+ /**
3898
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3899
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3900
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3901
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3902
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3903
+ */
3904
+ type?: string;
3794
3905
  }
3795
3906
 
3796
3907
  export interface ToolCallResultUtterance {
@@ -3966,7 +4077,9 @@ export namespace WebCallResponse {
3966
4077
  arguments: string;
3967
4078
 
3968
4079
  /**
3969
- * Name of the function in this tool call.
4080
+ * Name of the tool. This is the configured tool name, or the node name for a
4081
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
4082
+ * characters. To identify the kind of tool, use `type`.
3970
4083
  */
3971
4084
  name: string;
3972
4085
 
@@ -3985,6 +4098,15 @@ export namespace WebCallResponse {
3985
4098
  * internally to maintain reasoning chain in multi-turn function calling.
3986
4099
  */
3987
4100
  thought_signature?: string;
4101
+
4102
+ /**
4103
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
4104
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
4105
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
4106
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
4107
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
4108
+ */
4109
+ type?: string;
3988
4110
  }
3989
4111
 
3990
4112
  export interface ToolCallResultUtterance {
@@ -4200,7 +4322,9 @@ export namespace WebCallResponse {
4200
4322
  arguments: string;
4201
4323
 
4202
4324
  /**
4203
- * Name of the function in this tool call.
4325
+ * Name of the tool. This is the configured tool name, or the node name for a
4326
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
4327
+ * characters. To identify the kind of tool, use `type`.
4204
4328
  */
4205
4329
  name: string;
4206
4330
 
@@ -4219,6 +4343,15 @@ export namespace WebCallResponse {
4219
4343
  * internally to maintain reasoning chain in multi-turn function calling.
4220
4344
  */
4221
4345
  thought_signature?: string;
4346
+
4347
+ /**
4348
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
4349
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
4350
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
4351
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
4352
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
4353
+ */
4354
+ type?: string;
4222
4355
  }
4223
4356
 
4224
4357
  export interface ToolCallResultUtterance {
@@ -6990,7 +7123,9 @@ export namespace CallCreatePhoneCallParams {
6990
7123
  export interface AgentOverride {
6991
7124
  /**
6992
7125
  * Override agent configuration settings. Any properties specified here will
6993
- * override the base agent configuration for this call.
7126
+ * override the base agent configuration for this call. If a Retell LLM or
7127
+ * Conversation Flow response engine is specified without a version, it uses the
7128
+ * latest version.
6994
7129
  */
6995
7130
  agent?: AgentOverride.Agent;
6996
7131
 
@@ -7005,7 +7140,7 @@ export namespace CallCreatePhoneCallParams {
7005
7140
  /**
7006
7141
  * Override Retell LLM configuration settings. Only applicable when using Retell
7007
7142
  * LLM as the response engine. Supported attributes - model, s2s_model,
7008
- * model_temperature, model_high_priority, tool_call_strict_mode,
7143
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
7009
7144
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
7010
7145
  * begin_message.
7011
7146
  */
@@ -7015,7 +7150,9 @@ export namespace CallCreatePhoneCallParams {
7015
7150
  export namespace AgentOverride {
7016
7151
  /**
7017
7152
  * Override agent configuration settings. Any properties specified here will
7018
- * override the base agent configuration for this call.
7153
+ * override the base agent configuration for this call. If a Retell LLM or
7154
+ * Conversation Flow response engine is specified without a version, it uses the
7155
+ * latest version.
7019
7156
  */
7020
7157
  export interface Agent {
7021
7158
  /**
@@ -7442,7 +7579,6 @@ export namespace CallCreatePhoneCallParams {
7442
7579
  post_call_analysis_model?:
7443
7580
  | 'gpt-4.1'
7444
7581
  | 'gpt-4.1-mini'
7445
- | 'gpt-4.1-nano'
7446
7582
  | 'gpt-5'
7447
7583
  | 'gpt-5-mini'
7448
7584
  | 'gpt-5-nano'
@@ -7458,7 +7594,6 @@ export namespace CallCreatePhoneCallParams {
7458
7594
  | 'gpt-6-sol'
7459
7595
  | 'gpt-6.1-sol'
7460
7596
  | 'gpt-6-luna'
7461
- | 'claude-4.5-sonnet'
7462
7597
  | 'claude-4.6-sonnet'
7463
7598
  | 'claude-5-opus'
7464
7599
  | 'claude-5.5-opus'
@@ -7473,6 +7608,7 @@ export namespace CallCreatePhoneCallParams {
7473
7608
  | 'gemini-3.6-flash'
7474
7609
  | 'gemini-3.7-flash'
7475
7610
  | 'gemini-3.8-flash'
7611
+ | 'gemini-4-argon'
7476
7612
  | null;
7477
7613
 
7478
7614
  /**
@@ -9280,7 +9416,6 @@ export namespace CallCreatePhoneCallParams {
9280
9416
  model:
9281
9417
  | 'gpt-4.1'
9282
9418
  | 'gpt-4.1-mini'
9283
- | 'gpt-4.1-nano'
9284
9419
  | 'gpt-5'
9285
9420
  | 'gpt-5-mini'
9286
9421
  | 'gpt-5-nano'
@@ -9296,7 +9431,6 @@ export namespace CallCreatePhoneCallParams {
9296
9431
  | 'gpt-6-sol'
9297
9432
  | 'gpt-6.1-sol'
9298
9433
  | 'gpt-6-luna'
9299
- | 'claude-4.5-sonnet'
9300
9434
  | 'claude-4.6-sonnet'
9301
9435
  | 'claude-5-opus'
9302
9436
  | 'claude-5.5-opus'
@@ -9310,7 +9444,8 @@ export namespace CallCreatePhoneCallParams {
9310
9444
  | 'gemini-3.5-flash-lite'
9311
9445
  | 'gemini-3.6-flash'
9312
9446
  | 'gemini-3.7-flash'
9313
- | 'gemini-3.8-flash';
9447
+ | 'gemini-3.8-flash'
9448
+ | 'gemini-4-argon';
9314
9449
 
9315
9450
  /**
9316
9451
  * Type of model choice
@@ -9321,6 +9456,13 @@ export namespace CallCreatePhoneCallParams {
9321
9456
  * Whether to use high priority pool with more dedicated resource, default false
9322
9457
  */
9323
9458
  high_priority?: boolean;
9459
+
9460
+ /**
9461
+ * Whether to use the ultrafast tier for much faster response generation, default
9462
+ * false. Only supported by gpt-6.1-sol on voice agents; ignored otherwise. Takes
9463
+ * precedence over high_priority.
9464
+ */
9465
+ ultrafast?: boolean;
9324
9466
  }
9325
9467
 
9326
9468
  export interface ModelChoiceS2S {
@@ -9345,7 +9487,7 @@ export namespace CallCreatePhoneCallParams {
9345
9487
  /**
9346
9488
  * Override Retell LLM configuration settings. Only applicable when using Retell
9347
9489
  * LLM as the response engine. Supported attributes - model, s2s_model,
9348
- * model_temperature, model_high_priority, tool_call_strict_mode,
9490
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
9349
9491
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
9350
9492
  * begin_message.
9351
9493
  */
@@ -9380,7 +9522,6 @@ export namespace CallCreatePhoneCallParams {
9380
9522
  model?:
9381
9523
  | 'gpt-4.1'
9382
9524
  | 'gpt-4.1-mini'
9383
- | 'gpt-4.1-nano'
9384
9525
  | 'gpt-5'
9385
9526
  | 'gpt-5-mini'
9386
9527
  | 'gpt-5-nano'
@@ -9396,7 +9537,6 @@ export namespace CallCreatePhoneCallParams {
9396
9537
  | 'gpt-6-sol'
9397
9538
  | 'gpt-6.1-sol'
9398
9539
  | 'gpt-6-luna'
9399
- | 'claude-4.5-sonnet'
9400
9540
  | 'claude-4.6-sonnet'
9401
9541
  | 'claude-5-opus'
9402
9542
  | 'claude-5.5-opus'
@@ -9411,6 +9551,7 @@ export namespace CallCreatePhoneCallParams {
9411
9551
  | 'gemini-3.6-flash'
9412
9552
  | 'gemini-3.7-flash'
9413
9553
  | 'gemini-3.8-flash'
9554
+ | 'gemini-4-argon'
9414
9555
  | null;
9415
9556
 
9416
9557
  /**
@@ -9428,6 +9569,14 @@ export namespace CallCreatePhoneCallParams {
9428
9569
  */
9429
9570
  model_temperature?: number;
9430
9571
 
9572
+ /**
9573
+ * If set to true, will use the ultrafast tier for much faster response generation,
9574
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
9575
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
9576
+ * higher cost.
9577
+ */
9578
+ model_ultrafast?: boolean | null;
9579
+
9431
9580
  /**
9432
9581
  * Select the underlying speech to speech model. Can only set this or model, not
9433
9582
  * both.
@@ -9530,7 +9679,9 @@ export namespace CallCreateWebCallParams {
9530
9679
  export interface AgentOverride {
9531
9680
  /**
9532
9681
  * Override agent configuration settings. Any properties specified here will
9533
- * override the base agent configuration for this call.
9682
+ * override the base agent configuration for this call. If a Retell LLM or
9683
+ * Conversation Flow response engine is specified without a version, it uses the
9684
+ * latest version.
9534
9685
  */
9535
9686
  agent?: AgentOverride.Agent;
9536
9687
 
@@ -9545,7 +9696,7 @@ export namespace CallCreateWebCallParams {
9545
9696
  /**
9546
9697
  * Override Retell LLM configuration settings. Only applicable when using Retell
9547
9698
  * LLM as the response engine. Supported attributes - model, s2s_model,
9548
- * model_temperature, model_high_priority, tool_call_strict_mode,
9699
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
9549
9700
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
9550
9701
  * begin_message.
9551
9702
  */
@@ -9555,7 +9706,9 @@ export namespace CallCreateWebCallParams {
9555
9706
  export namespace AgentOverride {
9556
9707
  /**
9557
9708
  * Override agent configuration settings. Any properties specified here will
9558
- * override the base agent configuration for this call.
9709
+ * override the base agent configuration for this call. If a Retell LLM or
9710
+ * Conversation Flow response engine is specified without a version, it uses the
9711
+ * latest version.
9559
9712
  */
9560
9713
  export interface Agent {
9561
9714
  /**
@@ -9982,7 +10135,6 @@ export namespace CallCreateWebCallParams {
9982
10135
  post_call_analysis_model?:
9983
10136
  | 'gpt-4.1'
9984
10137
  | 'gpt-4.1-mini'
9985
- | 'gpt-4.1-nano'
9986
10138
  | 'gpt-5'
9987
10139
  | 'gpt-5-mini'
9988
10140
  | 'gpt-5-nano'
@@ -9998,7 +10150,6 @@ export namespace CallCreateWebCallParams {
9998
10150
  | 'gpt-6-sol'
9999
10151
  | 'gpt-6.1-sol'
10000
10152
  | 'gpt-6-luna'
10001
- | 'claude-4.5-sonnet'
10002
10153
  | 'claude-4.6-sonnet'
10003
10154
  | 'claude-5-opus'
10004
10155
  | 'claude-5.5-opus'
@@ -10013,6 +10164,7 @@ export namespace CallCreateWebCallParams {
10013
10164
  | 'gemini-3.6-flash'
10014
10165
  | 'gemini-3.7-flash'
10015
10166
  | 'gemini-3.8-flash'
10167
+ | 'gemini-4-argon'
10016
10168
  | null;
10017
10169
 
10018
10170
  /**
@@ -11820,7 +11972,6 @@ export namespace CallCreateWebCallParams {
11820
11972
  model:
11821
11973
  | 'gpt-4.1'
11822
11974
  | 'gpt-4.1-mini'
11823
- | 'gpt-4.1-nano'
11824
11975
  | 'gpt-5'
11825
11976
  | 'gpt-5-mini'
11826
11977
  | 'gpt-5-nano'
@@ -11836,7 +11987,6 @@ export namespace CallCreateWebCallParams {
11836
11987
  | 'gpt-6-sol'
11837
11988
  | 'gpt-6.1-sol'
11838
11989
  | 'gpt-6-luna'
11839
- | 'claude-4.5-sonnet'
11840
11990
  | 'claude-4.6-sonnet'
11841
11991
  | 'claude-5-opus'
11842
11992
  | 'claude-5.5-opus'
@@ -11850,7 +12000,8 @@ export namespace CallCreateWebCallParams {
11850
12000
  | 'gemini-3.5-flash-lite'
11851
12001
  | 'gemini-3.6-flash'
11852
12002
  | 'gemini-3.7-flash'
11853
- | 'gemini-3.8-flash';
12003
+ | 'gemini-3.8-flash'
12004
+ | 'gemini-4-argon';
11854
12005
 
11855
12006
  /**
11856
12007
  * Type of model choice
@@ -11861,6 +12012,13 @@ export namespace CallCreateWebCallParams {
11861
12012
  * Whether to use high priority pool with more dedicated resource, default false
11862
12013
  */
11863
12014
  high_priority?: boolean;
12015
+
12016
+ /**
12017
+ * Whether to use the ultrafast tier for much faster response generation, default
12018
+ * false. Only supported by gpt-6.1-sol on voice agents; ignored otherwise. Takes
12019
+ * precedence over high_priority.
12020
+ */
12021
+ ultrafast?: boolean;
11864
12022
  }
11865
12023
 
11866
12024
  export interface ModelChoiceS2S {
@@ -11885,7 +12043,7 @@ export namespace CallCreateWebCallParams {
11885
12043
  /**
11886
12044
  * Override Retell LLM configuration settings. Only applicable when using Retell
11887
12045
  * LLM as the response engine. Supported attributes - model, s2s_model,
11888
- * model_temperature, model_high_priority, tool_call_strict_mode,
12046
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
11889
12047
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
11890
12048
  * begin_message.
11891
12049
  */
@@ -11920,7 +12078,6 @@ export namespace CallCreateWebCallParams {
11920
12078
  model?:
11921
12079
  | 'gpt-4.1'
11922
12080
  | 'gpt-4.1-mini'
11923
- | 'gpt-4.1-nano'
11924
12081
  | 'gpt-5'
11925
12082
  | 'gpt-5-mini'
11926
12083
  | 'gpt-5-nano'
@@ -11936,7 +12093,6 @@ export namespace CallCreateWebCallParams {
11936
12093
  | 'gpt-6-sol'
11937
12094
  | 'gpt-6.1-sol'
11938
12095
  | 'gpt-6-luna'
11939
- | 'claude-4.5-sonnet'
11940
12096
  | 'claude-4.6-sonnet'
11941
12097
  | 'claude-5-opus'
11942
12098
  | 'claude-5.5-opus'
@@ -11951,6 +12107,7 @@ export namespace CallCreateWebCallParams {
11951
12107
  | 'gemini-3.6-flash'
11952
12108
  | 'gemini-3.7-flash'
11953
12109
  | 'gemini-3.8-flash'
12110
+ | 'gemini-4-argon'
11954
12111
  | null;
11955
12112
 
11956
12113
  /**
@@ -11968,6 +12125,14 @@ export namespace CallCreateWebCallParams {
11968
12125
  */
11969
12126
  model_temperature?: number;
11970
12127
 
12128
+ /**
12129
+ * If set to true, will use the ultrafast tier for much faster response generation,
12130
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
12131
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
12132
+ * higher cost.
12133
+ */
12134
+ model_ultrafast?: boolean | null;
12135
+
11971
12136
  /**
11972
12137
  * Select the underlying speech to speech model. Can only set this or model, not
11973
12138
  * both.
@@ -12070,7 +12235,9 @@ export namespace CallRegisterPhoneCallParams {
12070
12235
  export interface AgentOverride {
12071
12236
  /**
12072
12237
  * Override agent configuration settings. Any properties specified here will
12073
- * override the base agent configuration for this call.
12238
+ * override the base agent configuration for this call. If a Retell LLM or
12239
+ * Conversation Flow response engine is specified without a version, it uses the
12240
+ * latest version.
12074
12241
  */
12075
12242
  agent?: AgentOverride.Agent;
12076
12243
 
@@ -12085,7 +12252,7 @@ export namespace CallRegisterPhoneCallParams {
12085
12252
  /**
12086
12253
  * Override Retell LLM configuration settings. Only applicable when using Retell
12087
12254
  * LLM as the response engine. Supported attributes - model, s2s_model,
12088
- * model_temperature, model_high_priority, tool_call_strict_mode,
12255
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
12089
12256
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
12090
12257
  * begin_message.
12091
12258
  */
@@ -12095,7 +12262,9 @@ export namespace CallRegisterPhoneCallParams {
12095
12262
  export namespace AgentOverride {
12096
12263
  /**
12097
12264
  * Override agent configuration settings. Any properties specified here will
12098
- * override the base agent configuration for this call.
12265
+ * override the base agent configuration for this call. If a Retell LLM or
12266
+ * Conversation Flow response engine is specified without a version, it uses the
12267
+ * latest version.
12099
12268
  */
12100
12269
  export interface Agent {
12101
12270
  /**
@@ -12522,7 +12691,6 @@ export namespace CallRegisterPhoneCallParams {
12522
12691
  post_call_analysis_model?:
12523
12692
  | 'gpt-4.1'
12524
12693
  | 'gpt-4.1-mini'
12525
- | 'gpt-4.1-nano'
12526
12694
  | 'gpt-5'
12527
12695
  | 'gpt-5-mini'
12528
12696
  | 'gpt-5-nano'
@@ -12538,7 +12706,6 @@ export namespace CallRegisterPhoneCallParams {
12538
12706
  | 'gpt-6-sol'
12539
12707
  | 'gpt-6.1-sol'
12540
12708
  | 'gpt-6-luna'
12541
- | 'claude-4.5-sonnet'
12542
12709
  | 'claude-4.6-sonnet'
12543
12710
  | 'claude-5-opus'
12544
12711
  | 'claude-5.5-opus'
@@ -12553,6 +12720,7 @@ export namespace CallRegisterPhoneCallParams {
12553
12720
  | 'gemini-3.6-flash'
12554
12721
  | 'gemini-3.7-flash'
12555
12722
  | 'gemini-3.8-flash'
12723
+ | 'gemini-4-argon'
12556
12724
  | null;
12557
12725
 
12558
12726
  /**
@@ -14360,7 +14528,6 @@ export namespace CallRegisterPhoneCallParams {
14360
14528
  model:
14361
14529
  | 'gpt-4.1'
14362
14530
  | 'gpt-4.1-mini'
14363
- | 'gpt-4.1-nano'
14364
14531
  | 'gpt-5'
14365
14532
  | 'gpt-5-mini'
14366
14533
  | 'gpt-5-nano'
@@ -14376,7 +14543,6 @@ export namespace CallRegisterPhoneCallParams {
14376
14543
  | 'gpt-6-sol'
14377
14544
  | 'gpt-6.1-sol'
14378
14545
  | 'gpt-6-luna'
14379
- | 'claude-4.5-sonnet'
14380
14546
  | 'claude-4.6-sonnet'
14381
14547
  | 'claude-5-opus'
14382
14548
  | 'claude-5.5-opus'
@@ -14390,7 +14556,8 @@ export namespace CallRegisterPhoneCallParams {
14390
14556
  | 'gemini-3.5-flash-lite'
14391
14557
  | 'gemini-3.6-flash'
14392
14558
  | 'gemini-3.7-flash'
14393
- | 'gemini-3.8-flash';
14559
+ | 'gemini-3.8-flash'
14560
+ | 'gemini-4-argon';
14394
14561
 
14395
14562
  /**
14396
14563
  * Type of model choice
@@ -14401,6 +14568,13 @@ export namespace CallRegisterPhoneCallParams {
14401
14568
  * Whether to use high priority pool with more dedicated resource, default false
14402
14569
  */
14403
14570
  high_priority?: boolean;
14571
+
14572
+ /**
14573
+ * Whether to use the ultrafast tier for much faster response generation, default
14574
+ * false. Only supported by gpt-6.1-sol on voice agents; ignored otherwise. Takes
14575
+ * precedence over high_priority.
14576
+ */
14577
+ ultrafast?: boolean;
14404
14578
  }
14405
14579
 
14406
14580
  export interface ModelChoiceS2S {
@@ -14425,7 +14599,7 @@ export namespace CallRegisterPhoneCallParams {
14425
14599
  /**
14426
14600
  * Override Retell LLM configuration settings. Only applicable when using Retell
14427
14601
  * LLM as the response engine. Supported attributes - model, s2s_model,
14428
- * model_temperature, model_high_priority, tool_call_strict_mode,
14602
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
14429
14603
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
14430
14604
  * begin_message.
14431
14605
  */
@@ -14460,7 +14634,6 @@ export namespace CallRegisterPhoneCallParams {
14460
14634
  model?:
14461
14635
  | 'gpt-4.1'
14462
14636
  | 'gpt-4.1-mini'
14463
- | 'gpt-4.1-nano'
14464
14637
  | 'gpt-5'
14465
14638
  | 'gpt-5-mini'
14466
14639
  | 'gpt-5-nano'
@@ -14476,7 +14649,6 @@ export namespace CallRegisterPhoneCallParams {
14476
14649
  | 'gpt-6-sol'
14477
14650
  | 'gpt-6.1-sol'
14478
14651
  | 'gpt-6-luna'
14479
- | 'claude-4.5-sonnet'
14480
14652
  | 'claude-4.6-sonnet'
14481
14653
  | 'claude-5-opus'
14482
14654
  | 'claude-5.5-opus'
@@ -14491,6 +14663,7 @@ export namespace CallRegisterPhoneCallParams {
14491
14663
  | 'gemini-3.6-flash'
14492
14664
  | 'gemini-3.7-flash'
14493
14665
  | 'gemini-3.8-flash'
14666
+ | 'gemini-4-argon'
14494
14667
  | null;
14495
14668
 
14496
14669
  /**
@@ -14508,6 +14681,14 @@ export namespace CallRegisterPhoneCallParams {
14508
14681
  */
14509
14682
  model_temperature?: number;
14510
14683
 
14684
+ /**
14685
+ * If set to true, will use the ultrafast tier for much faster response generation,
14686
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
14687
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
14688
+ * higher cost.
14689
+ */
14690
+ model_ultrafast?: boolean | null;
14691
+
14511
14692
  /**
14512
14693
  * Select the underlying speech to speech model. Can only set this or model, not
14513
14694
  * both.