Skip to content

Commit 5ba30e8

Browse files
authored
VAP-5098: add call recording page (#274)
* feat: add call recording page * feat: add links to api reference * feat: add recordingFormat link --------- Co-authored-by: stevenbdf <[email protected]>
1 parent 7b86bce commit 5ba30e8

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

fern/assistants/call-recording.mdx

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Call Recording
3+
subtitle: Record calls and store them in Vapi or your own storage.
4+
slug: call-recording
5+
---
6+
7+
The Call Recording feature allows you to capture and store full recordings of phone calls for analysis. By default, Vapi stores a complete recording of every call, providing both mono and stereo audio. The stereo option separates human and assistant audio into two distinct channels, offering a clearer analysis of the conversation.
8+
9+
You can customize this behavior in the assistant's [`assistant.artifactPlan`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan).
10+
11+
12+
## Supported Formats
13+
14+
Vapi supports multiple audio formats for call recordings:
15+
- `wav;l16`: 16-bit linear PCM WAV format, providing high-quality uncompressed audio in mono
16+
- `mp3`: MP3 compressed audio format, offering good quality with smaller file sizes
17+
18+
You can specify your preferred format using the [`assistant.artifactPlan.recordingFormat`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan.recordingFormat) property. If not specified, recordings will default to `wav;l16`.
19+
20+
<Note>
21+
At this time, you can only specify one format.
22+
</Note>
23+
24+
## Custom Storage bucket
25+
26+
Vapi supports uploading recordings to your own storage buckets. See [Integrations -> Cloud](https://docs.vapi.ai/providers/cloud/s3) for more information on available storage options.
27+
28+
## Upload Path
29+
30+
When uploading recordings to your custom storage bucket, you can specify the upload path using the `assistant.artifactPlan.recordingPath` property. If not specified, recordings will default to the root of the bucket.
31+
32+
Usage:
33+
- If you want to upload the recording to a specific path, set this to the path. Example: `/my-assistant-recordings`.
34+
- If you want to upload the recording to the root of the bucket, set this to `/`.
35+
36+
## Turn On/Off Call Recording
37+
38+
You can turn on/off call recording by setting the [`assistant.artifactPlan.recordingEnabled`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan.recordingEnabled) property to `true` or `false`. If not specified, recordings will default to `true`.
39+
40+
<Note>
41+
If [HIPAA](https://docs.vapi.ai/security-and-privacy/hipaa) mode is enabled, Vapi will only store recordings if you have defined a custom storage bucket. Make sure to set credentials in the Provider Credentials page in the Dashboard.
42+
</Note>
43+
44+
## Turn On/Off Video Recording (only for webCall)
45+
46+
You can turn on/off video recording by setting the [`assistant.artifactPlan.videoRecordingEnabled`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan.videoRecordingEnabled) property to `true` or `false`. If not specified, video recording will default to `false`.
47+

fern/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ navigation:
138138
path: assistants/dynamic-variables.mdx
139139
- page: Call Analysis
140140
path: assistants/call-analysis.mdx
141+
- page: Call Recording
142+
path: assistants/call-recording.mdx
141143
- page: Assistant Hooks
142144
path: assistants/assistant-hooks.mdx
143145
- page: Background Messages

0 commit comments

Comments
 (0)