Types:
from retell.types import (
CallResponse,
CreateWebCallResponse,
PhoneCallResponse,
WebCallResponse,
CallListResponse,
CallListenLiveResponse,
CallTakeOverLiveResponse,
CallUpdateLiveResponse,
)Methods:
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) -> CreateWebCallResponseclient.call.listen_live(call_id) -> CallListenLiveResponseclient.call.register_phone_call(**params) -> PhoneCallResponseclient.call.rerun_analysis(call_id) -> CallResponseclient.call.stop(call_id) -> Noneclient.call.take_over_live(call_id, **params) -> CallTakeOverLiveResponseclient.call.update_live(call_id, **params) -> CallUpdateLiveResponse
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.delete(chat_id) -> Noneclient.chat.create_chat_completion(**params) -> ChatCreateChatCompletionResponseclient.chat.create_sms_chat(**params) -> ChatResponseclient.chat.end(chat_id) -> Noneclient.chat.rerun_analysis(chat_id) -> ChatResponse
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(**params) -> PhoneNumberListResponseclient.phone_number.delete(phone_number) -> Noneclient.phonenumber.import(**params) -> PhoneNumberResponse
Types:
from retell.types import (
AgentResponse,
AgentListResponse,
AgentCreateVersionResponse,
AgentListVersionsResponse,
AgentRepairResponse,
)Methods:
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.create_version(agent_id, **params) -> AgentCreateVersionResponseclient.agent.delete_version(agent_id, **params) -> Noneclient.agent.list_versions(agent_id, **params) -> AgentListVersionsResponseclient.agent.publish(agent_id, **params) -> Noneclient.agent.repair(agent_id, **params) -> AgentRepairResponse
Types:
from retell.types import ChatAgentResponse, ChatAgentListResponse, ChatAgentCreateVersionResponseMethods:
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.create_version(agent_id, **params) -> ChatAgentCreateVersionResponseclient.chat_agent.delete_version(agent_id, **params) -> Noneclient.chat_agent.publish(agent_id, **params) -> 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, **params) -> 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, **params) -> 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(**params) -> 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 AssetCreateResponseMethods:
client.asset.create(**params) -> AssetCreateResponse
Types:
from retell.types import ConcurrencyRetrieveResponseMethods:
client.concurrency.retrieve() -> ConcurrencyRetrieveResponse
Types:
from retell.types import IdentityRetrieveResponseMethods:
client.identity.retrieve() -> IdentityRetrieveResponse
Types:
from retell.types import ExportRequestListResponseMethods:
client.export_request.list(**params) -> ExportRequestListResponse
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, **params) -> TestListTestRunsResponseclient.tests.update_test_case_definition(test_case_definition_id, **params) -> TestCaseDefinitionResponse
Types:
from retell.types import PlaygroundCompletionResponseMethods:
client.playground.completion(agent_id, **params) -> PlaygroundCompletionResponse
Types:
from retell.types import McpToolDefinition, McpToolGetMcpToolsResponseMethods:
client.mcp_tool.get_mcp_tools(agent_id, **params) -> McpToolGetMcpToolsResponse
Types:
from retell.types import (
ContactResponse,
ContactListResponse,
ContactBackfillAnalysisDataResponse,
ContactCreateImportResponse,
ContactGetBackfillJobStatusResponse,
ContactGetImportResponse,
ContactListConversationsResponse,
ContactUploadImportFileResponse,
)Methods:
client.contact.create(**params) -> ContactResponseclient.contact.update(contact_id, **params) -> ContactResponseclient.contact.list(**params) -> ContactListResponseclient.contact.delete(contact_id) -> Noneclient.contact.backfill_analysis_data(**params) -> ContactBackfillAnalysisDataResponseclient.contact.create_import(**params) -> ContactCreateImportResponseclient.contact.get(contact_id) -> ContactResponseclient.contact.get_backfill_job_status() -> ContactGetBackfillJobStatusResponseclient.contact.get_by_phone(phone_number) -> ContactResponseclient.contact.get_import() -> ContactGetImportResponseclient.contact.list_conversations(contact_id, **params) -> ContactListConversationsResponseclient.contact.upload_import_file(**params) -> ContactUploadImportFileResponse
Types:
from retell.types import (
AppResponse,
AppListResponse,
AppGetToolSchemaResponse,
AppListUsagesResponse,
AppTestAuthResponse,
)Methods:
client.app.create(**params) -> AppResponseclient.app.update(app_id, **params) -> AppResponseclient.app.list(**params) -> AppListResponseclient.app.delete(app_id, **params) -> Noneclient.app.get(app_id) -> AppResponseclient.app.get_tool_schema(app_id, **params) -> AppGetToolSchemaResponseclient.app.list_usages(app_id, **params) -> AppListUsagesResponseclient.app.test_auth(app_id) -> AppTestAuthResponse
Types:
from retell.types import (
CRMConfig,
CRMGetSchemaResponse,
CRMGetSyncJobStatusResponse,
CRMRunSyncJobResponse,
)Methods:
client.crm.get_config() -> CRMConfigclient.crm.get_schema(**params) -> CRMGetSchemaResponseclient.crm.get_sync_job_status() -> CRMGetSyncJobStatusResponseclient.crm.run_sync_job() -> CRMRunSyncJobResponseclient.crm.update_config(**params) -> CRMConfig