Types:
from retell.types import CallResponse, PhoneCallResponse, WebCallResponse, CallListResponseMethods:
client.call.retrieve(call_id) -> CallResponseclient.call.update(call_id, **params) -> CallResponseclient.call.list(**params) -> CallListResponseclient.call.delete(call_id) -> Noneclient.call.create_phone_call(**params) -> PhoneCallResponseclient.call.create_web_call(**params) -> WebCallResponseclient.call.register_phone_call(**params) -> PhoneCallResponse
Types:
from retell.types import ChatResponse, ChatListResponse, ChatCreateChatCompletionResponseMethods:
client.chat.create(**params) -> ChatResponseclient.chat.retrieve(chat_id) -> ChatResponseclient.chat.update(chat_id, **params) -> ChatResponseclient.chat.list(**params) -> ChatListResponseclient.chat.create_chat_completion(**params) -> ChatCreateChatCompletionResponseclient.chat.create_sms_chat(**params) -> ChatResponseclient.chat.end(chat_id) -> None
Types:
from retell.types import PhoneNumberResponse, PhoneNumberListResponseMethods:
client.phone_number.create(**params) -> PhoneNumberResponseclient.phone_number.retrieve(phone_number) -> PhoneNumberResponseclient.phone_number.update(phone_number, **params) -> PhoneNumberResponseclient.phone_number.list() -> PhoneNumberListResponseclient.phone_number.delete(phone_number) -> Noneclient.phonenumber.import(**params) -> PhoneNumberResponse
Types:
from retell.types import AgentResponse, AgentListResponse, AgentGetVersionsResponseMethods:
client.agent.create(**params) -> AgentResponseclient.agent.retrieve(agent_id, **params) -> AgentResponseclient.agent.update(agent_id, **params) -> AgentResponseclient.agent.list(**params) -> AgentListResponseclient.agent.delete(agent_id) -> Noneclient.agent.get_versions(agent_id) -> AgentGetVersionsResponseclient.agent.publish(agent_id) -> None
Types:
from retell.types import ChatAgentResponse, ChatAgentListResponse, ChatAgentGetVersionsResponseMethods:
client.chat_agent.create(**params) -> ChatAgentResponseclient.chat_agent.retrieve(agent_id, **params) -> ChatAgentResponseclient.chat_agent.update(agent_id, **params) -> ChatAgentResponseclient.chat_agent.list(**params) -> ChatAgentListResponseclient.chat_agent.delete(agent_id) -> Noneclient.chat_agent.get_versions(agent_id) -> ChatAgentGetVersionsResponseclient.chat_agent.publish(agent_id) -> None
Types:
from retell.types import LlmResponse, LlmListResponseMethods:
client.llm.create(**params) -> LlmResponseclient.llm.retrieve(llm_id, **params) -> LlmResponseclient.llm.update(llm_id, **params) -> LlmResponseclient.llm.list(**params) -> LlmListResponseclient.llm.delete(llm_id) -> None
Types:
from retell.types import ConversationFlowResponse, ConversationFlowListResponseMethods:
client.conversation_flow.create(**params) -> ConversationFlowResponseclient.conversation_flow.retrieve(conversation_flow_id, **params) -> ConversationFlowResponseclient.conversation_flow.update(conversation_flow_id, **params) -> ConversationFlowResponseclient.conversation_flow.list(**params) -> ConversationFlowListResponseclient.conversation_flow.delete(conversation_flow_id) -> None
Types:
from retell.types import ConversationFlowComponentResponse, ConversationFlowComponentListResponseMethods:
client.conversation_flow_component.create(**params) -> ConversationFlowComponentResponseclient.conversation_flow_component.retrieve(conversation_flow_component_id) -> ConversationFlowComponentResponseclient.conversation_flow_component.update(conversation_flow_component_id, **params) -> ConversationFlowComponentResponseclient.conversation_flow_component.list() -> ConversationFlowComponentListResponseclient.conversation_flow_component.delete(conversation_flow_component_id) -> None
Types:
from retell.types import KnowledgeBaseResponse, KnowledgeBaseListResponseMethods:
client.knowledge_base.create(**params) -> KnowledgeBaseResponseclient.knowledge_base.retrieve(knowledge_base_id) -> KnowledgeBaseResponseclient.knowledge_base.list() -> KnowledgeBaseListResponseclient.knowledge_base.delete(knowledge_base_id) -> Noneclient.knowledge_base.add_sources(knowledge_base_id, **params) -> KnowledgeBaseResponseclient.knowledge_base.delete_source(source_id, *, knowledge_base_id) -> KnowledgeBaseResponse
Types:
from retell.types import VoiceResponse, VoiceListResponse, VoiceSearchResponseMethods:
client.voice.retrieve(voice_id) -> VoiceResponseclient.voice.list() -> VoiceListResponseclient.voice.add_resource(**params) -> VoiceResponseclient.voice.clone(**params) -> VoiceResponseclient.voice.search(**params) -> VoiceSearchResponse
Types:
from retell.types import ConcurrencyRetrieveResponseMethods:
client.concurrency.retrieve() -> ConcurrencyRetrieveResponse
Types:
from retell.types import BatchCallResponseMethods:
client.batch_call.create_batch_call(**params) -> BatchCallResponse
Types:
from retell.types import (
BatchTestResponse,
TestCaseDefinitionResponse,
TestCaseJobResponse,
TestListBatchTestsResponse,
TestListTestCaseDefinitionsResponse,
TestListTestRunsResponse,
)Methods:
client.tests.create_batch_test(**params) -> BatchTestResponseclient.tests.create_test_case_definition(**params) -> TestCaseDefinitionResponseclient.tests.delete_test_case_definition(test_case_definition_id) -> Noneclient.tests.get_batch_test(test_case_batch_job_id) -> BatchTestResponseclient.tests.get_test_case_definition(test_case_definition_id) -> TestCaseDefinitionResponseclient.tests.get_test_run(test_case_job_id) -> TestCaseJobResponseclient.tests.list_batch_tests(**params) -> TestListBatchTestsResponseclient.tests.list_test_case_definitions(**params) -> TestListTestCaseDefinitionsResponseclient.tests.list_test_runs(test_case_batch_job_id) -> TestListTestRunsResponseclient.tests.update_test_case_definition(test_case_definition_id, **params) -> TestCaseDefinitionResponse
Types:
from retell.types import McpToolDefinition, McpToolGetMcpToolsResponseMethods:
client.mcp_tool.get_mcp_tools(agent_id, **params) -> McpToolGetMcpToolsResponse