retell-sdk 6.2.6 → 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 (51) hide show
  1. package/CHANGELOG.md +11 -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 +74 -22
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +74 -22
  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/conversation-flow-component.d.mts +294 -42
  24. package/resources/conversation-flow-component.d.mts.map +1 -1
  25. package/resources/conversation-flow-component.d.ts +294 -42
  26. package/resources/conversation-flow-component.d.ts.map +1 -1
  27. package/resources/conversation-flow.d.mts +609 -87
  28. package/resources/conversation-flow.d.mts.map +1 -1
  29. package/resources/conversation-flow.d.ts +609 -87
  30. package/resources/conversation-flow.d.ts.map +1 -1
  31. package/resources/llm.d.mts +24 -3
  32. package/resources/llm.d.mts.map +1 -1
  33. package/resources/llm.d.ts +24 -3
  34. package/resources/llm.d.ts.map +1 -1
  35. package/resources/tests.d.mts +3 -3
  36. package/resources/tests.d.mts.map +1 -1
  37. package/resources/tests.d.ts +3 -3
  38. package/resources/tests.d.ts.map +1 -1
  39. package/src/resources/agent.ts +37 -0
  40. package/src/resources/batch-call.ts +27 -5
  41. package/src/resources/call.ts +83 -16
  42. package/src/resources/chat-agent.ts +24 -0
  43. package/src/resources/conversation-flow-component.ts +378 -42
  44. package/src/resources/conversation-flow.ts +783 -87
  45. package/src/resources/llm.ts +27 -0
  46. package/src/resources/tests.ts +6 -3
  47. package/src/version.ts +1 -1
  48. package/version.d.mts +1 -1
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
  51. package/version.mjs +1 -1
@@ -125,7 +125,8 @@ export declare class Call extends APIResource {
125
125
  /**
126
126
  * Take over an in-progress call from the AI agent. The agent stops responding and
127
127
  * the specified live-listen participant is allowed to speak directly to the
128
- * caller. The call must be in ONGOING status.
128
+ * caller. The call must be in ONGOING status. Gateway calls cannot be taken over
129
+ * while a PCI session is active.
129
130
  *
130
131
  * @example
131
132
  * ```ts
@@ -5649,7 +5650,9 @@ export declare namespace CallCreatePhoneCallParams {
5649
5650
  interface AgentOverride {
5650
5651
  /**
5651
5652
  * Override agent configuration settings. Any properties specified here will
5652
- * override the base agent configuration for this call.
5653
+ * override the base agent configuration for this call. If a Retell LLM or
5654
+ * Conversation Flow response engine is specified without a version, it uses the
5655
+ * latest version.
5653
5656
  */
5654
5657
  agent?: AgentOverride.Agent;
5655
5658
  /**
@@ -5662,7 +5665,7 @@ export declare namespace CallCreatePhoneCallParams {
5662
5665
  /**
5663
5666
  * Override Retell LLM configuration settings. Only applicable when using Retell
5664
5667
  * LLM as the response engine. Supported attributes - model, s2s_model,
5665
- * model_temperature, model_high_priority, tool_call_strict_mode,
5668
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
5666
5669
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
5667
5670
  * begin_message.
5668
5671
  */
@@ -5671,7 +5674,9 @@ export declare namespace CallCreatePhoneCallParams {
5671
5674
  namespace AgentOverride {
5672
5675
  /**
5673
5676
  * Override agent configuration settings. Any properties specified here will
5674
- * override the base agent configuration for this call.
5677
+ * override the base agent configuration for this call. If a Retell LLM or
5678
+ * Conversation Flow response engine is specified without a version, it uses the
5679
+ * latest version.
5675
5680
  */
5676
5681
  interface Agent {
5677
5682
  /**
@@ -5908,7 +5913,7 @@ export declare namespace CallCreatePhoneCallParams {
5908
5913
  /**
5909
5914
  * The model to use for post call analysis. Default to gpt-5.6-terra.
5910
5915
  */
5911
- post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | null;
5916
+ post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon' | null;
5912
5917
  /**
5913
5918
  * Integration (Agent Functions) tools run as a dependency graph during teardown,
5914
5919
  * after post-call analysis. Each tool can be gated by a condition. On calls the
@@ -7365,7 +7370,7 @@ export declare namespace CallCreatePhoneCallParams {
7365
7370
  /**
7366
7371
  * The LLM model to use
7367
7372
  */
7368
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
7373
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon';
7369
7374
  /**
7370
7375
  * Type of model choice
7371
7376
  */
@@ -7374,6 +7379,12 @@ export declare namespace CallCreatePhoneCallParams {
7374
7379
  * Whether to use high priority pool with more dedicated resource, default false
7375
7380
  */
7376
7381
  high_priority?: boolean;
7382
+ /**
7383
+ * Whether to use the ultrafast tier for much faster response generation, default
7384
+ * false. Only supported by gpt-6.1-sol on voice agents; ignored otherwise. Takes
7385
+ * precedence over high_priority.
7386
+ */
7387
+ ultrafast?: boolean;
7377
7388
  }
7378
7389
  interface ModelChoiceS2S {
7379
7390
  /**
@@ -7389,7 +7400,7 @@ export declare namespace CallCreatePhoneCallParams {
7389
7400
  /**
7390
7401
  * Override Retell LLM configuration settings. Only applicable when using Retell
7391
7402
  * LLM as the response engine. Supported attributes - model, s2s_model,
7392
- * model_temperature, model_high_priority, tool_call_strict_mode,
7403
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
7393
7404
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
7394
7405
  * begin_message.
7395
7406
  */
@@ -7417,7 +7428,7 @@ export declare namespace CallCreatePhoneCallParams {
7417
7428
  /**
7418
7429
  * Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
7419
7430
  */
7420
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | null;
7431
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon' | null;
7421
7432
  /**
7422
7433
  * If set to true, will use high priority pool with more dedicated resource to
7423
7434
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -7431,6 +7442,13 @@ export declare namespace CallCreatePhoneCallParams {
7431
7442
  * recommended.
7432
7443
  */
7433
7444
  model_temperature?: number;
7445
+ /**
7446
+ * If set to true, will use the ultrafast tier for much faster response generation,
7447
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
7448
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
7449
+ * higher cost.
7450
+ */
7451
+ model_ultrafast?: boolean | null;
7434
7452
  /**
7435
7453
  * Select the underlying speech to speech model. Can only set this or model, not
7436
7454
  * both.
@@ -7516,7 +7534,9 @@ export declare namespace CallCreateWebCallParams {
7516
7534
  interface AgentOverride {
7517
7535
  /**
7518
7536
  * Override agent configuration settings. Any properties specified here will
7519
- * override the base agent configuration for this call.
7537
+ * override the base agent configuration for this call. If a Retell LLM or
7538
+ * Conversation Flow response engine is specified without a version, it uses the
7539
+ * latest version.
7520
7540
  */
7521
7541
  agent?: AgentOverride.Agent;
7522
7542
  /**
@@ -7529,7 +7549,7 @@ export declare namespace CallCreateWebCallParams {
7529
7549
  /**
7530
7550
  * Override Retell LLM configuration settings. Only applicable when using Retell
7531
7551
  * LLM as the response engine. Supported attributes - model, s2s_model,
7532
- * model_temperature, model_high_priority, tool_call_strict_mode,
7552
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
7533
7553
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
7534
7554
  * begin_message.
7535
7555
  */
@@ -7538,7 +7558,9 @@ export declare namespace CallCreateWebCallParams {
7538
7558
  namespace AgentOverride {
7539
7559
  /**
7540
7560
  * Override agent configuration settings. Any properties specified here will
7541
- * override the base agent configuration for this call.
7561
+ * override the base agent configuration for this call. If a Retell LLM or
7562
+ * Conversation Flow response engine is specified without a version, it uses the
7563
+ * latest version.
7542
7564
  */
7543
7565
  interface Agent {
7544
7566
  /**
@@ -7775,7 +7797,7 @@ export declare namespace CallCreateWebCallParams {
7775
7797
  /**
7776
7798
  * The model to use for post call analysis. Default to gpt-5.6-terra.
7777
7799
  */
7778
- post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | null;
7800
+ post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon' | null;
7779
7801
  /**
7780
7802
  * Integration (Agent Functions) tools run as a dependency graph during teardown,
7781
7803
  * after post-call analysis. Each tool can be gated by a condition. On calls the
@@ -9232,7 +9254,7 @@ export declare namespace CallCreateWebCallParams {
9232
9254
  /**
9233
9255
  * The LLM model to use
9234
9256
  */
9235
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9257
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon';
9236
9258
  /**
9237
9259
  * Type of model choice
9238
9260
  */
@@ -9241,6 +9263,12 @@ export declare namespace CallCreateWebCallParams {
9241
9263
  * Whether to use high priority pool with more dedicated resource, default false
9242
9264
  */
9243
9265
  high_priority?: boolean;
9266
+ /**
9267
+ * Whether to use the ultrafast tier for much faster response generation, default
9268
+ * false. Only supported by gpt-6.1-sol on voice agents; ignored otherwise. Takes
9269
+ * precedence over high_priority.
9270
+ */
9271
+ ultrafast?: boolean;
9244
9272
  }
9245
9273
  interface ModelChoiceS2S {
9246
9274
  /**
@@ -9256,7 +9284,7 @@ export declare namespace CallCreateWebCallParams {
9256
9284
  /**
9257
9285
  * Override Retell LLM configuration settings. Only applicable when using Retell
9258
9286
  * LLM as the response engine. Supported attributes - model, s2s_model,
9259
- * model_temperature, model_high_priority, tool_call_strict_mode,
9287
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
9260
9288
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
9261
9289
  * begin_message.
9262
9290
  */
@@ -9284,7 +9312,7 @@ export declare namespace CallCreateWebCallParams {
9284
9312
  /**
9285
9313
  * Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
9286
9314
  */
9287
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | null;
9315
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon' | null;
9288
9316
  /**
9289
9317
  * If set to true, will use high priority pool with more dedicated resource to
9290
9318
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -9298,6 +9326,13 @@ export declare namespace CallCreateWebCallParams {
9298
9326
  * recommended.
9299
9327
  */
9300
9328
  model_temperature?: number;
9329
+ /**
9330
+ * If set to true, will use the ultrafast tier for much faster response generation,
9331
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
9332
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
9333
+ * higher cost.
9334
+ */
9335
+ model_ultrafast?: boolean | null;
9301
9336
  /**
9302
9337
  * Select the underlying speech to speech model. Can only set this or model, not
9303
9338
  * both.
@@ -9382,7 +9417,9 @@ export declare namespace CallRegisterPhoneCallParams {
9382
9417
  interface AgentOverride {
9383
9418
  /**
9384
9419
  * Override agent configuration settings. Any properties specified here will
9385
- * override the base agent configuration for this call.
9420
+ * override the base agent configuration for this call. If a Retell LLM or
9421
+ * Conversation Flow response engine is specified without a version, it uses the
9422
+ * latest version.
9386
9423
  */
9387
9424
  agent?: AgentOverride.Agent;
9388
9425
  /**
@@ -9395,7 +9432,7 @@ export declare namespace CallRegisterPhoneCallParams {
9395
9432
  /**
9396
9433
  * Override Retell LLM configuration settings. Only applicable when using Retell
9397
9434
  * LLM as the response engine. Supported attributes - model, s2s_model,
9398
- * model_temperature, model_high_priority, tool_call_strict_mode,
9435
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
9399
9436
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
9400
9437
  * begin_message.
9401
9438
  */
@@ -9404,7 +9441,9 @@ export declare namespace CallRegisterPhoneCallParams {
9404
9441
  namespace AgentOverride {
9405
9442
  /**
9406
9443
  * Override agent configuration settings. Any properties specified here will
9407
- * override the base agent configuration for this call.
9444
+ * override the base agent configuration for this call. If a Retell LLM or
9445
+ * Conversation Flow response engine is specified without a version, it uses the
9446
+ * latest version.
9408
9447
  */
9409
9448
  interface Agent {
9410
9449
  /**
@@ -9641,7 +9680,7 @@ export declare namespace CallRegisterPhoneCallParams {
9641
9680
  /**
9642
9681
  * The model to use for post call analysis. Default to gpt-5.6-terra.
9643
9682
  */
9644
- post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | null;
9683
+ post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon' | null;
9645
9684
  /**
9646
9685
  * Integration (Agent Functions) tools run as a dependency graph during teardown,
9647
9686
  * after post-call analysis. Each tool can be gated by a condition. On calls the
@@ -11098,7 +11137,7 @@ export declare namespace CallRegisterPhoneCallParams {
11098
11137
  /**
11099
11138
  * The LLM model to use
11100
11139
  */
11101
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11140
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon';
11102
11141
  /**
11103
11142
  * Type of model choice
11104
11143
  */
@@ -11107,6 +11146,12 @@ export declare namespace CallRegisterPhoneCallParams {
11107
11146
  * Whether to use high priority pool with more dedicated resource, default false
11108
11147
  */
11109
11148
  high_priority?: boolean;
11149
+ /**
11150
+ * Whether to use the ultrafast tier for much faster response generation, default
11151
+ * false. Only supported by gpt-6.1-sol on voice agents; ignored otherwise. Takes
11152
+ * precedence over high_priority.
11153
+ */
11154
+ ultrafast?: boolean;
11110
11155
  }
11111
11156
  interface ModelChoiceS2S {
11112
11157
  /**
@@ -11122,7 +11167,7 @@ export declare namespace CallRegisterPhoneCallParams {
11122
11167
  /**
11123
11168
  * Override Retell LLM configuration settings. Only applicable when using Retell
11124
11169
  * LLM as the response engine. Supported attributes - model, s2s_model,
11125
- * model_temperature, model_high_priority, tool_call_strict_mode,
11170
+ * model_temperature, model_high_priority, model_ultrafast, tool_call_strict_mode,
11126
11171
  * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
11127
11172
  * begin_message.
11128
11173
  */
@@ -11150,7 +11195,7 @@ export declare namespace CallRegisterPhoneCallParams {
11150
11195
  /**
11151
11196
  * Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
11152
11197
  */
11153
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | null;
11198
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash' | 'gemini-4-argon' | null;
11154
11199
  /**
11155
11200
  * If set to true, will use high priority pool with more dedicated resource to
11156
11201
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -11164,6 +11209,13 @@ export declare namespace CallRegisterPhoneCallParams {
11164
11209
  * recommended.
11165
11210
  */
11166
11211
  model_temperature?: number;
11212
+ /**
11213
+ * If set to true, will use the ultrafast tier for much faster response generation,
11214
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
11215
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
11216
+ * higher cost.
11217
+ */
11218
+ model_ultrafast?: boolean | null;
11167
11219
  /**
11168
11220
  * Select the underlying speech to speech model. Can only set this or model, not
11169
11221
  * both.