|
| 1 | +# API Request Node, Improved Retries, and Enhanced Message Controls |
| 2 | + |
| 3 | +1. **HttpRequest Node Renamed to ApiRequest**: The `HttpRequest` workflow node has been renamed to [`ApiRequest`](https://api.vapi.ai/api#:~:text=ApiRequest), and can be accessed through `Assistant.model.workflow.nodes[type="api-request"]`. Key changes: |
| 4 | + - New support for POST requests with customizable headers and body |
| 5 | + - New async request support with `isAsync` flag |
| 6 | + - Task status messages for waiting, starting, failure and success states |
| 7 | +<Warning>The `HttpRequest` node is now deprecated and will be removed in a future release. Please migrate to the new `ApiRequest` node.</Warning> |
| 8 | + |
| 9 | +2. **New Backoff and Retry Controls**: You can now configure [`Assistant.model.tools[type=dtmf].server.backoffPlan`](https://api.vapi.ai/api#:~:text=BackoffPlan) to handle failed requests with customizable retry strategies and delays. |
| 10 | + - Supports fixed or exponential backoff strategies |
| 11 | + - Configure `maxRetries` (up to 10) and `baseDelaySeconds` (up to 10 seconds) |
| 12 | + - Available in server configurations via `backoffPlan` property |
| 13 | + |
| 14 | +3. **Enhanced Gather Node**: The [`Assistant.model.workflow.nodes[type=gather]`](https://api.vapi.ai/api#:~:text=Gather) node has been improved with the following changes: |
| 15 | + - Added `maxRetries` property to control retry attempts |
| 16 | + - Now accepts a single JsonSchema instead of an array |
| 17 | + - Removed default value for `confirmContent` property |
| 18 | + |
| 19 | +4. **Improved Message Controls**: [`Assistant.messagePlan`](https://api.vapi.ai/api#:~:text=MessagePlan) has been improved with the following changes: |
| 20 | + - Increased `idleTimeoutSeconds` maximum from 30 to 60 seconds |
| 21 | + - Added `silenceTimeoutMessage` to customize call ending due to silence |
| 22 | + |
| 23 | +5. **New Distilled Deepseek Model with Groq**: You can now select `deepseek-r1-distill-llama-70b` when using [Groq](https://api.vapi.ai/api#:~:text=Groq) as the provider in [`Assistant.model[provider='groq']`](https://api.vapi.ai/api#:~:text=UpdateCallDTO-,Assistant,-UpdateAssistantDTO) |
| 24 | + |
| 25 | +6. **Edge Condition Updates**: Edge conditions now require explicit matching criteria to improve workflow control and readability. Semantic edges must specify a `matches` property while programmatic edges require a `booleanExpression` property to define transition logic. |
0 commit comments