NAME
Twilio::Rest::Insights::V1::Call::CallSummary - The CallSummary resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $call_summary = $client->insights->v1->calls($call_sid)->summary->fetch;
DESCRIPTION
This file holds CallSummaryContext and CallSummaryInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
CallSummaryContext
Returned by $client->insights->v1->calls($call_sid)->summary. It makes no request until one of these methods is called.
fetch
my $call_summary = $client->insights->v1->calls($call_sid)->summary->fetch(\%options);
Get a specific Call Summary. Returns a CallSummaryInstance.
The options are:
processing_state-
The Processing State of this Call Summary. One of
complete,partialorall. One ofcompleteorpartial.
CallSummaryInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- agent_session_summaries
-
objectList of session summaries for conversation relay. See Details: Call Summary for the object properties. - annotation
-
objectProgrammatically labeled annotations for the Call. Developers can update the Call Summary records with Annotation during or after a Call. Annotations can be updated as long as the Call Summary record is addressable via the API. See Details: Call Summary for the object properties. - answered_by
-
The Answered By value for the summarized call based on
Answering Machine Detection (AMD). One ofunknown,machine_start,machine_end_beep,machine_end_silence,machine_end_other,humanorfax. Refer to AMD for more detail. One ofunknown,machine_start,machine_end_beep,machine_end_silence,machine_end_other,humanorfax. - attributes
-
objectAttributes capturing call-flow-specific details. See Details: Call Summary for the object properties. - call_sid
-
The unique SID identifier of the Call.
- call_state
-
The Call State of the summarized Call. One of
ringing,completed,busy,fail,noanswer,canceled,answered,undialed. One ofringing,completed,busy,fail,noanswer,canceled,answeredorundialed. - call_type
-
The Call Type of the summarized Call. One of
carrier,sip,trunking,clientandwhatsapp. One ofcarrier,sip,trunking,clientorwhatsapp. - carrier_edge
-
objectContains metrics and properties for the Twilio media gateway of a PSTN call. See Details: Call Summary for the object properties. - client_edge
-
objectContains metrics and properties for the Twilio media gateway of a Client call. See Details: Call Summary for the object properties. - connect_duration
-
Duration between when the call was answered and when it ended
- created_time
-
The time at which the Call was created, given in ISO 8601 format. Can be different from
start_timein the event of queueing due to CPS A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize. - duration
-
Duration between when the call was initiated and the call was ended
- end_time
-
The time at which the Call was ended, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- from
-
objectThe calling party. See Details: Call Summary for the object properties. - processing_state
-
The Processing State of the Call Summary. The Processing State will be
partialuntil the assembly of the Call Summary finishes, which occurs approximately 30 minutes after Call end. Then the Processing State changes tocompleteOne ofcompleteorpartial. - properties
-
objectContains edge-agnostic call-level details. See Details: Call Summary for the object properties. - sdk_edge
-
objectContains metrics and properties for the SDK sensor library for Client calls. See Details: Call Summary for the object properties. - sip_edge
-
objectContains metrics and properties for the Twilio media gateway of a SIP Interface or Trunking call. See Details: Call Summary for the object properties. - start_time
-
The time at which the Call was started, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
-
Tags that Voice Insights analysis applies to calls. They indicate a condition that may influence the subjective experience of call audio quality.
- to
-
objectThe called party. See Details: Call Summary for the object properties. - trust
-
objectContains trusted communications details including Branded Call and verified caller ID. See Details: Call Summary for the object properties. - url
-
The URL of this resource.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.