Deprecated: The old recordingEnabled, recordingPath, and recordingCredentials properties are deprecated. Use the new artifactPlan configuration instead for recording, logging, and transcript generation.
Vapi’s artifact plan system provides comprehensive call recording, logging, and transcription capabilities that allow you to capture, store, and analyze voice conversations for quality assurance, training, and compliance purposes.
Artifact plans enable you to:
Protect sensitive payment information by using a middle assistant with all artifacts disabled:
This flow ensures that:
For Enterprise customers, Vapi provides built-in recording consent plans that automatically create a consent assistant to request recording permission before transferring to your main assistant.
The Enterprise consent feature supports both:
The system automatically tracks consent decisions and provides compliance data in the end-of-call report, including whether consent was granted and when it was obtained.
Alternatively, you can implement custom consent flows using squads:
The consent assistant runs without generating artifacts, while the main assistant records the actual conversation after consent is obtained.
Configure recording, logging, and transcript generation using the artifactPlan:
Configure different types of artifacts with these options:
recordingEnabled: Enable call recording (stored in call.artifact.recording) Default: truerecordingFormat: Audio format for recordings (e.g., “wav;l16”, “mp3”) Default: “wav;l16”loggingEnabled: Enable detailed call logs (stored in call.artifact.logUrl) Default: truepcapEnabled: Enable SIP packet capture for phone calls (stored in call.artifact.pcapUrl) Default: truetranscriptPlan: Configure transcript generation with speaker namesBy default, Vapi stores artifacts securely in the cloud:
Configure custom storage for different artifact types:
Control where each artifact type is stored:
recordingUseCustomStorageEnabled: Use custom storage for recordings (default: true)loggingUseCustomStorageEnabled: Use custom storage for logs (default: true)pcapUseCustomStorageEnabled: Use custom storage for SIP packet capture (default: true)recordingPath: Custom path for recording storageloggingPath: Custom path for log storagepcapS3PathPrefix: S3 path prefix for PCAP filesWhen handing off between assistants in a Squad, you may choose to change the local context for each assistant via the contextEngineeringPlan. By default, only the final context will be used in the artifact and analysis (Structured outputs and success evaluation). To include the full message history across all assistants in the call, set artifactPlan.fullMessageHistoryEnabled to true.
In squads with multiple assistants, artifact generation (recording, logging, transcripts) can be controlled per assistant. When assistants are swapped or transferred during a call:
recordingEnabled: false assistant is active, resumes when recordingEnabled: true assistant takes overloggingEnabled: false assistant is active, resumes when loggingEnabled: true assistant takes overtranscriptPlan.enabled: false assistant is active, resumes when transcriptPlan.enabled: true assistant takes overConfigure transcript generation using the transcriptPlan:
enabled: Enable or disable transcript generationassistantName: Name to use for assistant messages in transcriptsuserName: Name to use for user messages in transcriptscall.artifact.messagesOpenAIFormattedEnable comprehensive logging for debugging and analysis:
Logs are available through:
call.artifact.logUrlRetrieve artifact URLs programmatically:
Important: Call recording laws vary by jurisdiction. Ensure compliance with:
For Enterprise customers, Vapi provides automated consent management through recording consent plans. This feature automatically:
Always comply with local laws regarding call recording. Some jurisdictions require explicit consent from all parties before recording.
Use the comprehensive artifact data for analysis:
Use artifact data for comprehensive insights:
artifact.nodesartifact.messagesartifact.variableValuesUse the artifactPlan configuration in your assistant or call settings. Set recordingEnabled, loggingEnabled, and configure transcriptPlan.enabled to true to enable all three features.
By default, artifacts are stored securely in Vapi’s cloud storage. You can configure custom storage using S3 or Google Cloud Storage with the recordingPath, loggingPath, and storage control options.
Artifacts are available through the API via call.artifact.recording, call.artifact.transcript, call.artifact.logUrl, and other properties. You can also view them in the Vapi dashboard.
The transcript includes timing information and is optimized for conversation analysis. The messages property contains the same content but in a simpler format, while messagesOpenAIFormatted is structured for OpenAI API compatibility.
Use the transcriptPlan configuration with assistantName and userName properties to customize how speakers are identified in the transcript output.
Yes, you can configure artifact plans at both the assistant level and per individual call. This gives you granular control over what artifacts are generated for each conversation.
PCAP (Packet Capture) is available for phone calls and contains SIP packet data for debugging telephony issues. It’s stored in call.artifact.pcapUrl when pcapEnabled is set to true.
Retention periods vary by plan:
In squads, each assistant can have different artifact settings. Recording, logging, and transcripts pause when an assistant with disabled artifacts is active, and resume when an assistant with enabled artifacts takes over. This allows for privacy-conscious flows like consent collection.