client.metrics_metrics_get()
-
-
-
Endpoint that serves Prometheus metrics.
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.metrics_metrics_get()
-
-
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.numbers.list_numbers(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.numbers.list_numbers()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.numbers.get_number(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.numbers.get_number( phone_number="phone_number", )
-
-
-
phone_number:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.numbers.buy_number(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.numbers.buy_number()
-
-
-
area_code:
typing.Optional[str]
-
telephony_provider:
typing.Optional[BuyPhoneNumberRequestTelephonyProvider]
-
telephony_account_connection:
typing.Optional[str]
-
inbound_agent:
typing.Optional[BuyPhoneNumberRequestInboundAgent]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.numbers.update_number(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.numbers.update_number( phone_number="phone_number", )
-
-
-
phone_number:
str
-
outbound_only:
typing.Optional[UpdateNumberRequestOutboundOnly]
-
example_context:
typing.Optional[UpdateNumberRequestExampleContext]
-
label:
typing.Optional[UpdateNumberRequestLabel]
-
inbound_agent:
typing.Optional[UpdateNumberRequestInboundAgent]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.numbers.cancel_number(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.numbers.cancel_number( phone_number="phone_number", )
-
-
-
phone_number:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.numbers.link_number(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.numbers.link_number( phone_number="phone_number", telephony_account_connection="telephony_account_connection", )
-
-
-
phone_number:
str
-
telephony_account_connection:
str
-
outbound_only:
typing.Optional[bool]
-
inbound_agent:
typing.Optional[LinkPhoneNumberRequestInboundAgent]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.calls.list_calls(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.calls.list_calls()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.calls.get_call(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.calls.get_call( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.calls.end_call(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.calls.end_call( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.calls.create_call(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.calls.create_call( from_number="from_number", to_number="to_number", agent="agent", )
-
-
-
from_number:
str
-
to_number:
str
-
agent:
CreateCallRequestAgent
-
on_no_human_answer:
typing.Optional[CreateCallRequestOnNoHumanAnswer]
-
run_do_not_call_detection:
typing.Optional[bool]
-
hipaa_compliant:
typing.Optional[bool]
-
context:
typing.Optional[typing.Dict[str, typing.Optional[str]]]
-
telephony_params:
typing.Optional[typing.Dict[str, typing.Optional[str]]]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.calls.get_recording(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.calls.get_recording( id="string", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.usage.get_usage()
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.usage.get_usage()
-
-
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.actions.get_action(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.actions.get_action( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.actions.list_actions(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.actions.list_actions()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.actions.create_action(...)
-
-
-
from vocode import AddToConferenceActionParams, AddToConferenceConfig, Vocode client = Vocode( token="YOUR_TOKEN", ) client.actions.create_action( request=AddToConferenceActionParams( config=AddToConferenceConfig( phone_number="phone_number", ), ), )
-
-
-
request:
ActionParamsRequest
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.actions.update_action(...)
-
-
-
from vocode import AddToConferenceActionUpdateParams, Vocode client = Vocode( token="YOUR_TOKEN", ) client.actions.update_action( id="id", request=AddToConferenceActionUpdateParams(), )
-
-
-
id:
str
-
request:
ActionUpdateParamsRequest
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.agents.get_agent(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.agents.get_agent( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.agents.list_agents(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.agents.list_agents()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.agents.create_agent(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.agents.create_agent( prompt="prompt", voice="voice", )
-
-
-
prompt:
AgentParamsPrompt
-
voice:
AgentParamsVoice
-
name:
typing.Optional[str]
-
language:
typing.Optional[Language]
-
actions:
typing.Optional[typing.Sequence[AgentParamsActionsItem]]
-
initial_message:
typing.Optional[str]
-
webhook:
typing.Optional[AgentParamsWebhook]
-
vector_database:
typing.Optional[AgentParamsVectorDatabase]
-
interrupt_sensitivity:
typing.Optional[InterruptSensitivity]
-
context_endpoint:
typing.Optional[str]
-
noise_suppression:
typing.Optional[bool]
-
endpointing_sensitivity:
typing.Optional[AgentParamsEndpointingSensitivity]
-
ivr_navigation_mode:
typing.Optional[AgentParamsIvrNavigationMode]
-
conversation_speed:
typing.Optional[float]
-
initial_message_delay:
typing.Optional[float]
-
openai_model_name_override:
typing.Optional[str]
-
ask_if_human_present_on_idle:
typing.Optional[bool]
-
openai_account_connection:
typing.Optional[AgentParamsOpenaiAccountConnection]
-
run_do_not_call_detection:
typing.Optional[bool]
-
llm_fallback:
typing.Optional[InternalLlmFallback]
-
deepgram_keywords:
typing.Optional[ typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]] ]
-
idle_time_seconds:
typing.Optional[int]
-
llm_temperature:
typing.Optional[float]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.agents.update_agent(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.agents.update_agent( id="id", )
-
-
-
id:
str
-
name:
typing.Optional[AgentUpdateParamsName]
-
prompt:
typing.Optional[AgentUpdateParamsPrompt]
-
language:
typing.Optional[AgentUpdateParamsLanguage]
-
actions:
typing.Optional[AgentUpdateParamsActions]
-
voice:
typing.Optional[AgentUpdateParamsVoice]
-
initial_message:
typing.Optional[AgentUpdateParamsInitialMessage]
-
webhook:
typing.Optional[AgentUpdateParamsWebhook]
-
vector_database:
typing.Optional[AgentUpdateParamsVectorDatabase]
-
interrupt_sensitivity:
typing.Optional[AgentUpdateParamsInterruptSensitivity]
-
context_endpoint:
typing.Optional[AgentUpdateParamsContextEndpoint]
-
noise_suppression:
typing.Optional[AgentUpdateParamsNoiseSuppression]
-
endpointing_sensitivity:
typing.Optional[AgentUpdateParamsEndpointingSensitivity]
-
ivr_navigation_mode:
typing.Optional[AgentUpdateParamsIvrNavigationMode]
-
conversation_speed:
typing.Optional[AgentUpdateParamsConversationSpeed]
-
initial_message_delay:
typing.Optional[AgentUpdateParamsInitialMessageDelay]
-
openai_model_name_override:
typing.Optional[AgentUpdateParamsOpenaiModelNameOverride]
-
ask_if_human_present_on_idle:
typing.Optional[AgentUpdateParamsAskIfHumanPresentOnIdle]
-
openai_account_connection:
typing.Optional[AgentUpdateParamsOpenaiAccountConnection]
-
run_do_not_call_detection:
typing.Optional[AgentUpdateParamsRunDoNotCallDetection]
-
llm_fallback:
typing.Optional[AgentUpdateParamsLlmFallback]
-
deepgram_keywords:
typing.Optional[AgentUpdateParamsDeepgramKeywords]
-
idle_time_seconds:
typing.Optional[AgentUpdateParamsIdleTimeSeconds]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.voices.get_voice(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.voices.get_voice( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.voices.list_voices(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.voices.list_voices()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.voices.create_voice(...)
-
-
-
from vocode import AzureVoiceParams, Vocode client = Vocode( token="YOUR_TOKEN", ) client.voices.create_voice( request=AzureVoiceParams( voice_name="voice_name", ), )
-
-
-
request:
VoiceParamsRequest
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.voices.update_voice(...)
-
-
-
from vocode import AzureVoiceUpdateParams, Vocode client = Vocode( token="YOUR_TOKEN", ) client.voices.update_voice( id="id", request=AzureVoiceUpdateParams(), )
-
-
-
id:
str
-
request:
VoiceUpdateParamsRequest
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.webhooks.get_webhook(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.webhooks.get_webhook( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.webhooks.list_webhooks(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.webhooks.list_webhooks()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.webhooks.create_webhook(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.webhooks.create_webhook( subscriptions=["event_message"], url="url", )
-
-
-
subscriptions:
typing.Sequence[EventType]
-
url:
str
-
method:
typing.Optional[HttpMethod]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.webhooks.update_webhook(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.webhooks.update_webhook( id="id", )
-
-
-
id:
str
-
subscriptions:
typing.Optional[WebhookUpdateParamsSubscriptions]
-
url:
typing.Optional[WebhookUpdateParamsUrl]
-
method:
typing.Optional[WebhookUpdateParamsMethod]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.prompts.get_prompt(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.prompts.get_prompt( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.prompts.list_prompts(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.prompts.list_prompts()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.prompts.create_prompt(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.prompts.create_prompt()
-
-
-
content:
typing.Optional[str]
-
collect_fields:
typing.Optional[typing.Sequence[CollectField]]
-
context_endpoint:
typing.Optional[str]
-
prompt_template:
typing.Optional[PromptParamsPromptTemplate]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.prompts.update_prompt(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.prompts.update_prompt( id="id", )
-
-
-
id:
str
-
content:
typing.Optional[PromptUpdateParamsContent]
-
collect_fields:
typing.Optional[PromptUpdateParamsCollectFields]
-
context_endpoint:
typing.Optional[PromptUpdateParamsContextEndpoint]
-
prompt_template:
typing.Optional[PromptUpdateParamsPromptTemplate]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.vector_databases.get_vector_database(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.vector_databases.get_vector_database( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.vector_databases.list_vector_databases(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.vector_databases.list_vector_databases()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.vector_databases.create_vector_database(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.vector_databases.create_vector_database( index="index", api_key="api_key", api_environment="api_environment", )
-
-
-
index:
str
-
api_key:
str
-
api_environment:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.vector_databases.update_vector_database(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.vector_databases.update_vector_database( id="id", )
-
-
-
id:
str
-
index:
typing.Optional[PineconeVectorDatabaseUpdateParamsIndex]
-
api_key:
typing.Optional[PineconeVectorDatabaseUpdateParamsApiKey]
-
api_environment:
typing.Optional[PineconeVectorDatabaseUpdateParamsApiEnvironment]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.account_connections.get_account_connection(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.account_connections.get_account_connection( id="id", )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.account_connections.list_account_connections(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.account_connections.list_account_connections()
-
-
-
page:
typing.Optional[int]
-
size:
typing.Optional[int]
-
sort_column:
typing.Optional[str]
-
sort_desc:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.account_connections.create_account_connection(...)
-
-
-
from vocode import OpenAiAccountConnectionParams, OpenAiCredentials, Vocode client = Vocode( token="YOUR_TOKEN", ) client.account_connections.create_account_connection( request=OpenAiAccountConnectionParams( credentials=OpenAiCredentials( openai_api_key="openai_api_key", ), ), )
-
-
-
request:
AccountConnectionParamsRequest
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.account_connections.update_account_connection(...)
-
-
-
from vocode import OpenAiAccountConnectionUpdateParams, Vocode client = Vocode( token="YOUR_TOKEN", ) client.account_connections.update_account_connection( id="id", request=OpenAiAccountConnectionUpdateParams(), )
-
-
-
id:
str
-
request:
AccountConnectionUpdateParamsRequest
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.account_connections.add_to_steering_pool(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.account_connections.add_to_steering_pool( id="id", )
-
-
-
id:
str
-
request:
typing.Optional[AddToSteeringPoolBody]
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-
client.account_connections.remove_from_steering_pool(...)
-
-
-
from vocode import Vocode client = Vocode( token="YOUR_TOKEN", ) client.account_connections.remove_from_steering_pool( id="id", phone_number="phone_number", )
-
-
-
id:
str
-
phone_number:
str
-
request_options:
typing.Optional[RequestOptions]
— Request-specific configuration.
-
-