Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.36.0"
".": "5.37.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 76
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/retell/retell-34c75afb2ecc24f4c428eb5402fc823a1fe309699c1c0b321db52d45b1f41b5e.yml
openapi_spec_hash: bf87b12f54c30051abf0517dfbc2d593
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/retell/retell-05474670b76c31276c1956b211a508ef83a98460fdaf874ab8ff8adec07ca6f5.yml
openapi_spec_hash: f90a89b2cf56a4dc802dfa049e1dadd5
config_hash: 563668cc30bc4847932ba265108c000c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.37.0 (2026-05-11)

Full Changelog: [v5.36.0...v5.37.0](https://github.com/RetellAI/retell-python-sdk/compare/v5.36.0...v5.37.0)

### Features

* **api:** api update ([5af4d59](https://github.com/RetellAI/retell-python-sdk/commit/5af4d59e59374bf64b3ed6fbd6d99d3e9209136a))

## 5.36.0 (2026-05-11)

Full Changelog: [v5.35.1...v5.36.0](https://github.com/RetellAI/retell-python-sdk/compare/v5.35.1...v5.36.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "retell-sdk"
version = "5.36.0"
version = "5.37.0"
description = "The official Python library for the retell API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/retell/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "retell"
__version__ = "5.36.0" # x-release-please-version
__version__ = "5.37.0" # x-release-please-version
8 changes: 8 additions & 0 deletions src/retell/resources/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,14 @@ def create(
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
| Omit = omit,
Expand Down Expand Up @@ -904,12 +906,14 @@ def update(
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
| Omit = omit,
Expand Down Expand Up @@ -1687,12 +1691,14 @@ async def create(
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
| Omit = omit,
Expand Down Expand Up @@ -2315,12 +2321,14 @@ async def update(
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
| Omit = omit,
Expand Down
12 changes: 8 additions & 4 deletions src/retell/resources/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def create(
| Omit = omit,
model_high_priority: Optional[bool] | Omit = omit,
model_temperature: float | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]] | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
| Omit = omit,
start_speaker: Literal["user", "agent"] | Omit = omit,
starting_state: Optional[str] | Omit = omit,
states: Optional[Iterable[llm_create_params.State]] | Omit = omit,
Expand Down Expand Up @@ -276,7 +277,8 @@ def update(
| Omit = omit,
model_high_priority: Optional[bool] | Omit = omit,
model_temperature: float | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]] | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
| Omit = omit,
start_speaker: Literal["user", "agent"] | Omit = omit,
starting_state: Optional[str] | Omit = omit,
states: Optional[Iterable[llm_update_params.State]] | Omit = omit,
Expand Down Expand Up @@ -540,7 +542,8 @@ async def create(
| Omit = omit,
model_high_priority: Optional[bool] | Omit = omit,
model_temperature: float | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]] | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
| Omit = omit,
start_speaker: Literal["user", "agent"] | Omit = omit,
starting_state: Optional[str] | Omit = omit,
states: Optional[Iterable[llm_create_params.State]] | Omit = omit,
Expand Down Expand Up @@ -735,7 +738,8 @@ async def update(
| Omit = omit,
model_high_priority: Optional[bool] | Omit = omit,
model_temperature: float | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]] | Omit = omit,
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
| Omit = omit,
start_speaker: Literal["user", "agent"] | Omit = omit,
starting_state: Optional[str] | Omit = omit,
states: Optional[Iterable[llm_update_params.State]] | Omit = omit,
Expand Down
2 changes: 2 additions & 0 deletions src/retell/types/agent_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,12 +537,14 @@ class AgentCreateParams(TypedDict, total=False):
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
"""Select the voice model used for the selected voice.
Expand Down
2 changes: 2 additions & 0 deletions src/retell/types/agent_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,12 +962,14 @@ class AgentResponse(BaseModel):
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
] = None
"""Select the voice model used for the selected voice.
Expand Down
2 changes: 2 additions & 0 deletions src/retell/types/agent_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,12 +540,14 @@ class AgentUpdateParams(TypedDict, total=False):
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
"""Select the voice model used for the selected voice.
Expand Down
4 changes: 3 additions & 1 deletion src/retell/types/batch_call_create_batch_call_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,12 +996,14 @@ class TaskAgentOverrideAgent(TypedDict, total=False):
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
"""Select the voice model used for the selected voice.
Expand Down Expand Up @@ -1250,7 +1252,7 @@ class TaskAgentOverrideRetellLlm(TypedDict, total=False):
tool calling, a lower value is recommended.
"""

s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
"""Select the underlying speech to speech model.

Can only set this or model, not both.
Expand Down
4 changes: 3 additions & 1 deletion src/retell/types/call_create_phone_call_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,12 +1015,14 @@ class AgentOverrideAgent(TypedDict, total=False):
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
"""Select the voice model used for the selected voice.
Expand Down Expand Up @@ -1269,7 +1271,7 @@ class AgentOverrideRetellLlm(TypedDict, total=False):
tool calling, a lower value is recommended.
"""

s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
"""Select the underlying speech to speech model.

Can only set this or model, not both.
Expand Down
4 changes: 3 additions & 1 deletion src/retell/types/call_create_web_call_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,12 +1002,14 @@ class AgentOverrideAgent(TypedDict, total=False):
"eleven_v3",
"sonic-3",
"sonic-3-latest",
"sonic-3.5",
"tts-1",
"gpt-4o-mini-tts",
"speech-02-turbo",
"speech-2.8-turbo",
"s1",
"s2-pro",
"s2.1-pro",
]
]
"""Select the voice model used for the selected voice.
Expand Down Expand Up @@ -1256,7 +1258,7 @@ class AgentOverrideRetellLlm(TypedDict, total=False):
tool calling, a lower value is recommended.
"""

s2s_model: Optional[Literal["gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
s2s_model: Optional[Literal["gpt-realtime-2", "gpt-realtime-1.5", "gpt-realtime", "gpt-realtime-mini"]]
"""Select the underlying speech to speech model.

Can only set this or model, not both.
Expand Down
Loading