|
| 1 | +## What's New |
| 2 | + |
| 3 | +### Compliance & Security Enhancements |
| 4 | +- **New [CompliancePlan](https://api.vapi.ai/api#:~:text=CompliancePlan) Consolidates HIPAA and PCI Compliance Settings**: You should now enable HIPAA and PCI compliance settings with `Assistant.compliancePlan.hipaaEnabled` and `Assistant.compliancePlan.pciEnabled` which both default to `false` (replacing the old HIPAA and PCI flags on `Assistant` and `AssistantOverrides`). |
| 5 | + |
| 6 | +- **Phone Number Status Tracking**: You can now view your phone number `status` with `GET /phone-number/{id}` for all phone number types ([Bring Your Own Number](https://api.vapi.ai/api#:~:text=ByoPhoneNumber), [Vapi](https://api.vapi.ai/api#:~:text=VapiPhoneNumber), [Twilio](https://api.vapi.ai/api#:~:text=TwilioPhoneNumber), [Vonage](https://api.vapi.ai/api#:~:text=VonagePhoneNumber)) for better monitoring. |
| 7 | + |
| 8 | +### Advanced Call Control |
| 9 | + |
| 10 | +- **Assistant Hooks System**: You can now use [`AssistantHooks`](https://api.vapi.ai/api#:~:text=AssistantHooks) to support `call.ending` events with customizable filters and actions |
| 11 | + - Enable transfer actions through [`TransferAssistantHookAction`](https://api.vapi.ai/api#:~:text=TransferAssistantHookAction). For example: |
| 12 | +```javascript |
| 13 | +{ |
| 14 | + "hooks": [{ |
| 15 | + "on": "call.ending", |
| 16 | + "do": [{ |
| 17 | + "type": "transfer", |
| 18 | + "destination": { |
| 19 | + // Your transfer configuration |
| 20 | + } |
| 21 | + }] |
| 22 | + }] |
| 23 | +} |
| 24 | +``` |
| 25 | + |
| 26 | + - Conditionally execute hooks with `Assistant.hooks.filter`. For example, trigger different hooks for call completed, system errors, or customer hangup / transfer: |
| 27 | + |
| 28 | +```json |
| 29 | +{ |
| 30 | + "assistant": { |
| 31 | + "hooks": [ |
| 32 | + { |
| 33 | + "url": "https://api.example.com/success-handler", |
| 34 | + "filter": { |
| 35 | + "type": "oneOf", |
| 36 | + "key": "call.endedReason", |
| 37 | + "oneOf": ["COMPLETED"] |
| 38 | + } |
| 39 | + }, |
| 40 | + { |
| 41 | + "url": "https://api.example.com/error-handler", |
| 42 | + "filter": { |
| 43 | + "type": "oneOf", |
| 44 | + "key": "call.endedReason", |
| 45 | + "oneOf": ["ERROR", "SYSTEM_ERROR"] |
| 46 | + } |
| 47 | + }, |
| 48 | + { |
| 49 | + "url": "https://api.example.com/customer-actions", |
| 50 | + "filter": { |
| 51 | + "type": "oneOf", |
| 52 | + "key": "call.endedReason", |
| 53 | + "oneOf": ["CUSTOMER_HANGUP", "CUSTOMER_TRANSFER_REQUESTED"] |
| 54 | + } |
| 55 | + } |
| 56 | + ] |
| 57 | + } |
| 58 | +} |
| 59 | +``` |
| 60 | + |
| 61 | +### Model & Voice Updates |
| 62 | + |
| 63 | +- **New Models Added**: You can now use new models inside `Assistant.model[provider="google", "openai", "xai"]` and `Assistant.fallbackModels[provider="google", "openai", "xai"]` |
| 64 | + - Google: Gemini 2.0 series (`flash-thinking-exp`, `pro-exp-02-05`, `flash`, `flash-lite-preview`) |
| 65 | + - OpenAI: o3 mini `o3-mini` |
| 66 | + - xAI: Grok 2 `grok-2` |
| 67 | + |
| 68 | +<Frame caption="Assistant Models"> |
| 69 | + <img src="../static/images/changelog/assistant-models.png" alt="New Assistant Models" /> |
| 70 | +</Frame> |
| 71 | + |
| 72 | +- **New `PlayDialog` Model for [PlayHT Voices](https://api.vapi.ai/api#:~:text=PlayHTVoice)**: You can now use the `PlayDialog` model in `Assistant.voice[provider="playht"].model["PlayDialog"]`. |
| 73 | + |
| 74 | +- **New `nova-3` and `nova-3-general` Models for [Deepgram Transcriber](https://api.vapi.ai/api#:~:text=DeepgramTranscriber)**: You can now use the `nova-3` and `nova-3-general` models in `Assistant.transcriber[provider="deepgram"].model["nova-3", "nova-3-general"]` |
| 75 | + |
| 76 | +### API Improvements |
| 77 | + |
| 78 | +- **Workflow Updates**: You can now send a [`workflow.node.started`](https://api.vapi.ai/api#:~:text=ClientMessageWorkflowNodeStarted) message to track the start of a workflow node for better call flow tracking |
| 79 | + |
| 80 | +- **Analytics Enhancement**: Added subscription table and concurrency columns in [POST /analytics](https://api.vapi.ai/api#/Analytics/AnalyticsController_query) for richer queries about your subscriptions and concurrent calls. |
| 81 | + |
| 82 | +### Deprecations |
| 83 | + |
| 84 | +<Warning>The `/logs` endpoints are now marked as deprecated - plan to update your implementation accordingly.</Warning> |
0 commit comments