Skip to content

Commit 626b0be

Browse files
committed
Merge remote-tracking branch 'origin/main' into fern/update-api-specs
2 parents 5be02d0 + 8ff6dba commit 626b0be

File tree

4 files changed

+40
-5
lines changed

4 files changed

+40
-5
lines changed

fern/changelog/2025-02-10.mdx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# API Enhancements, Call Features, and Workflow Improvements
2+
3+
1. **`POST` requests to `/analytics` (migrate from `GET`)**: You should now make `POST` requests (instead of `GET`) to the [`/analytics`](https://api.vapi.ai/api#/Analytics/AnalyticsController_query) endpoint. Structure your analytics query as a JSON payload using [`AnalyticsQuery`](https://api.vapi.ai/api#/Analytics/AnalyticsQuery) in the request body.
4+
5+
2. **Use `SayHook` to Intercept and Modify Text for Assistant Speech**: You can use [`SayHook`](https://api.vapi.ai/api#/Hooks/SayHook) to intercept and modify text before it's spoken by your assistant. Specify the text to be spoken using the `exact` or `prompt` properties.
6+
7+
3. **Call Transfer Support**: The `Transfer` node type is now available in workflows. Configure the `destination` property to define the transfer target.
8+
9+
4. **Workflow Edge Condition Updates**: [`AIEdgeCondition`](https://api.vapi.ai/api#:~:text=AIEdgeCondition) (which replaces `SemanticEdgeCondition`) enables AI-powered routing decisions by analyzing conversation context and intent, while [`LogicEdgeCondition`](https://api.vapi.ai/api#:~:text=LogicEdgeCondition) (which replaces `ProgrammaticEdgeCondition`) allows for rule-based routing using custom logical expressions. The previous `SemanticEdgeCondition` and `ProgrammaticEdgeCondition` are now deprecated, and a new `FailedEdgeCondition` has been added to handle node failures in workflows.
10+
11+
5. **`Gather` Node: Data Collection Refactor**: The [`Gather` node](https://api.vapi.ai/api#:~:text=Gather) now requires an `output` property to define the expected data schema. The `instruction` and `schema` properties have been removed.
12+
13+
6. **Call Packet Capture (PCAP) Configuration**: Your call [`Artifact`](https://api.vapi.ai/api#:~:text=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 by `vapi` and `byo-phone-number` providers. Enable PCAP through `pcapEnabled`, automatically upload to S3 bucket with `pcapS3PathPrefix`, and access via `pcapUrl`.
14+
15+
7. **`ApiRequest` Node Improvements**: [`ApiRequest`](https://api.vapi.ai/api#:~:text=ApiRequest) now supports `GET` requests. You can also define the expected response schema. You can make API requests as `blocking` or run in the `background` with `ApiRequest.mode`.
16+
17+
8. **`Call` and `ServerMessage` `endedReason` Updates**: The `assistant-not-invalid` `Call.endedReason` has been corrected to `"assistant-not-valid"`. Also added `"assistant-ended-call-with-hangup-task"` to the `Call.endedReason`.
18+
19+
9. **New Azure OpenAI Model `gpt-4o-2024-08-06-ptu`**: You can now use `gpt-4o-2024-08-06-ptu` from Azure OpenAI inside your [Assistant](https://dashboard.vapi.ai/assistants/2ec63711-f867-4066-8c54-7833346783b1).
20+
21+
<Frame caption="New Azure OpenAI Model gpt-4o-2024-08-06-ptu.png">
22+
<img src="../static/images/changelog/gpt-4o-2024-08-06-ptu.png" alt="Azure OpenAI Model GPT-4o-2024-08-06-ptu" />
23+
</Frame>
24+
25+
26+
10. **Deprecated Schemas and Properties**: The following properties and schemas are now deprecated in the [API reference](https://api.vapi.ai/api/):
27+
* `SemanticEdgeCondition`
28+
* `ProgrammaticEdgeCondition`
29+
* `Workflow.type`
30+
* `ApiRequest.waitTaskMessage`
31+
* `ApiRequest.startTaskMessage`
32+
* `ApiRequest.failureTaskMessage`
33+
* `ApiRequest.successTaskMessage`
34+
* `OpenAIModel.semanticCachingEnabled`
35+
* `CreateWorkflowDTO.type`

fern/changelog/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: changelog
88
>
99
<form
1010
method="POST"
11-
action="https://customerioforms.com/forms/submit_action?site_id=4678cfb1d91b95f35420&form_id=01jk50qavhdht46f3ytednjdyq&success_url=https://docs.vapi.ai/changelog"
11+
action="https://customerioforms.com/forms/submit_action?site_id=5f95a74ff6539f0bc48f&form_id=01jk7tf2khhf5satn62531qe25&success_url=https://docs.vapi.ai/changelog"
1212
className="subscribe-form"
1313
style={{margin: '1rem 0'}}
1414
onSubmit={(e) => {

fern/pricing.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
title: Pricing Overview
3-
subtitle: Only pay for the minutes you use.
2+
title: Startup Pricing
3+
subtitle: This is an overview of our pricing for developers and startups. For Enterprise pricing, please contact sales.
44
slug: pricing
55
---
66

77

8-
<Frame caption="Vapi charges a flat 5¢/min for calls.">
8+
<Frame>
99
<img src="./static/images/pricing/voice-pipeline-cost-breakdown.png" />
1010
</Frame>
1111

1212
<br />
1313

1414
<CardGroup cols={2}>
15-
<Card title="5¢/min for Calls" icon="cent-sign" iconType="solid">
15+
<Card title="Startup Pricing: 0.05¢/min" icon="cent-sign" iconType="solid">
1616
Vapi itself charges $0.05 per minute for calls. Prorated to the second.
1717
</Card>
1818
<Card
42.9 KB
Loading

0 commit comments

Comments
 (0)