Vapi
vapiVapi is a voice AI platform that enables developers to build, test, and deploy voice agents with natural conversations, real-time responses, and seamless integration capabilities.
Acciones disponibles (42)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Update AssistantVAPI_ASSISTANT_CONTROLLER_UPDATEAcciónTool to update an existing Vapi assistant configuration. Use when you need to modify assistant properties such as name, voice settings, transcriber configuration, model settings, messages, or other behavior parameters. Only include fields you want to update.
VAPI_ASSISTANT_CONTROLLER_UPDATEAcciónTool to update an existing Vapi assistant configuration. Use when you need to modify assistant properties such as name, voice settings, transcriber configuration, model settings, messages, or other behavior parameters. Only include fields you want to update.
Parámetros de entrada
idstringObligatorioThe unique identifier of the assistant to update
namestringThe name of the assistant
modelobjectConfiguration for the LLM model used by the assistant. Includes provider, model name, temperature, and other model-specific settings
voiceobjectConfiguration for the text-to-speech voice. Supports providers like ElevenLabs, PlayHT, Rime, Azure, Cartesia, etc.
metadataobjectCustom metadata object to attach to the assistant. Can contain any key-value pairs for your use
server_urlstringServer URL where assistant events and messages will be sent
transcriberobjectConfiguration for the speech-to-text transcriber. Supports multiple providers like AssemblyAI, Deepgram, Google, Azure, etc. Each provider has specific configuration options
message_planobjectConfiguration for messages to be sent to client and server during the call
monitor_planobjectConfiguration for monitoring the assistant during calls
analysis_planobjectConfiguration for post-call analysis including summary, structured data extraction, and success evaluation
artifact_planobjectConfiguration for artifacts (recordings, transcripts) to be created during or after the call
first_messagestringThe first message that the assistant will say. Can be text or a URL to an audio file (mp3, wav, etc.). If unspecified, assistant will wait for user to speak
hipaa_enabledbooleanWhether HIPAA compliance is enabled for the assistant
credential_idsstring[]List of credential IDs the assistant should use for various integrations
client_messagesstring[]List of message types to send to client SDKs
server_messagesstring[]List of message types to send to server URL
background_soundstringBackground sound in the call. Options: 'off', 'office'. Default is 'office' for phone calls and 'off' for web calls
end_call_messagestringMessage the assistant will say before ending the call
end_call_phrasesstring[]Phrases that will trigger the end of the call when spoken by the user
max_duration_planobjectConfiguration for handling maximum call duration
server_url_secretstringSecret used to authenticate requests to the server URL
voicemail_messagestringMessage the assistant will say if the call goes to voicemail
first_message_modestringMode for the first message. Options: 'assistant-speaks-first', 'assistant-waits-for-user'. Default is 'assistant-speaks-first'
stop_speaking_planobjectPlan for when the assistant should stop talking
backchannel_enabledbooleanWhether backchannel (verbal acknowledgments like 'uh-huh', 'mm-hmm') is enabled
start_speaking_planobjectPlan for when the assistant should start talking, useful for addressing timing and latency issues
max_duration_secondsintegerMaximum number of seconds the call will last, after which it will be ended
response_delay_secondsnumberDelay in seconds before the assistant responds
silence_timeout_secondsintegerNumber of seconds of silence before the call is ended
transport_configurationsobject[]Configuration for transport protocols (SIP, WebRTC, etc.)
llm_request_delay_secondsnumberDelay in seconds before making LLM requests
background_denoising_enabledbooleanWhether background noise filtering is enabled
model_output_in_messages_enabledbooleanWhether to include model output in messages sent to client/server
num_words_to_interrupt_assistantintegerNumber of words user needs to speak to interrupt the assistant
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CallsVAPI_CALL_CONTROLLER_FIND_ALLAcciónTool to list calls from Vapi. Use when you need to retrieve multiple calls with optional filtering by id, assistantId, phoneNumberId, or date ranges. Returns an array of call objects with details including status, costs, messages, and artifacts.
VAPI_CALL_CONTROLLER_FIND_ALLAcciónTool to list calls from Vapi. Use when you need to retrieve multiple calls with optional filtering by id, assistantId, phoneNumberId, or date ranges. Returns an array of call objects with details including status, costs, messages, and artifacts.
Parámetros de entrada
idstringUnique call identifier. Use to filter for a specific call.
limitintegerMaximum number of items to return. Defaults to 100 if not specified. Must be between 0 and 1000.
assistantIdstringReturns calls with the specified assistantId. Use to filter calls by assistant.
createdAtGestringReturns items where createdAt meets or exceeds the specified value. Use ISO 8601 date-time format (e.g., '2024-01-01T00:00:00Z').
createdAtGtstringReturns items where createdAt exceeds the specified value. Use ISO 8601 date-time format (e.g., '2024-01-01T00:00:00Z').
createdAtLestringReturns items where createdAt is at or below the specified value. Use ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').
createdAtLtstringReturns items where createdAt is below the specified value. Use ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').
updatedAtGestringReturns items where updatedAt meets or exceeds the specified value. Use ISO 8601 date-time format (e.g., '2024-01-01T00:00:00Z').
updatedAtGtstringReturns items where updatedAt exceeds the specified value. Use ISO 8601 date-time format (e.g., '2024-01-01T00:00:00Z').
updatedAtLestringReturns items where updatedAt is at or below the specified value. Use ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').
updatedAtLtstringReturns items where updatedAt is below the specified value. Use ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').
phoneNumberIdstringPhone number for the call; for outbound/inbound phone calls only. Use to filter calls by phone number.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ChatVAPI_CHAT_CONTROLLER_DELETE_CHATAcciónTool to delete a chat by its ID from Vapi. Use when you need to permanently remove a chat conversation.
VAPI_CHAT_CONTROLLER_DELETE_CHATAcciónTool to delete a chat by its ID from Vapi. Use when you need to permanently remove a chat conversation.
Parámetros de entrada
idstringObligatorioThe chat identifier to be deleted
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ChatVAPI_CHAT_CONTROLLER_GET_CHATAcciónTool to fetch chat details by ID. Use when you have a chat ID and need full chat information including messages, costs, and configuration.
VAPI_CHAT_CONTROLLER_GET_CHATAcciónTool to fetch chat details by ID. Use when you have a chat ID and need full chat information including messages, costs, and configuration.
Parámetros de entrada
idstringObligatorioThe unique identifier of the chat to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Analytics QueriesVAPI_CREATE_ANALYTICS_QUERYAcciónTool to create and execute analytics queries on VAPI data. Use when you need to analyze call or subscription metrics with aggregations like count, sum, average, min, or max. Supports grouping by various dimensions and time-based analysis with custom time ranges.
VAPI_CREATE_ANALYTICS_QUERYAcciónTool to create and execute analytics queries on VAPI data. Use when you need to analyze call or subscription metrics with aggregations like count, sum, average, min, or max. Supports grouping by various dimensions and time-based analysis with custom time ranges.
Parámetros de entrada
queriesobject[]ObligatorioList of analytics queries to execute. Each query must have a unique name, specify a table, and define operations to perform
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AssistantVAPI_CREATE_ASSISTANTAcciónTool to create a new Vapi assistant with specified transcriber, voice, and AI model configurations. Use when setting up a conversational AI assistant for voice interactions. The assistant requires transcription (speech-to-text), voice (text-to-speech), and AI model (conversation logic) configurations at minimum.
VAPI_CREATE_ASSISTANTAcciónTool to create a new Vapi assistant with specified transcriber, voice, and AI model configurations. Use when setting up a conversational AI assistant for voice interactions. The assistant requires transcription (speech-to-text), voice (text-to-speech), and AI model (conversation logic) configurations at minimum.
Parámetros de entrada
namestringAssistant identifier/name for easy reference and organization
modelobjectObligatorioAI model for conversation logic (e.g., OpenAI GPT-4, Claude). Define the provider, model name, and initial messages including system prompts to control assistant behavior.
voiceobjectObligatorioText-to-speech settings with provider and voiceId. Select a provider like 11labs, Azure, or OpenAI and specify the voice identifier for the assistant's speech output.
transcriberobjectObligatorioSpeech-to-text configuration. Choose from providers: AssemblyAI, Azure Speech, Deepgram, ElevenLabs, Gladia, Google, OpenAI, Cartesia, Speechmatics, Talkscriber, or Custom. Configure the model and language for optimal transcription.
firstMessagestringInitial greeting message the assistant will say when the conversation starts
systemPromptstringInstructions for AI behavior and personality. Alternative to including system message in model.messages field.
clientMessagesstring[]List of message types to relay to the client application
serverMessagesstring[]List of message types to send to the server webhook
maxDurationSecondsintegerMaximum call duration in seconds before automatic termination
voicemailDetectionobjectVoicemail detection configuration.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create EvalVAPI_CREATE_EVALAcciónTool to create an eval for testing conversation flows. Use when you need to validate that an AI assistant responds correctly to specific conversation scenarios.
VAPI_CREATE_EVALAcciónTool to create an eval for testing conversation flows. Use when you need to validate that an AI assistant responds correctly to specific conversation scenarios.
Parámetros de entrada
namestringName of the eval to help identify what the eval is checking for
typestringObligatorioType of the eval. Currently fixed to 'chat.mockConversation'
messagesobject[]ObligatorioMock conversation messages for evaluating the conversation flow. Mock Messages simulate the conversation flow, and Evaluation Messages are checkpoints where the model's response is evaluated for content and tool calls
descriptionstringDescription of the eval and its purpose in detail. Not used to evaluate the conversation flow
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create OpenAI ChatVAPI_CREATE_OPEN_AI_CHATAcciónTool to create an OpenAI-compatible chat using the Vapi API. Use when you need to send a chat message to an assistant or squad and receive a response. Supports both streaming and non-streaming modes.
VAPI_CREATE_OPEN_AI_CHATAcciónTool to create an OpenAI-compatible chat using the Vapi API. Use when you need to send a chat message to an assistant or squad and receive a response. Supports both streaming and non-streaming modes.
Parámetros de entrada
namestringThe name of the chat. This is just for your own reference.
inputanyObligatorioThe input text for the chat. Can be a string or an array of chat messages. This field is required for chat creation.
squadobjectThe squad configuration object that will be used for the chat. Use this to define a transient squad. Mutually exclusive with 'squadId' field.
streambooleanWhether to stream the response or not. Defaults to true.
squadIdstringThe squad ID that will be used for the chat. Use this to reference an existing squad. Mutually exclusive with 'squad' field.
assistantobjectThe assistant configuration object that will be used for the chat. Use this to define a transient assistant. Mutually exclusive with 'assistantId' field.
sessionIdstringThe ID of the session that will be used for the chat. Mutually exclusive with 'previousChatId' and transport fields (phoneNumberId/customer).
transportobjectUsed to send the chat through a transport like SMS. If transport.phoneNumberId and transport.customer are provided, creates a new session. Cannot specify both sessionId and transport fields (phoneNumberId/customer) together.
assistantIdstringThe assistant ID that will be used for the chat. Use this to reference an existing assistant. Mutually exclusive with 'assistant' field.
previousChatIdstringThe ID of the chat that will be used as context for the new chat. The messages from the previous chat will be used as context. Mutually exclusive with 'sessionId'.
assistantOverridesobjectVariable values that will be used to replace template variables in the assistant messages. Only variable substitution is supported in chat contexts - other assistant properties cannot be overridden.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Phone NumberVAPI_CREATE_PHONE_NUMBERAcciónTool to create a phone number with Vapi. Supports multiple providers including byo-phone-number, twilio, vonage, vapi, and telnyx. Use this to provision new phone numbers for handling voice calls. For vapi provider, only provider field is required; other fields are optional based on provider type.
VAPI_CREATE_PHONE_NUMBERAcciónTool to create a phone number with Vapi. Supports multiple providers including byo-phone-number, twilio, vonage, vapi, and telnyx. Use this to provision new phone numbers for handling voice calls. For vapi provider, only provider field is required; other fields are optional based on provider type.
Parámetros de entrada
namestringName for reference. Optional field to give a human-readable name to this phone number for easier identification.
numberstringPhone number in E.164 format (e.g., +1234567890). Required for twilio, vonage, and telnyx providers. Optional for byo-phone-number.
squadIdstringSquad ID for incoming calls. When provided, incoming calls to this phone number will be handled by this squad. Mutually exclusive with assistantId and workflowId.
providerstringObligatorioenumPhone number provider type. Required for all phone number types.
byo-phone-numbertwiliovonagevapitelnyxworkflowIdstringWorkflow ID for incoming calls. When provided, incoming calls to this phone number will be handled by this workflow. Mutually exclusive with assistantId and squadId.
assistantIdstringAssistant ID for incoming calls. When provided, incoming calls to this phone number will be handled by this assistant. Mutually exclusive with squadId and workflowId.
credentialIdstringCredential ID. Required for byo-phone-number, vonage, and telnyx providers. This credential identifies the authentication to use with the provider.
twilioAccountSidstringTwilio Account SID. Required when using twilio provider. This identifies your Twilio account.
numberDesiredAreaCodestringDesired area code for vapi provider. Only applicable when provider is 'vapi'. Vapi will attempt to provision a phone number with this area code.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Monitoring PolicyVAPI_CREATE_POLICYAcciónTool to create a monitoring policy in VAPI. Use when you need to set up automated monitoring rules based on thresholds and time windows. Policies can trigger alerts based on event counts or percentages over a specified lookback window.
VAPI_CREATE_POLICYAcciónTool to create a monitoring policy in VAPI. Use when you need to set up automated monitoring rules based on thresholds and time windows. Policies can trigger alerts based on event counts or percentages over a specified lookback window.
Parámetros de entrada
namestringObligatorioPolicy identifier name. This should be a descriptive name for the policy.
intervalobjectInterval-based scheduling configuration for policy execution.
scheduleobjectCron-like scheduling configuration for policy execution.
severitystringObligatorioenumSeverity level of the policy. Use 'error' for critical issues, 'warning' for concerning patterns, or 'info' for informational alerts.
errorwarninginfothresholdobjectObligatorioThreshold configuration that defines when the policy should trigger.
monitorIdsstring[]List of monitor identifiers to associate with this policy.
lookbackWindowMinutesintegerObligatorioTime window in minutes for querying events. This defines how far back to look when evaluating the policy.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Provider ResourceVAPI_CREATE_PROVIDER_RESOURCEAcciónTool to create an 11Labs pronunciation dictionary resource. Use when you need to define custom pronunciations for specific terms or acronyms in voice synthesis.
VAPI_CREATE_PROVIDER_RESOURCEAcciónTool to create an 11Labs pronunciation dictionary resource. Use when you need to define custom pronunciations for specific terms or acronyms in voice synthesis.
Parámetros de entrada
namestringObligatorioName of the pronunciation dictionary to create.
rulesarrayObligatorioArray of pronunciation rules. Each rule must specify a 'stringToReplace' and 'type' (either 'phoneme' or 'alias'). For phoneme rules, include 'phoneme' and 'alphabet' fields. For alias rules, include an 'alias' field.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ScorecardVAPI_CREATE_SCORECARDAcciónTool to create a scorecard for observability and evaluation. Use when setting up metrics to evaluate assistant performance based on structured outputs. Scorecards contain metrics with conditions that calculate normalized scores on a 100-point scale.
VAPI_CREATE_SCORECARDAcciónTool to create a scorecard for observability and evaluation. Use when setting up metrics to evaluate assistant performance based on structured outputs. Scorecards contain metrics with conditions that calculate normalized scores on a 100-point scale.
Parámetros de entrada
namestringName of the scorecard for user reference. This is not used for any evaluation, only for identification purposes.
metricsobject[]ObligatorioArray of ScorecardMetric objects containing structuredOutputId and conditions for scoring. Each metric will have a set of conditions and points used to generate the score.
descriptionstringDescription of the scorecard for user reference. This is not used for any evaluation.
assistantIdsstring[]Assistant IDs that this scorecard is linked to. When linked to assistants, this scorecard will be available for evaluation during those assistants' calls.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete CallVAPI_DELETE_CALLAcciónTool to delete a call by its unique identifier. Use when you need to remove call data from the system. Returns the deleted call object with all its associated data.
VAPI_DELETE_CALLAcciónTool to delete a call by its unique identifier. Use when you need to remove call data from the system. Returns the deleted call object with all its associated data.
Parámetros de entrada
idstringObligatorioThe unique identifier of the call to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete EvalVAPI_DELETE_EVALAcciónTool to delete an eval by ID. Use when you need to permanently remove an eval from the system.
VAPI_DELETE_EVALAcciónTool to delete an eval by ID. Use when you need to permanently remove an eval from the system.
Parámetros de entrada
idstringObligatorioThe unique identifier of the eval to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Phone NumberVAPI_DELETE_PHONE_NUMBERAcciónTool to delete a phone number from Vapi. Use when you need to remove a phone number from your Vapi organization. Returns the deleted phone number object.
VAPI_DELETE_PHONE_NUMBERAcciónTool to delete a phone number from Vapi. Use when you need to remove a phone number from your Vapi organization. Returns the deleted phone number object.
Parámetros de entrada
idstringObligatorioThe unique identifier for the phone number to be removed.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get EvalVAPI_EVAL_CONTROLLER_GETAcciónTool to retrieve an eval by its ID. Use when you need to fetch details about a specific eval including its mock conversation messages and metadata.
VAPI_EVAL_CONTROLLER_GETAcciónTool to retrieve an eval by its ID. Use when you need to fetch details about a specific eval including its mock conversation messages and metadata.
Parámetros de entrada
idstringObligatorioThe unique identifier of the eval to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Eval RunVAPI_EVAL_CONTROLLER_REMOVE_RUNAcciónTool to delete an eval run by its ID from Vapi. Use when you need to permanently remove an evaluation run.
VAPI_EVAL_CONTROLLER_REMOVE_RUNAcciónTool to delete an eval run by its ID from Vapi. Use when you need to permanently remove an evaluation run.
Parámetros de entrada
idstringObligatorioThe unique identifier of the eval run to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update EvalVAPI_EVAL_CONTROLLER_UPDATEAcciónTool to update an existing eval in Vapi. Use when you need to modify eval properties like name, description, type, or mock conversation messages.
VAPI_EVAL_CONTROLLER_UPDATEAcciónTool to update an existing eval in Vapi. Use when you need to modify eval properties like name, description, type, or mock conversation messages.
Parámetros de entrada
idstringObligatorioThe ID of the eval to update
namestringThis is the name of the eval. It helps identify what the eval is checking for.
typestringThis is the type of the eval. Currently it is fixed to 'chat.mockConversation'.
messagesobject[]This is the mock conversation that will be used to evaluate the flow of the conversation. Mock Messages are used to simulate the flow of the conversation. Evaluation Messages are used as checkpoints in the flow where the model's response to previous conversation needs to be evaluated to check the content and tool calls.
descriptionstringThis is the description of the eval. This helps describe the eval and its purpose in detail. It will not be used to evaluate the flow of the conversation.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AssistantVAPI_GET_ASSISTANTAcciónTool to retrieve a specific assistant by ID from Vapi. Use when you need to fetch details about an existing assistant.
VAPI_GET_ASSISTANTAcciónTool to retrieve a specific assistant by ID from Vapi. Use when you need to fetch details about an existing assistant.
Parámetros de entrada
idstringObligatorioThe unique identifier of the assistant to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CallVAPI_GET_CALLAcciónTool to fetch call details by ID. Use when you have a call ID and need full call information including status, duration, costs, messages, and recordings.
VAPI_GET_CALLAcciónTool to fetch call details by ID. Use when you have a call ID and need full call information including status, duration, costs, messages, and recordings.
Parámetros de entrada
idstringObligatorioUnique identifier of the call to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get FileVAPI_GET_FILEAcciónTool to retrieve a file by its ID from Vapi. Use when you need to get details about a specific file including its status, metadata, storage location, and timestamps.
VAPI_GET_FILEAcciónTool to retrieve a file by its ID from Vapi. Use when you need to get details about a specific file including its status, metadata, storage location, and timestamps.
Parámetros de entrada
idstringObligatorioIdentifier for the file to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get InsightsVAPI_GET_INSIGHTAcciónTool to retrieve insights from Vapi. Use when you need to fetch insight data with optional filtering by ID, timestamps, or pagination. Returns a paginated list of insights with metadata.
VAPI_GET_INSIGHTAcciónTool to retrieve insights from Vapi. Use when you need to fetch insight data with optional filtering by ID, timestamps, or pagination. Returns a paginated list of insights with metadata.
Parámetros de entrada
idstringFilter by specific insight ID to retrieve a single insight
pageintegerPage number to return for paginated results. Defaults to 1 if not specified
limitintegerMaximum number of insights to return per page. Defaults to 100 if not specified
sortOrderstringenumSort order for pagination results. ASC for ascending, DESC for descending. Defaults to DESC if not specified
ASCDESCcreatedAtGestringFilter insights created on or after this timestamp (greater than or equal). Use ISO 8601 datetime format
createdAtGtstringFilter insights created after this timestamp (greater than). Use ISO 8601 datetime format
createdAtLestringFilter insights created on or before this timestamp (less than or equal). Use ISO 8601 datetime format
createdAtLtstringFilter insights created before this timestamp (less than). Use ISO 8601 datetime format
updatedAtGestringFilter insights updated on or after this timestamp (greater than or equal). Use ISO 8601 datetime format
updatedAtGtstringFilter insights updated after this timestamp (greater than). Use ISO 8601 datetime format
updatedAtLestringFilter insights updated on or before this timestamp (less than or equal). Use ISO 8601 datetime format
updatedAtLtstringFilter insights updated before this timestamp (less than). Use ISO 8601 datetime format
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Monitoring PoliciesVAPI_GET_MONITORINGAcciónTool to retrieve monitoring policies from Vapi. Use when you need to list, filter, or search for monitoring policies configured in the organization. Supports filtering by policy ID, severity level, monitor ID, and date ranges for creation/update timestamps.
VAPI_GET_MONITORINGAcciónTool to retrieve monitoring policies from Vapi. Use when you need to list, filter, or search for monitoring policies configured in the organization. Supports filtering by policy ID, severity level, monitor ID, and date ranges for creation/update timestamps.
Parámetros de entrada
idstringReturns policies with the specified id
pageintegerPage number for pagination (defaults to 1)
limitintegerMaximum number of items returned per page (defaults to 100)
severitystringenumFilters by severity level. Must be one of: error, warning, or info
errorwarninginfomonitor_idstringReturns policies associated with the specified monitor ID
sort_orderstringenumSort order for pagination. Must be either ASC or DESC (defaults to DESC)
ASCDESCcreated_at_gestringFilter to return items where createdAt is greater than or equal to this ISO 8601 date-time value
created_at_gtstringFilter to return items where createdAt is greater than this ISO 8601 date-time value
created_at_lestringFilter to return items where createdAt is less than or equal to this ISO 8601 date-time value
created_at_ltstringFilter to return items where createdAt is less than this ISO 8601 date-time value
updated_at_gestringFilter to return items where updatedAt is greater than or equal to this ISO 8601 date-time value
updated_at_gtstringFilter to return items where updatedAt is greater than this ISO 8601 date-time value
updated_at_lestringFilter to return items where updatedAt is less than or equal to this ISO 8601 date-time value
updated_at_ltstringFilter to return items where updatedAt is less than this ISO 8601 date-time value
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Observability ScorecardVAPI_GET_OBSERVABILITY_SCORECARDAcciónTool to list observability scorecards with optional filtering and pagination. Use when you need to retrieve scorecards for monitoring or analysis.
VAPI_GET_OBSERVABILITY_SCORECARDAcciónTool to list observability scorecards with optional filtering and pagination. Use when you need to retrieve scorecards for monitoring or analysis.
Parámetros de entrada
idstringFilter by scorecard identifier
pageintegerPage number to return. Defaults to 1.
limitintegerMaximum number of items to return. Defaults to 100.
sortOrderstringSort direction (ASC or DESC). Defaults to DESC.
createdAtGestringItems where createdAt meets or exceeds specified value (ISO 8601 date-time)
createdAtGtstringItems where createdAt exceeds specified value (ISO 8601 date-time)
createdAtLestringItems where createdAt is at or below specified value (ISO 8601 date-time)
createdAtLtstringItems where createdAt is below specified value (ISO 8601 date-time)
updatedAtGestringItems where updatedAt meets or exceeds specified value (ISO 8601 date-time)
updatedAtGtstringItems where updatedAt exceeds specified value (ISO 8601 date-time)
updatedAtLestringItems where updatedAt is at or below specified value (ISO 8601 date-time)
updatedAtLtstringItems where updatedAt is below specified value (ISO 8601 date-time)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Provider ResourcesVAPI_GET_PROVIDER_RESOURCESAcciónTool to list provider resources from Vapi. Use when you need to retrieve pronunciation dictionaries or other resources from providers like 11labs or Cartesia.
VAPI_GET_PROVIDER_RESOURCESAcciónTool to list provider resources from Vapi. Use when you need to retrieve pronunciation dictionaries or other resources from providers like 11labs or Cartesia.
Parámetros de entrada
idstringResource identifier to filter by
pageintegerPage number for pagination (defaults to 1, minimum: 1)
limitintegerMaximum items to return (defaults to 100, range: 0-1000)
providerstringObligatorioThe provider identifier (e.g., '11labs', 'cartesia')
sort_orderstringenumSort direction: ASC or DESC (defaults to DESC)
ASCDESCresource_idstringProvider-specific resource identifier to filter by
created_at_gtstringFilter by creation date greater than (ISO 8601 date-time format)
created_at_ltstringFilter by creation date less than (ISO 8601 date-time format)
resource_namestringObligatorioThe resource type (e.g., 'pronunciation-dictionary')
updated_at_gtstringFilter by update date greater than (ISO 8601 date-time format)
updated_at_ltstringFilter by update date less than (ISO 8601 date-time format)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Structured OutputsVAPI_GET_STRUCTURED_OUTPUTSAcciónTool to list structured outputs with optional filtering. Use when you need to retrieve structured output configurations with pagination support. Supports filtering by ID, name, timestamps, and includes pagination controls.
VAPI_GET_STRUCTURED_OUTPUTSAcciónTool to list structured outputs with optional filtering. Use when you need to retrieve structured output configurations with pagination support. Supports filtering by ID, name, timestamps, and includes pagination controls.
Parámetros de entrada
idstringFilters results where the identifier matches the specified value
namestringFilters results where the name matches the specified value
pageintegerPage number for results (defaults to 1)
limitintegerMaximum items returned per request (defaults to 100)
sortOrderstringSort direction for pagination. Must be 'ASC' or 'DESC' (defaults to DESC)
createdAtGestringReturns items created on or after the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
createdAtGtstringReturns items created after the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
createdAtLestringReturns items created on or before the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
createdAtLtstringReturns items created before the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
updatedAtGestringReturns items updated on or after the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
updatedAtGtstringReturns items updated after the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
updatedAtLestringReturns items updated on or before the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
updatedAtLtstringReturns items updated before the specified timestamp. Must be in ISO 8601 date-time format (e.g., '2024-01-15T10:30:00Z')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get InsightsVAPI_INSIGHT_CONTROLLER_FIND_ALLAcciónTool to retrieve insights from VAPI. Use when you need to list insights with optional filtering by ID, creation date, or update date. Supports pagination and sorting.
VAPI_INSIGHT_CONTROLLER_FIND_ALLAcciónTool to retrieve insights from VAPI. Use when you need to list insights with optional filtering by ID, creation date, or update date. Supports pagination and sorting.
Parámetros de entrada
idstringFilter by insight ID
pageintegerPage number to return. Defaults to 1
limitintegerMaximum number of items to return. Defaults to 100
sortOrderstringenumSort order for pagination. Defaults to 'DESC'
ASCDESCcreatedAtGestringReturn items where createdAt is greater than or equal to the specified value. Should be ISO 8601 datetime string
createdAtGtstringReturn items where createdAt is greater than the specified value. Should be ISO 8601 datetime string
createdAtLestringReturn items where createdAt is less than or equal to the specified value. Should be ISO 8601 datetime string
createdAtLtstringReturn items where createdAt is less than the specified value. Should be ISO 8601 datetime string
updatedAtGestringReturn items where updatedAt is greater than or equal to the specified value. Should be ISO 8601 datetime string
updatedAtGtstringReturn items where updatedAt is greater than the specified value. Should be ISO 8601 datetime string
updatedAtLestringReturn items where updatedAt is less than or equal to the specified value. Should be ISO 8601 datetime string
updatedAtLtstringReturn items where updatedAt is less than the specified value. Should be ISO 8601 datetime string
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AssistantsVAPI_LIST_ASSISTANTSAcciónTool to list all assistants in your VAPI organization. Use when you need to retrieve information about configured assistants. Supports filtering by creation and update timestamps.
VAPI_LIST_ASSISTANTSAcciónTool to list all assistants in your VAPI organization. Use when you need to retrieve information about configured assistants. Supports filtering by creation and update timestamps.
Parámetros de entrada
limitintegerMaximum number of assistants to return. If not specified, returns all assistants.
createdAtGestringFilter for assistants created at or after this ISO 8601 date-time string.
createdAtGtstringFilter for assistants created after this ISO 8601 date-time string.
createdAtLestringFilter for assistants created at or before this ISO 8601 date-time string.
createdAtLtstringFilter for assistants created before this ISO 8601 date-time string.
updatedAtGestringFilter for assistants updated at or after this ISO 8601 date-time string.
updatedAtGtstringFilter for assistants updated after this ISO 8601 date-time string.
updatedAtLestringFilter for assistants updated at or before this ISO 8601 date-time string.
updatedAtLtstringFilter for assistants updated before this ISO 8601 date-time string.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ChatsVAPI_LIST_CHATSAcciónTool to retrieve a list of chat conversations from VAPI. Use when you need to view existing chats, optionally filtered by assistant, squad, session, or time range. Supports pagination and sorting for efficient retrieval of large chat histories.
VAPI_LIST_CHATSAcciónTool to retrieve a list of chat conversations from VAPI. Use when you need to view existing chats, optionally filtered by assistant, squad, session, or time range. Supports pagination and sorting for efficient retrieval of large chat histories.
Parámetros de entrada
idstringFilter by specific chat identifier
pageintegerPage number for pagination (defaults to 1)
limitintegerMaximum number of items to return (defaults to 100, max 1000)
squad_idstringFilter by squad identifier
session_idstringFilter by session identifier
sort_orderstringSort direction: ASC or DESC (defaults to DESC)
assistant_idstringFilter by assistant identifier
created_at_gestringFilter chats created at or after this timestamp
created_at_gtstringFilter chats created after this timestamp
created_at_lestringFilter chats created at or before this timestamp
created_at_ltstringFilter chats created before this timestamp
updated_at_gestringFilter chats updated at or after this timestamp
updated_at_gtstringFilter chats updated after this timestamp
updated_at_lestringFilter chats updated at or before this timestamp
updated_at_ltstringFilter chats updated before this timestamp
assistant_id_anystringFilter by multiple assistant IDs (comma-separated)
previous_chat_idstringFilter by previous chat identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List EvalsVAPI_LIST_EVALSAcciónTool to retrieve a paginated list of evals from Vapi. Use when you need to list or search evals with optional filtering by creation/update timestamps.
VAPI_LIST_EVALSAcciónTool to retrieve a paginated list of evals from Vapi. Use when you need to list or search evals with optional filtering by creation/update timestamps.
Parámetros de entrada
idstringFilter by eval ID.
pageintegerPage number to return. Defaults to 1.
limitintegerMaximum number of items to return. Defaults to 100.
sort_orderstringenumSort order for pagination. Defaults to 'DESC'.
ASCDESCcreated_at_gestringReturn items where createdAt is greater than or equal to the specified value.
created_at_gtstringReturn items where createdAt is greater than the specified value.
created_at_lestringReturn items where createdAt is less than or equal to the specified value.
created_at_ltstringReturn items where createdAt is less than the specified value.
updated_at_gestringReturn items where updatedAt is greater than or equal to the specified value.
updated_at_gtstringReturn items where updatedAt is greater than the specified value.
updated_at_lestringReturn items where updatedAt is less than or equal to the specified value.
updated_at_ltstringReturn items where updatedAt is less than the specified value.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Provider ResourcesVAPI_LIST_PROVIDER_RESOURCESAcciónTool to retrieve provider resources from Vapi (e.g., 11labs pronunciation dictionaries). Use when you need to list or search provider-specific resources with optional filtering by timestamps.
VAPI_LIST_PROVIDER_RESOURCESAcciónTool to retrieve provider resources from Vapi (e.g., 11labs pronunciation dictionaries). Use when you need to list or search provider-specific resources with optional filtering by timestamps.
Parámetros de entrada
idstringFilter by resource ID.
pageintegerPage number to return. Defaults to 1.
limitintegerMaximum number of items to return. Defaults to 100.
providerstringObligatorioenumThe provider to query resources from (e.g., '11labs' or 'cartesia').
cartesia11labssort_orderstringenumSort order for pagination. Defaults to 'DESC'.
ASCDESCresource_idstringFilter by provider's resource ID.
created_at_gestringReturn items where createdAt is greater than or equal to the specified value.
created_at_gtstringReturn items where createdAt is greater than the specified value.
created_at_lestringReturn items where createdAt is less than or equal to the specified value.
created_at_ltstringReturn items where createdAt is less than the specified value.
resource_namestringObligatorioThe name of the resource type to query (e.g., 'pronunciation-dictionary').
updated_at_gestringReturn items where updatedAt is greater than or equal to the specified value.
updated_at_gtstringReturn items where updatedAt is greater than the specified value.
updated_at_lestringReturn items where updatedAt is less than or equal to the specified value.
updated_at_ltstringReturn items where updatedAt is less than the specified value.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update InsightVAPI_PATCH_INSIGHT_INSIGHTAcciónTool to update an existing insight configuration in VAPI. Use when you need to modify insight properties like name, queries, time range, or visualization settings. Supports all four insight types (bar, pie, line, text) with type-specific configurations.
VAPI_PATCH_INSIGHT_INSIGHTAcciónTool to update an existing insight configuration in VAPI. Use when you need to modify insight properties like name, queries, time range, or visualization settings. Supports all four insight types (bar, pie, line, text) with type-specific configurations.
Parámetros de entrada
idstringObligatorioUnique identifier of the insight to update
namestringDisplay name for the insight
typestringObligatorioenumType of insight visualization: 'bar' for bar chart, 'pie' for pie chart, 'line' for line chart, 'text' for text/numeric display
barpielinetextformulaobjectSingle formula object for text insights when using multiple queries
groupBystringenumField to group results by. Use for breaking down data by specific dimensions. Can also use 'artifact.structuredOutputs[OutputID]' format
assistantIdworkflowIdsquadIdphoneNumberIdtypeendedReasoncampaignIdqueriesobject[]ObligatorioArray of query definitions. Text insights with multiple queries require a formula. Other types support multiple queries
formulasobject[]Array of formulas for computed values. Available for bar, pie, and line insights
metadataobjectMetadata for chart configuration (bar and line insights only).
timeRangeanyTime range for the insight data. Bar and line insights support 'step' field for granularity
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Phone NumberVAPI_PHONE_NUMBER_CONTROLLER_CREATEAcciónTool to create a phone number with VAPI. Use when you need to provision a new phone number for voice AI applications. Supports multiple providers (VAPI, Twilio, Vonage, Telnyx, BYO). Required parameters vary by provider.
VAPI_PHONE_NUMBER_CONTROLLER_CREATEAcciónTool to create a phone number with VAPI. Use when you need to provision a new phone number for voice AI applications. Supports multiple providers (VAPI, Twilio, Vonage, Telnyx, BYO). Required parameters vary by provider.
Parámetros de entrada
namestringFriendly name for the phone number for your reference
numberstringPhone number in E.164 format. Required for Twilio, Vonage, and Telnyx providers. Not used for VAPI provider
sip_uristringSIP URI for the phone number. Only applicable for VAPI provider
providerstringObligatorioenumPhone number provider. Required for all phone number creations. Options: 'byo-phone-number' (bring your own), 'twilio', 'vonage', 'vapi', or 'telnyx'
byo-phone-numbertwiliovonagevapitelnyxsquad_idstringID of the squad to associate with this phone number. Only one of assistantId, squadId, or workflowId can be set
sms_enabledbooleanEnable SMS functionality for the phone number. Only applicable for Twilio provider
workflow_idstringID of the workflow to associate with this phone number. Only one of assistantId, squadId, or workflowId can be set
assistant_idstringID of the assistant to associate with this phone number. Only one of assistantId, squadId, or workflowId can be set
credential_idstringCredential ID for authentication. Required for BYO (bring your own), Vonage, and Telnyx providers. Not used for VAPI or Twilio providers
twilio_api_keystringTwilio API Key. Optional when using Twilio provider
twilio_api_secretstringTwilio API Secret. Optional when using Twilio provider
twilio_auth_tokenstringTwilio Auth Token for authentication. Optional when using Twilio provider
twilio_account_sidstringTwilio Account SID. Required only when using Twilio provider
number_desired_area_codestringDesired area code for the phone number when using VAPI provider to automatically provision a number
number_e164_check_enabledbooleanEnable E.164 format validation for phone numbers. Only applicable for BYO provider
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ScorecardsVAPI_SCORECARD_CONTROLLER_GET_PAGINATEDAcciónTool to retrieve a paginated list of scorecards from Vapi. Use when you need to list or search scorecards with optional filtering by creation/update timestamps.
VAPI_SCORECARD_CONTROLLER_GET_PAGINATEDAcciónTool to retrieve a paginated list of scorecards from Vapi. Use when you need to list or search scorecards with optional filtering by creation/update timestamps.
Parámetros de entrada
idstringFilter by scorecard identifier.
pageintegerPage number to return. Defaults to 1.
limitintegerMaximum number of items to return. Defaults to 100.
sortOrderstringenumSort order for pagination. Defaults to 'DESC'.
ASCDESCcreatedAtGestringReturn items where createdAt is greater than or equal to the specified value. Use ISO 8601 datetime format.
createdAtGtstringReturn items where createdAt is greater than the specified value. Use ISO 8601 datetime format.
createdAtLestringReturn items where createdAt is less than or equal to the specified value. Use ISO 8601 datetime format.
createdAtLtstringReturn items where createdAt is less than the specified value. Use ISO 8601 datetime format.
updatedAtGestringReturn items where updatedAt is greater than or equal to the specified value. Use ISO 8601 datetime format.
updatedAtGtstringReturn items where updatedAt is greater than the specified value. Use ISO 8601 datetime format.
updatedAtLestringReturn items where updatedAt is less than or equal to the specified value. Use ISO 8601 datetime format.
updatedAtLtstringReturn items where updatedAt is less than the specified value. Use ISO 8601 datetime format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SessionVAPI_SESSION_CONTROLLER_CREATEAcciónTool to create a new session in Vapi. Use when you need to establish a persistent conversation context that can span multiple chats. Sessions automatically expire after 24 hours.
VAPI_SESSION_CONTROLLER_CREATEAcciónTool to create a new session in Vapi. Use when you need to establish a persistent conversation context that can span multiple chats. Sessions automatically expire after 24 hours.
Parámetros de entrada
namestringName of the session for easy reference. Maximum length is 40 characters.
assistantobjectInline assistant configuration for session creation.
assistantIdstringID of a pre-configured assistant to use. Provide either assistantId or assistant object.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SessionsVAPI_SESSION_CONTROLLER_FIND_ALL_PAGINATEDAcciónTool to retrieve a paginated list of sessions from VAPI. Use when you need to list sessions with optional filtering by session ID, name, assistant, squad, or workflow. Supports pagination, sorting, and timestamp-based filtering.
VAPI_SESSION_CONTROLLER_FIND_ALL_PAGINATEDAcciónTool to retrieve a paginated list of sessions from VAPI. Use when you need to list sessions with optional filtering by session ID, name, assistant, squad, or workflow. Supports pagination, sorting, and timestamp-based filtering.
Parámetros de entrada
idstringUnique identifier for the session to filter by
namestringName of the session to filter by
pageintegerPage number for results; defaults to 1
limitintegerMaximum items to return; defaults to 100
squadIdstringID of the squad to filter sessions by
sortOrderstringenumSort order (ASC/DESC); defaults to DESC
ASCDESCworkflowIdstringID of the workflow to filter sessions by
assistantIdstringID of the assistant to filter sessions by
createdAtGestringItems where createdAt is greater than or equal to value. Use ISO 8601 datetime format
createdAtGtstringItems where createdAt is greater than specified value. Use ISO 8601 datetime format
createdAtLestringItems where createdAt is less than or equal to value. Use ISO 8601 datetime format
createdAtLtstringItems where createdAt is less than specified value. Use ISO 8601 datetime format
updatedAtGestringItems where updatedAt is greater than or equal to value. Use ISO 8601 datetime format
updatedAtGtstringItems where updatedAt is greater than specified value. Use ISO 8601 datetime format
updatedAtLestringItems where updatedAt is less than or equal to value. Use ISO 8601 datetime format
updatedAtLtstringItems where updatedAt is less than specified value. Use ISO 8601 datetime format
assistantIdAnystringFilter by multiple assistant IDs. Provide as comma-separated values
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Structured OutputsVAPI_STRUCTURED_OUTPUT_CONTROLLER_FIND_ALLAcciónTool to list structured outputs with optional filtering and pagination. Use when you need to retrieve structured output configurations from Vapi.
VAPI_STRUCTURED_OUTPUT_CONTROLLER_FIND_ALLAcciónTool to list structured outputs with optional filtering and pagination. Use when you need to retrieve structured output configurations from Vapi.
Parámetros de entrada
idstringFilter results where the id matches the specified value.
namestringFilter results where the name matches the specified value.
pageintegerPage number to return. Defaults to 1.
limitintegerMaximum number of items to return. Defaults to 100.
sortOrderstringenumSort order for pagination. Must be 'ASC' or 'DESC'. Defaults to 'DESC'.
ASCDESCcreatedAtGestringReturn items where createdAt is greater than or equal to the specified value. Use ISO 8601 date-time format.
createdAtGtstringReturn items where createdAt is greater than the specified value. Use ISO 8601 date-time format.
createdAtLestringReturn items where createdAt is less than or equal to the specified value. Use ISO 8601 date-time format.
createdAtLtstringReturn items where createdAt is less than the specified value. Use ISO 8601 date-time format.
updatedAtGestringReturn items where updatedAt is greater than or equal to the specified value. Use ISO 8601 date-time format.
updatedAtGtstringReturn items where updatedAt is greater than the specified value. Use ISO 8601 date-time format.
updatedAtLestringReturn items where updatedAt is less than or equal to the specified value. Use ISO 8601 date-time format.
updatedAtLtstringReturn items where updatedAt is less than the specified value. Use ISO 8601 date-time format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ToolVAPI_TOOL_CONTROLLER_FIND_ONEAcciónTool to fetch tool details by ID. Use when you have a tool ID and need full tool configuration including type, messages, function definitions, and server settings.
VAPI_TOOL_CONTROLLER_FIND_ONEAcciónTool to fetch tool details by ID. Use when you have a tool ID and need full tool configuration including type, messages, function definitions, and server settings.
Parámetros de entrada
idstringObligatorioThe unique identifier of the tool to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Test Code Tool ExecutionVAPI_TOOL_CONTROLLER_TEST_CODE_EXECUTIONAcciónTool to test TypeScript code execution in Vapi's code tool environment. Use when validating code before deploying it as a tool.
VAPI_TOOL_CONTROLLER_TEST_CODE_EXECUTIONAcciónTool to test TypeScript code execution in Vapi's code tool environment. Use when validating code before deploying it as a tool.
Parámetros de entrada
codestringObligatorioTypeScript code to execute. The code should return a result object. Can access 'args' for parameters and 'env' for environment variables.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ToolVAPI_TOOL_CONTROLLER_UPDATEAcciónTool to update an existing Vapi tool configuration. Use when you need to modify tool properties such as function definitions, server settings, messages, or other tool-specific parameters.
VAPI_TOOL_CONTROLLER_UPDATEAcciónTool to update an existing Vapi tool configuration. Use when you need to modify tool properties such as function definitions, server settings, messages, or other tool-specific parameters.
Parámetros de entrada
idstringObligatorioThe unique identifier of the tool to update
urlstringURL endpoint for apiRequest tools
typestringType of tool: function, apiRequest, dtmf, endCall, transferCall, handoff, bash, computer, textEditor, query, google.calendar.event.create, google.sheets.row.append, slack.message.send, sms, mcp, or gohighlevel variants
asyncbooleanWhether the tool execution is asynchronous
methodstringHTTP method for apiRequest tools: GET, POST, PATCH, PUT, DELETE
serverobjectServer configuration for tool requests including url, timeout, headers, and credentials
functionobjectFunction definition for function-type tools.
messagesobject[]Array of message objects for different tool states: ToolMessageStart, ToolMessageComplete, ToolMessageFailed, ToolMessageDelayed
backoffPlanobjectRetry logic configuration with type, maxRetries, and baseDelaySeconds
destinationsobject[]Transfer destinations for transferCall tools
rejectionPlanobjectConditions determining when the tool should be rejected or not executed
variableExtractionPlanobjectSchema and aliases for extracting variables from the call for use in the tool
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Phone NumberVAPI_UPDATE_PHONE_NUMBERAcciónTool to update an existing phone number configuration in VAPI. Use when you need to modify phone number settings such as name, associated assistant/workflow, or provider-specific configurations.
VAPI_UPDATE_PHONE_NUMBERAcciónTool to update an existing phone number configuration in VAPI. Use when you need to modify phone number settings such as name, associated assistant/workflow, or provider-specific configurations.
Parámetros de entrada
idstringObligatorioThe unique identifier of the phone number to update. This is the phone number ID returned from VAPI.
namestringThe name or label for the phone number to help identify it.
hooksobject[]List of webhook configurations to receive events for this phone number.
numberstringThe actual phone number in E.164 format (e.g., +14155551234).
serverobjectServer configuration for handling phone number events.
sip_uristringSIP URI for SIP-based phone numbers.
squad_idstringThe ID of the squad to associate with this phone number. Alternative to assistant_id or workflow_id.
sms_enabledbooleanWhether SMS is enabled for this phone number (Twilio provider only).
workflow_idstringThe ID of the workflow to associate with this phone number. Alternative to assistant_id.
assistant_idstringThe ID of the assistant to associate with this phone number. When calls are received, this assistant will handle them.
credential_idstringThe ID of the credential to use for this phone number (provider-specific).
authenticationobjectAuthentication configuration for SIP-based phone numbers.
twilio_api_keystringTwilio API key (alternative to auth token).
twilio_api_secretstringTwilio API secret (used with API key).
twilio_auth_tokenstringTwilio authentication token (for Twilio provider).
twilio_account_sidstringTwilio account SID (required for Twilio provider).
fallback_destinationobjectFallback destination configuration when the primary assistant/workflow is unavailable.
number_e164_check_enabledbooleanWhether to enable E.164 format validation for the phone number.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload FileVAPI_UPLOAD_FILEAcciónTool to upload a file to Vapi Knowledge Base. Use when you need to add files for AI assistants to reference. Returns file metadata including ID, storage URLs, and processing status.
VAPI_UPLOAD_FILEAcciónTool to upload a file to Vapi Knowledge Base. Use when you need to add files for AI assistants to reference. Returns file metadata including ID, storage URLs, and processing status.
Parámetros de entrada
fileobjectObligatorioFile to upload to Vapi Knowledge Base. FileUploadable object where 'name' should be the filename for the uploaded file.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not