pub struct CallAnalysisCreateRequest {Show 13 fields
pub recording_url: String,
pub stereo_recording_url: Option<String>,
pub started_at: String,
pub interface_type: InterfaceType,
pub call_direction: CallDirection,
pub participants: Vec<CallParticipant>,
pub ended_status: Option<CallEndedStatus>,
pub ended_reason: Option<String>,
pub tool_invocations: Option<Vec<ToolInvocation>>,
pub is_test: Option<bool>,
pub vapi_call_id: Option<Uuid>,
pub retell_call_id: Option<String>,
pub properties: Option<HashMap<String, Value>>,
}Expand description
CallAnalysisCreateRequest : Request payload for creating a new call analysis job
Fields§
§recording_url: StringPublicly accessible URL of the call recording file (WAV or MP3 format). Can be a signed URL with appropriate expiration.
stereo_recording_url: Option<String>Optional URL of stereo recording in WAV format for enhanced audio analysis and playback experience
started_at: StringISO 8601 timestamp when the call started
interface_type: InterfaceType§call_direction: CallDirection§participants: Vec<CallParticipant>Exactly two participants: one agent and one customer
ended_status: Option<CallEndedStatus>§ended_reason: Option<String>Additional context about why the call ended
tool_invocations: Option<Vec<ToolInvocation>>List of tools/functions invoked during the call
is_test: Option<bool>Mark this as a test call for development/QA purposes
vapi_call_id: Option<Uuid>Original VAPI call ID if importing from VAPI platform
retell_call_id: Option<String>Original Retell call ID if importing from Retell platform
properties: Option<HashMap<String, Value>>Custom metadata properties for filtering and categorization
Implementations§
Source§impl CallAnalysisCreateRequest
impl CallAnalysisCreateRequest
Sourcepub fn new(
recording_url: String,
started_at: String,
interface_type: InterfaceType,
call_direction: CallDirection,
participants: Vec<CallParticipant>,
) -> CallAnalysisCreateRequest
pub fn new( recording_url: String, started_at: String, interface_type: InterfaceType, call_direction: CallDirection, participants: Vec<CallParticipant>, ) -> CallAnalysisCreateRequest
Request payload for creating a new call analysis job
Trait Implementations§
Source§impl Clone for CallAnalysisCreateRequest
impl Clone for CallAnalysisCreateRequest
Source§fn clone(&self) -> CallAnalysisCreateRequest
fn clone(&self) -> CallAnalysisCreateRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CallAnalysisCreateRequest
impl Debug for CallAnalysisCreateRequest
Source§impl Default for CallAnalysisCreateRequest
impl Default for CallAnalysisCreateRequest
Source§fn default() -> CallAnalysisCreateRequest
fn default() -> CallAnalysisCreateRequest
Source§impl<'de> Deserialize<'de> for CallAnalysisCreateRequest
impl<'de> Deserialize<'de> for CallAnalysisCreateRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CallAnalysisCreateRequest
impl PartialEq for CallAnalysisCreateRequest
Source§fn eq(&self, other: &CallAnalysisCreateRequest) -> bool
fn eq(&self, other: &CallAnalysisCreateRequest) -> bool
self and other values to be equal, and is used by ==.