pub struct Artifact {
pub messages: Option<Vec<ArtifactMessagesInner>>,
pub messages_open_ai_formatted: Option<Vec<OpenAiMessage>>,
pub recording_url: Option<String>,
pub stereo_recording_url: Option<String>,
pub video_recording_url: Option<String>,
pub video_recording_start_delay_seconds: Option<f64>,
pub recording: Option<Recording>,
pub transcript: Option<String>,
pub pcap_url: Option<String>,
pub nodes: Option<Vec<NodeArtifact>>,
pub variables: Option<Value>,
}
Fields§
§messages: Option<Vec<ArtifactMessagesInner>>
These are the messages that were spoken during the call.
messages_open_ai_formatted: Option<Vec<OpenAiMessage>>
These are the messages that were spoken during the call, formatted for OpenAI.
recording_url: Option<String>
This is the recording url for the call. To enable, set assistant.artifactPlan.recordingEnabled
.
stereo_recording_url: Option<String>
This is the stereo recording url for the call. To enable, set assistant.artifactPlan.recordingEnabled
.
video_recording_url: Option<String>
This is video recording url for the call. To enable, set assistant.artifactPlan.videoRecordingEnabled
.
video_recording_start_delay_seconds: Option<f64>
This is video recording start delay in ms. To enable, set assistant.artifactPlan.videoRecordingEnabled
. This can be used to align the playback of the recording with artifact.messages timestamps.
recording: Option<Recording>
This is the recording url for the call. To enable, set assistant.artifactPlan.recordingEnabled
.
transcript: Option<String>
This is the transcript of the call. This is derived from artifact.messages
but provided for convenience.
pcap_url: Option<String>
This is the packet capture url for the call. This is only available for phone
type calls where phone number’s provider is vapi
or byo-phone-number
.
nodes: Option<Vec<NodeArtifact>>
This is the history of workflow nodes that were executed during the call.
variables: Option<Value>
This is the state of variables at the end of the workflow execution.