Changelog
API Enhancements, Call Features, and Workflow Improvements
-
POST
requests to/analytics
(migrate fromGET
): You should now makePOST
requests (instead ofGET
) to the/analytics
endpoint. Structure your analytics query as a JSON payload usingAnalyticsQuery
in the request body. -
Use
SayHook
to Intercept and Modify Text for Assistant Speech: You can useSayHook
to intercept and modify text before it’s spoken by your assistant. Specify the text to be spoken using theexact
orprompt
properties. -
Call Transfer Support: The
Transfer
node type is now available in workflows. Configure thedestination
property to define the transfer target. -
Workflow Edge Condition Updates:
AIEdgeCondition
(which replacesSemanticEdgeCondition
) enables AI-powered routing decisions by analyzing conversation context and intent, whileLogicEdgeCondition
(which replacesProgrammaticEdgeCondition
) allows for rule-based routing using custom logical expressions. The previousSemanticEdgeCondition
andProgrammaticEdgeCondition
are now deprecated, and a newFailedEdgeCondition
has been added to handle node failures in workflows. -
Gather
Node: Data Collection Refactor: TheGather
node now requires anoutput
property to define the expected data schema. Theinstruction
andschema
properties have been removed. -
Call Packet Capture (PCAP) Configuration: Your call
Artifact
s now support links to download a call’s network packet capture (PCAP) file, providing you with detailed network traffic analysis and troubleshooting for calls. PCAP is only supported byvapi
andbyo-phone-number
providers. Enable PCAP throughpcapEnabled
, automatically upload to S3 bucket withpcapS3PathPrefix
, and access viapcapUrl
. -
ApiRequest
Node Improvements:ApiRequest
now supportsGET
requests. You can also define the expected response schema. You can make API requests asblocking
or run in thebackground
withApiRequest.mode
. -
Call
andServerMessage
endedReason
Updates: Theassistant-not-invalid
Call.endedReason
has been corrected to"assistant-not-valid"
. Also added"assistant-ended-call-with-hangup-task"
to theCall.endedReason
. -
New Azure OpenAI Model
gpt-4o-2024-08-06-ptu
: You can now usegpt-4o-2024-08-06-ptu
from Azure OpenAI inside your Assistant.

- Deprecated Schemas and Properties: The following properties and schemas are now deprecated in the API reference:
SemanticEdgeCondition
ProgrammaticEdgeCondition
Workflow.type
ApiRequest.waitTaskMessage
ApiRequest.startTaskMessage
ApiRequest.failureTaskMessage
ApiRequest.successTaskMessage
OpenAIModel.semanticCachingEnabled
CreateWorkflowDTO.type