Skip to content

Conversation

@quantstruct-bot
Copy link
Collaborator

What's New

Compliance & Security Enhancements

  • New 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).

  • 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, Vapi, Twilio, Vonage) for better monitoring.

Advanced Call Control

{
  "hooks": [{
    "on": "call.ending",
    "do": [{
      "type": "transfer",
      "destination": {
        // Your transfer configuration
      }
    }]
  }]
}
  • Conditionally execute hooks with Assistant.hooks.filter. For example, trigger different hooks for call completed, system errors, or customer hangup / transfer:
{
  "assistant": {
    "hooks": [
      {
        "url": "https://api.example.com/success-handler",
        "filter": {
          "type": "oneOf",
          "key": "call.endedReason",
          "oneOf": ["COMPLETED"]
        }
      },
      {
        "url": "https://api.example.com/error-handler",
        "filter": {
          "type": "oneOf",
          "key": "call.endedReason",
          "oneOf": ["ERROR", "SYSTEM_ERROR"]
        }
      },
      {
        "url": "https://api.example.com/customer-actions",
        "filter": {
          "type": "oneOf",
          "key": "call.endedReason",
          "oneOf": ["CUSTOMER_HANGUP", "CUSTOMER_TRANSFER_REQUESTED"]
        }
      }
    ]
  }
}

Model & Voice Updates

  • New Models Added: You can now use new models inside Assistant.model[provider="google", "openai", "xai"] and Assistant.fallbackModels[provider="google", "openai", "xai"]
    • Google: Gemini 2.0 series (flash-thinking-exp, pro-exp-02-05, flash, flash-lite-preview)
    • OpenAI: o3 mini o3-mini
    • xAI: Grok 2 grok-2

assistant-models

  • New PlayDialog Model for PlayHT Voices: You can now use the PlayDialog model in Assistant.voice[provider="playht"].model["PlayDialog"].

  • New nova-3 and nova-3-general Models for Deepgram Transcriber: You can now use the nova-3 and nova-3-general models in Assistant.transcriber[provider="deepgram"].model["nova-3", "nova-3-general"]

API Improvements

  • Workflow Updates: You can now send a workflow.node.started message to track the start of a workflow node for better call flow tracking

  • Analytics Enhancement: Added subscription table and concurrency columns in POST /analytics for richer queries about your subscriptions and concurrent calls.

Deprecations

The /logs endpoints are now marked as deprecated - plan to update your implementation accordingly.

@github-actions
Copy link
Contributor

@nikhilro nikhilro merged commit 52baca1 into main Feb 17, 2025
3 of 4 checks passed
@quantstruct-bot quantstruct-bot deleted the changelog branch February 18, 2025 00:31
skeptrunedev referenced this pull request in devflowinc/vapi-docs Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants