Retrieve detailed information, metadata and transcripts for a call.
id
created_at
text
user
(can be user
, assistant
, robot
, or agent-action
)batch_id
will be here.max_duration
).Statuses:
new
: An API request has been received.queued
: Call pararameters have been validated and authentication succeeded.allocated
: Extremely brief, the call is being dispatched.started
: The phone call is live and in progress.complete
: The phone call has ended successfully.pre_queue_error
: An error occurred before the call was queued. Invalid parameters generally cause this.queue_error
: Error occurred while the call was queued. Ex. Valid phone number but to an unserviced area.call_error
: Error occurred during live call. May be caused by transferring to an invalid phone number or an unforeseen error.complete_error
: Error occurred after the call was completed. Ex. A post-call webhook failed.error_message
field.dynamic_data
or Custom Tools.For example, if you used a dynamic_data
API request to generate a variable called appointment_time
, you would see it here (both the agent’s inputs and the response variables).answered_by_enabled
was set to true in the original API request, this field contains one of the following values:human
: The call was answered by a human.voicemail
: The call was answered by an answering machine or voicemail.unknown
: There was not enough audio at the start of the call to make a determination.no-answer
: The call was not answered.null
: Not enabled, or still processing the result.answered_by_enabled
was set to true
, then webhooks may take up to a minute to fire after the call ends while the call audio is processed.Notes:
unknown
is most likely a human, especially if there are multiple transcripts.speed
in voice_settings
wait_for_greeting
first_sentence
such as "Hello?"
or "Hi, is this {{name}}?"
metadata
that was set in the original API request to send the call.ASSISTANT
: The agent ended the call.USER
: The user ended the call.id
created_at
text
user
(can be user
, assistant
, robot
, or agent-action
)max_duration
.