One call, whole: who it was with, what was said, what the agent picked out of it, what it
cost, and where its post-call analysis stands.
Requires calls:read, or calls:metrics, which reads the call as metrics: the members
that describe the call itself (ids, agent, direction, status, moments, duration, cost,
usage, disposition, ended_by, failure, analysis), from, to, metadata
and transfer_target null, lead as {id}, and
personal_data_withheld: true. The transcript, summary, recording, extracted_data,
events, timeline, tool calls and execution history are left out, and the execution-history
parameters answer 403 INSUFFICIENT_SCOPE.
Rehearsals and leads. A rehearsal in the browser (the Test tab, or a session minted
with POST /calls {"type":"web"}) has no caller’s number, so lead processing skips it:
no lead is created or updated, no lead.created or lead.updated is sent, and a
follow-up on lead.ready does not run. On a rehearsal that ran through a call request the
lead artifact in execution.summary.artifacts reads skipped with
reason_code: "web_call_no_phone"; one that connected straight away (protocol: "offer")
has no lead artifact at all. The analysis still runs:
summary, disposition and extracted_data are written as on any call. A Test-tab call
given a phone number to simulate, and a session minted with lead_id, are processed for
a lead after all.
source says how the call was started, and it is on GET /calls too,
where it is also a filter.
Value
What it means
test
A rehearsal you started yourself — the agent’s Test tab, or a test phone call from the dashboard.
shared_link
Someone called through a shared link. The call also carries shared_link_id, so spend can be attributed to the link you handed out.
api
A browser session this API minted with POST /calls {"type":"web"} or a call request.
phone_inbound
Someone rang one of your numbers — or your own phone system sent the call to a SIP endpoint. Such a call carries sip_endpoint_id and has to: null: a SIP address endpoint’s address is its credential, so this API does not return it, and what a call on a username-and-password trunk dialled shows in the dashboard’s call log instead. Its from is whatever your phone system sent as the caller, and null when the caller ID was only a username-and-password trunk’s own username.
phone_outbound
A call this workspace placed for real — by API or by campaign. A test call you dial from the dashboard reads test, not this.
unknown
Recorded before the origin was written down. ?source=unknown is refused rather than answered.
A rehearsal and a shared-link call used to be the same row — both web_call,
both with empty from and to — so the cost of your own testing could not be
told apart from the cost of the link you sent out. shared_link_id is
absent, not null, on every other kind of call.Rehearsals and leads. A rehearsal in the browser — the Test tab, or a
session minted with POST /calls {"type":"web"} — has no caller’s number, so
lead processing skips it: it creates or updates no lead, sends no
lead.created or lead.updated, and a follow-up on lead.ready does not run.
When the response carries execution and the rehearsal ran through a call
request (an agent with steps before the call), its lead artifact says so:
skipped, reason_code: "web_call_no_phone". A rehearsal that connected
straight away (protocol: "offer") opens no lead work at all, so its
execution.summary.artifacts has no lead entry — read that as the same
answer. (A lead skipped on another call names its reason the same way:
transcript_too_short — fewer than two turns — or no_phone_number.) The post-call analysis still runs: summary,
disposition and extracted_data are written as on any call. Two browser calls are processed
for a lead after all: a Test-tab call given a phone number to simulate, as a
call from that number, and a session minted with lead_id, for that lead. A
test phone call from the dashboard reaches a real number, and its lead is
processed like any other call’s.
Whose carrier it ran on
provider says whose carrier the call’s phone side ran on, on this read and on
GET /calls, where carrier_account_id is also a filter. It uses
the words GET /phone-numbers uses for the call’s number.
provider
What it means
external
Your own Telnyx account: the call was placed from a number you added to a carrier account. Telnyx billed you for its phone minutes on your Telnyx account. cost_cents is Yappr’s charge beside that, at the phone-call price — the same price as a call from a number bought from Yappr.
telnyx
Yappr’s own carrier: a number bought from Yappr, or a SIP endpoint. Everything the call cost is in cost_cents.
null
A browser call, which has no phone side.
carrier_account is { "id": "…", "name": "Main Telnyx account", "provider": "telnyx", "status": "active" }
on an external call, the same four fields as a number’s carrier_account —
the account Telnyx signed the call for, or the from-number’s account when no signed event
arrived (a dial Telnyx refused). It is null on every other call, and for a key without
carrier_accounts:read, where provider: "external" still says the call ran on your own
account. An account removed since keeps its id, with name, provider and statusnull.carrier_call_id is on an external call only, and absent on every other: the id Telnyx gave
the call on your Telnyx account (its call_control_id, such as "v3:u5OA0mKf…"). Search your
Telnyx records and call debugging by it to match the call to what Telnyx billed you. It is
null when the dial never got one (Telnyx refused it before answering), and null for a key
without carrier_accounts:read, as carrier_account is. What Telnyx billed for the call is on
your Telnyx account, not here: Yappr does not see your Telnyx bill.
The agent that took the call
agent is the agent behind agent_id, read with the call, so its name stays readable after the
agent is archived: GET /agents/{id} answers 404 for an
archived agent. A key holding agents:read reads the object a campaign
embeds for its agent; a key without it reads { "id", "name" }. Both carry archived_at, when
the agent was archived, null while it is not. agent is null when agent_id is.
A call has three moments, and each has its own field — and a fourth, when its
recording began, which the transcript is dated from:
Field
The moment
started_at
The call was placed — dialled, arrived at your number, or its browser session opened. The same moment as created_at.
answered_at
Its audio came up — the person you dialled picked up, your number answered the caller, or the browser connected. Where the voice server recorded no such moment on a call that did connect, it is the earliest evidence that it connected: the first moment anybody was heard on it, or — for a browser or incoming call that holds a recording or a transcript — its started_at, because their audio starts as the call is taken (a recording alone does not count on a call that failed). null on a call that never got that far.
ended_at
The caller or the agent left, or Yappr closed the call. Never before started_at: a call that ended in the instant it was placed reads the same moment in both.
recording_started_at
The call’s recording began, as the carrier stamped it. Every transcript turn’s start and end are milliseconds from here. See Placing the transcript on the clock.
duration_seconds is connected time: it counts from about answered_at to the
end, and it is what the call is billed for. It is null on every call that was
never answered — nobody picked up, the number was blocked, or no browser
connected (a failure at the dialing or connecting stage and no
answered_at) — and a whole number on every call that was, 0 included, once
it has ended. A completed call that connected therefore always has a
duration_seconds. A call with an answered_at was answered, whatever stage its
failure names: a voice service that dropped the call just after it came up
still reads its connected time. The time between started_at and
answered_at is ringing (or, in a browser, connecting), and it is never billed.
The timeline has all three moments as rows of their own (placed, answered
and, once the call is over, ended), each at the same value as its field — a
call that ended without ever being answered has requested in place of
placed, because it never reached anyone — and
every transcript turn in it is dated answered_at + offset_ms, so the dial,
the answer, the first word and the end can be told apart. A browser session that
never recorded a start of its own has started_at equal to created_at, never
null. placed (or requested) is always the first of the three, and neither ended nor the
call’s own failure row (or failure.at) is dated before it. Steps that run
before the call is placed — a before stage and its tools — can be.Every timestamp in this response — the call’s fields, every timeline row,
failure.at, analysis.completed_at and the execution block — is ISO 8601
in UTC, written with a +00:00 offset (2026-09-26T18:41:45.416535+00:00), and
so are GET /calls and the browser session’s expires_at from
POST /calls {"type":"web"}. The number of fractional digits varies; parse it
as a timestamp rather than comparing strings. Any of them can be sent back as
updated_since, from or to exactly as printed — URL-encode the + as %2B,
though one that arrives as a space is read as the + it was.
Who ended the call, and why
A finished call carries two fields that say how it stopped. Both are
first-write-wins: whichever producer records one first keeps it, so a later and
vaguer answer never overwrites a specific one. They are on GET /calls too.ended_by is who stopped the call.
Value
When it is written
caller
The far end went away first — the person on the phone hung up, or the browser closed the connection, which is what the End button on a browser test call does. A browser call whose failure.code is caller_left (the person cancelled it, or closed its page, before it connected) always reads caller, whatever the voice server’s own clean-up recorded first.
agent
The agent chose to end the call: it used its end-call tool, reached the End step of its flow, or said its closing line and hung up.
system
Yappr ended it — the silence timeout, the maximum-duration cap, an answering machine, a fault that took the call down, a stuck call the platform’s watchdog closed, or a browser session that expired before anyone connected.
operator
Someone ended the call from outside it on purpose — the End button on a dashboard phone test call, POST /calls/{id}/end or the session’s cancel_url on a browser session nobody opened, or Yappr stopping a call that was stuck. It is never inferred from the carrier’s report; only a deliberate action that actually ended the call writes it, with disconnect_reason: "Ended by operator". Such a call has no failure.
unknown
The carrier reported the ending but did not say which side dropped the call.
null
Nothing has recorded it. A call still running, or one nobody could attribute.
A transfer records nothing at the handoff itself. Once the caller is bridged
to a person the leg is still up, so whoever hangs up after that is the answer,
and the carrier’s own report supplies it. You read the value already resolved for
the call’s direction — on an incoming call the carrier’s “the called side hung
up” is the agent, on an outgoing call it is the person you dialled.disconnect_reason is a short human-readable label for why, meant for display.
Branch on status and ended_by; treat this as text. What appears in practice:
ordinary endings — Completed, No answer, Busy, Call rejected, Cancelled
the platform stepping in — Caller inactive, Max duration reached, Voicemail detected, Answering machine detected, Ended by operator, Ended by the platform: stuck call, Failed
a handoff that never connected — Transfer not answered, Transfer destination busy, Transfer rejected, Transfer destination unreachable, Transfer never connected, Transfer failed. A handoff that did connect ends as Completed.
an outgoing call that was never placed — Not placed: …, saying why: queued to try again (the request went back to the queue and is placed again under a new call), calling service unavailable, calling service unavailable after retries, number not in service, number cannot be dialled, caller number not active, refused by your Telnyx account, refused by your phone system, rejected by the carrier, refused before dialling or the call could not be started. Such a call is failed and was never dialled.
Ended by the platform: stuck call is a call that was still open ten minutes
after its agent’s maximum duration. Yappr closes it with ended_by: system and
bills it only up to the last moment something on the call showed it was alive
within that maximum duration: the last thing the call did, or the end of its
recording. When nothing did after the call started, it is failed with a
duration_seconds of 0. The call is final from then on: nothing reported about
it later changes its status, duration_seconds or charge.A call whose conversation finished by itself but whose final status could not be
saved at the time (the database was too slow to take it) is not a stuck call. It
is closed the same way, at the moment the conversation finished, counted from
when its audio started like any other call, and it carries the ending it would
have had: Completed, with ended_by left to what the carrier reported.The wording of a label may change. New ones are added when a new ending becomes
distinguishable, so do not treat the list as closed.
Why a call did not complete
A call whose status is failed or no_answer carries a failure object. A
call that completed has no failure member at all — its absence is the answer,
so check for the member rather than for a value inside it. Nor does a call
someone ended on purpose from outside it (ended_by: "operator"): it did not
fail, and ended_by and disconnect_reason say why it stopped.
{ "status": "failed", "failure": { "code": "network_blocked", "reason": "The caller's browser never finished connecting, so no audio could flow. This is almost always a firewall or a restricted network on the caller's side.", "stage": "connecting", "at": "2026-09-20T20:17:38.738+00:00" }}
code is what you branch on. It is stable; reason is a sentence for a person
and its wording changes.
code
What happened
stage
no_answer
Nobody picked up before the call timed out
dialing
busy
The number was busy
dialing
rejected
The far end rejected the call
dialing
cancelled
The call was cancelled before anyone answered — or, at stage connecting, a browser session ended with POST /calls/{id}/end or its cancel_url before such an end was recorded as the operator’s (those older calls read ended_by: "system"; one ended since reads operator and has no failure). With ended_by: "caller" it is a dashboard rehearsal the person on it cancelled, and reason says so; at is when they cancelled
dialing, connecting
unreachable
The number could not be reached at all
dialing
caller_left
A browser call the caller cancelled, closed, or navigated away from, before it connected — nothing was spoken; ended_by reads caller
connecting
network_blocked
A browser call whose connection never came up — a firewall or a restricted network on the caller’s side. On a call made before the platform recorded a late answer from the voice server (see voice_unavailable), only the browser’s timeout was recorded, so a browser that never received that answer reads network_blocked too
connecting
voice_connection_failed
A browser call the voice server did not answer: it refused to connect it, so it never started — trying again gets the same answer until the cause is fixed
connecting
preparation_failed
A dashboard rehearsal whose before-call steps failed before any call existed, so no browser ever connected. The Test tab named the step and what its tool answered
connecting
voice_unavailable
The voice server did not answer: it timed out, was busy, could not start the call, or answered a browser that had already stopped waiting for it. On a call made since the platform records that last case, a browser that never received the voice server’s answer is never network_blocked; an older call keeps the code it was given
connecting
call_interrupted
The call ended unexpectedly mid-conversation
conversation
transfer_failed
The call was handed to another number that never picked up
conversation
session_expired
A browser session minted with POST /calls{"type":"web"} that nobody connected to before its token expired — no call took place
connecting
unknown
The call failed and nothing recorded why
null
stage is where in the call it went wrong, and is null when nothing recorded
enough to say. at is when the failure was recorded — or, when nothing recorded
a moment of its own, when the call ended (ended_at); null only while neither
is known.New codes are added when a new failure becomes distinguishable, so treat an
unrecognised code as unknown rather than as an error in your integration.The same failure also appears in timeline as a phase row with
status: "failed" and the same sentence in error, so a client that renders
the timeline shows the failure without reading this member.failure is the whole answer. metadata is what you attached at
POST /calls; the text the platform recorded when the call failed is not in it
and never was documented to be — it is the carrier’s own cause code or an
exception’s tail, and neither it nor when it was recorded is returned.Some keys the platform adds to metadata do stay, and this is not an exhaustive
list: ab_variant and ab_variant_fallback when a split picked the agent,
share_link_id on a call from a share link, agent_id on a test call started
from the dashboard, queued, queue_id and queue_wait_seconds on a call that
waited for a free line, and workflow_request_id on a call started from a call
request. A call that spoke also carries timezone and timezone_source: the
zone the agent’s clock and date variables ran in (an IANA name) and where it
came from (call_variable when the call set variables.Timezone, workspace
or fallback). timezone_unconfirmed: true is added, and is absent otherwise,
when that zone is UTC taken from a workspace that may never have chosen one. It
is the agent’s clock, which a calendar tool books on only when it shares that
zone. A timezone key you attach yourself is never replaced. Name your own keys
so they cannot collide with these.
What happened on the call
timeline is one time-ordered list of everything the call produced — the same
rows the call log shows in the dashboard, read from the same place. There is no
second endpoint to stitch together and no risk of your view disagreeing with the
one your customer is looking at.Every row has a kind and an at. What else it carries depends on the kind.
kind
What it is
The fields that matter
call
The call being placed, answered, then ending
event (placed / requested / answered / ended; requested is a call that ended without being answered)
message
A turn in the conversation
role (agent / user / voicemail), text, offset_ms (from answered_at)
phase
A stage of the call, including the one it failed on
lane (before / during), scope, status, error, code
strict says where a transition row came from. true is the authoritative stage
cursor an agent’s conversation holds, and only those rows carry an
edge_condition — the workspace’s own wording for the route that fired. false
is the agent’s own record of the stage it entered, which is what an older call
has. An agent whose conversation has no stages produces no transition rows at
all.A workflow step’s tool row carries lane, the stage it ran in: before (before
the call connected), during (in the conversation) or after (a follow-up once
the call ended). A phase row’s lane is before or during only: what runs
after the call is the trigger and delivery rows.A dashboard rehearsal that ended before any call existed — its before-call step
failed or refused the call (failure.code: "preparation_failed") — has one
beforetool row for that step: its name, status: "failed", the
response_status it answered when it answered one, and error_code. That is
everything recorded about it; the rest of its run belongs to no call.A tool row adds the fields that make sense for what it is:
tool_type
Extra fields
http
method, url_host, request_bytes, response_status
app
app, action, connection_label
transfer
destination
end
reason, ended_by
Reading a tool failure
A tool row that did not work out carries both halves of the answer: error,
one sentence for a person, and failure, the stable code behind it.
failure.code
What happened
What to do about it
tool_timeout
The tool did not answer inside its own limit, which comes back as failure.limit_seconds
The action may or may not have happened. Check the other system before retrying
tool_unreachable
Nothing answered at the address
Check the endpoint is up and reachable from the internet
tool_rejected
It answered, and refused — an http row also carries response_status
Read the status; the request or its credentials are wrong
transfer_failed
A transfer to a human did not go through
Check the destination number
tool_failed
It failed, and there is no finer word for it
Read error
A timed-out tool keeps status: "pending" on purpose: nothing answered, so
whether it did the thing is genuinely unknown. failure is what tells that
apart from a step that is still running — a step still running has no failure
member, and neither does one that worked.
Reading a status
Every row that has a status uses the same three words: succeeded, failed,
or pending — the step has not settled yet. A delivery row is the one
exception and carries the delivery ledger’s own delivered, failed,
pending or unknown — no answer came in time, so your endpoint may have
acted; check there. A row can also arrive with no status, which means the agent’s own
record of that step never came back; it is not a failure.Branch on those values, and on failure.code for a tool row. A tool or
delivery row that did not work out also carries error_code, the code
GET /deliveries gives the same failure,
taken from that endpoint’s error_code list (for example
downstream_http_error, http_timeout or http_network_error). A code added
to that list reaches this field too, so read one you do not know as
delivery_failed. It is absent on a row that worked or has not settled. error and error_message are sentences written for a
person to read, and their wording changes.
Reading a stage
A phase row is one stage of the call: before (the steps that run before it
connects) or during (the conversation). A stage that did not work out has
status: "failed", a sentence in error, and code, the word to branch on;
code and error are null on a stage that worked or has not settled.
code
What happened
cancelled
The stage was stopped before it ran
expired
The stage ran out of time
declined
The stage was not accepted for this workspace
inputs_invalid
A step could not run: its inputs did not match what its tool expects
did_not_finish
The stage did not finish, and there is no finer word for it
A call that completed ends its during stage when the line goes down — the
caller pressing End, closing the tab or hanging up, or the agent ending it — and
a call handed to a person (transferred) ends it at the handoff, so that stage
reads succeeded: a failedduring stage goes with a failure. A before
stage can fail on a call that still connected, when the agent is set to carry on
without what it could not get; that row stays failed, because it did. The
failure row for the call itself (below) has scope: "call" and carries the
failure.code as its code.
Summaries, not payloads
A timeline row tells you what a step did and how it went, never what was
in it. A URL’s path and query, request headers, API credentials, the account id
behind a connected app, and raw request and response bodies are not returned
here and never will be. A failure comes back as error — one sentence written
for a person to act on — with failure.code beside it on a tool row: a small,
documented set of words for what went wrong, never the engine’s own error text.A follow-up step that reads a value from the call by description (see Tool
inputs) has the same
shape: its tool row carries reads — each input, the description the author
wrote and whether the call said it (read), the fixed value was used
(fallback) or nothing was sent (missing) — but not the value. A step the
call gave no value for is a skipped row with its reason, and is not a
failure.That rule is about timeline. What each tool call sent and got back is in
tool_calls, below: a tool row’s exchange_id is the matching
tool_calls[].id.
What each tool call sent and got back
Every entry of tool_calls carries the tool call’s full record, on every
engine: workflow agents, prompt and flow agents, connected apps, transfers and
End.
Field
What it is
agent_asked
The arguments the agent called the tool with (null for a before- or after-call step)
request
The request exactly as it left: method, the full url with its query, every header in headers, the body; target instead of a URL for a connected app (Google Calendar · Find event) or a transfer
response
The answer: status, every header in headers, the body (also when the endpoint refused or did not answer JSON), timed_out, and error_code when it went wrong
agent_was_told
What the agent got back (null for a before- or after-call step)
given_to_agent
A before-call step only: how its result reached the agent (below)
status
succeeded, failed, timeout, unreachable, refused (turned away before anything was sent, for example a transfer on a call with no phone line), not_sent or unknown (not confirmed whether it happened: the request went out, its answer could not be used, and the agent was told so)
The answer above was 40 KB: body is its first 16 KB, as text, and
body_bytes is the full size. Each body (agent_asked, request.body,
response.body, agent_was_told) is kept up to 16 KB.What a before-call step gave the agent. No agent asked a before-call step,
so its agent_was_told is null. Its given_to_agent says whether the live
agent got the result, how and where, recorded as the agent’s instructions were
built:
Field
What it is
via
instructions_block (the result is in the prepared-data section of the agent’s instructions, as the conversation started), placeholder (a {{before.<step>.<field>}} you wrote got its value), seed (the step results every workflow conversation starts with). Empty when the agent was not given it
places
Each {{before.…}} reference to this step in text the agent read: global (its global instructions), step:<node id> (a conversation step) or greeting (the opening line), with filled: false where the fallback was used. step:<node id> places are listed for the steps the document lets the agent reach: every step in a flexible document, only the steps the conversation reached in a strict one
result
The result as the instructions carry it: credentials, diagnostics and private references left out, long values cut to fit. Kept also when the instructions did not carry it, so you can see what the agent missed
bytes, truncated
How much of it the instructions placed (0 when none); truncated is true when the agent saw a value cut to fit
reason
Why the instructions did not carry it, null when they did: no_result_released (no result, or an empty one), budget (the 32 KB prepared-data section was full), not_in_instructions, or the step’s own failure code
given_to_agent is recorded on calls made once the voice release that records
it is live. It is absent on an earlier call, and once the record’s details
expire: that means it was not recorded, not that the agent did not get it.A tool that got no answer in time reads like this, and may still have acted on
the other side:
What is hidden. A value that looks like a credential comes back as
"[REDACTED]", and its place is listed in masked:
Hidden
Kept
The Authorization, Proxy-Authorization, Cookie and X-Api-Key headers you send, and Set-Cookie in an answer
Your own data in a payload: names, phone numbers, emails, addresses
Any header, query parameter or JSON key whose name contains token, secret, password, signature, credential, api key, access key, private key or session id
Numbers and true/false values, whatever their name
Any whose name ends in key or session (signing_key, license_key, X-Signing-Key, session, user_session), or is exactly key, auth, sig, otp, jwt, pwd or bearer
public_key, primary_key, foreign_key, sort_key, partition_key, session_count and the like
A bearer token, an API key (sk_…, AKIA…, AIza…, ghp_…), a JWT, inside any text
token_type, total_tokens, key_name and the like
A URL’s user and password, and every value configured on the tool’s headers, wherever it appears
Everything else
Where it went needs a tools scope. For a Make or Zapier hook the path of
the URL is the credential, so a key with neither tools:read nor
tools:update reads each request.url as its scheme and host alone
(https://hook.eu1.make.com), and the entry carries
"destination_path_withheld": true. The raw tool_called entries of events
are cut the same way. The method, the headers (secrets already hidden) and the
bodies stay. This is the rule Get Delivery
follows for the same send.Kept for 90 days. After that details_expired is true, agent_asked
and agent_was_told are null, and the record’s request and response details
are gone; the summary stays. A call placed before records began (21 October
2026) has none of these fields, and its entries read exactly as they always did.
Reading a delivery
delivery rows are the whole webhook ledger for the call, whichever part of
Yappr sent them: a follow-up step that posts to your endpoint and a workspace
webhook both land here, in the same shape.id is the delivery’s own id — the same row List Deliveries
returns, and the one Get Delivery reads with what it sent and
what came back. tool_id is the tool whose step sent it (null for
an agent not yet on the workflow engine, which sends in its own name), and agent_id is that
agent or, for a step, the agent whose call this is. Names repeat; ids do not.
A call placed before your workspace moved to the current engine has no stages,
and any transition rows it has are strict: false; its transcript, its tool
rows and its deliveries still come back here, in exactly the same shape. That
holds for a single-prompt agent too: its webhook tools, its transfers and its
end-of-call arrive as ordinary tool rows. Read the kind of each row rather
than assuming which kinds a call will have.A call that failed gets one phase row for the failure itself, with
scope: "call", status: "failed", the failure.reason sentence in error
and failure.code as its code — unless the call’s own stages already report
the failure. A call
whose run recorded a failed stage of its own keeps that row and gets no second
one, so read the failure member when you want the one canonical answer.
A/B calls
When the number that took the call is running an A/B split, ab_variant says
which side ran (a or b), and ab_variant_fallback is true when the split
picked b but the call went to a because b could not take it.
Follow-ups that did not run
A follow-up that ran shows up in timeline as a trigger row, then its tool
and delivery rows. When one of the agent’s follow-ups did not run on this
call, follow_ups names it and says why. The member is absent when there is
nothing to explain: every follow-up started, the workflow had none, or the
agent has no published workflow. The dashboard’s call page shows the same
answer.
state is waiting when every group is still waiting for the result it runs
on. Read the call again later: the follow-up runs once that result is ready.
Any other answer is skipped, which means at least one follow-up will not run
on this call.
reason
What it means
browser_test
A test call from the dashboard that ran without the workflow, so none of its follow-ups ran. steps lists every follow-up the agent had published when the call started.
no_workflow_run
Any other call that ran without the workflow, such as a share-link or Web SDK call. steps is the same list.
artifact_pending
The result this follow-up runs on (artifact, for the trigger event) is still being produced.
artifact_unavailable
That result was never produced and nothing more is coming, so the follow-up will not run. For example, the transcript was empty, or the call’s analysis reads failed or skipped with a completed_at — from that moment a follow-up on analysis.ready reads this, not artifact_pending or artifact_late.
artifact_late
The call’s run closed before that result arrived.
condition_not_met
The follow-up’s Only if did not hold for this call, so it ran nothing on purpose. trigger_id and event name the follow-up, steps lists what was skipped, and seen lists the call facts the condition read, each as {"path": "/status", "value": "completed"}.
event and artifact are present on the three artifact_* reasons only; event is also on
condition_not_met, with trigger_id and seen. Treat a reason you do not recognise as
skipped. A follow-up its own condition skipped is not a cancellation: when it is the only
thing follow_ups explains, follow_up_state is decided by the follow-ups that did run, as if
follow_ups were absent.execution.summary.follow_up_state, when the response carries execution,
says the same thing in one word, read from follow_ups and the trigger rows
together. The first line that fits is the answer:
follow_up_state
When
failed
A follow-up that ran failed.
running
A follow-up is still running, or one has run and another is still waiting.
not_started
follow_ups.state is waiting and no follow-up has run yet.
cancelled
follow_ups.state is skipped: at least one follow-up will not run on this call.
unknown
A follow-up ran and its outcome never came back.
succeeded
Every follow-up that ran succeeded, and follow_ups is absent.
unavailable
Nothing ran and nothing is explained (the agent has no follow-ups), or the timeline could not be read.
What the call cost
cost_cents is what this call took out of your credit balance — the same number
the dashboard shows on the call, in credits, where one credit is one cent.A call is never billed for longer than its agent’s max_call_duration_secs
plus 60 seconds, or 4 hours when the agent has no cap or the call was
transferred to a person. If a call is reported as running longer than that,
duration_seconds and the charge both stop at that limit.
Final. The call ended without billable time — it failed, nobody answered, it was blocked, or it completed with no connected time — so nothing was charged. A call that ended more than 24 hours ago with no charge recorded reads this too: nothing came off the balance for it, and nothing will.
pending
null
Not final. The call is still running, or it ended less than 24 hours ago and its charge has not been recorded yet. Come back.
Only pending is worth polling. null never means “free”, and 0 never means
“not settled yet”. Totals across
calls — by day, by product or by agent — are
GET /billing/consumption; the balance
that remains is GET /billing. This page’s
field is the one call’s own line, so a per-call ledger needs no aggregation and
no guess from duration_seconds.usage, below, is not a cost. It is what the call consumed on the voice model
that ran it, reported by the provider itself, and it carries no price. What the
call cost you is cost_cents, above.
How many provider sessions the call spanned. More than one means the connection was rebuilt mid-call; the usage is still the whole call’s.
legs[].audio_input_tokens
Prompt tokens that were the caller speaking.
legs[].text_input_tokens
Prompt tokens that were text — instructions, history, tool definitions.
legs[].audio_output_tokens
Completion tokens that were the agent speaking.
legs[].cached_input_tokens
Prompt tokens served from the provider’s cache.
legs[].audio_seconds
Seconds of live audio, for an engine billed by time rather than by token.
legs[].backend_model
The reasoning model behind the voice, where the engine has one.
The two engines report in different units, and the response says which. A
Gemini voice bills tokens split by modality, so its leg carries token counts. A
GPT voice bills seconds of live audio, so its leg carries audio_seconds and
its token fields are null. Read whichever the leg has rather than assuming.No usage member is not a call that consumed nothing. A call that never
reached the model has no reading at all, and neither does a call that completed
before this shipped. usage is absent for those, deliberately — a zero there
would be a measurement we did not take.
What language the summary is in
summary is written in the language the call was held in. That is read off
the conversation itself when it is clearly Hebrew or clearly English — so an
English agent answered in Hebrew is summarised in Hebrew — and taken from the
agent’s language (he Hebrew, en English) when too little was said to tell
or both were spoken. It never follows the workspace or the language of whoever
reads the call back, so the same call always reads the same way. A call
summarised before this rule keeps the summary it was given.transcript is never translated — it is the conversation verbatim, in whatever
was said on the call.
Whether the analysis has run yet
summary, disposition and extracted_data are all written by one post-call
pass, and until that pass lands none of them is on the call at all. So their
absence cannot tell you which of three different things happened: still
processing, nothing to process, or something broke.analysis answers that, and it is on every call — rows of GET /calls too.
Read summary, disposition and extracted_data — whatever it produced is on the call now, which on a call it found no values in is no extracted_data at all. A done call always has a summary.
skipped
Stop polling. Nothing is coming and nothing is wrong.
failed
Stop polling. Nothing is coming and something is wrong — this is the one worth an alert.
reason
Which case it is
call_in_progress
The call has not ended yet — including a call handed to a human, which reads this until that leg ends and the pass runs.
awaiting_analysis
The call ended; the pass has not landed.
call_did_not_complete
The call failed or nobody answered, so there was nothing to read.
call_too_short
Shorter than the three-second minimum below.
no_transcript
Nobody said anything on the call.
analysis_failed
The pass ran and could not produce an answer.
no_summary
The pass ran and came back without a summary, on every attempt, so nothing it produced was kept: no summary, disposition or extracted_data, and no call.analyzed. The analysis entry of execution.summary.artifacts says the same: failed, reason_code: "no_summary".
analysis_unavailable
The call is long past when the pass should have landed, and it never did.
reason is null only on done. Branch on status; treat a reason you do
not recognise as the bare status.How long to wait. A call under 3 seconds is never analysed — that comes
back as skipped / call_too_short immediately. Above that, the pass runs once
the call’s transcript is written, which normally puts it on the call within
a minute or two of the call ending. Poll every few seconds and treat anything
still pending after 10 minutes as stuck — at that point the call itself
stops saying pending and starts saying failed / analysis_unavailable.
The one exception is a call from an agent whose workflow has steps of its own:
its transcript and analysis are retried (three attempts, within a day of the
call), so while a retry is still due it keeps reading pending /
awaiting_analysis past the ten minutes, and it reads failed only once
nothing more is coming. That state is also written onto the call within five
minutes of that point,
which moves its updated_at, so a sync windowed on
?updated_since= reads the
call again rather than keeping it pending for ever. If the pass does land
later after all, it replaces that state with done, which moves updated_at
again.completed_at is when the pass finished, when the platform recorded the time.
When the summary is written again later — after a repair of the call’s
transcript — it is when that happened, and the rewrite moves updated_at. It is
null on a call analysed before that was recorded, and on a state read off the
call itself rather than written by the pass.
Prefer the call.analyzed webhook to polling if you can take one: it fires when
the pass lands, so there is nothing to wait on. It can arrive a second time when a
later pass fills in something the first one lacked (see
Webhooks); keep the later one.
What the agent picked out of the call
extracted_data carries the fields the agent’s extraction_parameters asked
for, read out of the transcript after the call ended.The member is absent, not null, whenever extraction wrote nothing — an
agent with no parameters configured, a call too short to analyse, an analysis
that failed, an analysis that has not landed yet, or an analysis that ran and
found no value for any parameter. Read it with a presence check rather than a
truthiness one, and read analysis above to tell those apart: the first four
read pending, skipped or failed, and the last is the one case where
analysis says done and extracted_data is still not there.That last case is normal on a call answered before its parameters existed:
parameters are read out of the transcript at analysis time, so adding one to an
agent today does not put it on calls it already made.When it is there it carries one key per configured parameter, and the value of
each is the kind that parameter declared:
type
The value you get back
text (the default)
A string
number
A JSON number — 12, not "12 seats". An approximate answer is its number (“about 12” is 12), a half is kept (“two and a half” and “שנתיים וחצי” are 2.5, “a year and a half” and “שנה וחצי” are 1.5, “half a year” is 0.5), and a range is its middle (“3-4” and “שלוש או ארבע” are 3.5)
yes_no
A JSON boolean
date
A YYYY-MM-DD string
null means the conversation never supplied that value, or supplied something
that could not be read as the declared kind. It never means the parameter is
missing — a configured parameter is always a key.A number the caller gave as a range (“בין שש לשבע”) is stored as its middle,
6.5, and extracted_data_ranges beside extracted_data gives the two ends:
{"pain_level": {"low": 6, "high": 7}}. It is absent when no number was a
range, and on calls analysed before it was recorded.A date is read from the day the call started, in your workspace’s time zone
(the one in your workspace settings, UTC if none is set - and a workspace left
on UTC reads a call made in Israel after midnight as the day before). What the
caller said decides the rest, and each date is held to the caller’s own words:
The caller said
Stored, for a call on Wednesday 23 September 2026
A full date with its year — “12 April 1990”
That date as said: 1990-04-12. A year the caller said is never moved.
A day and month with no year — “the first of November”
The next time that day comes round, counting the call day itself: 2026-11-01. “The first of March” is 2027-03-01, never a date in the past — unless the caller said that day already happened (“it ended on the 3rd of June”, “I arrived on the 5th of March”, “נכנסתי ב-5 במרץ”, “עזבתי ב-2 בדצמבר”): then it is the last time that day came round, 2026-06-03, 2026-03-05, 2025-12-02. A day that belongs to something still to come stays ahead, even after a past verb: a target (“the hearing was moved to the 5th of March”, “rescheduled for the 5th of March”, “נדחה ל-5 במרץ”), the day of an event that a letter, message or call told the caller about (“I got a letter for my hearing on the 12th of November”, “קיבלתי זימון לדיון ב-12 בנובמבר”, “I got a letter about my surgery on the 12th of November”, “קיבלתי מכתב על הניתוח ב-12 בנובמבר” are 2026-11-12; “I had surgery on the 12th of November” is 2025-11-12, and “I received the results of my MRI on the 5th of March” is 2026-03-05), or of something that still holds (“I was told my visa expires in November”, “קיבלתי אשרה חדשה שנגמרת בנובמבר” are November 2026). Which day a letter, message or call names — the event’s or its own — is the reader’s judgement, returned as role: “I got a letter about my knee replacement on the 3rd of December”, “I got a form for my surgery on the 3rd of December” and “קיבלתי הודעה על בדיקת התוצאות ב-3 בדצמבר” are the event’s, 2026-12-03; “I got a letter about my lease on the 5th of March” is the letter’s, 2026-03-05.
A day of the month alone — “on the 5th”
The next 5th: 2026-10-05.
A day of a month counted from the call — “on the 15th of next month”, “ב-15 לחודש הבא”
That day: 2026-10-15. The day is kept in either language.
A day counted from the call — “today”, “tomorrow”, “the day after tomorrow”, “in a week”
Counted from the call day: 2026-09-23, 2026-09-24, 2026-09-25, 2026-09-30.
A day of the week — “next Sunday”, “on Tuesday”, “ביום ראשון הבא”
The first one after the call day: 2026-09-27, 2026-09-29. The same weekday as the call is the one a week on.
A weekday with a day of the month that disagree — “next Tuesday the 14th” when the 14th is a Wednesday, “ביום שלישי ה-14”
The day of the month the caller stated, 2026-10-14, not the weekday, with ambiguity: ["weekday_mismatch"] in extracted_data_precision: confirm the day before booking it. A weekday and a day that agree are not marked.
A month with no day — “sometime in November”, “mid-November”, “בנובמבר, עוד לא יודע באיזה יום”, “next month”
null. A month is not a day, and its 1st stored as one would be a guess a CRM books. extracted_data_precision says it was a month: {"precision": "month", "month": "2026-11"}. A month already gone this year is next year’s — unless the caller said it in the past tense (next row).
Something that already happened — “it ended in June”, “נגמרה ביוני”, “I arrived in March”, “נכנסתי ביוני”, “הגעתי לארץ ביוני”, “עליתי באוגוסט”, “yesterday”, “a week ago”, “last Sunday”
Counted back from the call day, never forward, whichever verb says it happened — “arrived”, “entered”, “moved”, “left”, “expired”, “הגעתי”, “נכנסתי”, “עליתי”, “עברתי”, “עזבתי”, “פגה”. A month: null with precision month — “it ended in June” is 2026-06, “I arrived in March” 2026-03, “it ended in December” 2025-12. A day: “yesterday” 2026-09-22, “a week ago” 2026-09-16, “last Sunday” 2026-09-20. In one answer each date keeps its own tense: “I arrived back in March, and my hearing is on the first of March” is March 2026 and 2027-03-01. Only what is still to come moves forward, including a date after a past verb that is the day of something ahead (row above).
A length of time ago in months or years — “three months ago”, “לפני שלושה חודשים”, “two and a half years ago”, “לפני שנתיים וחצי”
null with precision month, approximate: true: the month that length back from the call’s month — 2026-06, 2024-03. When the length was turned into a day while the call was analysed, a day before the call that is within a month of where the length points, and nearer to it than to the call day, is read as that month, approximate; any other day is kept as a day, so a date said beside it (“my visa expires in two weeks”, “tomorrow”) is never moved.
Something that is neither — “after the holidays”
null, with precision unknown. A guess stored as a date would be worse than none.
How precise a date was
For an agent that collects dates, extracted_data_precision sits beside
extracted_data, with one entry per date parameter:
precision
What the caller gave
extracted_data
month
day
A day
That day, YYYY-MM-DD
Its month, YYYY-MM
month
A month and no day
null
That month, YYYY-MM. With approximate: true when it was worked out from a length of time ago (“two and a half years ago”), not named: the month is as near as that length puts it
unknown
Neither, or nothing
null
null
An entry for a day or month also carries role when the reader judged what the
day belongs to: event — the day of the thing itself (a surgery, test, hearing,
appointment, flight, arrival, expiry, and the day a payment or refund falls due,
results are ready or a lease or approval ends), or message — the day a letter,
message, call, form or notice was sent or received, or a result, approval, refund
or payment was already received or paid. The role decides whose day a day said
with no year is: a message day has passed, and an event day that a letter,
form or call told the caller about, or that was booked, is the next one to come;
an event the caller says they had or went through stays in the past. A day the
letter, message or call says is still to come is that thing’s, whatever the
reader answered: “I got an email that my payment is due on the 5th of March” and
“קיבלתי הודעה שהתשלום יורד ב-5 במרץ” are 2027-03-05, and a message answer
for such a day is not recorded; “I got an email that my payment was received on
the 5th of March” is 2026-03-05. Without a role (on calls analysed before it was
recorded, when the reader could not say, or when the caller’s own words settle
it the other way: a letter about a flight or a surgery is that event’s day, a
letter answering an appeal or a claim, or about a surgery’s approval or cost, is
the letter’s) the caller’s words alone decide, as in the table above.
An entry also carries ambiguity when the caller’s own words disagreed about
the day: ["weekday_mismatch"] when they gave a weekday with a day of the month
that falls on another weekday (“next Tuesday the 14th” when the 14th is a
Wednesday). The day of the month they stated is the one stored; confirm it
before booking it.Read it before acting on a null date: month means “call back in November and
ask which day”, unknown means the caller never narrowed it down. It is absent
on calls analysed before it was recorded, and on agents with no date parameter.
To see what a sentence would give before a caller says it, use the
extraction dry run.
An object of nothing but nulls is a real answer: extraction ran and the call
said none of it. That is not the same as no extraction, which is the absent
member above.The same answers reach the person the call was with: lead (the call’s lead,
when one is matched) carries extracted, merged across that person’s calls, and
extracted_precision, the date fields their latest answer gave as a month. See
GET /leads/{id}. A key without leads:read reads
lead as { "id" } only.
Where the transcript comes from
transcript is the call’s transcript — what transcript.ready carries, and what
the summary and the extracted fields are built from. It is written once, after
the call ends, as [{ "role", "text", "start", "end" }] with start and end
in milliseconds from recording_started_at, the recording’s first sample.Every call’s transcript is made from its recording after the call, whichever
voice model ran the call and whatever language it was in. Where the recording
holds the caller and the agent on separate channels (browser calls, and phone
calls recorded that way), who said a line is read from the channel it was
recorded on, never guessed. You read transcript the same way on every call.The transcript is made once the call’s recording is saved, so a call that has
no recording has no transcript, and a call shorter than three seconds that was
not transferred has an empty one.Earlier releases also returned transcript_live, a second, in-call copy kept so
the two could be compared. It is no longer returned: read transcript.
Placing the transcript on the clock
recording_started_at is when the call’s recording began, as the carrier
stamped it, so recording_started_at + start is the moment a line was said:
const at = new Date(Date.parse(call.recording_started_at) + turn.start);
It is notstarted_at. An outbound call is recorded from its answer, so on
one that rang for 15 seconds every line would read 15 seconds early counted
from started_at. It is close to answered_at — within about 2 seconds, either
side — but not equal to it, so use recording_started_at whenever it is there.It is set once the recording is saved, usually a few seconds after the call
ends, and is kept from then on. The transcript.ready and call.analyzed
webhooks are sent after that, so they carry it on a phone call. It is null:
on a browser call. Its recording begins once the browser has connected, so
its start and end count from shortly after answered_at;
on a call with no recording (nobody answered, or the call is still running);
on older calls recorded before the field was added.
There is no transcript during a call. Not GET /calls/{id}, not a webhook and
not an event carries the conversation while it is going, on phone calls
(incoming or outgoing) or browser calls: transcript is written once, after the
call ends, and polling while the call runs returns none. call.answered is the
only notification sent while a call is going.To act on something the caller agrees to during the call — a callback time, a
booking — have the agent tell you at that moment:
Give the agent a webhook tool it must call
before it confirms, for example scheduleCallback, with
config.payload_config.extraction_parameters like callbackConsent (“yes”
only when the caller explicitly agreed) and callbackTime (ISO 8601 with an
offset). Its request carries the call_id and the call’s call_metadata.
Book only when callbackConsent is yes, and answer with the result for the
agent to say. The tool is sent once, with no retry, so dedupe on call_id.
Give it a second tool such as cancelCallback for a caller who takes it
back later in the call.
Check the caller’s final answer after the call. Add the same two fields
to the agent’s extraction_parameters: they are read from the whole
conversation, so a late “actually, no” wins. They arrive in the
call.analyzed webhook’s data.extracted_data and on this call as
extracted_data. Cancel what you booked when the final answer is not
yes. If call.analyzed does not arrive, poll this call until analysis
reads done.
Whether the caller was ever talked over
The last event in events[] is call_ended, and besides end_reason its data
carries two counts of how the conversation’s turn-taking actually went:
Key
What it counts
barge_ins
Times the caller spoke over the agent while it was talking and stopped it mid-sentence
barge_ins_within_250ms_of_bot_audio_onset
The subset of those that landed in the first quarter-second of the agent’s own audio
A caller who waits for the agent to finish and then answers is not a barge-in,
so 0 on a long, busy call means the agent was never talked over — not that
interruption was switched off. One intrusion is counted once, however many times
the call’s detectors noticed it, and a caller who talks straight through two
attempts by the agent to speak counts as one.The second count is a diagnostic for the line, not for the caller. A stop that
lands as the agent is opening its mouth is more likely to be the agent hearing
its own voice come back — phone lines have no echo cancellation at the browser’s
end of things — than a person deciding to cut in that precisely. A handful is
normal; a large share of barge_ins is worth raising with us.Calls placed before 2026-09-16 carry neither key.
How long the agent took to answer
call_ended.data also carries timing numbers, all in milliseconds unless noted.
They are measured on the voice server, not in the caller’s ear, so read them as a
close estimate that is the same on every call, not as an exact figure.
Key
What it is
turn_gap_ms_p50, turn_gap_ms_p90, turn_gap_ms_max
The gap between the server hearing the caller stop talking and the first audible sound of the agent’s reply: typical, slow end, longest
turn_gap_ms_n
How many replies those three were measured over (at most 64)
first_audio_ms
From the call’s pipeline starting to the agent first being heard. null if the agent never spoke
tool_wait_ms_sum, tool_wait_ms_max
Total and longest time the agent spent waiting for a tool to answer. 0 on a call with no tool calls
host_cpu_stall_ms
How long work on the voice server waited for a processor while the call ran. null where the server cannot report it
loop_lag_p99_ms, loop_lag_max_ms
How late the server’s scheduler ran during the call: the slow end and the worst moment. null if it was not measured
mean_concurrency
The average number of calls running on the same server while this one ran
resolve_bot_workflow_ms
Time spent loading the workflow agent’s prepared call before it started
workflow_session_start_ms
Time spent opening that workflow agent’s session
prompt_build_ms
Time spent building the agent’s instructions for the call
claim_media_admission_ms, record_media_receipt_ms
Browser calls only: time spent admitting the call, and recording that the browser connected
residual_wait_ms
Phone calls only: how long the agent still waited for its voice connection after everything else was ready. 0 when it was already open
Calls whose end-of-turn decision runs on the server: how many decisions were made, how long they took in total, and the processor time the server spent meanwhile
host_cpu_stall_ms, loop_lag_*, mean_concurrency and smart_turn_cpu_ms
describe the whole voice server over the time of the call, not this call alone:
every call that ran at the same time reads the same stall. They are there so a
slow call can be told apart from a busy moment.A call where the agent never replied has first_audio_ms: null and none of the
turn_gap_ms_* keys. A key that does not apply to a call’s kind is absent, not
null. Calls placed before 2026-10-04 carry none of these keys.
How long the line went quiet
Four more keys on call_ended.data describe silences. “Audible” means at speech
level: a line carrying only faint sound counts as silent, because that is what the
caller hears.
Key
What it is
longest_agent_silence_ms
The longest stretch, after the agent first spoke, with nothing audible from the agent. It runs to the end of the call if the agent never spoke again
longest_dead_air_ms
The longest stretch with neither the agent nor the caller audible, counted from when either was first heard
socket_drops
Times the agent’s connection to its voice model failed (and the agent tried to rebuild it) during the call. A planned reconnect is not counted: the voice model’s own scheduled session rotation, or a fresh session the platform asked for
recovery_fired
Times the agent was prompted to speak because it owed the caller an answer and stayed quiet, for example after such a drop
Calls placed before 2026-10-21 carry none of these four. Before that date the
turn_gap_ms_* keys could also count faint sound as the start of the agent’s reply.
When execution history is enabled for your workspace, the response carries an
execution block beside the call: what the platform actually ran, step by step,
with timings, attempts and the readiness of each thing the call produces. Ask
for a page of it with execution_limit (1–200, default 50), narrow it with
execution_phase, execution_kind or execution_status, and follow
execution.history.next_url for the next one — it carries execution_cursor
with the limit and filters it was issued for. These five, and omit below,
are the only query parameters this read takes.
Reading a call without it
GET /calls/{id}?omit=execution reads the call without its execution history:
the history is not read at all, so the answer comes back sooner and is a fraction
of the size (on a workflow call the block is most of the body). Everything else
is the same, and execution keeps the three members the rule below stops on —
summary.settlement, summary.is_settled and refresh_after_ms, at the same
paths — worked out from the call itself, on every call:
Use it to poll a call until it settles. omit takes one value, execution, sent
once, and cannot be sent with an execution_ parameter — each of those is
400 CALLS_QUERY_INVALID.The response member execution_status says what execution is on every read.
It shares its name with the execution_status query parameter above, which is
something else: a filter on the history’s rows by their own status (failed,
running and so on).
execution_status
execution
included
The whole block. A call of an agent that runs no workflow (a prompt agent, and every call from before workflows) reads this too: its execution.owner is legacy and its history.coverage is legacy_best_effort, what the call itself recorded. A workflow agent’s call reads ownerworkflow.
omitted
You sent omit=execution: the three members above.
pending
The history did not answer in time. The three members above, from the call itself; read again for the block.
none
Absent. Nothing at all was recorded for the call’s execution — your workspace is not on execution history. A call that ran no workflow is not this: it reads included with ownerlegacy.
Without an execution_ parameter the block rides along on a best-effort basis:
a history that cannot be read at that moment is pending, never a failed read
and never a missing member. Send execution_limit when you need the block or an
error — then a history that cannot be read is 503 EXECUTION_READ_UNAVAILABLE.When to stop polling. A call that has ended, whose analysis is no longer
pending and whose cost_status is no longer pending, and whose block has
nothing still running, waiting or due (active_work empty, no
next_deadline_at, no artifact pending or running, follow-ups not
running or not_started), reads summary.settlement: "settled",
summary.is_settled: true and refresh_after_ms: null: nothing on it will
change. Its history.complete is true when the page you have is all of it (no
next_url, and none of it has expired), and then history.gaps is empty;
history.coverage still says which record it is. A browser session that ended before
anyone connected reads the same. Until then refresh_after_ms says how long to
wait before asking again. With omit=execution (or a pending read) the same
three members answer the same question from the call itself: it has ended, its
analysis and cost_status are final, and no stage, step, follow-up or delivery
on its timeline is pending (a timed-out tool, which keeps pending beside a
failure, does not count).It is an investigation view, not an authority. Two things follow from that:
It is a bounded snapshot.execution.summary.revision and
execution.history.high_water_mark are strings, because a journal position is
larger than a JavaScript number can hold exactly. History is retained for a
limited window, and execution.history.complete says whether you are looking
at all of it.
The schema is the whole of it. The block is not filtered on the way out,
it is projected: the API copies the members CallExecution documents and
drops everything else, whatever shape it arrives in. So delivery-row ids,
internal job and journal counters, storage-retention flags and our own
diagnostic notes are not in it, every URL points at
https://api.goyappr.com whatever we recorded internally, and a field you do
not find in the schema will not appear here at all — including one we add
next month.
For the conversation itself — turns, tools, transfers, webhook deliveries — read
timeline above. execution answers the different question of whether the
platform finished its own work.
Errors
HTTP
Code
When
400
CALLS_QUERY_INVALID
A query parameter other than the five execution-history ones and omit, or one of them sent twice or with no value; an omit other than execution, or omit=execution beside an execution_ parameter. The message names it.
404
NOT_FOUND
No call with this id in this workspace. Ids are the ones GET /calls and POST /calls return.
410
EXECUTION_RETENTION_EXPIRED
The execution_cursor points at history that is no longer retained. Read the call again without it.
422
EXECUTION_CURSOR_INVALID
The execution_cursor was not issued by this read or was sent with other filters, or execution_limit or a filter is not a value the history has. Follow next_url rather than building one.
503
EXECUTION_READ_UNAVAILABLE
Execution history was asked for and could not be read. Retry the same request.
404
RESOURCE_ID_INVALID
The id in the path is not an id at all.
403
INSUFFICIENT_SCOPE
The key does not hold calls:read.
Authorizations
Authorization
string
header
required
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).
Path Parameters
id
string<uuid>
required
Query Parameters
execution_limit
integer
default:50
How many execution-history rows one page holds. Only read when the execution block is returned.
Required range: 1 <= x <= 200
execution_cursor
string
The next page of execution history. Do not build it: follow execution.history.next_url (or refresh_url), which carries it with the limit and filters it was issued for. A cursor this read did not issue, or sent with different filters, is 422 EXECUTION_CURSOR_INVALID; one older than the retained history is 410 EXECUTION_RETENTION_EXPIRED.
execution_phase
enum<string>
Only execution-history rows from this phase of the call.
Available options:
before,
during,
after,
platform
execution_kind
enum<string>
Only execution-history rows of this kind.
Available options:
execution,
request,
physical_call,
phase,
action,
attempt,
receipt,
sequence,
control,
producer,
readiness,
legacy_webhook,
dnc_webhook,
lead_stage,
recovery
execution_status
enum<string>
Only execution-history rows in this status - a filter on the rows of execution.history. Not the response member of the same name, which says what execution is on the read (included, omitted, pending or none).
Available options:
waiting,
running,
succeeded,
failed,
pending_external,
unknown,
skipped,
cancelled,
validation_blocked
omit
enum<string>
execution reads the call without its execution history: the history is not read at all, so the answer comes back sooner and is a fraction of the size. execution then carries only summary.settlement, summary.is_settled and refresh_after_ms, worked out from the call itself, on every call (execution_status: omitted) - the members a poller stops on. Cannot be sent with an execution_ parameter, and takes no other value (400 CALLS_QUERY_INVALID).
Available options:
execution
Response
Full call details
id
string<uuid>
agent_id
string<uuid>
from
string | null
The caller, in E.164. On a call that arrived on a SIP endpoint it is whatever your phone system sent as the caller, which may not be a phone number, and null when the caller ID was only a username-and-password trunk's own username. An empty string on a browser call.
to
string | null
The number dialled, in E.164. null on every call that arrived on a SIP endpoint, and sip_endpoint_id names the endpoint: a SIP address endpoint's address is its credential, and what a username-and-password trunk's call dialled shows in the dashboard's call log. An empty string on a browser call.
personal_data_withheld
boolean
Present, and true, only when a calls:metrics key that does not hold calls:read read the call: the people on it and what they said were held back. Absent on every other read.
direction
string
status
string
started_at
string<date-time>
When the call was placed - dialled, arrived at your number, or its browser session opened. The same moment as created_at, and created_at itself on a browser session that never recorded a start of its own: never null. It is not when anyone answered; that is answered_at.
answered_at
string<date-time> | null
When the call's audio came up - the person you dialled picked up, your number answered the caller, or the browser connected. Where the voice server recorded no such moment on a call that did connect, the earliest evidence that it connected: the first moment anybody was heard, or, for a browser or incoming call holding a recording or a transcript, its started_at (a recording alone does not count on a failed call). duration_seconds counts from about here, and each timeline message is dated answered_at + offset_ms. Null on a call that never got that far.
recording_started_at
string<date-time> | null
When the call's recording began, as the carrier stamped it: every transcript turn's start and end are milliseconds from here, so recording_started_at + start is when the line was said. It is not started_at - an outbound call rings before it is answered and recorded - and it is within about 2 seconds of answered_at, either side. Present once the recording is saved, usually a few seconds after the call ends; null on a browser call (its recording begins once the browser has connected, shortly after answered_at), on a call with no recording, and on older calls recorded before the field was added.
ended_at
string<date-time> | null
When the call ended - the caller or the agent leaving, or Yappr closing it. Never before started_at.
duration_seconds
integer | null
Connected time in whole seconds, counted from about answered_at to the end - the time the call is billed for. Ringing, and the wait between placing a call and its answer, are not in it. Null while the call runs and on every call that was never answered (nobody picked up, the number was blocked, or no browser connected, and no answered_at); a whole number, 0 included, on every call that was - a call with an answered_at was answered, whatever stage its failure names.
cost_cents
integer | null
What this call consumed from the workspace's credits, in credits (one credit is one cent). 0 for a call that ended without a charge (failed, not answered, blocked, or completed with no connected time); null only while the call is still settling - never 0 for an unsettled call. cost_status says which. This is what you were charged, and the only cost a call states. For totals across calls, by day, product or agent, use GET /billing/consumption.
cost_status
enum<string>
Whether cost_cents is final: charged (the recorded charge), not_charged (ended without billable time, or ended more than 24 hours ago with no charge recorded; cost_cents is 0) or pending (live, or ended less than 24 hours ago with the charge not recorded yet; cost_cents is null - come back).
Available options:
charged,
not_charged,
pending
metadata
object | null
The metadata object you attached at POST /calls. Empty object {} if no metadata
was provided at call creation. Internal bookkeeping the call picked up on the way is
not part of it — including the text recorded when a call failed, which is the
carrier's own cause code or an exception's tail, and when it was recorded. Read
failure for why a call did not complete. Some keys the platform adds do stay, and
this is not an exhaustive list: ab_variant and ab_variant_fallback when a split
picked the agent, share_link_id on a call from a share link, agent_id on a test
call started from the dashboard, queued, queue_id and queue_wait_seconds on a
call that waited for a free line, workflow_request_id on a call started from a
call request, and, on a call that spoke, timezone, timezone_source (call_variable,
workspace or fallback) and timezone_unconfirmed (true when the zone is UTC taken
from a workspace that may never have chosen one): the zone the agent's clock ran in,
which a calendar tool books on only when it shares that zone. A timezone key you
attach yourself is never replaced. Name your own keys so they cannot collide with these.
created_at
string<date-time>
updated_at
string<date-time>
When this row last changed - the same field GET /calls projects and ?updated_since= bounds, so a sync that pages the list and then reads a call by id keeps the timestamp its loop windows on. Calls recorded before this field existed carry the last moment they can be proved to have changed, so it is never null.
source
enum<string>
Where the call came from. A rehearsal and a shared-link call used to be the same row - both web_call, both with empty from and to - so testing spend could not be told apart from the link that was handed out. "unknown" is a call recorded before its origin was written down, and is the one value ?source= refuses.
Available options:
test,
shared_link,
api,
phone_inbound,
phone_outbound,
unknown
provider
enum<string> | null
Whose carrier the phone side ran on, in the words GET /phone-numbers uses for the call's number. external - your own Telnyx account (a number with provider external): Telnyx billed you for the phone minutes, and cost_cents is Yappr's charge beside them. telnyx - Yappr's own carrier: a number bought from Yappr, or a SIP endpoint. null - a browser call, which has no phone side.
Available options:
external,
telnyx
carrier_account
object | null
The carrier account an external call ran on - the account Telnyx signed the call for, or its from-number's account when no signed event arrived. null on every other call, and for a key without carrier_accounts:read (provider still says external). An account removed since keeps its id, with name, provider and status null. The same four fields as a number's carrier_account on GET /phone-numbers.
Show child attributes
carrier_call_id
string | null
On an external call only (absent on every other call): the call_control_id Telnyx gave the call on your own Telnyx account - the id to find it by in your Telnyx records and its call debugging. null when the dial never got one (refused before Telnyx answered), and null for a key without carrier_accounts:read.
The shared link this call came through. Absent, not null, on every other kind of call.
sip_endpoint_id
string<uuid>
The SIP endpoint this call arrived on - a phone_inbound call from your own phone system. Such a call's to is null (see to). Absent, not null, on every other kind of call.
ended_by
enum<string> | null
Who ended the call. caller - the far end hung up first, or the browser closed the connection (the End button on a browser test call included); a browser call whose failure code is caller_left always reads caller. agent - the agent chose to end it, through its end-call tool, its flow End step or its closing line. system - Yappr ended it, on the silence timeout, the maximum-duration cap, an answering machine, a fault, the watchdog closing a stuck call, or a browser session that expired before anyone connected. operator - someone ended the call from outside it on purpose: the End button on a dashboard phone test call, POST /calls/{id}/end or the session's cancel_url on a browser session nobody opened, or Yappr stopping a stuck call. A call ended this way has no failure member. unknown - the carrier reported the ending without saying which side dropped the call. null - nothing recorded one. A transfer records nothing at the handoff itself, because the leg stays up and whoever hangs up afterwards is the answer; the value is already resolved for the call direction. First-write-wins, so a specific value is never overwritten by a later generic one.
Available options:
caller,
agent,
system,
operator,
unknown
disconnect_reason
string | null
Short human-readable label for why the call ended, meant for display rather than branching - for example Completed, No answer, Busy, Call rejected, Cancelled, Caller inactive, Max duration reached, Voicemail detected, Answering machine detected, Ended by operator, Ended by the platform: stuck call, Failed, or one of the Transfer ... labels when a handoff never connected, or "Your Telnyx account refused the call…" when your own Telnyx account refused a call from one of its numbers. Wording may change and labels are added, so treat it as text. First-write-wins. Null when nothing was recorded, and when what was recorded is not one of these labels - an internal note never reaches this field.
transferred_at
string<date-time> | null
When the call was handed off to another party. A phone number, and an extension endpoint's new call through your extension, leave the call with status 'transferred'. A SIP REFER hand-off over a username-and-password trunk ends 'completed' with this time set.
transfer_target
string | null
The number the call was transferred to (E.164), or, for a hand-back to your own phone system, the SIP address with any password and any header part (the part after a ?) removed. The extension before the @ stays.
recording_url
string
Signed URL for the call recording on the API host. Opens directly in a browser or audio player — answers 200 with the audio itself (HEAD and Range supported). No additional authentication required. It lasts 7 to 8 days (exp) and stops opening when the call's links are revoked (POST /calls/{id}/recording/revoke); read the call again for a current one. Absent when the call has no recording the link can serve.
agent
object | null
The agent behind agent_id, read with the call, so its name stays readable after the agent is archived (GET /agents/{id} answers 404 for an archived agent). For a key holding agents:read it is the object a campaign embeds for its agent; for a key without it, { id, name }. Both carry archived_at. Null when the call has no agent.
Show child attributes
disposition
object | null
Full Disposition object. Present only when a disposition has been assigned.
Show child attributes
lead
object | null
Full Lead object including long_term_context and tags. Present only when a matched lead exists. A key without leads:read reads {id} only.
Show child attributes
summary
string | null
AI-generated call summary, written in the language the call was held in - read off the conversation when its script makes the language clear, else the agent's language; a multilingual agent's summary is in the language the caller spoke. Present only when available.
transcript
object[]
Full call transcript, ordered by time. Present only when available. Written once, after
the call recording is saved, by transcribing that recording: on every call, whichever
voice model ran it and whatever language it was in. Where the recording holds the caller
and the agent on separate channels, who said a line is read from its channel. A call with
no recording has none.
Show child attributes
usage
object
What the call consumed on the voice model that ran it, reported by the provider
itself: token counts, or seconds of live audio. It carries no price; what the call
cost you is cost_cents. Present only when a reading exists — a call that never
reached the model has no usage member at all, which is a different statement
from a call that consumed nothing.
One entry in legs per engine the call ran on, summed across every provider
session the call spanned: a call whose socket dropped and was rebuilt mid-call is
still one entry with the whole call's usage on it.
The two engines report in different units and the response says which: a Gemini
voice runs on tokens split by modality, a GPT voice on seconds of live audio.
Show child attributes
extracted_data
object
Structured fields extracted post-call by the agent's extraction_parameters. The member is absent — not null — on a call where extraction did not run or produced nothing at all, so read it with a presence check. When it is there it carries one key per configured parameter, and a parameter the conversation never supplied is null inside it. A present object of all-null values means extraction ran and captured nothing, which is not the same as no extraction. A number parameter holds one number - "about 12" is 12, a half is kept ("two and a half" is 2.5), a range is its middle ("3-4" is 3.5). A date parameter holds a YYYY-MM-DD day or null; a month with no day is null (see extracted_data_precision).
extracted_data_precision
object
Beside extracted_data, for an agent that collects dates: one entry per date parameter saying how precisely the caller gave it - day, month (with the month, as YYYY-MM, and approximate true when it was worked out from a length of time ago) or unknown - with role (event or message) when the reader judged whose day it is, and ambiguity when the caller's words disagreed. Absent on calls analysed before it was recorded, and on agents with no date parameters.
Beside extracted_data: one entry per number parameter whose stored value is the middle of a range the caller gave ("בין שש לשבע" is 6.5), with the range's two ends. Absent when no number was a range, and on calls analysed before it was recorded.
Show child attributes
Example:
{ "pain_level": { "low": 6, "high": 7 } }
tool_calls
object[]
Paired request/response objects for each tool invocation during the call. Easier to
consume than raw events. Auth-related headers (Authorization, tokens, keys) are
redacted as [REDACTED].
Superseded by timeline (below), which is what the dashboard shows and what new
integrations should read. This member is kept for existing ones, and it is the raw
view: apart from those headers it returns the tool's URL, its arguments and the
response body as they were. The summaries-only rule below is a rule about timeline,
not about this member.
A call the workflow platform ran records its tool runs in timeline, not as raw
events, so for those calls this member lists the same tool rows as pairs: tool_name,
timestamp, kind (always tool_call; a connected app also carries provider and
action), node and response.success / response.error /
response.duration_ms (success is null while the tool is still running). They are
summaries: request.body is null, there is no URL or headers, and
response.response_preview is null. Read timeline for the full account.
Show child attributes
events
object[]
Full ordered event stream for the call. Low-level — for flow agents prefer
flow_trace (below). Auth headers in tool_called events are redacted.
Superseded by timeline (below), and the rawest of these members: everything a
tool sent and received, and the engine's own error text, is here as it was recorded.
Kept for existing integrations.
Show child attributes
timeline
object[]
What happened on the call, as one time-ordered list. The same rows the call log
shows in the dashboard, read from the same place, so an agent building on this API
and a person reading the screen never see two different accounts of one call.
Every row carries kind and at; the rest of its fields depend on the kind:
call — the call's own moments, as event: placed (dialled, arrived, or its browser
session opened - started_at), answered (its audio came up - answered_at;
absent on a call that never got that far) and ended (ended_at; absent while the
call is going on). Each row's at is its field's value. The gap between the first
two is ringing.
message — a transcript turn: role, text, offset_ms (ms from when the call was
answered). at is answered_at + offset_ms.
phase — a stage of the call: lane (before / during), scope, status, and, when it
did not work out, error (a sentence) and code (cancelled, expired, declined,
inputs_invalid or did_not_finish; null otherwise). A call that completed, or was
handed to a person (transferred), reads its during stage succeeded, whoever ended
it: a failed during stage goes with a failure. A before stage can stay failed on a
call that still connected, when the agent is set to carry on without what it could not
get. A call that failed gets one row for the failure itself — scope: "call",
status: "failed", carrying the same sentence as failure.reason and failure.code
as its code — unless the call's own stages already report the failure, in which
case those rows are the account of it and none is added.
transition — the conversation moving: from_node / from_label, to_node / to_label,
the edge_id and edge_condition of the route that fired, edge_scope
(direct, or global for a route reachable from anywhere), and strict —
true when the row comes from the authoritative stage cursor the agent's
conversation holds, false when it is the agent's own record of the stage it
entered. An agent whose conversation has no stages produces no transition rows;
edge_condition is only ever set on a strict row.
tool — one tool invocation, typed by tool_type. Every agent's tools are here,
however the agent is built — a staged conversation's invocations and a
single-prompt agent's own webhook, transfer and end-of-call records read back in
the same shape:
http adds method, url_host (the host only), request_bytes, response_status;
app adds app, action and connection_label;
transfer adds destination;
end adds reason and ended_by.
All of them carry name, step_id, lane (the stage the step ran in: before,
during, or after for a follow-up once the call ended), status, duration_ms,
attempt_count and, when something went wrong, error — one sentence — plus failure, the
stable code behind that sentence: failure.code is one of tool_timeout,
tool_unreachable, tool_rejected, transfer_failed or tool_failed, and a
tool_timeout also carries failure.limit_seconds, the limit the tool ran past.
A tool that timed out keeps status: "pending" on purpose — nothing answered, so
whether the action happened is unknown and may need reconciling — and failure
is how you tell that apart from a step still running. A row nothing went wrong
with has no failure member at all.
A follow-up step whose inputs are read from the call by description also carries
reads: one entry per such input - input, instruction (the author's own
description) and outcome (read, fallback when the call did not say it and the
author's fixed value was sent, or missing). The value is not in the timeline; what
the step sent is in tool_calls[].
skipped — a follow-up step that did not run because the call did not give it a value
it reads by description: lane (after), scope, step_id, name, reason
(extraction_missing, or dependency_skipped when a step it depends on was skipped)
and reads. Nothing was sent, and a skipped step is not a failure.
trigger — an after-call follow-up the workspace authored: the event that opened it,
its steps, its status.
delivery — one row of the webhook delivery ledger: id (the same id
GET /deliveries lists), tool_id, agent_id, event, status,
response_status, attempt_count, error_message, delivered_at (null unless it
was delivered), tool_name, and retry_of / retried_by linking a retry and the
delivery it re-sent.
status is one of three words on every row that has one — succeeded,
failed, or pending (it has not settled yet) — except a delivery, which
carries the ledger's own delivered, failed, pending or unknown (no answer
came in time, so your endpoint may have acted; check there). A row may have no
status at all when the agent's own record of the step never came back. Branch
on those values and, on a tool row, on failure.code; error is a sentence for
a person to read, not to match on.
Summaries only. A URL's path and query, request headers, credentials, the account
behind a connected app, and raw request or response bodies are never returned in
these rows. (The older tool_calls and events members above still return them, with
auth headers redacted; that is what they are for, and why they are superseded.)
Full request/response: tool_calls[], joined by a tool row's exchange_id.
Omitted if the call's timeline is momentarily unavailable.
Show child attributes
ab_variant
enum<string> | null
Which side of the number's A/B split ran this call. Present only on a number that is actually running a split.
Available options:
a,
b
ab_variant_fallback
boolean
True when the split picked B but the call went to A anyway, because B could not take it. Present only alongside ab_variant.
failure
object
Why the call did not complete. Present only on a call whose status is failed or no_answer; a call that completed has no failure member at all, so check for the member rather than for a value inside it. A call ended on purpose from outside it (ended_by operator) has none either.
Show child attributes
analysis
object
Where the post-call analysis stands. Always present — this is how you tell a summary that is still coming from one that is never coming.
Show child attributes
follow_ups
object
Which of the agent's follow-ups did not run on this call, and why. Absent when there is nothing to explain, so check for the member rather than for a value inside it.
Show child attributes
flow_trace
object | null
Present only on flow-agent calls (agent.type='flow'). For prompt agents this field is omitted.
Structured view of the call's path through the flow graph, built from the underlying flow_* events.
Flow tool and integration results are also included in tool_calls[], with kind set to
tool_call or integration_call. The same results appear inline on each
flow_trace.steps[].tool_call for graph-oriented investigation.
Show child attributes
execution_status
enum<string>
What execution is on this read - not the execution_status query parameter, which filters the history's rows by their own status. included: the whole block. omitted: you sent omit=execution, and execution is an ExecutionSettlement. pending: the history did not answer in time - execution is an ExecutionSettlement, and a read again brings the block (send execution_limit to be told 503 instead). none: the call has no execution history, and there is no execution member.
Available options:
included,
omitted,
pending,
none
execution
object
Execution history — how the platform carried the call out, beside the
conversation itself. Returned on GET /calls/{id} and GET /call-requests/{id}
when execution history is enabled for the workspace; absent otherwise. Ask for a
page of it with the execution_limit and execution_cursor query parameters.
This is an investigation view, not an authority: it is read-only, it is retained
for a limited window, and it never carries the platform's own plumbing.
The members below are the whole of this block. They are written down
because the API projects onto exactly this list before the response is written:
anything else the platform knows about a call — delivery row ids, internal job
and journal counts, storage-retention flags, internal hostnames, its own
diagnostic notes — is dropped rather than published, and every URL here is
rewritten onto the public API base whatever the platform recorded. A field you
do not see below will not appear, and a field you do see will not change shape.
Option 1
Option 2
Show child attributes
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Yappr","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"favicon":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/favicon.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a8c28fe51e78b8e4701c773698ba2378","logo":{"light":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f","dark":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/dark.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=613f48501928d9122f97fb91bfcf9b87"},"api":{"openapi":"openapi.yaml"},"footer":{"socials":{"website":"https://goyappr.com"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yappr","hasAudioNarration":false,"actualSubdomain":"yappr","customDomains":["docs.goyappr.com"],"gitSource":{"type":"github","owner":"simon-isf","repo":"hebrew-voice-ai","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b097bda241cbb20e7401d81","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":210},{"language":"default","tag":"Tools \u0026 integrations","count":35},{"language":"default","tag":"Agent Eval","count":24},{"language":"default","tag":"Agents","count":20},{"language":"default","tag":"Tools","count":19},{"language":"default","tag":"Connected accounts","count":16},{"language":"default","tag":"Campaigns","count":15},{"language":"default","tag":"Carrier accounts","count":14},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Billing","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/calls/get","slug":"/api-reference/calls/get","pageMetadata":{"title":"Get Call","openapi":"GET /calls/{id}","description":"One call, whole: who it was with, what was said, what the agent picked out of it, what it\ncost, and where its post-call analysis stands.\n\nRequires `calls:read`, or `calls:metrics`, which reads the call as metrics: the members\nthat describe the call itself (ids, `agent`, direction, status, moments, duration, cost,\n`usage`, disposition, `ended_by`, `failure`, `analysis`), `from`, `to`, `metadata`\nand `transfer_target` null, `lead` as `{id}`, and\n`personal_data_withheld: true`. The transcript, summary, recording, `extracted_data`,\nevents, timeline, tool calls and execution history are left out, and the execution-history\nparameters answer 403 INSUFFICIENT_SCOPE.\n\n**Rehearsals and leads.** A rehearsal in the browser (the Test tab, or a session minted\nwith `POST /calls {\"type\":\"web\"}`) has no caller's number, so lead processing skips it:\nno lead is created or updated, no `lead.created` or `lead.updated` is sent, and a\nfollow-up on `lead.ready` does not run. On a rehearsal that ran through a call request the\n`lead` artifact in `execution.summary.artifacts` reads `skipped` with\n`reason_code: \"web_call_no_phone\"`; one that connected straight away (`protocol: \"offer\"`)\nhas no `lead` artifact at all. The analysis still runs:\n`summary`, `disposition` and `extracted_data` are written as on any call. A Test-tab call\ngiven a phone number to simulate, and a session minted with `lead_id`, are processed for\na lead after all.\n","href":"/api-reference/calls/get"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"One call, whole: who it was with, what was said, what the agent picked out of it, what it\\ncost, and where its post-call analysis stands.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires \", _jsx(_components.code, {\n children: \"calls:read\"\n }), \", or \", _jsx(_components.code, {\n children: \"calls:metrics\"\n }), \", which reads the call as metrics: the members\\nthat describe the call itself (ids, \", _jsx(_components.code, {\n children: \"agent\"\n }), \", direction, status, moments, duration, cost,\\n\", _jsx(_components.code, {\n children: \"usage\"\n }), \", disposition, \", _jsx(_components.code, {\n children: \"ended_by\"\n }), \", \", _jsx(_components.code, {\n children: \"failure\"\n }), \", \", _jsx(_components.code, {\n children: \"analysis\"\n }), \"), \", _jsx(_components.code, {\n children: \"from\"\n }), \", \", _jsx(_components.code, {\n children: \"to\"\n }), \", \", _jsx(_components.code, {\n children: \"metadata\"\n }), \"\\nand \", _jsx(_components.code, {\n children: \"transfer_target\"\n }), \" null, \", _jsx(_components.code, {\n children: \"lead\"\n }), \" as \", _jsx(_components.code, {\n children: \"{id}\"\n }), \", and\\n\", _jsx(_components.code, {\n children: \"personal_data_withheld: true\"\n }), \". The transcript, summary, recording, \", _jsx(_components.code, {\n children: \"extracted_data\"\n }), \",\\nevents, timeline, tool calls and execution history are left out, and the execution-history\\nparameters answer 403 INSUFFICIENT_SCOPE.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Rehearsals and leads.\"\n }), \" A rehearsal in the browser (the Test tab, or a session minted\\nwith \", _jsx(_components.code, {\n children: \"POST /calls {\\\"type\\\":\\\"web\\\"}\"\n }), \") has no caller’s number, so lead processing skips it:\\nno lead is created or updated, no \", _jsx(_components.code, {\n children: \"lead.created\"\n }), \" or \", _jsx(_components.code, {\n children: \"lead.updated\"\n }), \" is sent, and a\\nfollow-up on \", _jsx(_components.code, {\n children: \"lead.ready\"\n }), \" does not run. On a rehearsal that ran through a call request the\\n\", _jsx(_components.code, {\n children: \"lead\"\n }), \" artifact in \", _jsx(_components.code, {\n children: \"execution.summary.artifacts\"\n }), \" reads \", _jsx(_components.code, {\n children: \"skipped\"\n }), \" with\\n\", _jsx(_components.code, {\n children: \"reason_code: \\\"web_call_no_phone\\\"\"\n }), \"; one that connected straight away (\", _jsx(_components.code, {\n children: \"protocol: \\\"offer\\\"\"\n }), \")\\nhas no \", _jsx(_components.code, {\n children: \"lead\"\n }), \" artifact at all. The analysis still runs:\\n\", _jsx(_components.code, {\n children: \"summary\"\n }), \", \", _jsx(_components.code, {\n children: \"disposition\"\n }), \" and \", _jsx(_components.code, {\n children: \"extracted_data\"\n }), \" are written as on any call. A Test-tab call\\ngiven a phone number to simulate, and a session minted with \", _jsx(_components.code, {\n children: \"lead_id\"\n }), \", are processed for\\na lead after all.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`where-the-call-came-from`,children:`Where the call came from`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`source`}),` says how the call was started, and it is on `,_jsx(_components.a,{href:`/api-reference/calls/list`,children:_jsx(_components.code,{children:`GET /calls`})}),` too,\nwhere it is also a filter.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`test`})}),_jsx(_components.td,{children:`A rehearsal you started yourself — the agent’s Test tab, or a test phone call from the dashboard.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shared_link`})}),_jsxs(_components.td,{children:[`Someone called through a `,_jsx(_components.a,{href:`/api-reference/shared-links/create`,children:`shared link`}),`. The call also carries `,_jsx(_components.code,{children:`shared_link_id`}),`, so spend can be attributed to the link you handed out.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api`})}),_jsxs(_components.td,{children:[`A browser session this API minted with `,_jsx(_components.code,{children:`POST /calls {\"type\":\"web\"}`}),` or a call request.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone_inbound`})}),_jsxs(_components.td,{children:[`Someone rang one of your numbers — or your own phone system sent the call to a `,_jsx(_components.a,{href:`/api-reference/sip-endpoints/create`,children:`SIP endpoint`}),`. Such a call carries `,_jsx(_components.code,{children:`sip_endpoint_id`}),` and has `,_jsx(_components.code,{children:`to: null`}),`: a SIP address endpoint’s address is its credential, so this API does not return it, and what a call on a username-and-password trunk dialled shows in the dashboard’s call log instead. Its `,_jsx(_components.code,{children:`from`}),` is whatever your phone system sent as the caller, and `,_jsx(_components.code,{children:`null`}),` when the caller ID was only a username-and-password trunk’s own username.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone_outbound`})}),_jsxs(_components.td,{children:[`A call this workspace placed for real — by API or by campaign. A test call you dial from the dashboard reads `,_jsx(_components.code,{children:`test`}),`, not this.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown`})}),_jsxs(_components.td,{children:[`Recorded before the origin was written down. `,_jsx(_components.code,{children:`?source=unknown`}),` is refused rather than answered.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A rehearsal and a shared-link call used to be the same row — both `,_jsx(_components.code,{children:`web_call`}),`,\nboth with empty `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),` — so the cost of your own testing could not be\ntold apart from the cost of the link you sent out. `,_jsx(_components.code,{children:`shared_link_id`}),` is\n`,_jsx(_components.strong,{children:`absent`}),`, not null, on every other kind of call.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rehearsals and leads.`}),` A rehearsal in the browser — the Test tab, or a\nsession minted with `,_jsx(_components.code,{children:`POST /calls {\"type\":\"web\"}`}),` — has no caller’s number, so\nlead processing skips it: it creates or updates no lead, sends no\n`,_jsx(_components.code,{children:`lead.created`}),` or `,_jsx(_components.code,{children:`lead.updated`}),`, and a follow-up on `,_jsx(_components.code,{children:`lead.ready`}),` does not run.\nWhen the response carries `,_jsx(_components.code,{children:`execution`}),` and the rehearsal ran through a call\nrequest (an agent with steps before the call), its `,_jsx(_components.code,{children:`lead`}),` artifact says so:\n`,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`reason_code: \"web_call_no_phone\"`}),`. A rehearsal that connected\nstraight away (`,_jsx(_components.code,{children:`protocol: \"offer\"`}),`) opens no lead work at all, so its\n`,_jsx(_components.code,{children:`execution.summary.artifacts`}),` has no `,_jsx(_components.code,{children:`lead`}),` entry — read that as the same\nanswer. (A lead skipped on another call names its reason the same way:\n`,_jsx(_components.code,{children:`transcript_too_short`}),` — fewer than two turns — or `,_jsx(_components.code,{children:`no_phone_number`}),`.) The post-call analysis still runs: `,_jsx(_components.code,{children:`summary`}),`,\n`,_jsx(_components.code,{children:`disposition`}),` and `,_jsx(_components.code,{children:`extracted_data`}),` are written as on any call. Two browser calls are processed\nfor a lead after all: a Test-tab call given a phone number to simulate, as a\ncall from that number, and a session minted with `,_jsx(_components.code,{children:`lead_id`}),`, for that lead. A\ntest phone call from the dashboard reaches a real number, and its lead is\nprocessed like any other call’s.`]}),`\n`,_jsx(Heading,{level:`2`,id:`whose-carrier-it-ran-on`,children:`Whose carrier it ran on`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`provider`}),` says whose carrier the call’s phone side ran on, on this read and on\n`,_jsx(_components.a,{href:`/api-reference/calls/list`,children:_jsx(_components.code,{children:`GET /calls`})}),`, where `,_jsx(_components.code,{children:`carrier_account_id`}),` is also a filter. It uses\nthe words `,_jsx(_components.a,{href:`/api-reference/phone-numbers/list`,children:_jsx(_components.code,{children:`GET /phone-numbers`})}),` uses for the call’s number.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`provider`})}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external`})}),_jsxs(_components.td,{children:[`Your own Telnyx account: the call was placed from a number you added to a `,_jsx(_components.a,{href:`/api-reference/carrier-accounts/get`,children:`carrier account`}),`. Telnyx billed you for its phone minutes on your Telnyx account. `,_jsx(_components.code,{children:`cost_cents`}),` is Yappr’s charge beside that, at the phone-call price — the same price as a call from a number bought from Yappr.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`telnyx`})}),_jsxs(_components.td,{children:[`Yappr’s own carrier: a number bought from Yappr, or a `,_jsx(_components.a,{href:`/api-reference/sip-endpoints/create`,children:`SIP endpoint`}),`. Everything the call cost is in `,_jsx(_components.code,{children:`cost_cents`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsx(_components.td,{children:`A browser call, which has no phone side.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`carrier_account`}),` is `,_jsx(_components.code,{children:`{ \"id\": \"…\", \"name\": \"Main Telnyx account\", \"provider\": \"telnyx\", \"status\": \"active\" }`}),`\non an `,_jsx(_components.code,{children:`external`}),` call, the same four fields as a number’s `,_jsx(_components.code,{children:`carrier_account`}),` —\nthe account Telnyx signed the call for, or the from-number’s account when no signed event\narrived (a dial Telnyx refused). It is `,_jsx(_components.code,{children:`null`}),` on every other call, and for a key without\n`,_jsx(_components.code,{children:`carrier_accounts:read`}),`, where `,_jsx(_components.code,{children:`provider: \"external\"`}),` still says the call ran on your own\naccount. An account removed since keeps its `,_jsx(_components.code,{children:`id`}),`, with `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`provider`}),` and `,_jsx(_components.code,{children:`status`}),` `,_jsx(_components.code,{children:`null`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`carrier_call_id`}),` is on an `,_jsx(_components.code,{children:`external`}),` call only, and absent on every other: the id Telnyx gave\nthe call on your Telnyx account (its `,_jsx(_components.code,{children:`call_control_id`}),`, such as `,_jsx(_components.code,{children:`\"v3:u5OA0mKf…\"`}),`). Search your\nTelnyx records and call debugging by it to match the call to what Telnyx billed you. It is\n`,_jsx(_components.code,{children:`null`}),` when the dial never got one (Telnyx refused it before answering), and `,_jsx(_components.code,{children:`null`}),` for a key\nwithout `,_jsx(_components.code,{children:`carrier_accounts:read`}),`, as `,_jsx(_components.code,{children:`carrier_account`}),` is. What Telnyx billed for the call is on\nyour Telnyx account, not here: Yappr does not see your Telnyx bill.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-agent-that-took-the-call`,children:`The agent that took the call`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`agent`}),` is the agent behind `,_jsx(_components.code,{children:`agent_id`}),`, read with the call, so its name stays readable after the\nagent is `,_jsx(_components.a,{href:`/api-reference/agents/delete`,children:`archived`}),`: `,_jsx(_components.code,{children:`GET /agents/{id}`}),` answers `,_jsx(_components.code,{children:`404`}),` for an\narchived agent. A key holding `,_jsx(_components.code,{children:`agents:read`}),` reads the object a `,_jsx(_components.a,{href:`/api-reference/campaigns/get`,children:`campaign`}),`\nembeds for its agent; a key without it reads `,_jsx(_components.code,{children:`{ \"id\", \"name\" }`}),`. Both carry `,_jsx(_components.code,{children:`archived_at`}),`, when\nthe agent was archived, `,_jsx(_components.code,{children:`null`}),` while it is not. `,_jsx(_components.code,{children:`agent`}),` is `,_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`agent_id`}),` is.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cf733698-43dd-4f2b-94b5-c44915129c14\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Clinic intake\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"archived_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-20T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`when-it-was-placed-answered-and-ended`,children:`When it was placed, answered and ended`}),`\n`,_jsx(_components.p,{children:`A call has three moments, and each has its own field — and a fourth, when its\nrecording began, which the transcript is dated from:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`The moment`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`started_at`})}),_jsxs(_components.td,{children:[`The call was placed — dialled, arrived at your number, or its browser session opened. The same moment as `,_jsx(_components.code,{children:`created_at`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`answered_at`})}),_jsxs(_components.td,{children:[`Its audio came up — the person you dialled picked up, your number answered the caller, or the browser connected. Where the voice server recorded no such moment on a call that did connect, it is the earliest evidence that it connected: the first moment anybody was heard on it, or — for a browser or incoming call that holds a recording or a transcript — its `,_jsx(_components.code,{children:`started_at`}),`, because their audio starts as the call is taken (a recording alone does not count on a call that failed). `,_jsx(_components.code,{children:`null`}),` on a call that never got that far.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ended_at`})}),_jsxs(_components.td,{children:[`The caller or the agent left, or Yappr closed the call. Never before `,_jsx(_components.code,{children:`started_at`}),`: a call that ended in the instant it was placed reads the same moment in both.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recording_started_at`})}),_jsxs(_components.td,{children:[`The call’s recording began, as the carrier stamped it. Every `,_jsx(_components.code,{children:`transcript`}),` turn’s `,_jsx(_components.code,{children:`start`}),` and `,_jsx(_components.code,{children:`end`}),` are milliseconds from here. See `,_jsx(_components.a,{href:`#placing-the-transcript-on-the-clock`,children:`Placing the transcript on the clock`}),`.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`duration_seconds`}),` is connected time: it counts from about `,_jsx(_components.code,{children:`answered_at`}),` to the\nend, and it is what the call is billed for. It is `,_jsx(_components.code,{children:`null`}),` on every call that was\nnever answered — nobody picked up, the number was blocked, or no browser\nconnected (a `,_jsx(_components.code,{children:`failure`}),` at the `,_jsx(_components.code,{children:`dialing`}),` or `,_jsx(_components.code,{children:`connecting`}),` stage and no\n`,_jsx(_components.code,{children:`answered_at`}),`) — and a whole number on every call that was, `,_jsx(_components.code,{children:`0`}),` included, once\nit has ended. A `,_jsx(_components.code,{children:`completed`}),` call that connected therefore always has a\n`,_jsx(_components.code,{children:`duration_seconds`}),`. A call with an `,_jsx(_components.code,{children:`answered_at`}),` was answered, whatever stage its\n`,_jsx(_components.code,{children:`failure`}),` names: a voice service that dropped the call just after it came up\nstill reads its connected time. The time between `,_jsx(_components.code,{children:`started_at`}),` and\n`,_jsx(_components.code,{children:`answered_at`}),` is ringing (or, in a browser, connecting), and it is never billed.\nThe `,_jsx(_components.code,{children:`timeline`}),` has all three moments as rows of their own (`,_jsx(_components.code,{children:`placed`}),`, `,_jsx(_components.code,{children:`answered`}),`\nand, once the call is over, `,_jsx(_components.code,{children:`ended`}),`), each at the same value as its field — a\ncall that ended without ever being answered has `,_jsx(_components.code,{children:`requested`}),` in place of\n`,_jsx(_components.code,{children:`placed`}),`, because it never reached anyone — and\nevery transcript turn in it is dated `,_jsx(_components.code,{children:`answered_at`}),` + `,_jsx(_components.code,{children:`offset_ms`}),`, so the dial,\nthe answer, the first word and the end can be told apart. A browser session that\nnever recorded a start of its own has `,_jsx(_components.code,{children:`started_at`}),` equal to `,_jsx(_components.code,{children:`created_at`}),`, never\n`,_jsx(_components.code,{children:`null`}),`. `,_jsx(_components.code,{children:`placed`}),` (or `,_jsx(_components.code,{children:`requested`}),`) is always the first of the three, and neither `,_jsx(_components.code,{children:`ended`}),` nor the\ncall’s own failure row (or `,_jsx(_components.code,{children:`failure.at`}),`) is dated before it. Steps that run\nbefore the call is placed — a `,_jsx(_components.code,{children:`before`}),` stage and its tools — can be.`]}),`\n`,_jsxs(_components.p,{children:[`Every timestamp in this response — the call’s fields, every `,_jsx(_components.code,{children:`timeline`}),` row,\n`,_jsx(_components.code,{children:`failure.at`}),`, `,_jsx(_components.code,{children:`analysis.completed_at`}),` and the `,_jsx(_components.code,{children:`execution`}),` block — is ISO 8601\nin UTC, written with a `,_jsx(_components.code,{children:`+00:00`}),` offset (`,_jsx(_components.code,{children:`2026-09-26T18:41:45.416535+00:00`}),`), and\nso are `,_jsx(_components.code,{children:`GET /calls`}),` and the browser session’s `,_jsx(_components.code,{children:`expires_at`}),` from\n`,_jsx(_components.code,{children:`POST /calls {\"type\":\"web\"}`}),`. The number of fractional digits varies; parse it\nas a timestamp rather than comparing strings. Any of them can be sent back as\n`,_jsx(_components.code,{children:`updated_since`}),`, `,_jsx(_components.code,{children:`from`}),` or `,_jsx(_components.code,{children:`to`}),` exactly as printed — URL-encode the `,_jsx(_components.code,{children:`+`}),` as `,_jsx(_components.code,{children:`%2B`}),`,\nthough one that arrives as a space is read as the `,_jsx(_components.code,{children:`+`}),` it was.`]}),`\n`,_jsx(Heading,{level:`2`,id:`who-ended-the-call-and-why`,children:`Who ended the call, and why`}),`\n`,_jsxs(_components.p,{children:[`A finished call carries two fields that say how it stopped. Both are\nfirst-write-wins: whichever producer records one first keeps it, so a later and\nvaguer answer never overwrites a specific one. They are on `,_jsx(_components.code,{children:`GET /calls`}),` too.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ended_by`}),` is who stopped the call.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`When it is written`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caller`})}),_jsxs(_components.td,{children:[`The far end went away first — the person on the phone hung up, or the browser closed the connection, which is what the End button on a browser test call does. A browser call whose `,_jsx(_components.code,{children:`failure.code`}),` is `,_jsx(_components.code,{children:`caller_left`}),` (the person cancelled it, or closed its page, before it connected) always reads `,_jsx(_components.code,{children:`caller`}),`, whatever the voice server’s own clean-up recorded first.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agent`})}),_jsx(_components.td,{children:`The agent chose to end the call: it used its end-call tool, reached the End step of its flow, or said its closing line and hung up.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`system`})}),_jsx(_components.td,{children:`Yappr ended it — the silence timeout, the maximum-duration cap, an answering machine, a fault that took the call down, a stuck call the platform’s watchdog closed, or a browser session that expired before anyone connected.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`operator`})}),_jsxs(_components.td,{children:[`Someone ended the call from outside it on purpose — the End button on a dashboard phone test call, `,_jsx(_components.a,{href:`/api-reference/calls/end`,children:_jsx(_components.code,{children:`POST /calls/{id}/end`})}),` or the session’s `,_jsx(_components.code,{children:`cancel_url`}),` on a browser session nobody opened, or Yappr stopping a call that was stuck. It is never inferred from the carrier’s report; only a deliberate action that actually ended the call writes it, with `,_jsx(_components.code,{children:`disconnect_reason: \"Ended by operator\"`}),`. Such a call has no `,_jsx(_components.code,{children:`failure`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown`})}),_jsx(_components.td,{children:`The carrier reported the ending but did not say which side dropped the call.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsx(_components.td,{children:`Nothing has recorded it. A call still running, or one nobody could attribute.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`transfer records nothing at the handoff itself`}),`. Once the caller is bridged\nto a person the leg is still up, so whoever hangs up after that is the answer,\nand the carrier’s own report supplies it. You read the value already resolved for\nthe call’s direction — on an incoming call the carrier’s “the called side hung\nup” is the agent, on an outgoing call it is the person you dialled.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`disconnect_reason`}),` is a short human-readable label for why, meant for display.\nBranch on `,_jsx(_components.code,{children:`status`}),` and `,_jsx(_components.code,{children:`ended_by`}),`; treat this as text. What appears in practice:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`ordinary endings — `,_jsx(_components.code,{children:`Completed`}),`, `,_jsx(_components.code,{children:`No answer`}),`, `,_jsx(_components.code,{children:`Busy`}),`, `,_jsx(_components.code,{children:`Call rejected`}),`, `,_jsx(_components.code,{children:`Cancelled`})]}),`\n`,_jsxs(_components.li,{children:[`the platform stepping in — `,_jsx(_components.code,{children:`Caller inactive`}),`, `,_jsx(_components.code,{children:`Max duration reached`}),`, `,_jsx(_components.code,{children:`Voicemail detected`}),`, `,_jsx(_components.code,{children:`Answering machine detected`}),`, `,_jsx(_components.code,{children:`Ended by operator`}),`, `,_jsx(_components.code,{children:`Ended by the platform: stuck call`}),`, `,_jsx(_components.code,{children:`Failed`})]}),`\n`,_jsxs(_components.li,{children:[`a handoff that never connected — `,_jsx(_components.code,{children:`Transfer not answered`}),`, `,_jsx(_components.code,{children:`Transfer destination busy`}),`, `,_jsx(_components.code,{children:`Transfer rejected`}),`, `,_jsx(_components.code,{children:`Transfer destination unreachable`}),`, `,_jsx(_components.code,{children:`Transfer never connected`}),`, `,_jsx(_components.code,{children:`Transfer failed`}),`. A handoff that did connect ends as `,_jsx(_components.code,{children:`Completed`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`an outgoing call that was never placed — `,_jsx(_components.code,{children:`Not placed: …`}),`, saying why: `,_jsx(_components.code,{children:`queued to try again`}),` (the request went back to the queue and is placed again under a new call), `,_jsx(_components.code,{children:`calling service unavailable`}),`, `,_jsx(_components.code,{children:`calling service unavailable after retries`}),`, `,_jsx(_components.code,{children:`number not in service`}),`, `,_jsx(_components.code,{children:`number cannot be dialled`}),`, `,_jsx(_components.code,{children:`caller number not active`}),`, `,_jsx(_components.code,{children:`refused by your Telnyx account`}),`, `,_jsx(_components.code,{children:`refused by your phone system`}),`, `,_jsx(_components.code,{children:`rejected by the carrier`}),`, `,_jsx(_components.code,{children:`refused before dialling`}),` or `,_jsx(_components.code,{children:`the call could not be started`}),`. Such a call is `,_jsx(_components.code,{children:`failed`}),` and was never dialled.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Ended by the platform: stuck call`}),` is a call that was still open ten minutes\nafter its agent’s maximum duration. Yappr closes it with `,_jsx(_components.code,{children:`ended_by: system`}),` and\nbills it only up to the last moment something on the call showed it was alive\nwithin that maximum duration: the last thing the call did, or the end of its\nrecording. When nothing did after the call started, it is `,_jsx(_components.code,{children:`failed`}),` with a\n`,_jsx(_components.code,{children:`duration_seconds`}),` of 0. The call is final from then on: nothing reported about\nit later changes its `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`duration_seconds`}),` or charge.`]}),`\n`,_jsxs(_components.p,{children:[`A call whose conversation finished by itself but whose final status could not be\nsaved at the time (the database was too slow to take it) is not a stuck call. It\nis closed the same way, at the moment the conversation finished, counted from\nwhen its audio started like any other call, and it carries the ending it would\nhave had: `,_jsx(_components.code,{children:`Completed`}),`, with `,_jsx(_components.code,{children:`ended_by`}),` left to what the carrier reported.`]}),`\n`,_jsx(_components.p,{children:`The wording of a label may change. New ones are added when a new ending becomes\ndistinguishable, so do not treat the list as closed.`}),`\n`,_jsx(Heading,{level:`2`,id:`why-a-call-did-not-complete`,children:`Why a call did not complete`}),`\n`,_jsxs(_components.p,{children:[`A call whose `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`failed`}),` or `,_jsx(_components.code,{children:`no_answer`}),` carries a `,_jsx(_components.code,{children:`failure`}),` object. A\ncall that completed has no `,_jsx(_components.code,{children:`failure`}),` member at all — its absence is the answer,\nso check for the member rather than for a value inside it. Nor does a call\nsomeone ended on purpose from outside it (`,_jsx(_components.code,{children:`ended_by: \"operator\"`}),`): it did not\nfail, and `,_jsx(_components.code,{children:`ended_by`}),` and `,_jsx(_components.code,{children:`disconnect_reason`}),` say why it stopped.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failure\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"network_blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The caller's browser never finished connecting, so no audio could flow. This is almost always a firewall or a restricted network on the caller's side.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"connecting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-20T20:17:38.738+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`code`}),` is what you branch on. It is stable; `,_jsx(_components.code,{children:`reason`}),` is a sentence for a person\nand its wording changes.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`What happened`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`stage`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_answer`})}),_jsx(_components.td,{children:`Nobody picked up before the call timed out`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`dialing`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`busy`})}),_jsx(_components.td,{children:`The number was busy`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`dialing`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rejected`})}),_jsx(_components.td,{children:`The far end rejected the call`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`dialing`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancelled`})}),_jsxs(_components.td,{children:[`The call was cancelled before anyone answered — or, at stage `,_jsx(_components.code,{children:`connecting`}),`, a browser session ended with `,_jsx(_components.a,{href:`/api-reference/calls/end`,children:_jsx(_components.code,{children:`POST /calls/{id}/end`})}),` or its `,_jsx(_components.code,{children:`cancel_url`}),` before such an end was recorded as the operator’s (those older calls read `,_jsx(_components.code,{children:`ended_by: \"system\"`}),`; one ended since reads `,_jsx(_components.code,{children:`operator`}),` and has no `,_jsx(_components.code,{children:`failure`}),`). With `,_jsx(_components.code,{children:`ended_by: \"caller\"`}),` it is a dashboard rehearsal the person on it cancelled, and `,_jsx(_components.code,{children:`reason`}),` says so; `,_jsx(_components.code,{children:`at`}),` is when they cancelled`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`dialing`}),`, `,_jsx(_components.code,{children:`connecting`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unreachable`})}),_jsx(_components.td,{children:`The number could not be reached at all`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`dialing`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caller_left`})}),_jsxs(_components.td,{children:[`A browser call the caller cancelled, closed, or navigated away from, before it connected — nothing was spoken; `,_jsx(_components.code,{children:`ended_by`}),` reads `,_jsx(_components.code,{children:`caller`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`connecting`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`network_blocked`})}),_jsxs(_components.td,{children:[`A browser call whose connection never came up — a firewall or a restricted network on the caller’s side. On a call made before the platform recorded a late answer from the voice server (see `,_jsx(_components.code,{children:`voice_unavailable`}),`), only the browser’s timeout was recorded, so a browser that never received that answer reads `,_jsx(_components.code,{children:`network_blocked`}),` too`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`connecting`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`voice_connection_failed`})}),_jsx(_components.td,{children:`A browser call the voice server did not answer: it refused to connect it, so it never started — trying again gets the same answer until the cause is fixed`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`connecting`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preparation_failed`})}),_jsx(_components.td,{children:`A dashboard rehearsal whose before-call steps failed before any call existed, so no browser ever connected. The Test tab named the step and what its tool answered`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`connecting`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`voice_unavailable`})}),_jsxs(_components.td,{children:[`The voice server did not answer: it timed out, was busy, could not start the call, or answered a browser that had already stopped waiting for it. On a call made since the platform records that last case, a browser that never received the voice server’s answer is never `,_jsx(_components.code,{children:`network_blocked`}),`; an older call keeps the code it was given`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`connecting`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_interrupted`})}),_jsx(_components.td,{children:`The call ended unexpectedly mid-conversation`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`conversation`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transfer_failed`})}),_jsx(_components.td,{children:`The call was handed to another number that never picked up`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`conversation`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`session_expired`})}),_jsxs(_components.td,{children:[`A browser session minted with `,_jsx(_components.code,{children:`POST /calls`}),` `,_jsx(_components.code,{children:`{\"type\":\"web\"}`}),` that nobody connected to before its token expired — no call took place`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`connecting`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown`})}),_jsx(_components.td,{children:`The call failed and nothing recorded why`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`stage`}),` is where in the call it went wrong, and is `,_jsx(_components.code,{children:`null`}),` when nothing recorded\nenough to say. `,_jsx(_components.code,{children:`at`}),` is when the failure was recorded — or, when nothing recorded\na moment of its own, when the call ended (`,_jsx(_components.code,{children:`ended_at`}),`); `,_jsx(_components.code,{children:`null`}),` only while neither\nis known.`]}),`\n`,_jsxs(_components.p,{children:[`New codes are added when a new failure becomes distinguishable, so treat an\nunrecognised `,_jsx(_components.code,{children:`code`}),` as `,_jsx(_components.code,{children:`unknown`}),` rather than as an error in your integration.`]}),`\n`,_jsxs(_components.p,{children:[`The same failure also appears in `,_jsx(_components.code,{children:`timeline`}),` as a `,_jsx(_components.code,{children:`phase`}),` row with\n`,_jsx(_components.code,{children:`status: \"failed\"`}),` and the same sentence in `,_jsx(_components.code,{children:`error`}),`, so a client that renders\nthe timeline shows the failure without reading this member.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`failure`}),` is the whole answer. `,_jsx(_components.code,{children:`metadata`}),` is what you attached at\n`,_jsx(_components.code,{children:`POST /calls`}),`; the text the platform recorded when the call failed is not in it\nand never was documented to be — it is the carrier’s own cause code or an\nexception’s tail, and neither it nor when it was recorded is returned.`]}),`\n`,_jsxs(_components.p,{children:[`Some keys the platform adds to `,_jsx(_components.code,{children:`metadata`}),` do stay, and this is not an exhaustive\nlist: `,_jsx(_components.code,{children:`ab_variant`}),` and `,_jsx(_components.code,{children:`ab_variant_fallback`}),` when a split picked the agent,\n`,_jsx(_components.code,{children:`share_link_id`}),` on a call from a share link, `,_jsx(_components.code,{children:`agent_id`}),` on a test call started\nfrom the dashboard, `,_jsx(_components.code,{children:`queued`}),`, `,_jsx(_components.code,{children:`queue_id`}),` and `,_jsx(_components.code,{children:`queue_wait_seconds`}),` on a call that\nwaited for a free line, and `,_jsx(_components.code,{children:`workflow_request_id`}),` on a call started from a call\nrequest. A call that spoke also carries `,_jsx(_components.code,{children:`timezone`}),` and `,_jsx(_components.code,{children:`timezone_source`}),`: the\nzone the agent’s clock and date variables ran in (an IANA name) and where it\ncame from (`,_jsx(_components.code,{children:`call_variable`}),` when the call set `,_jsx(_components.code,{children:`variables.Timezone`}),`, `,_jsx(_components.code,{children:`workspace`}),`\nor `,_jsx(_components.code,{children:`fallback`}),`). `,_jsx(_components.code,{children:`timezone_unconfirmed: true`}),` is added, and is absent otherwise,\nwhen that zone is UTC taken from a workspace that may never have chosen one. It\nis the agent’s clock, which a calendar tool books on only when it shares that\nzone. A `,_jsx(_components.code,{children:`timezone`}),` key you attach yourself is never replaced. Name your own keys\nso they cannot collide with these.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-happened-on-the-call`,children:`What happened on the call`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`timeline`}),` is one time-ordered list of everything the call produced — the same\nrows the call log shows in the dashboard, read from the same place. There is no\nsecond endpoint to stitch together and no risk of your view disagreeing with the\none your customer is looking at.`]}),`\n`,_jsxs(_components.p,{children:[`Every row has a `,_jsx(_components.code,{children:`kind`}),` and an `,_jsx(_components.code,{children:`at`}),`. What else it carries depends on the kind.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`kind`})}),_jsx(_components.th,{children:`What it is`}),_jsx(_components.th,{children:`The fields that matter`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call`})}),_jsx(_components.td,{children:`The call being placed, answered, then ending`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`event`}),` (`,_jsx(_components.code,{children:`placed`}),` / `,_jsx(_components.code,{children:`requested`}),` / `,_jsx(_components.code,{children:`answered`}),` / `,_jsx(_components.code,{children:`ended`}),`; `,_jsx(_components.code,{children:`requested`}),` is a call that ended without being answered)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.td,{children:`A turn in the conversation`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`role`}),` (`,_jsx(_components.code,{children:`agent`}),` / `,_jsx(_components.code,{children:`user`}),` / `,_jsx(_components.code,{children:`voicemail`}),`), `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`offset_ms`}),` (from `,_jsx(_components.code,{children:`answered_at`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phase`})}),_jsx(_components.td,{children:`A stage of the call, including the one it failed on`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`lane`}),` (`,_jsx(_components.code,{children:`before`}),` / `,_jsx(_components.code,{children:`during`}),`), `,_jsx(_components.code,{children:`scope`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`error`}),`, `,_jsx(_components.code,{children:`code`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transition`})}),_jsx(_components.td,{children:`The conversation moving`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from_label`}),` → `,_jsx(_components.code,{children:`to_label`}),`, `,_jsx(_components.code,{children:`edge_id`}),`, `,_jsx(_components.code,{children:`edge_condition`}),`, `,_jsx(_components.code,{children:`edge_scope`}),`, `,_jsx(_components.code,{children:`strict`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tool`})}),_jsx(_components.td,{children:`One tool invocation`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`tool_type`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`duration_ms`}),`, `,_jsx(_components.code,{children:`error`}),`, `,_jsx(_components.code,{children:`failure`}),`, `,_jsx(_components.code,{children:`error_code`}),`, `,_jsx(_components.code,{children:`lane`}),` — plus the fields for its type`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trigger`})}),_jsx(_components.td,{children:`An after-call follow-up`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`event`}),`, `,_jsx(_components.code,{children:`steps`}),`, `,_jsx(_components.code,{children:`status`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delivery`})}),_jsx(_components.td,{children:`One webhook delivery`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`tool_id`}),`, `,_jsx(_components.code,{children:`agent_id`}),`, `,_jsx(_components.code,{children:`event`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`response_status`}),`, `,_jsx(_components.code,{children:`attempt_count`}),`, `,_jsx(_components.code,{children:`error_message`}),`, `,_jsx(_components.code,{children:`error_code`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`strict`}),` says where a transition row came from. `,_jsx(_components.code,{children:`true`}),` is the authoritative stage\ncursor an agent’s conversation holds, and only those rows carry an\n`,_jsx(_components.code,{children:`edge_condition`}),` — the workspace’s own wording for the route that fired. `,_jsx(_components.code,{children:`false`}),`\nis the agent’s own record of the stage it entered, which is what an older call\nhas. An agent whose conversation has no stages produces no `,_jsx(_components.code,{children:`transition`}),` rows at\nall.`]}),`\n`,_jsxs(_components.p,{children:[`A workflow step’s `,_jsx(_components.code,{children:`tool`}),` row carries `,_jsx(_components.code,{children:`lane`}),`, the stage it ran in: `,_jsx(_components.code,{children:`before`}),` (before\nthe call connected), `,_jsx(_components.code,{children:`during`}),` (in the conversation) or `,_jsx(_components.code,{children:`after`}),` (a follow-up once\nthe call ended). A `,_jsx(_components.code,{children:`phase`}),` row’s `,_jsx(_components.code,{children:`lane`}),` is `,_jsx(_components.code,{children:`before`}),` or `,_jsx(_components.code,{children:`during`}),` only: what runs\nafter the call is the `,_jsx(_components.code,{children:`trigger`}),` and `,_jsx(_components.code,{children:`delivery`}),` rows.`]}),`\n`,_jsxs(_components.p,{children:[`A dashboard rehearsal that ended before any call existed — its before-call step\nfailed or refused the call (`,_jsx(_components.code,{children:`failure.code: \"preparation_failed\"`}),`) — has one\n`,_jsx(_components.code,{children:`before`}),` `,_jsx(_components.code,{children:`tool`}),` row for that step: its `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`status: \"failed\"`}),`, the\n`,_jsx(_components.code,{children:`response_status`}),` it answered when it answered one, and `,_jsx(_components.code,{children:`error_code`}),`. That is\neverything recorded about it; the rest of its run belongs to no call.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`tool`}),` row adds the fields that make sense for what it is:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`tool_type`})}),_jsx(_components.th,{children:`Extra fields`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`http`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`method`}),`, `,_jsx(_components.code,{children:`url_host`}),`, `,_jsx(_components.code,{children:`request_bytes`}),`, `,_jsx(_components.code,{children:`response_status`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`app`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`app`}),`, `,_jsx(_components.code,{children:`action`}),`, `,_jsx(_components.code,{children:`connection_label`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transfer`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`destination`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`end`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reason`}),`, `,_jsx(_components.code,{children:`ended_by`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`reading-a-tool-failure`,children:`Reading a tool failure`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`tool`}),` row that did not work out carries both halves of the answer: `,_jsx(_components.code,{children:`error`}),`,\none sentence for a person, and `,_jsx(_components.code,{children:`failure`}),`, the stable code behind it.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`failure.code`})}),_jsx(_components.th,{children:`What happened`}),_jsx(_components.th,{children:`What to do about it`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_timeout`})}),_jsxs(_components.td,{children:[`The tool did not answer inside its own limit, which comes back as `,_jsx(_components.code,{children:`failure.limit_seconds`})]}),_jsx(_components.td,{children:`The action may or may not have happened. Check the other system before retrying`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_unreachable`})}),_jsx(_components.td,{children:`Nothing answered at the address`}),_jsx(_components.td,{children:`Check the endpoint is up and reachable from the internet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_rejected`})}),_jsxs(_components.td,{children:[`It answered, and refused — an `,_jsx(_components.code,{children:`http`}),` row also carries `,_jsx(_components.code,{children:`response_status`})]}),_jsx(_components.td,{children:`Read the status; the request or its credentials are wrong`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transfer_failed`})}),_jsx(_components.td,{children:`A transfer to a human did not go through`}),_jsx(_components.td,{children:`Check the destination number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_failed`})}),_jsx(_components.td,{children:`It failed, and there is no finer word for it`}),_jsxs(_components.td,{children:[`Read `,_jsx(_components.code,{children:`error`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A timed-out tool keeps `,_jsx(_components.code,{children:`status: \"pending\"`}),` on purpose: nothing answered, so\nwhether it did the thing is genuinely unknown. `,_jsx(_components.code,{children:`failure`}),` is what tells that\napart from a step that is still running — a step still running has no `,_jsx(_components.code,{children:`failure`}),`\nmember, and neither does one that worked.`]}),`\n`,_jsxs(Heading,{level:`3`,id:`reading-a-status`,children:[`Reading a `,_jsx(_components.code,{children:`status`})]}),`\n`,_jsxs(_components.p,{children:[`Every row that has a `,_jsx(_components.code,{children:`status`}),` uses the same three words: `,_jsx(_components.code,{children:`succeeded`}),`, `,_jsx(_components.code,{children:`failed`}),`,\nor `,_jsx(_components.code,{children:`pending`}),` — the step has not settled yet. A `,_jsx(_components.code,{children:`delivery`}),` row is the one\nexception and carries the delivery ledger’s own `,_jsx(_components.code,{children:`delivered`}),`, `,_jsx(_components.code,{children:`failed`}),`,\n`,_jsx(_components.code,{children:`pending`}),` or `,_jsx(_components.code,{children:`unknown`}),` — no answer came in time, so your endpoint may have\nacted; check there. A row can also arrive with no `,_jsx(_components.code,{children:`status`}),`, which means the agent’s own\nrecord of that step never came back; it is not a failure.`]}),`\n`,_jsxs(_components.p,{children:[`Branch on those values, and on `,_jsx(_components.code,{children:`failure.code`}),` for a tool row. A `,_jsx(_components.code,{children:`tool`}),` or\n`,_jsx(_components.code,{children:`delivery`}),` row that did not work out also carries `,_jsx(_components.code,{children:`error_code`}),`, the code\n`,_jsx(_components.a,{href:`/api-reference/deliveries/list`,children:_jsx(_components.code,{children:`GET /deliveries`})}),` gives the same failure,\ntaken from that endpoint’s `,_jsx(_components.code,{children:`error_code`}),` list (for example\n`,_jsx(_components.code,{children:`downstream_http_error`}),`, `,_jsx(_components.code,{children:`http_timeout`}),` or `,_jsx(_components.code,{children:`http_network_error`}),`). A code added\nto that list reaches this field too, so read one you do not know as\n`,_jsx(_components.code,{children:`delivery_failed`}),`. It is absent on a row that worked or has not settled. `,_jsx(_components.code,{children:`error`}),` and `,_jsx(_components.code,{children:`error_message`}),` are sentences written for a\nperson to read, and their wording changes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`reading-a-stage`,children:`Reading a stage`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`phase`}),` row is one stage of the call: `,_jsx(_components.code,{children:`before`}),` (the steps that run before it\nconnects) or `,_jsx(_components.code,{children:`during`}),` (the conversation). A stage that did not work out has\n`,_jsx(_components.code,{children:`status: \"failed\"`}),`, a sentence in `,_jsx(_components.code,{children:`error`}),`, and `,_jsx(_components.code,{children:`code`}),`, the word to branch on;\n`,_jsx(_components.code,{children:`code`}),` and `,_jsx(_components.code,{children:`error`}),` are `,_jsx(_components.code,{children:`null`}),` on a stage that worked or has not settled.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`What happened`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancelled`})}),_jsx(_components.td,{children:`The stage was stopped before it ran`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expired`})}),_jsx(_components.td,{children:`The stage ran out of time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`declined`})}),_jsx(_components.td,{children:`The stage was not accepted for this workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`inputs_invalid`})}),_jsx(_components.td,{children:`A step could not run: its inputs did not match what its tool expects`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`did_not_finish`})}),_jsx(_components.td,{children:`The stage did not finish, and there is no finer word for it`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A call that completed ends its `,_jsx(_components.code,{children:`during`}),` stage when the line goes down — the\ncaller pressing End, closing the tab or hanging up, or the agent ending it — and\na call handed to a person (`,_jsx(_components.code,{children:`transferred`}),`) ends it at the handoff, so that stage\nreads `,_jsx(_components.code,{children:`succeeded`}),`: a `,_jsx(_components.code,{children:`failed`}),` `,_jsx(_components.code,{children:`during`}),` stage goes with a failure. A `,_jsx(_components.code,{children:`before`}),`\nstage can fail on a call that still connected, when the agent is set to carry on\nwithout what it could not get; that row stays `,_jsx(_components.code,{children:`failed`}),`, because it did. The\nfailure row for the call itself (below) has `,_jsx(_components.code,{children:`scope: \"call\"`}),` and carries the\n`,_jsx(_components.code,{children:`failure.code`}),` as its `,_jsx(_components.code,{children:`code`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`summaries-not-payloads`,children:`Summaries, not payloads`}),`\n`,_jsxs(_components.p,{children:[`A timeline row tells you `,_jsx(_components.strong,{children:`what`}),` a step did and `,_jsx(_components.strong,{children:`how it went`}),`, never what was\nin it. A URL’s path and query, request headers, API credentials, the account id\nbehind a connected app, and raw request and response bodies are not returned\nhere and never will be. A failure comes back as `,_jsx(_components.code,{children:`error`}),` — one sentence written\nfor a person to act on — with `,_jsx(_components.code,{children:`failure.code`}),` beside it on a `,_jsx(_components.code,{children:`tool`}),` row: a small,\ndocumented set of words for what went wrong, never the engine’s own error text.`]}),`\n`,_jsxs(_components.p,{children:[`A follow-up step that reads a value from the call by description (see `,_jsx(_components.a,{href:`/concepts/tool-inputs#reading-a-value-by-description`,children:`Tool\ninputs`}),`) has the same\nshape: its `,_jsx(_components.code,{children:`tool`}),` row carries `,_jsx(_components.code,{children:`reads`}),` — each input, the description the author\nwrote and whether the call said it (`,_jsx(_components.code,{children:`read`}),`), the fixed value was used\n(`,_jsx(_components.code,{children:`fallback`}),`) or nothing was sent (`,_jsx(_components.code,{children:`missing`}),`) — but not the value. A step the\ncall gave no value for is a `,_jsx(_components.code,{children:`skipped`}),` row with its `,_jsx(_components.code,{children:`reason`}),`, and is not a\nfailure.`]}),`\n`,_jsxs(_components.p,{children:[`That rule is about `,_jsx(_components.code,{children:`timeline`}),`. What each tool call sent and got back is in\n`,_jsx(_components.code,{children:`tool_calls`}),`, below: a `,_jsx(_components.code,{children:`tool`}),` row’s `,_jsx(_components.code,{children:`exchange_id`}),` is the matching\n`,_jsx(_components.code,{children:`tool_calls[].id`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`what-each-tool-call-sent-and-got-back`,children:`What each tool call sent and got back`}),`\n`,_jsxs(_components.p,{children:[`Every entry of `,_jsx(_components.code,{children:`tool_calls`}),` carries the tool call’s full record, on every\nengine: workflow agents, prompt and flow agents, connected apps, transfers and\nEnd.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What it is`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_asked`})}),_jsxs(_components.td,{children:[`The arguments the agent called the tool with (`,_jsx(_components.code,{children:`null`}),` for a before- or after-call step)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`request`})}),_jsxs(_components.td,{children:[`The request exactly as it left: `,_jsx(_components.code,{children:`method`}),`, the full `,_jsx(_components.code,{children:`url`}),` with its query, every header in `,_jsx(_components.code,{children:`headers`}),`, the `,_jsx(_components.code,{children:`body`}),`; `,_jsx(_components.code,{children:`target`}),` instead of a URL for a connected app (`,_jsx(_components.code,{children:`Google Calendar · Find event`}),`) or a transfer`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response`})}),_jsxs(_components.td,{children:[`The answer: `,_jsx(_components.code,{children:`status`}),`, every header in `,_jsx(_components.code,{children:`headers`}),`, the `,_jsx(_components.code,{children:`body`}),` (also when the endpoint refused or did not answer JSON), `,_jsx(_components.code,{children:`timed_out`}),`, and `,_jsx(_components.code,{children:`error_code`}),` when it went wrong`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_was_told`})}),_jsxs(_components.td,{children:[`What the agent got back (`,_jsx(_components.code,{children:`null`}),` for a before- or after-call step)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`given_to_agent`})}),_jsx(_components.td,{children:`A before-call step only: how its result reached the agent (below)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`succeeded`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`timeout`}),`, `,_jsx(_components.code,{children:`unreachable`}),`, `,_jsx(_components.code,{children:`refused`}),` (turned away before anything was sent, for example a transfer on a call with no phone line), `,_jsx(_components.code,{children:`not_sent`}),` or `,_jsx(_components.code,{children:`unknown`}),` (not confirmed whether it happened: the request went out, its answer could not be used, and the agent was told so)`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6f1d2c3a-1b2c-4d5e-8f60-0d1e2f3a4b5c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sync CRM\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook_tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"engine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"succeeded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"started_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-21T10:00:12.340Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_asked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+972501234567\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://crm.example.com/contacts?api_key=[REDACTED]\u0026phone=%2B972501234567\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[REDACTED]\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Accept\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"body_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"empty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"body_bytes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"truncated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Set-Cookie\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[REDACTED]\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`items`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:[{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:1,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Dana Levi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`},{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:2,\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"body_bytes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40960`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"truncated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timed_out\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_was_told\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Dana Levi\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }] },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"masked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request.url.query.api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request.headers.Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response.headers.Set-Cookie\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details_expired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The answer above was 40 KB: `,_jsx(_components.code,{children:`body`}),` is its first 16 KB, as text, and\n`,_jsx(_components.code,{children:`body_bytes`}),` is the full size. Each body (`,_jsx(_components.code,{children:`agent_asked`}),`, `,_jsx(_components.code,{children:`request.body`}),`,\n`,_jsx(_components.code,{children:`response.body`}),`, `,_jsx(_components.code,{children:`agent_was_told`}),`) is kept up to 16 KB.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What a before-call step gave the agent.`}),` No agent asked a before-call step,\nso its `,_jsx(_components.code,{children:`agent_was_told`}),` is `,_jsx(_components.code,{children:`null`}),`. Its `,_jsx(_components.code,{children:`given_to_agent`}),` says whether the live\nagent got the result, how and where, recorded as the agent’s instructions were\nbuilt:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What it is`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`via`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`instructions_block`}),` (the result is in the prepared-data section of the agent’s instructions, as the conversation started), `,_jsx(_components.code,{children:`placeholder`}),` (a `,_jsx(_components.code,{children:`{{before.\u003cstep>.\u003cfield>}}`}),` you wrote got its value), `,_jsx(_components.code,{children:`seed`}),` (the step results every workflow conversation starts with). Empty when the agent was not given it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`places`})}),_jsxs(_components.td,{children:[`Each `,_jsx(_components.code,{children:`{{before.…}}`}),` reference to this step in text the agent read: `,_jsx(_components.code,{children:`global`}),` (its global instructions), `,_jsx(_components.code,{children:`step:\u003cnode id>`}),` (a conversation step) or `,_jsx(_components.code,{children:`greeting`}),` (the opening line), with `,_jsx(_components.code,{children:`filled: false`}),` where the fallback was used. `,_jsx(_components.code,{children:`step:\u003cnode id>`}),` places are listed for the steps the document lets the agent reach: every step in a flexible document, only the steps the conversation reached in a strict one`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`result`})}),_jsx(_components.td,{children:`The result as the instructions carry it: credentials, diagnostics and private references left out, long values cut to fit. Kept also when the instructions did not carry it, so you can see what the agent missed`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`bytes`}),`, `,_jsx(_components.code,{children:`truncated`})]}),_jsxs(_components.td,{children:[`How much of it the instructions placed (`,_jsx(_components.code,{children:`0`}),` when none); `,_jsx(_components.code,{children:`truncated`}),` is `,_jsx(_components.code,{children:`true`}),` when the agent saw a value cut to fit`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsxs(_components.td,{children:[`Why the instructions did not carry it, `,_jsx(_components.code,{children:`null`}),` when they did: `,_jsx(_components.code,{children:`no_result_released`}),` (no result, or an empty one), `,_jsx(_components.code,{children:`budget`}),` (the 32 KB prepared-data section was full), `,_jsx(_components.code,{children:`not_in_instructions`}),`, or the step’s own failure code`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Find free time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"engine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"succeeded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_asked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_was_told\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"given_to_agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"via\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"instructions_block\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"placeholder\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"places\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"where\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"step:conversation_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{before.today.busy|none}}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"filled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"busy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-02T16:00:00+02:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-02T18:00:00+02:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }] },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bytes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`82`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"truncated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`given_to_agent`}),` is recorded on calls made once the voice release that records\nit is live. It is absent on an earlier call, and once the record’s details\nexpire: that means it was not recorded, not that the agent did not get it.`]}),`\n`,_jsx(_components.p,{children:`A tool that got no answer in time reads like this, and may still have acted on\nthe other side:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"timeout\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"body_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"empty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body_bytes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"truncated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timed_out\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http_timeout\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What is hidden.`}),` A value that looks like a credential comes back as\n`,_jsx(_components.code,{children:`\"[REDACTED]\"`}),`, and its place is listed in `,_jsx(_components.code,{children:`masked`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Hidden`}),_jsx(_components.th,{children:`Kept`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`Authorization`}),`, `,_jsx(_components.code,{children:`Proxy-Authorization`}),`, `,_jsx(_components.code,{children:`Cookie`}),` and `,_jsx(_components.code,{children:`X-Api-Key`}),` headers you send, and `,_jsx(_components.code,{children:`Set-Cookie`}),` in an answer`]}),_jsx(_components.td,{children:`Your own data in a payload: names, phone numbers, emails, addresses`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Any header, query parameter or JSON key whose name contains token, secret, password, signature, credential, api key, access key, private key or session id`}),_jsx(_components.td,{children:`Numbers and true/false values, whatever their name`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Any whose name ends in `,_jsx(_components.code,{children:`key`}),` or `,_jsx(_components.code,{children:`session`}),` (`,_jsx(_components.code,{children:`signing_key`}),`, `,_jsx(_components.code,{children:`license_key`}),`, `,_jsx(_components.code,{children:`X-Signing-Key`}),`, `,_jsx(_components.code,{children:`session`}),`, `,_jsx(_components.code,{children:`user_session`}),`), or is exactly `,_jsx(_components.code,{children:`key`}),`, `,_jsx(_components.code,{children:`auth`}),`, `,_jsx(_components.code,{children:`sig`}),`, `,_jsx(_components.code,{children:`otp`}),`, `,_jsx(_components.code,{children:`jwt`}),`, `,_jsx(_components.code,{children:`pwd`}),` or `,_jsx(_components.code,{children:`bearer`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`public_key`}),`, `,_jsx(_components.code,{children:`primary_key`}),`, `,_jsx(_components.code,{children:`foreign_key`}),`, `,_jsx(_components.code,{children:`sort_key`}),`, `,_jsx(_components.code,{children:`partition_key`}),`, `,_jsx(_components.code,{children:`session_count`}),` and the like`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`A bearer token, an API key (`,_jsx(_components.code,{children:`sk_…`}),`, `,_jsx(_components.code,{children:`AKIA…`}),`, `,_jsx(_components.code,{children:`AIza…`}),`, `,_jsx(_components.code,{children:`ghp_…`}),`), a JWT, inside any text`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`token_type`}),`, `,_jsx(_components.code,{children:`total_tokens`}),`, `,_jsx(_components.code,{children:`key_name`}),` and the like`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A URL’s user and password, and every value configured on the tool’s headers, wherever it appears`}),_jsx(_components.td,{children:`Everything else`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Where it went needs a tools scope.`}),` For a Make or Zapier hook the path of\nthe URL is the credential, so a key with neither `,_jsx(_components.code,{children:`tools:read`}),` nor\n`,_jsx(_components.code,{children:`tools:update`}),` reads each `,_jsx(_components.code,{children:`request.url`}),` as its scheme and host alone\n(`,_jsx(_components.code,{children:`https://hook.eu1.make.com`}),`), and the entry carries\n`,_jsx(_components.code,{children:`\"destination_path_withheld\": true`}),`. The raw `,_jsx(_components.code,{children:`tool_called`}),` entries of `,_jsx(_components.code,{children:`events`}),`\nare cut the same way. The method, the headers (secrets already hidden) and the\nbodies stay. This is the rule `,_jsx(_components.a,{href:`/api-reference/deliveries/get`,children:`Get Delivery`}),`\nfollows for the same send.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Kept for 90 days.`}),` After that `,_jsx(_components.code,{children:`details_expired`}),` is `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`agent_asked`}),`\nand `,_jsx(_components.code,{children:`agent_was_told`}),` are `,_jsx(_components.code,{children:`null`}),`, and the record’s request and response details\nare gone; the summary stays. A call placed before records began (21 October\n2026) has none of these fields, and its entries read exactly as they always did.`]}),`\n`,_jsx(Heading,{level:`3`,id:`reading-a-delivery`,children:`Reading a delivery`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`delivery`}),` rows are the whole webhook ledger for the call, whichever part of\nYappr sent them: a follow-up step that posts to your endpoint and a workspace\nwebhook both land here, in the same shape.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`id`}),` is the delivery’s own id — the same row `,_jsx(_components.a,{href:`/api-reference/deliveries/list`,children:`List Deliveries`}),`\nreturns, and the one `,_jsx(_components.a,{href:`/api-reference/deliveries/get`,children:`Get Delivery`}),` reads with what it sent and\nwhat came back. `,_jsx(_components.code,{children:`tool_id`}),` is the tool whose step sent it (`,_jsx(_components.code,{children:`null`}),` for\nan agent not yet on the workflow engine, which sends in its own name), and `,_jsx(_components.code,{children:`agent_id`}),` is that\nagent or, for a step, the agent whose call this is. Names repeat; ids do not.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delivery\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f2a9b1c-4d5e-4f60-8a7b-9c0d1e2f3a4b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8d937cd3-8b08-43a0-8f85-5b65c678e41f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-16T10:04:11.220+00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call.ended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"attempt_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Webhook returned HTTP 500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"notifyCrm\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`older-calls`,children:`Older calls`}),`\n`,_jsxs(_components.p,{children:[`A call placed before your workspace moved to the current engine has no stages,\nand any `,_jsx(_components.code,{children:`transition`}),` rows it has are `,_jsx(_components.code,{children:`strict: false`}),`; its transcript, its tool\nrows and its deliveries still come back here, in exactly the same shape. That\nholds for a single-prompt agent too: its webhook tools, its transfers and its\nend-of-call arrive as ordinary `,_jsx(_components.code,{children:`tool`}),` rows. Read the `,_jsx(_components.code,{children:`kind`}),` of each row rather\nthan assuming which kinds a call will have.`]}),`\n`,_jsxs(_components.p,{children:[`A call that failed gets one `,_jsx(_components.code,{children:`phase`}),` row for the failure itself, with\n`,_jsx(_components.code,{children:`scope: \"call\"`}),`, `,_jsx(_components.code,{children:`status: \"failed\"`}),`, the `,_jsx(_components.code,{children:`failure.reason`}),` sentence in `,_jsx(_components.code,{children:`error`}),`\nand `,_jsx(_components.code,{children:`failure.code`}),` as its `,_jsx(_components.code,{children:`code`}),` — unless the call’s own stages already report\nthe failure. A call\nwhose run recorded a failed stage of its own keeps that row and gets no second\none, so read the `,_jsx(_components.code,{children:`failure`}),` member when you want the one canonical answer.`]}),`\n`,_jsx(Heading,{level:`3`,id:`a/b-calls`,children:`A/B calls`}),`\n`,_jsxs(_components.p,{children:[`When the number that took the call is running an A/B split, `,_jsx(_components.code,{children:`ab_variant`}),` says\nwhich side ran (`,_jsx(_components.code,{children:`a`}),` or `,_jsx(_components.code,{children:`b`}),`), and `,_jsx(_components.code,{children:`ab_variant_fallback`}),` is `,_jsx(_components.code,{children:`true`}),` when the split\npicked `,_jsx(_components.code,{children:`b`}),` but the call went to `,_jsx(_components.code,{children:`a`}),` because `,_jsx(_components.code,{children:`b`}),` could not take it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`follow-ups-that-did-not-run`,children:`Follow-ups that did not run`}),`\n`,_jsxs(_components.p,{children:[`A follow-up that ran shows up in `,_jsx(_components.code,{children:`timeline`}),` as a `,_jsx(_components.code,{children:`trigger`}),` row, then its `,_jsx(_components.code,{children:`tool`}),`\nand `,_jsx(_components.code,{children:`delivery`}),` rows. When one of the agent’s follow-ups did not run on this\ncall, `,_jsx(_components.code,{children:`follow_ups`}),` names it and says why. The member is absent when there is\nnothing to explain: every follow-up started, the workflow had none, or the\nagent has no published workflow. The dashboard’s call page shows the same\nanswer.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"follow_ups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"skipped\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"browser_test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"steps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Send to CRM\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`state`}),` is `,_jsx(_components.code,{children:`waiting`}),` when every group is still waiting for the result it runs\non. Read the call again later: the follow-up runs once that result is ready.\nAny other answer is `,_jsx(_components.code,{children:`skipped`}),`, which means at least one follow-up will not run\non this call.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`browser_test`})}),_jsxs(_components.td,{children:[`A test call from the dashboard that ran without the workflow, so none of its follow-ups ran. `,_jsx(_components.code,{children:`steps`}),` lists every follow-up the agent had published when the call started.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_workflow_run`})}),_jsxs(_components.td,{children:[`Any other call that ran without the workflow, such as a share-link or Web SDK call. `,_jsx(_components.code,{children:`steps`}),` is the same list.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`artifact_pending`})}),_jsxs(_components.td,{children:[`The result this follow-up runs on (`,_jsx(_components.code,{children:`artifact`}),`, for the trigger `,_jsx(_components.code,{children:`event`}),`) is still being produced.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`artifact_unavailable`})}),_jsxs(_components.td,{children:[`That result was never produced and nothing more is coming, so the follow-up will not run. For example, the transcript was empty, or the call’s `,_jsx(_components.code,{children:`analysis`}),` reads `,_jsx(_components.code,{children:`failed`}),` or `,_jsx(_components.code,{children:`skipped`}),` with a `,_jsx(_components.code,{children:`completed_at`}),` — from that moment a follow-up on `,_jsx(_components.code,{children:`analysis.ready`}),` reads this, not `,_jsx(_components.code,{children:`artifact_pending`}),` or `,_jsx(_components.code,{children:`artifact_late`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`artifact_late`})}),_jsx(_components.td,{children:`The call’s run closed before that result arrived.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`condition_not_met`})}),_jsxs(_components.td,{children:[`The follow-up’s `,_jsx(_components.a,{href:`/api-reference/workflows/save#running-a-follow-up-only-for-some-calls`,children:`Only if`}),` did not hold for this call, so it ran nothing on purpose. `,_jsx(_components.code,{children:`trigger_id`}),` and `,_jsx(_components.code,{children:`event`}),` name the follow-up, `,_jsx(_components.code,{children:`steps`}),` lists what was skipped, and `,_jsx(_components.code,{children:`seen`}),` lists the call facts the condition read, each as `,_jsx(_components.code,{children:`{\"path\": \"/status\", \"value\": \"completed\"}`}),`.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`event`}),` and `,_jsx(_components.code,{children:`artifact`}),` are present on the three `,_jsx(_components.code,{children:`artifact_*`}),` reasons only; `,_jsx(_components.code,{children:`event`}),` is also on\n`,_jsx(_components.code,{children:`condition_not_met`}),`, with `,_jsx(_components.code,{children:`trigger_id`}),` and `,_jsx(_components.code,{children:`seen`}),`. Treat a reason you do not recognise as\n`,_jsx(_components.code,{children:`skipped`}),`. A follow-up its own condition skipped is not a cancellation: when it is the only\nthing `,_jsx(_components.code,{children:`follow_ups`}),` explains, `,_jsx(_components.code,{children:`follow_up_state`}),` is decided by the follow-ups that did run, as if\n`,_jsx(_components.code,{children:`follow_ups`}),` were absent.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`execution.summary.follow_up_state`}),`, when the response carries `,_jsx(_components.code,{children:`execution`}),`,\nsays the same thing in one word, read from `,_jsx(_components.code,{children:`follow_ups`}),` and the `,_jsx(_components.code,{children:`trigger`}),` rows\ntogether. The first line that fits is the answer:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`follow_up_state`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`A follow-up that ran failed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`running`})}),_jsx(_components.td,{children:`A follow-up is still running, or one has run and another is still waiting.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_started`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`follow_ups.state`}),` is `,_jsx(_components.code,{children:`waiting`}),` and no follow-up has run yet.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancelled`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`follow_ups.state`}),` is `,_jsx(_components.code,{children:`skipped`}),`: at least one follow-up will not run on this call.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown`})}),_jsx(_components.td,{children:`A follow-up ran and its outcome never came back.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`succeeded`})}),_jsxs(_components.td,{children:[`Every follow-up that ran succeeded, and `,_jsx(_components.code,{children:`follow_ups`}),` is absent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unavailable`})}),_jsx(_components.td,{children:`Nothing ran and nothing is explained (the agent has no follow-ups), or the timeline could not be read.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-call-cost`,children:`What the call cost`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cost_cents`}),` is what this call took out of your credit balance — the same number\nthe dashboard shows on the call, in credits, where one credit is one cent.`]}),`\n`,_jsxs(_components.p,{children:[`A call is never billed for longer than its agent’s `,_jsx(_components.code,{children:`max_call_duration_secs`}),`\nplus 60 seconds, or 4 hours when the agent has no cap or the call was\ntransferred to a person. If a call is reported as running longer than that,\n`,_jsx(_components.code,{children:`duration_seconds`}),` and the charge both stop at that limit.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"duration_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`104`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"cost_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`52`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"cost_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"charged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cost_status`}),` says whether that number is final:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`cost_status`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`cost_cents`})}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`charged`})}),_jsx(_components.td,{children:`the charge`}),_jsx(_components.td,{children:`Final. What this call cost.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_charged`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0`})}),_jsx(_components.td,{children:`Final. The call ended without billable time — it failed, nobody answered, it was blocked, or it completed with no connected time — so nothing was charged. A call that ended more than 24 hours ago with no charge recorded reads this too: nothing came off the balance for it, and nothing will.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsx(_components.td,{children:`Not final. The call is still running, or it ended less than 24 hours ago and its charge has not been recorded yet. Come back.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Only `,_jsx(_components.code,{children:`pending`}),` is worth polling. `,_jsx(_components.code,{children:`null`}),` never means “free”, and `,_jsx(_components.code,{children:`0`}),` never means\n“not settled yet”. Totals across\ncalls — by day, by product or by agent — are\n`,_jsx(_components.a,{href:`/api-reference/billing/consumption`,children:_jsx(_components.code,{children:`GET /billing/consumption`})}),`; the balance\nthat remains is `,_jsx(_components.a,{href:`/api-reference/billing/get-status`,children:_jsx(_components.code,{children:`GET /billing`})}),`. This page’s\nfield is the one call’s own line, so a per-call ledger needs no aggregation and\nno guess from `,_jsx(_components.code,{children:`duration_seconds`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`usage`}),`, below, is not a cost. It is what the call consumed on the voice model\nthat ran it, reported by the provider itself, and it carries no price. What the\ncall cost you is `,_jsx(_components.code,{children:`cost_cents`}),`, above.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"legs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"engine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-live\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-3.1-flash-live-preview\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text_input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`32000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cached_input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`28400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recorded_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-18T09:14:52.118+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`legs[].engine`}),` / `,_jsx(_components.code,{children:`legs[].model`})]}),_jsx(_components.td,{children:`Which voice engine and model ran the call.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].sessions`})}),_jsx(_components.td,{children:`How many provider sessions the call spanned. More than one means the connection was rebuilt mid-call; the usage is still the whole call’s.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].audio_input_tokens`})}),_jsx(_components.td,{children:`Prompt tokens that were the caller speaking.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].text_input_tokens`})}),_jsx(_components.td,{children:`Prompt tokens that were text — instructions, history, tool definitions.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].audio_output_tokens`})}),_jsx(_components.td,{children:`Completion tokens that were the agent speaking.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].cached_input_tokens`})}),_jsx(_components.td,{children:`Prompt tokens served from the provider’s cache.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].audio_seconds`})}),_jsx(_components.td,{children:`Seconds of live audio, for an engine billed by time rather than by token.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`legs[].backend_model`})}),_jsx(_components.td,{children:`The reasoning model behind the voice, where the engine has one.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The two engines report in different units, and the response says which.`}),` A\nGemini voice bills tokens split by modality, so its leg carries token counts. A\nGPT voice bills seconds of live audio, so its leg carries `,_jsx(_components.code,{children:`audio_seconds`}),` and\nits token fields are `,_jsx(_components.code,{children:`null`}),`. Read whichever the leg has rather than assuming.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`No `,_jsx(_components.code,{children:`usage`}),` member is not a call that consumed nothing.`]}),` A call that never\nreached the model has no reading at all, and neither does a call that completed\nbefore this shipped. `,_jsx(_components.code,{children:`usage`}),` is absent for those, deliberately — a zero there\nwould be a measurement we did not take.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-language-the-summary-is-in`,children:`What language the summary is in`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`summary`}),` is written in the language the call was held in. That is read off\nthe conversation itself when it is clearly Hebrew or clearly English — so an\nEnglish agent answered in Hebrew is summarised in Hebrew — and taken from the\nagent’s `,_jsx(_components.code,{children:`language`}),` (`,_jsx(_components.code,{children:`he`}),` Hebrew, `,_jsx(_components.code,{children:`en`}),` English) when too little was said to tell\nor both were spoken. It never follows the workspace or the language of whoever\nreads the call back, so the same call always reads the same way. A call\nsummarised before this rule keeps the summary it was given.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`transcript`}),` is never translated — it is the conversation verbatim, in whatever\nwas said on the call.`]}),`\n`,_jsx(Heading,{level:`2`,id:`whether-the-analysis-has-run-yet`,children:`Whether the analysis has run yet`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`summary`}),`, `,_jsx(_components.code,{children:`disposition`}),` and `,_jsx(_components.code,{children:`extracted_data`}),` are all written by one post-call\npass, and `,_jsx(_components.strong,{children:`until that pass lands none of them is on the call at all.`}),` So their\nabsence cannot tell you which of three different things happened: still\nprocessing, nothing to process, or something broke.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`analysis`}),` answers that, and it is on every call — rows of `,_jsx(_components.code,{children:`GET /calls`}),` too.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"analysis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"awaiting_analysis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"completed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`Poll again. The pass is still on its way.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`done`})}),_jsxs(_components.td,{children:[`Read `,_jsx(_components.code,{children:`summary`}),`, `,_jsx(_components.code,{children:`disposition`}),` and `,_jsx(_components.code,{children:`extracted_data`}),` — whatever it produced is on the call now, which on a call it found no values in is no `,_jsx(_components.code,{children:`extracted_data`}),` at all. A `,_jsx(_components.code,{children:`done`}),` call always has a `,_jsx(_components.code,{children:`summary`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`skipped`})}),_jsx(_components.td,{children:`Stop polling. Nothing is coming and nothing is wrong.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`Stop polling. Nothing is coming and something is wrong — this is the one worth an alert.`})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.th,{children:`Which case it is`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_in_progress`})}),_jsx(_components.td,{children:`The call has not ended yet — including a call handed to a human, which reads this until that leg ends and the pass runs.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`awaiting_analysis`})}),_jsx(_components.td,{children:`The call ended; the pass has not landed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_did_not_complete`})}),_jsx(_components.td,{children:`The call failed or nobody answered, so there was nothing to read.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_too_short`})}),_jsx(_components.td,{children:`Shorter than the three-second minimum below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_transcript`})}),_jsx(_components.td,{children:`Nobody said anything on the call.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`analysis_failed`})}),_jsx(_components.td,{children:`The pass ran and could not produce an answer.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_summary`})}),_jsxs(_components.td,{children:[`The pass ran and came back without a summary, on every attempt, so nothing it produced was kept: no `,_jsx(_components.code,{children:`summary`}),`, `,_jsx(_components.code,{children:`disposition`}),` or `,_jsx(_components.code,{children:`extracted_data`}),`, and no `,_jsx(_components.code,{children:`call.analyzed`}),`. The `,_jsx(_components.code,{children:`analysis`}),` entry of `,_jsx(_components.code,{children:`execution.summary.artifacts`}),` says the same: `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`reason_code: \"no_summary\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`analysis_unavailable`})}),_jsx(_components.td,{children:`The call is long past when the pass should have landed, and it never did.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reason`}),` is `,_jsx(_components.code,{children:`null`}),` only on `,_jsx(_components.code,{children:`done`}),`. Branch on `,_jsx(_components.code,{children:`status`}),`; treat a `,_jsx(_components.code,{children:`reason`}),` you do\nnot recognise as the bare status.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`How long to wait.`}),` A call under `,_jsx(_components.strong,{children:`3 seconds`}),` is never analysed — that comes\nback as `,_jsx(_components.code,{children:`skipped`}),` / `,_jsx(_components.code,{children:`call_too_short`}),` immediately. Above that, the pass runs once\nthe call’s transcript is written, which normally puts it on the call `,_jsx(_components.strong,{children:`within\na minute or two of the call ending`}),`. Poll every few seconds and treat anything\nstill `,_jsx(_components.code,{children:`pending`}),` after `,_jsx(_components.strong,{children:`10 minutes`}),` as stuck — at that point the call itself\nstops saying `,_jsx(_components.code,{children:`pending`}),` and starts saying `,_jsx(_components.code,{children:`failed`}),` / `,_jsx(_components.code,{children:`analysis_unavailable`}),`.\nThe one exception is a call from an agent whose workflow has steps of its own:\nits transcript and analysis are retried (three attempts, within a day of the\ncall), so while a retry is still due it keeps reading `,_jsx(_components.code,{children:`pending`}),` /\n`,_jsx(_components.code,{children:`awaiting_analysis`}),` past the ten minutes, and it reads `,_jsx(_components.code,{children:`failed`}),` only once\nnothing more is coming. That state is also written onto the call within five\nminutes of that point,\nwhich moves its `,_jsx(_components.code,{children:`updated_at`}),`, so a sync windowed on\n`,_jsx(_components.a,{href:`/api-reference/calls/list#keeping-a-copy-in-step`,children:_jsx(_components.code,{children:`?updated_since=`})}),` reads the\ncall again rather than keeping it `,_jsx(_components.code,{children:`pending`}),` for ever. If the pass does land\nlater after all, it replaces that state with `,_jsx(_components.code,{children:`done`}),`, which moves `,_jsx(_components.code,{children:`updated_at`}),`\nagain.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`completed_at`}),` is when the pass finished, when the platform recorded the time.\nWhen the summary is written again later — after a repair of the call’s\ntranscript — it is when that happened, and the rewrite moves `,_jsx(_components.code,{children:`updated_at`}),`. It is\n`,_jsx(_components.code,{children:`null`}),` on a call analysed before that was recorded, and on a state read off the\ncall itself rather than written by the pass.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Prefer the `,_jsx(_components.code,{children:`call.analyzed`}),` webhook to polling if you can take one: it fires when\nthe pass lands, so there is nothing to wait on. It can arrive a second time when a\nlater pass fills in something the first one lacked (see\n`,_jsx(_components.a,{href:`/api-reference/webhooks#when-the-analysis-notification-arrives-twice`,children:`Webhooks`}),`); keep the later one.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-agent-picked-out-of-the-call`,children:`What the agent picked out of the call`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`extracted_data`}),` carries the fields the agent’s `,_jsx(_components.code,{children:`extraction_parameters`}),` asked\nfor, read out of the transcript after the call ended.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The member is absent, not null, whenever extraction wrote nothing`}),` — an\nagent with no parameters configured, a call too short to analyse, an analysis\nthat failed, an analysis that has not landed yet, or an analysis that ran and\nfound no value for any parameter. Read it with a presence check rather than a\ntruthiness one, and read `,_jsx(_components.code,{children:`analysis`}),` above to tell those apart: the first four\nread `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`skipped`}),` or `,_jsx(_components.code,{children:`failed`}),`, and the last is the one case where\n`,_jsx(_components.code,{children:`analysis`}),` says `,_jsx(_components.code,{children:`done`}),` and `,_jsx(_components.code,{children:`extracted_data`}),` is still not there.`]}),`\n`,_jsx(_components.p,{children:`That last case is normal on a call answered before its parameters existed:\nparameters are read out of the transcript at analysis time, so adding one to an\nagent today does not put it on calls it already made.`}),`\n`,_jsx(_components.p,{children:`When it is there it carries one key per configured parameter, and the value of\neach is the kind that parameter declared:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.th,{children:`The value you get back`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`text`}),` (the default)`]}),_jsx(_components.td,{children:`A string`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`A JSON number — `,_jsx(_components.code,{children:`12`}),`, not `,_jsx(_components.code,{children:`\"12 seats\"`}),`. An approximate answer is its number (“about 12” is `,_jsx(_components.code,{children:`12`}),`), a half is kept (“two and a half” and “שנתיים וחצי” are `,_jsx(_components.code,{children:`2.5`}),`, “a year and a half” and “שנה וחצי” are `,_jsx(_components.code,{children:`1.5`}),`, “half a year” is `,_jsx(_components.code,{children:`0.5`}),`), and a range is its middle (“3-4” and “שלוש או ארבע” are `,_jsx(_components.code,{children:`3.5`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`yes_no`})}),_jsx(_components.td,{children:`A JSON boolean`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`YYYY-MM-DD`}),` string`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` means the conversation never supplied that value, or supplied something\nthat could not be read as the declared kind. It never means the parameter is\nmissing — a configured parameter is always a key.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`number`}),` the caller gave as a range (“בין שש לשבע”) is stored as its middle,\n`,_jsx(_components.code,{children:`6.5`}),`, and `,_jsx(_components.code,{children:`extracted_data_ranges`}),` beside `,_jsx(_components.code,{children:`extracted_data`}),` gives the two ends:\n`,_jsx(_components.code,{children:`{\"pain_level\": {\"low\": 6, \"high\": 7}}`}),`. It is absent when no number was a\nrange, and on calls analysed before it was recorded.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`date`}),` is read from the day the call started, in your workspace’s time zone\n(the one in your workspace settings, UTC if none is set - and a workspace left\non UTC reads a call made in Israel after midnight as the day before). What the\ncaller said decides the rest, and each date is held to the caller’s own words:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The caller said`}),_jsx(_components.th,{children:`Stored, for a call on Wednesday 23 September 2026`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A full date with its year — “12 April 1990”`}),_jsxs(_components.td,{children:[`That date as said: `,_jsx(_components.code,{children:`1990-04-12`}),`. A year the caller said is never moved.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A day and month with no year — “the first of November”`}),_jsxs(_components.td,{children:[`The next time that day comes round, counting the call day itself: `,_jsx(_components.code,{children:`2026-11-01`}),`. “The first of March” is `,_jsx(_components.code,{children:`2027-03-01`}),`, never a date in the past — unless the caller said that day already happened (“it ended on the 3rd of June”, “I arrived on the 5th of March”, “נכנסתי ב-5 במרץ”, “עזבתי ב-2 בדצמבר”): then it is the last time that day came round, `,_jsx(_components.code,{children:`2026-06-03`}),`, `,_jsx(_components.code,{children:`2026-03-05`}),`, `,_jsx(_components.code,{children:`2025-12-02`}),`. A day that belongs to something still to come stays ahead, even after a past verb: a target (“the hearing was moved to the 5th of March”, “rescheduled for the 5th of March”, “נדחה ל-5 במרץ”), the day of an event that a letter, message or call told the caller about (“I got a letter for my hearing on the 12th of November”, “קיבלתי זימון לדיון ב-12 בנובמבר”, “I got a letter about my surgery on the 12th of November”, “קיבלתי מכתב על הניתוח ב-12 בנובמבר” are `,_jsx(_components.code,{children:`2026-11-12`}),`; “I had surgery on the 12th of November” is `,_jsx(_components.code,{children:`2025-11-12`}),`, and “I received the results of my MRI on the 5th of March” is `,_jsx(_components.code,{children:`2026-03-05`}),`), or of something that still holds (“I was told my visa expires in November”, “קיבלתי אשרה חדשה שנגמרת בנובמבר” are November 2026). Which day a letter, message or call names — the event’s or its own — is the reader’s judgement, returned as `,_jsx(_components.code,{children:`role`}),`: “I got a letter about my knee replacement on the 3rd of December”, “I got a form for my surgery on the 3rd of December” and “קיבלתי הודעה על בדיקת התוצאות ב-3 בדצמבר” are the event’s, `,_jsx(_components.code,{children:`2026-12-03`}),`; “I got a letter about my lease on the 5th of March” is the letter’s, `,_jsx(_components.code,{children:`2026-03-05`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A day of the month alone — “on the 5th”`}),_jsxs(_components.td,{children:[`The next 5th: `,_jsx(_components.code,{children:`2026-10-05`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A day of a month counted from the call — “on the 15th of next month”, “ב-15 לחודש הבא”`}),_jsxs(_components.td,{children:[`That day: `,_jsx(_components.code,{children:`2026-10-15`}),`. The day is kept in either language.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A day counted from the call — “today”, “tomorrow”, “the day after tomorrow”, “in a week”`}),_jsxs(_components.td,{children:[`Counted from the call day: `,_jsx(_components.code,{children:`2026-09-23`}),`, `,_jsx(_components.code,{children:`2026-09-24`}),`, `,_jsx(_components.code,{children:`2026-09-25`}),`, `,_jsx(_components.code,{children:`2026-09-30`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A day of the week — “next Sunday”, “on Tuesday”, “ביום ראשון הבא”`}),_jsxs(_components.td,{children:[`The first one after the call day: `,_jsx(_components.code,{children:`2026-09-27`}),`, `,_jsx(_components.code,{children:`2026-09-29`}),`. The same weekday as the call is the one a week on.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A weekday with a day of the month that disagree — “next Tuesday the 14th” when the 14th is a Wednesday, “ביום שלישי ה-14”`}),_jsxs(_components.td,{children:[`The day of the month the caller stated, `,_jsx(_components.code,{children:`2026-10-14`}),`, not the weekday, with `,_jsx(_components.code,{children:`ambiguity: [\"weekday_mismatch\"]`}),` in `,_jsx(_components.code,{children:`extracted_data_precision`}),`: confirm the day before booking it. A weekday and a day that agree are not marked.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A month with no day — “sometime in November”, “mid-November”, “בנובמבר, עוד לא יודע באיזה יום”, “next month”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),`. A month is not a day, and its 1st stored as one would be a guess a CRM books. `,_jsx(_components.code,{children:`extracted_data_precision`}),` says it was a month: `,_jsx(_components.code,{children:`{\"precision\": \"month\", \"month\": \"2026-11\"}`}),`. A month already gone this year is next year’s — unless the caller said it in the past tense (next row).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Something that already happened — “it ended in June”, “נגמרה ביוני”, “I arrived in March”, “נכנסתי ביוני”, “הגעתי לארץ ביוני”, “עליתי באוגוסט”, “yesterday”, “a week ago”, “last Sunday”`}),_jsxs(_components.td,{children:[`Counted back from the call day, never forward, whichever verb says it happened — “arrived”, “entered”, “moved”, “left”, “expired”, “הגעתי”, “נכנסתי”, “עליתי”, “עברתי”, “עזבתי”, “פגה”. A month: `,_jsx(_components.code,{children:`null`}),` with precision month — “it ended in June” is `,_jsx(_components.code,{children:`2026-06`}),`, “I arrived in March” `,_jsx(_components.code,{children:`2026-03`}),`, “it ended in December” `,_jsx(_components.code,{children:`2025-12`}),`. A day: “yesterday” `,_jsx(_components.code,{children:`2026-09-22`}),`, “a week ago” `,_jsx(_components.code,{children:`2026-09-16`}),`, “last Sunday” `,_jsx(_components.code,{children:`2026-09-20`}),`. In one answer each date keeps its own tense: “I arrived back in March, and my hearing is on the first of March” is March 2026 and `,_jsx(_components.code,{children:`2027-03-01`}),`. Only what is still to come moves forward, including a date after a past verb that is the day of something ahead (row above).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A length of time ago in months or years — “three months ago”, “לפני שלושה חודשים”, “two and a half years ago”, “לפני שנתיים וחצי”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),` with precision month, `,_jsx(_components.code,{children:`approximate: true`}),`: the month that length back from the call’s month — `,_jsx(_components.code,{children:`2026-06`}),`, `,_jsx(_components.code,{children:`2024-03`}),`. When the length was turned into a day while the call was analysed, a day before the call that is within a month of where the length points, and nearer to it than to the call day, is read as that month, approximate; any other day is kept as a day, so a date said beside it (“my visa expires in two weeks”, “tomorrow”) is never moved.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Something that is neither — “after the holidays”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),`, with precision `,_jsx(_components.code,{children:`unknown`}),`. A guess stored as a date would be worse than none.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`how-precise-a-date-was`,children:`How precise a date was`}),`\n`,_jsxs(_components.p,{children:[`For an agent that collects dates, `,_jsx(_components.code,{children:`extracted_data_precision`}),` sits beside\n`,_jsx(_components.code,{children:`extracted_data`}),`, with one entry per `,_jsx(_components.code,{children:`date`}),` parameter:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`precision`})}),_jsx(_components.th,{children:`What the caller gave`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`extracted_data`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`month`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`day`})}),_jsx(_components.td,{children:`A day`}),_jsxs(_components.td,{children:[`That day, `,_jsx(_components.code,{children:`YYYY-MM-DD`})]}),_jsxs(_components.td,{children:[`Its month, `,_jsx(_components.code,{children:`YYYY-MM`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`month`})}),_jsx(_components.td,{children:`A month and no day`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsxs(_components.td,{children:[`That month, `,_jsx(_components.code,{children:`YYYY-MM`}),`. With `,_jsx(_components.code,{children:`approximate: true`}),` when it was worked out from a length of time ago (“two and a half years ago”), not named: the month is as near as that length puts it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown`})}),_jsx(_components.td,{children:`Neither, or nothing`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`An entry for a day or month also carries `,_jsx(_components.code,{children:`role`}),` when the reader judged what the\nday belongs to: `,_jsx(_components.code,{children:`event`}),` — the day of the thing itself (a surgery, test, hearing,\nappointment, flight, arrival, expiry, and the day a payment or refund falls due,\nresults are ready or a lease or approval ends), or `,_jsx(_components.code,{children:`message`}),` — the day a letter,\nmessage, call, form or notice was sent or received, or a result, approval, refund\nor payment was already received or paid. The role decides whose day a day said\nwith no year is: a `,_jsx(_components.code,{children:`message`}),` day has passed, and an `,_jsx(_components.code,{children:`event`}),` day that a letter,\nform or call told the caller about, or that was booked, is the next one to come;\nan event the caller says they had or went through stays in the past. A day the\nletter, message or call says is still to come is that thing’s, whatever the\nreader answered: “I got an email that my payment is due on the 5th of March” and\n“קיבלתי הודעה שהתשלום יורד ב-5 במרץ” are `,_jsx(_components.code,{children:`2027-03-05`}),`, and a `,_jsx(_components.code,{children:`message`}),` answer\nfor such a day is not recorded; “I got an email that my payment was received on\nthe 5th of March” is `,_jsx(_components.code,{children:`2026-03-05`}),`. Without a role (on calls analysed before it was\nrecorded, when the reader could not say, or when the caller’s own words settle\nit the other way: a letter about a flight or a surgery is that event’s day, a\nletter answering an appeal or a claim, or about a surgery’s approval or cost, is\nthe letter’s) the caller’s words alone decide, as in the table above.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"extracted_data_precision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"surgery_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"precision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"month\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"letter_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"precision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"month\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`An entry also carries `,_jsx(_components.code,{children:`ambiguity`}),` when the caller’s own words disagreed about\nthe day: `,_jsx(_components.code,{children:`[\"weekday_mismatch\"]`}),` when they gave a weekday with a day of the month\nthat falls on another weekday (“next Tuesday the 14th” when the 14th is a\nWednesday). The day of the month they stated is the one stored; confirm it\nbefore booking it.`]}),`\n`,_jsxs(_components.p,{children:[`Read it before acting on a `,_jsx(_components.code,{children:`null`}),` date: `,_jsx(_components.code,{children:`month`}),` means “call back in November and\nask which day”, `,_jsx(_components.code,{children:`unknown`}),` means the caller never narrowed it down. It is absent\non calls analysed before it was recorded, and on agents with no `,_jsx(_components.code,{children:`date`}),` parameter.\nTo see what a sentence would give before a caller says it, use the\n`,_jsx(_components.a,{href:`/api-reference/agents/extraction-dry-run`,children:`extraction dry run`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extracted_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"caller_company\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Ltd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"seats\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"wants_demo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_on\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"visit_on\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"budget\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extracted_data_precision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_on\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"precision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"month\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"visit_on\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"precision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"month\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"month\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`An object of nothing but nulls is a real answer: extraction ran and the call\nsaid none of it. That is not the same as no extraction, which is the absent\nmember above.`}),`\n`,_jsxs(_components.p,{children:[`The same answers reach the person the call was with: `,_jsx(_components.code,{children:`lead`}),` (the call’s lead,\nwhen one is matched) carries `,_jsx(_components.code,{children:`extracted`}),`, merged across that person’s calls, and\n`,_jsx(_components.code,{children:`extracted_precision`}),`, the date fields their latest answer gave as a month. See\n`,_jsx(_components.a,{href:`/api-reference/leads/get`,children:_jsx(_components.code,{children:`GET /leads/{id}`})}),`. A key without `,_jsx(_components.code,{children:`leads:read`}),` reads\n`,_jsx(_components.code,{children:`lead`}),` as `,_jsx(_components.code,{children:`{ \"id\" }`}),` only.`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-the-transcript-comes-from`,children:`Where the transcript comes from`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`transcript`}),` is the call’s transcript — what `,_jsx(_components.code,{children:`transcript.ready`}),` carries, and what\nthe summary and the extracted fields are built from. It is written once, after\nthe call ends, as `,_jsx(_components.code,{children:`[{ \"role\", \"text\", \"start\", \"end\" }]`}),` with `,_jsx(_components.code,{children:`start`}),` and `,_jsx(_components.code,{children:`end`}),`\nin milliseconds from `,_jsx(_components.code,{children:`recording_started_at`}),`, the recording’s first sample.`]}),`\n`,_jsxs(_components.p,{children:[`Every call’s transcript is made from its recording after the call, whichever\nvoice model ran the call and whatever language it was in. Where the recording\nholds the caller and the agent on separate channels (browser calls, and phone\ncalls recorded that way), who said a line is read from the channel it was\nrecorded on, never guessed. You read `,_jsx(_components.code,{children:`transcript`}),` the same way on every call.`]}),`\n`,_jsx(_components.p,{children:`The transcript is made once the call’s recording is saved, so a call that has\nno recording has no transcript, and a call shorter than three seconds that was\nnot transferred has an empty one.`}),`\n`,_jsxs(_components.p,{children:[`Earlier releases also returned `,_jsx(_components.code,{children:`transcript_live`}),`, a second, in-call copy kept so\nthe two could be compared. It is no longer returned: read `,_jsx(_components.code,{children:`transcript`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`placing-the-transcript-on-the-clock`,children:`Placing the transcript on the clock`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`recording_started_at`}),` is when the call’s recording began, as the carrier\nstamped it, so `,_jsx(_components.code,{children:`recording_started_at`}),` + `,_jsx(_components.code,{children:`start`}),` is the moment a line was said:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` at`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`call`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`recording_started_at`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`+`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` turn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`start`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`It is `,_jsx(_components.strong,{children:`not`}),` `,_jsx(_components.code,{children:`started_at`}),`. An outbound call is recorded from its answer, so on\none that rang for 15 seconds every line would read 15 seconds early counted\nfrom `,_jsx(_components.code,{children:`started_at`}),`. It is close to `,_jsx(_components.code,{children:`answered_at`}),` — within about 2 seconds, either\nside — but not equal to it, so use `,_jsx(_components.code,{children:`recording_started_at`}),` whenever it is there.`]}),`\n`,_jsxs(_components.p,{children:[`It is set once the recording is saved, usually a few seconds after the call\nends, and is kept from then on. The `,_jsx(_components.code,{children:`transcript.ready`}),` and `,_jsx(_components.code,{children:`call.analyzed`}),`\nwebhooks are sent after that, so they carry it on a phone call. It is `,_jsx(_components.code,{children:`null`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`on a browser call. Its recording begins once the browser has connected, so\nits `,_jsx(_components.code,{children:`start`}),` and `,_jsx(_components.code,{children:`end`}),` count from shortly after `,_jsx(_components.code,{children:`answered_at`}),`;`]}),`\n`,_jsx(_components.li,{children:`on a call with no recording (nobody answered, or the call is still running);`}),`\n`,_jsx(_components.li,{children:`on older calls recorded before the field was added.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The same field is on every row of `,_jsx(_components.a,{href:`/api-reference/calls/list`,children:_jsx(_components.code,{children:`GET /calls`})}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reading-the-conversation-while-the-call-runs`,children:`Reading the conversation while the call runs`}),`\n`,_jsxs(_components.p,{children:[`There is no transcript during a call. Not `,_jsx(_components.code,{children:`GET /calls/{id}`}),`, not a webhook and\nnot an event carries the conversation while it is going, on phone calls\n(incoming or outgoing) or browser calls: `,_jsx(_components.code,{children:`transcript`}),` is written once, after the\ncall ends, and polling while the call runs returns none. `,_jsx(_components.code,{children:`call.answered`}),` is the\nonly notification sent while a call is going.`]}),`\n`,_jsx(_components.p,{children:`To act on something the caller agrees to during the call — a callback time, a\nbooking — have the agent tell you at that moment:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Give the agent a `,_jsx(_components.a,{href:`/api-reference/tools/create`,children:`webhook tool`})]}),` it must call\nbefore it confirms, for example `,_jsx(_components.code,{children:`scheduleCallback`}),`, with\n`,_jsx(_components.code,{children:`config.payload_config.extraction_parameters`}),` like `,_jsx(_components.code,{children:`callbackConsent`}),` (“yes”\nonly when the caller explicitly agreed) and `,_jsx(_components.code,{children:`callbackTime`}),` (ISO 8601 with an\noffset). Its request carries the `,_jsx(_components.code,{children:`call_id`}),` and the call’s `,_jsx(_components.code,{children:`call_metadata`}),`.\nBook only when `,_jsx(_components.code,{children:`callbackConsent`}),` is `,_jsx(_components.code,{children:`yes`}),`, and answer with the result for the\nagent to say. The tool is sent once, with no retry, so dedupe on `,_jsx(_components.code,{children:`call_id`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Give it a second tool`}),` such as `,_jsx(_components.code,{children:`cancelCallback`}),` for a caller who takes it\nback later in the call.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check the caller’s final answer after the call.`}),` Add the same two fields\nto the agent’s `,_jsx(_components.code,{children:`extraction_parameters`}),`: they are read from the whole\nconversation, so a late “actually, no” wins. They arrive in the\n`,_jsx(_components.code,{children:`call.analyzed`}),` webhook’s `,_jsx(_components.code,{children:`data.extracted_data`}),` and on this call as\n`,_jsx(_components.code,{children:`extracted_data`}),`. Cancel what you booked when the final answer is not\n`,_jsx(_components.code,{children:`yes`}),`. If `,_jsx(_components.code,{children:`call.analyzed`}),` does not arrive, poll this call until `,_jsx(_components.code,{children:`analysis`}),`\nreads `,_jsx(_components.code,{children:`done`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`whether-the-caller-was-ever-talked-over`,children:`Whether the caller was ever talked over`}),`\n`,_jsxs(_components.p,{children:[`The last event in `,_jsx(_components.code,{children:`events[]`}),` is `,_jsx(_components.code,{children:`call_ended`}),`, and besides `,_jsx(_components.code,{children:`end_reason`}),` its `,_jsx(_components.code,{children:`data`}),`\ncarries two counts of how the conversation’s turn-taking actually went:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`What it counts`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`barge_ins`})}),_jsxs(_components.td,{children:[`Times the caller spoke over the agent `,_jsx(_components.strong,{children:`while it was talking`}),` and stopped it mid-sentence`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`barge_ins_within_250ms_of_bot_audio_onset`})}),_jsx(_components.td,{children:`The subset of those that landed in the first quarter-second of the agent’s own audio`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_ended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-16T10:04:11.220+00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pipeline_finished\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"barge_ins\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"barge_ins_within_250ms_of_bot_audio_onset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A caller who waits for the agent to finish and then answers is `,_jsx(_components.strong,{children:`not`}),` a barge-in,\nso `,_jsx(_components.code,{children:`0`}),` on a long, busy call means the agent was never talked over — not that\ninterruption was switched off. One intrusion is counted once, however many times\nthe call’s detectors noticed it, and a caller who talks straight through two\nattempts by the agent to speak counts as one.`]}),`\n`,_jsxs(_components.p,{children:[`The second count is a diagnostic for the line, not for the caller. A stop that\nlands as the agent is opening its mouth is more likely to be the agent hearing\nits own voice come back — phone lines have no echo cancellation at the browser’s\nend of things — than a person deciding to cut in that precisely. A handful is\nnormal; a large share of `,_jsx(_components.code,{children:`barge_ins`}),` is worth raising with us.`]}),`\n`,_jsx(_components.p,{children:`Calls placed before 2026-09-16 carry neither key.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-long-the-agent-took-to-answer`,children:`How long the agent took to answer`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`call_ended.data`}),` also carries timing numbers, all in milliseconds unless noted.\nThey are measured on the voice server, not in the caller’s ear, so read them as a\nclose estimate that is the same on every call, not as an exact figure.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`What it is`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`turn_gap_ms_p50`}),`, `,_jsx(_components.code,{children:`turn_gap_ms_p90`}),`, `,_jsx(_components.code,{children:`turn_gap_ms_max`})]}),_jsx(_components.td,{children:`The gap between the server hearing the caller stop talking and the first audible sound of the agent’s reply: typical, slow end, longest`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`turn_gap_ms_n`})}),_jsx(_components.td,{children:`How many replies those three were measured over (at most 64)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_audio_ms`})}),_jsxs(_components.td,{children:[`From the call’s pipeline starting to the agent first being heard. `,_jsx(_components.code,{children:`null`}),` if the agent never spoke`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`tool_wait_ms_sum`}),`, `,_jsx(_components.code,{children:`tool_wait_ms_max`})]}),_jsxs(_components.td,{children:[`Total and longest time the agent spent waiting for a tool to answer. `,_jsx(_components.code,{children:`0`}),` on a call with no tool calls`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`host_cpu_stall_ms`})}),_jsxs(_components.td,{children:[`How long work on the voice server waited for a processor while the call ran. `,_jsx(_components.code,{children:`null`}),` where the server cannot report it`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`loop_lag_p99_ms`}),`, `,_jsx(_components.code,{children:`loop_lag_max_ms`})]}),_jsxs(_components.td,{children:[`How late the server’s scheduler ran during the call: the slow end and the worst moment. `,_jsx(_components.code,{children:`null`}),` if it was not measured`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mean_concurrency`})}),_jsx(_components.td,{children:`The average number of calls running on the same server while this one ran`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`resolve_bot_workflow_ms`})}),_jsx(_components.td,{children:`Time spent loading the workflow agent’s prepared call before it started`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workflow_session_start_ms`})}),_jsx(_components.td,{children:`Time spent opening that workflow agent’s session`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prompt_build_ms`})}),_jsx(_components.td,{children:`Time spent building the agent’s instructions for the call`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`claim_media_admission_ms`}),`, `,_jsx(_components.code,{children:`record_media_receipt_ms`})]}),_jsx(_components.td,{children:`Browser calls only: time spent admitting the call, and recording that the browser connected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`residual_wait_ms`})}),_jsxs(_components.td,{children:[`Phone calls only: how long the agent still waited for its voice connection after everything else was ready. `,_jsx(_components.code,{children:`0`}),` when it was already open`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`smart_turn_predict_count`}),`, `,_jsx(_components.code,{children:`smart_turn_predict_wall_ms`}),`, `,_jsx(_components.code,{children:`smart_turn_cpu_ms`})]}),_jsx(_components.td,{children:`Calls whose end-of-turn decision runs on the server: how many decisions were made, how long they took in total, and the processor time the server spent meanwhile`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`host_cpu_stall_ms`}),`, `,_jsx(_components.code,{children:`loop_lag_*`}),`, `,_jsx(_components.code,{children:`mean_concurrency`}),` and `,_jsx(_components.code,{children:`smart_turn_cpu_ms`}),`\ndescribe the whole voice server over the time of the call, not this call alone:\nevery call that ran at the same time reads the same stall. They are there so a\nslow call can be told apart from a busy moment.`]}),`\n`,_jsxs(_components.p,{children:[`A call where the agent never replied has `,_jsx(_components.code,{children:`first_audio_ms: null`}),` and none of the\n`,_jsx(_components.code,{children:`turn_gap_ms_*`}),` keys. A key that does not apply to a call’s kind is absent, not\n`,_jsx(_components.code,{children:`null`}),`. Calls placed before 2026-10-04 carry none of these keys.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-long-the-line-went-quiet`,children:`How long the line went quiet`}),`\n`,_jsxs(_components.p,{children:[`Four more keys on `,_jsx(_components.code,{children:`call_ended.data`}),` describe silences. “Audible” means at speech\nlevel: a line carrying only faint sound counts as silent, because that is what the\ncaller hears.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`What it is`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longest_agent_silence_ms`})}),_jsx(_components.td,{children:`The longest stretch, after the agent first spoke, with nothing audible from the agent. It runs to the end of the call if the agent never spoke again`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longest_dead_air_ms`})}),_jsx(_components.td,{children:`The longest stretch with neither the agent nor the caller audible, counted from when either was first heard`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`socket_drops`})}),_jsx(_components.td,{children:`Times the agent’s connection to its voice model failed (and the agent tried to rebuild it) during the call. A planned reconnect is not counted: the voice model’s own scheduled session rotation, or a fresh session the platform asked for`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recovery_fired`})}),_jsx(_components.td,{children:`Times the agent was prompted to speak because it owed the caller an answer and stayed quiet, for example after such a drop`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Calls placed before 2026-10-21 carry none of these four. Before that date the\n`,_jsx(_components.code,{children:`turn_gap_ms_*`}),` keys could also count faint sound as the start of the agent’s reply.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_ended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pipeline_finished\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"longest_agent_silence_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6120`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"longest_dead_air_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2380`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"socket_drops\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"recovery_fired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_ended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pipeline_finished\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"turn_gap_ms_p50\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1180`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"turn_gap_ms_p90\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"turn_gap_ms_max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2210`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"turn_gap_ms_n\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_audio_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1430`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_wait_ms_sum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`640`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tool_wait_ms_max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`640`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"host_cpu_stall_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`35`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"loop_lag_p99_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"loop_lag_max_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"mean_concurrency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`execution-history`,children:`Execution history`}),`\n`,_jsxs(_components.p,{children:[`When execution history is enabled for your workspace, the response carries an\n`,_jsx(_components.code,{children:`execution`}),` block beside the call: what the platform actually ran, step by step,\nwith timings, attempts and the readiness of each thing the call produces. Ask\nfor a page of it with `,_jsx(_components.code,{children:`execution_limit`}),` (1–200, default 50), narrow it with\n`,_jsx(_components.code,{children:`execution_phase`}),`, `,_jsx(_components.code,{children:`execution_kind`}),` or `,_jsx(_components.code,{children:`execution_status`}),`, and follow\n`,_jsx(_components.code,{children:`execution.history.next_url`}),` for the next one — it carries `,_jsx(_components.code,{children:`execution_cursor`}),`\nwith the limit and filters it was issued for. These five, and `,_jsx(_components.code,{children:`omit`}),` below,\nare the only query parameters this read takes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`reading-a-call-without-it`,children:`Reading a call without it`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /calls/{id}?omit=execution`}),` reads the call without its execution history:\nthe history is not read at all, so the answer comes back sooner and is a fraction\nof the size (on a workflow call the block is most of the body). Everything else\nis the same, and `,_jsx(_components.code,{children:`execution`}),` keeps the three members the rule below stops on —\n`,_jsx(_components.code,{children:`summary.settlement`}),`, `,_jsx(_components.code,{children:`summary.is_settled`}),` and `,_jsx(_components.code,{children:`refresh_after_ms`}),`, at the same\npaths — worked out from the call itself, on every call:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"execution_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"execution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"settlement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"settled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"is_settled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"refresh_after_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use it to poll a call until it settles. `,_jsx(_components.code,{children:`omit`}),` takes one value, `,_jsx(_components.code,{children:`execution`}),`, sent\nonce, and cannot be sent with an `,_jsx(_components.code,{children:`execution_`}),` parameter — each of those is\n`,_jsx(_components.code,{children:`400 CALLS_QUERY_INVALID`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The response member `,_jsx(_components.code,{children:`execution_status`}),` says what `,_jsx(_components.code,{children:`execution`}),` is on every read.\nIt shares its name with the `,_jsx(_components.code,{children:`execution_status`}),` query parameter above, which is\nsomething else: a filter on the history’s rows by their own status (`,_jsx(_components.code,{children:`failed`}),`,\n`,_jsx(_components.code,{children:`running`}),` and so on).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`execution_status`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`execution`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`included`})}),_jsxs(_components.td,{children:[`The whole block. A call of an agent that runs no workflow (a prompt agent, and every call from before workflows) reads this too: its `,_jsx(_components.code,{children:`execution.owner`}),` is `,_jsx(_components.code,{children:`legacy`}),` and its `,_jsx(_components.code,{children:`history.coverage`}),` is `,_jsx(_components.code,{children:`legacy_best_effort`}),`, what the call itself recorded. A workflow agent’s call reads `,_jsx(_components.code,{children:`owner`}),` `,_jsx(_components.code,{children:`workflow`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`omitted`})}),_jsxs(_components.td,{children:[`You sent `,_jsx(_components.code,{children:`omit=execution`}),`: the three members above.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`The history did not answer in time. The three members above, from the call itself; read again for the block.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`none`})}),_jsxs(_components.td,{children:[`Absent. Nothing at all was recorded for the call’s execution — your workspace is not on execution history. A call that ran no workflow is not this: it reads `,_jsx(_components.code,{children:`included`}),` with `,_jsx(_components.code,{children:`owner`}),` `,_jsx(_components.code,{children:`legacy`}),`.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Without an `,_jsx(_components.code,{children:`execution_`}),` parameter the block rides along on a best-effort basis:\na history that cannot be read at that moment is `,_jsx(_components.code,{children:`pending`}),`, never a failed read\nand never a missing member. Send `,_jsx(_components.code,{children:`execution_limit`}),` when you need the block or an\nerror — then a history that cannot be read is `,_jsx(_components.code,{children:`503 EXECUTION_READ_UNAVAILABLE`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to stop polling.`}),` A call that has ended, whose `,_jsx(_components.code,{children:`analysis`}),` is no longer\n`,_jsx(_components.code,{children:`pending`}),` and whose `,_jsx(_components.code,{children:`cost_status`}),` is no longer `,_jsx(_components.code,{children:`pending`}),`, and whose block has\nnothing still running, waiting or due (`,_jsx(_components.code,{children:`active_work`}),` empty, no\n`,_jsx(_components.code,{children:`next_deadline_at`}),`, no artifact `,_jsx(_components.code,{children:`pending`}),` or `,_jsx(_components.code,{children:`running`}),`, follow-ups not\n`,_jsx(_components.code,{children:`running`}),` or `,_jsx(_components.code,{children:`not_started`}),`), reads `,_jsx(_components.code,{children:`summary.settlement: \"settled\"`}),`,\n`,_jsx(_components.code,{children:`summary.is_settled: true`}),` and `,_jsx(_components.code,{children:`refresh_after_ms: null`}),`: nothing on it will\nchange. Its `,_jsx(_components.code,{children:`history.complete`}),` is `,_jsx(_components.code,{children:`true`}),` when the page you have is all of it (no\n`,_jsx(_components.code,{children:`next_url`}),`, and none of it has expired), and then `,_jsx(_components.code,{children:`history.gaps`}),` is empty;\n`,_jsx(_components.code,{children:`history.coverage`}),` still says which record it is. A browser session that ended before\nanyone connected reads the same. Until then `,_jsx(_components.code,{children:`refresh_after_ms`}),` says how long to\nwait before asking again. With `,_jsx(_components.code,{children:`omit=execution`}),` (or a `,_jsx(_components.code,{children:`pending`}),` read) the same\nthree members answer the same question from the call itself: it has ended, its\n`,_jsx(_components.code,{children:`analysis`}),` and `,_jsx(_components.code,{children:`cost_status`}),` are final, and no stage, step, follow-up or delivery\non its `,_jsx(_components.code,{children:`timeline`}),` is `,_jsx(_components.code,{children:`pending`}),` (a timed-out tool, which keeps `,_jsx(_components.code,{children:`pending`}),` beside a\n`,_jsx(_components.code,{children:`failure`}),`, does not count).`]}),`\n`,_jsx(_components.p,{children:`It is an investigation view, not an authority. Two things follow from that:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`It is a bounded snapshot.`}),` `,_jsx(_components.code,{children:`execution.summary.revision`}),` and\n`,_jsx(_components.code,{children:`execution.history.high_water_mark`}),` are strings, because a journal position is\nlarger than a JavaScript number can hold exactly. History is retained for a\nlimited window, and `,_jsx(_components.code,{children:`execution.history.complete`}),` says whether you are looking\nat all of it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The schema is the whole of it.`}),` The block is not filtered on the way out,\nit is projected: the API copies the members `,_jsx(_components.code,{children:`CallExecution`}),` documents and\ndrops everything else, whatever shape it arrives in. So delivery-row ids,\ninternal job and journal counters, storage-retention flags and our own\ndiagnostic notes are not in it, every URL points at\n`,_jsx(_components.code,{children:`https://api.goyappr.com`}),` whatever we recorded internally, and a field you do\nnot find in the schema will not appear here at all — including one we add\nnext month.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For the conversation itself — turns, tools, transfers, webhook deliveries — read\n`,_jsx(_components.code,{children:`timeline`}),` above. `,_jsx(_components.code,{children:`execution`}),` answers the different question of whether the\nplatform finished its own work.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CALLS_QUERY_INVALID`})}),_jsxs(_components.td,{children:[`A query parameter other than the five execution-history ones and `,_jsx(_components.code,{children:`omit`}),`, or one of them sent twice or with no value; an `,_jsx(_components.code,{children:`omit`}),` other than `,_jsx(_components.code,{children:`execution`}),`, or `,_jsx(_components.code,{children:`omit=execution`}),` beside an `,_jsx(_components.code,{children:`execution_`}),` parameter. The message names it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_FOUND`})}),_jsxs(_components.td,{children:[`No call with this id in this workspace. Ids are the ones `,_jsx(_components.code,{children:`GET /calls`}),` and `,_jsx(_components.code,{children:`POST /calls`}),` return.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`410`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`EXECUTION_RETENTION_EXPIRED`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`execution_cursor`}),` points at history that is no longer retained. Read the call again without it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`EXECUTION_CURSOR_INVALID`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`execution_cursor`}),` was not issued by this read or was sent with other filters, or `,_jsx(_components.code,{children:`execution_limit`}),` or a filter is not a value the history has. Follow `,_jsx(_components.code,{children:`next_url`}),` rather than building one.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`EXECUTION_READ_UNAVAILABLE`})}),_jsx(_components.td,{children:`Execution history was asked for and could not be read. Retry the same request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`RESOURCE_ID_INVALID`})}),_jsx(_components.td,{children:`The id in the path is not an id at all.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INSUFFICIENT_SCOPE`})}),_jsxs(_components.td,{children:[`The key does not hold `,_jsx(_components.code,{children:`calls:read`}),`.`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Call","openapi":"GET /calls/{id}","description":"One call, whole: who it was with, what was said, what the agent picked out of it, what it\ncost, and where its post-call analysis stands.\n\nRequires `calls:read`, or `calls:metrics`, which reads the call as metrics: the members\nthat describe the call itself (ids, `agent`, direction, status, moments, duration, cost,\n`usage`, disposition, `ended_by`, `failure`, `analysis`), `from`, `to`, `metadata`\nand `transfer_target` null, `lead` as `{id}`, and\n`personal_data_withheld: true`. The transcript, summary, recording, `extracted_data`,\nevents, timeline, tool calls and execution history are left out, and the execution-history\nparameters answer 403 INSUFFICIENT_SCOPE.\n\n**Rehearsals and leads.** A rehearsal in the browser (the Test tab, or a session minted\nwith `POST /calls {\"type\":\"web\"}`) has no caller's number, so lead processing skips it:\nno lead is created or updated, no `lead.created` or `lead.updated` is sent, and a\nfollow-up on `lead.ready` does not run. On a rehearsal that ran through a call request the\n`lead` artifact in `execution.summary.artifacts` reads `skipped` with\n`reason_code: \"web_call_no_phone\"`; one that connected straight away (`protocol: \"offer\"`)\nhas no `lead` artifact at all. The analysis still runs:\n`summary`, `disposition` and `extracted_data` are written as on any call. A Test-tab call\ngiven a phone number to simulate, and a session minted with `lead_id`, are processed for\na lead after all.\n","href":"/api-reference/calls/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where the call came from","slug":"where-the-call-came-from","depth":2,"children":[]},{"title":"Whose carrier it ran on","slug":"whose-carrier-it-ran-on","depth":2,"children":[]},{"title":"The agent that took the call","slug":"the-agent-that-took-the-call","depth":2,"children":[]},{"title":"When it was placed, answered and ended","slug":"when-it-was-placed-answered-and-ended","depth":2,"children":[]},{"title":"Who ended the call, and why","slug":"who-ended-the-call-and-why","depth":2,"children":[]},{"title":"Why a call did not complete","slug":"why-a-call-did-not-complete","depth":2,"children":[]},{"title":"What happened on the call","slug":"what-happened-on-the-call","depth":2,"children":[{"title":"Reading a tool failure","slug":"reading-a-tool-failure","depth":3,"children":[]},{"title":"Reading a status","slug":"reading-a-status","depth":3,"children":[]},{"title":"Reading a stage","slug":"reading-a-stage","depth":3,"children":[]},{"title":"Summaries, not payloads","slug":"summaries-not-payloads","depth":3,"children":[]},{"title":"What each tool call sent and got back","slug":"what-each-tool-call-sent-and-got-back","depth":3,"children":[]},{"title":"Reading a delivery","slug":"reading-a-delivery","depth":3,"children":[]},{"title":"Older calls","slug":"older-calls","depth":3,"children":[]},{"title":"A/B calls","slug":"a/b-calls","depth":3,"children":[]}]},{"title":"Follow-ups that did not run","slug":"follow-ups-that-did-not-run","depth":2,"children":[]},{"title":"What the call cost","slug":"what-the-call-cost","depth":2,"children":[]},{"title":"What language the summary is in","slug":"what-language-the-summary-is-in","depth":2,"children":[]},{"title":"Whether the analysis has run yet","slug":"whether-the-analysis-has-run-yet","depth":2,"children":[]},{"title":"What the agent picked out of the call","slug":"what-the-agent-picked-out-of-the-call","depth":2,"children":[{"title":"How precise a date was","slug":"how-precise-a-date-was","depth":3,"children":[]}]},{"title":"Where the transcript comes from","slug":"where-the-transcript-comes-from","depth":2,"children":[{"title":"Placing the transcript on the clock","slug":"placing-the-transcript-on-the-clock","depth":3,"children":[]}]},{"title":"Reading the conversation while the call runs","slug":"reading-the-conversation-while-the-call-runs","depth":2,"children":[]},{"title":"Whether the caller was ever talked over","slug":"whether-the-caller-was-ever-talked-over","depth":2,"children":[]},{"title":"How long the agent took to answer","slug":"how-long-the-agent-took-to-answer","depth":2,"children":[]},{"title":"How long the line went quiet","slug":"how-long-the-line-went-quiet","depth":2,"children":[]},{"title":"Execution history","slug":"execution-history","depth":2,"children":[{"title":"Reading a call without it","slug":"reading-a-call-without-it","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get call","operationId":"getCall","tags":["Calls"],"description":"One call, whole: who it was with, what was said, what the agent picked out of it, what it\ncost, and where its post-call analysis stands.\n\nRequires `calls:read`, or `calls:metrics`, which reads the call as metrics: the members\nthat describe the call itself (ids, `agent`, direction, status, moments, duration, cost,\n`usage`, disposition, `ended_by`, `failure`, `analysis`), `from`, `to`, `metadata`\nand `transfer_target` null, `lead` as `{id}`, and\n`personal_data_withheld: true`. The transcript, summary, recording, `extracted_data`,\nevents, timeline, tool calls and execution history are left out, and the execution-history\nparameters answer 403 INSUFFICIENT_SCOPE.\n\n**Rehearsals and leads.** A rehearsal in the browser (the Test tab, or a session minted\nwith `POST /calls {\"type\":\"web\"}`) has no caller's number, so lead processing skips it:\nno lead is created or updated, no `lead.created` or `lead.updated` is sent, and a\nfollow-up on `lead.ready` does not run. On a rehearsal that ran through a call request the\n`lead` artifact in `execution.summary.artifacts` reads `skipped` with\n`reason_code: \"web_call_no_phone\"`; one that connected straight away (`protocol: \"offer\"`)\nhas no `lead` artifact at all. The analysis still runs:\n`summary`, `disposition` and `extracted_data` are written as on any call. A Test-tab call\ngiven a phone number to simulate, and a session minted with `lead_id`, are processed for\na lead after all.\n","parameters":["e4ab696e-3201-4901-94f7-05d208167307","0c060c0b-28dd-4a8f-aca3-b79e2a79273b","9ed08761-ff9f-4d98-9514-8f240f30d11b","75421fe6-9f05-4a98-bf29-bb512a180500","96640830-3edd-405c-8c34-413de73e0685","c322bb1e-a821-45ec-af90-a1b87993d8b6","cab2b5b2-f242-4ba5-aa7b-4161db11de47"],"responses":{"200":"eba8d00a-0030-4aa0-988c-9685327a7408","400":"02bb5067-1e0e-479b-99aa-8b5018b8b4ed","403":"03799bcd-5890-4487-95e9-38f6d1eb9c58","404":"af6155a8-138c-4c5f-8547-f34c63eebdab","410":"70b0c69f-843a-4266-ab36-bf8bc63e682c","422":"1b5d9afc-81cb-4876-b688-1385a62708e7","503":"5955e66b-c29e-473e-a6cf-e1735087c977"},"method":"get","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/calls/{id}","baseUrlOptions":["https://api.goyappr.com"],"title":"Get call","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e4ab696e-3201-4901-94f7-05d208167307":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"0c060c0b-28dd-4a8f-aca3-b79e2a79273b":{"in":"query","name":"execution_limit","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50,"isRequired":false,"description":"How many execution-history rows one page holds. Only read when the `execution` block is returned.","uniqueKey":"","typeLabel":"integer"},"description":"How many execution-history rows one page holds. Only read when the `execution` block is returned."},"9ed08761-ff9f-4d98-9514-8f240f30d11b":{"in":"query","name":"execution_cursor","required":false,"schema":{"type":"string","isRequired":false,"description":"The next page of execution history. Do not build it: follow `execution.history.next_url` (or `refresh_url`), which carries it with the limit and filters it was issued for. A cursor this read did not issue, or sent with different filters, is `422 EXECUTION_CURSOR_INVALID`; one older than the retained history is `410 EXECUTION_RETENTION_EXPIRED`.\n","uniqueKey":"","typeLabel":"string"},"description":"The next page of execution history. Do not build it: follow `execution.history.next_url` (or `refresh_url`), which carries it with the limit and filters it was issued for. A cursor this read did not issue, or sent with different filters, is `422 EXECUTION_CURSOR_INVALID`; one older than the retained history is `410 EXECUTION_RETENTION_EXPIRED`.\n"},"75421fe6-9f05-4a98-bf29-bb512a180500":{"in":"query","name":"execution_phase","required":false,"schema":{"type":"string","enum":["before","during","after","platform"],"isRequired":false,"description":"Only execution-history rows from this phase of the call.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Only execution-history rows from this phase of the call."},"96640830-3edd-405c-8c34-413de73e0685":{"in":"query","name":"execution_kind","required":false,"schema":{"type":"string","enum":["execution","request","physical_call","phase","action","attempt","receipt","sequence","control","producer","readiness","legacy_webhook","dnc_webhook","lead_stage","recovery"],"isRequired":false,"description":"Only execution-history rows of this kind.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Only execution-history rows of this kind."},"c322bb1e-a821-45ec-af90-a1b87993d8b6":{"in":"query","name":"execution_status","required":false,"schema":{"type":"string","enum":["waiting","running","succeeded","failed","pending_external","unknown","skipped","cancelled","validation_blocked"],"isRequired":false,"description":"Only execution-history rows in this status - a filter on the rows of `execution.history`. Not the response member of the same name, which says what `execution` is on the read (included, omitted, pending or none).\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Only execution-history rows in this status - a filter on the rows of `execution.history`. Not the response member of the same name, which says what `execution` is on the read (included, omitted, pending or none).\n"},"cab2b5b2-f242-4ba5-aa7b-4161db11de47":{"in":"query","name":"omit","required":false,"description":"`execution` reads the call without its execution history: the history is not read at all, so the answer comes back sooner and is a fraction of the size. `execution` then carries only `summary.settlement`, `summary.is_settled` and `refresh_after_ms`, worked out from the call itself, on every call (`execution_status: omitted`) - the members a poller stops on. Cannot be sent with an `execution_` parameter, and takes no other value (400 `CALLS_QUERY_INVALID`).\n","schema":{"type":"string","enum":["execution"],"isRequired":false,"description":"`execution` reads the call without its execution history: the history is not read at all, so the answer comes back sooner and is a fraction of the size. `execution` then carries only `summary.settlement`, `summary.is_settled` and `refresh_after_ms`, worked out from the call itself, on every call (`execution_status: omitted`) - the members a poller stops on. Cannot be sent with an `execution_` parameter, and takes no other value (400 `CALLS_QUERY_INVALID`).\n","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"responses":{"eba8d00a-0030-4aa0-988c-9685327a7408":{"description":"Full call details","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"agent_id","typeLabel":"string\u003cuuid>"},"from":{"oneOf":[{"type":"string","description":"The caller, in E.164. On a call that arrived on a SIP endpoint it is whatever your phone system sent as the caller, which may not be a phone number, and `null` when the caller ID was only a username-and-password trunk's own username. An empty string on a browser call.","uniqueKey":"from.oneOf.0","typeLabel":"string"},{"type":"null","description":"The caller, in E.164. On a call that arrived on a SIP endpoint it is whatever your phone system sent as the caller, which may not be a phone number, and `null` when the caller ID was only a username-and-password trunk's own username. An empty string on a browser call.","uniqueKey":"from.oneOf.1","typeLabel":"null"}],"uniqueKey":"from","typeLabel":"string | null"},"to":{"oneOf":[{"type":"string","description":"The number dialled, in E.164. `null` on every call that arrived on a SIP endpoint, and sip_endpoint_id names the endpoint: a SIP address endpoint's address is its credential, and what a username-and-password trunk's call dialled shows in the dashboard's call log. An empty string on a browser call.","uniqueKey":"to.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number dialled, in E.164. `null` on every call that arrived on a SIP endpoint, and sip_endpoint_id names the endpoint: a SIP address endpoint's address is its credential, and what a username-and-password trunk's call dialled shows in the dashboard's call log. An empty string on a browser call.","uniqueKey":"to.oneOf.1","typeLabel":"null"}],"uniqueKey":"to","typeLabel":"string | null"},"personal_data_withheld":{"type":"boolean","description":"Present, and true, only when a `calls:metrics` key that does not hold `calls:read` read the call: the people on it and what they said were held back. Absent on every other read.\n","uniqueKey":"personal_data_withheld","typeLabel":"boolean"},"direction":{"type":"string","uniqueKey":"direction","typeLabel":"string"},"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"started_at":{"type":"string","format":"date-time","description":"When the call was placed - dialled, arrived at your number, or its browser session opened. The same moment as created_at, and created_at itself on a browser session that never recorded a start of its own: never null. It is not when anyone answered; that is answered_at.","uniqueKey":"started_at","typeLabel":"string\u003cdate-time>"},"answered_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the call's audio came up - the person you dialled picked up, your number answered the caller, or the browser connected. Where the voice server recorded no such moment on a call that did connect, the earliest evidence that it connected: the first moment anybody was heard, or, for a browser or incoming call holding a recording or a transcript, its started_at (a recording alone does not count on a failed call). duration_seconds counts from about here, and each timeline message is dated answered_at + offset_ms. Null on a call that never got that far.","uniqueKey":"answered_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the call's audio came up - the person you dialled picked up, your number answered the caller, or the browser connected. Where the voice server recorded no such moment on a call that did connect, the earliest evidence that it connected: the first moment anybody was heard, or, for a browser or incoming call holding a recording or a transcript, its started_at (a recording alone does not count on a failed call). duration_seconds counts from about here, and each timeline message is dated answered_at + offset_ms. Null on a call that never got that far.","uniqueKey":"answered_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"answered_at","typeLabel":"string\u003cdate-time> | null"},"recording_started_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the call's recording began, as the carrier stamped it: every transcript turn's start and end are milliseconds from here, so recording_started_at + start is when the line was said. It is not started_at - an outbound call rings before it is answered and recorded - and it is within about 2 seconds of answered_at, either side. Present once the recording is saved, usually a few seconds after the call ends; null on a browser call (its recording begins once the browser has connected, shortly after answered_at), on a call with no recording, and on older calls recorded before the field was added.","uniqueKey":"recording_started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the call's recording began, as the carrier stamped it: every transcript turn's start and end are milliseconds from here, so recording_started_at + start is when the line was said. It is not started_at - an outbound call rings before it is answered and recorded - and it is within about 2 seconds of answered_at, either side. Present once the recording is saved, usually a few seconds after the call ends; null on a browser call (its recording begins once the browser has connected, shortly after answered_at), on a call with no recording, and on older calls recorded before the field was added.","uniqueKey":"recording_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"recording_started_at","typeLabel":"string\u003cdate-time> | null"},"ended_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the call ended - the caller or the agent leaving, or Yappr closing it. Never before started_at.","uniqueKey":"ended_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the call ended - the caller or the agent leaving, or Yappr closing it. Never before started_at.","uniqueKey":"ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"ended_at","typeLabel":"string\u003cdate-time> | null"},"duration_seconds":{"oneOf":[{"type":"integer","description":"Connected time in whole seconds, counted from about answered_at to the end - the time the call is billed for. Ringing, and the wait between placing a call and its answer, are not in it. Null while the call runs and on every call that was never answered (nobody picked up, the number was blocked, or no browser connected, and no answered_at); a whole number, 0 included, on every call that was - a call with an answered_at was answered, whatever stage its failure names.","uniqueKey":"duration_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Connected time in whole seconds, counted from about answered_at to the end - the time the call is billed for. Ringing, and the wait between placing a call and its answer, are not in it. Null while the call runs and on every call that was never answered (nobody picked up, the number was blocked, or no browser connected, and no answered_at); a whole number, 0 included, on every call that was - a call with an answered_at was answered, whatever stage its failure names.","uniqueKey":"duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"duration_seconds","typeLabel":"integer | null"},"cost_cents":{"oneOf":[{"type":"integer","description":"What this call consumed from the workspace's credits, in credits (one credit is one cent). 0 for a call that ended without a charge (failed, not answered, blocked, or completed with no connected time); null only while the call is still settling - never 0 for an unsettled call. cost_status says which. This is what you were charged, and the only cost a call states. For totals across calls, by day, product or agent, use GET /billing/consumption.\n","uniqueKey":"cost_cents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"What this call consumed from the workspace's credits, in credits (one credit is one cent). 0 for a call that ended without a charge (failed, not answered, blocked, or completed with no connected time); null only while the call is still settling - never 0 for an unsettled call. cost_status says which. This is what you were charged, and the only cost a call states. For totals across calls, by day, product or agent, use GET /billing/consumption.\n","uniqueKey":"cost_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost_cents","typeLabel":"integer | null"},"cost_status":{"type":"string","enum":["charged","not_charged","pending"],"description":"Whether cost_cents is final: charged (the recorded charge), not_charged (ended without billable time, or ended more than 24 hours ago with no charge recorded; cost_cents is 0) or pending (live, or ended less than 24 hours ago with the charge not recorded yet; cost_cents is null - come back).\n","uniqueKey":"cost_status","typeLabel":"enum\u003cstring>"},"metadata":{"oneOf":[{"type":"object","description":"The metadata object you attached at `POST /calls`. Empty object `{}` if no metadata\nwas provided at call creation. Internal bookkeeping the call picked up on the way is\nnot part of it — including the text recorded when a call failed, which is the\ncarrier's own cause code or an exception's tail, and when it was recorded. Read\n`failure` for why a call did not complete. Some keys the platform adds do stay, and\nthis is not an exhaustive list: `ab_variant` and `ab_variant_fallback` when a split\npicked the agent, `share_link_id` on a call from a share link, `agent_id` on a test\ncall started from the dashboard, `queued`, `queue_id` and `queue_wait_seconds` on a\ncall that waited for a free line, `workflow_request_id` on a call started from a\ncall request, and, on a call that spoke, `timezone`, `timezone_source` (`call_variable`,\n`workspace` or `fallback`) and `timezone_unconfirmed` (`true` when the zone is UTC taken\nfrom a workspace that may never have chosen one): the zone the agent's clock ran in,\nwhich a calendar tool books on only when it shares that zone. A `timezone` key you\nattach yourself is never replaced. Name your own keys so they cannot collide with these.\n","uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"The metadata object you attached at `POST /calls`. Empty object `{}` if no metadata\nwas provided at call creation. Internal bookkeeping the call picked up on the way is\nnot part of it — including the text recorded when a call failed, which is the\ncarrier's own cause code or an exception's tail, and when it was recorded. Read\n`failure` for why a call did not complete. Some keys the platform adds do stay, and\nthis is not an exhaustive list: `ab_variant` and `ab_variant_fallback` when a split\npicked the agent, `share_link_id` on a call from a share link, `agent_id` on a test\ncall started from the dashboard, `queued`, `queue_id` and `queue_wait_seconds` on a\ncall that waited for a free line, `workflow_request_id` on a call started from a\ncall request, and, on a call that spoke, `timezone`, `timezone_source` (`call_variable`,\n`workspace` or `fallback`) and `timezone_unconfirmed` (`true` when the zone is UTC taken\nfrom a workspace that may never have chosen one): the zone the agent's clock ran in,\nwhich a calendar tool books on only when it shares that zone. A `timezone` key you\nattach yourself is never replaced. Name your own keys so they cannot collide with these.\n","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When this row last changed - the same field GET /calls projects and ?updated_since= bounds, so a sync that pages the list and then reads a call by id keeps the timestamp its loop windows on. Calls recorded before this field existed carry the last moment they can be proved to have changed, so it is never null.\n","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"source":{"type":"string","enum":["test","shared_link","api","phone_inbound","phone_outbound","unknown"],"description":"Where the call came from. A rehearsal and a shared-link call used to be the same row - both web_call, both with empty from and to - so testing spend could not be told apart from the link that was handed out. \"unknown\" is a call recorded before its origin was written down, and is the one value ?source= refuses.\n","uniqueKey":"source","typeLabel":"enum\u003cstring>"},"provider":{"oneOf":[{"type":"string","enum":["external","telnyx"],"description":"Whose carrier the phone side ran on, in the words GET /phone-numbers uses for the call's number. external - your own Telnyx account (a number with provider external): Telnyx billed you for the phone minutes, and cost_cents is Yappr's charge beside them. telnyx - Yappr's own carrier: a number bought from Yappr, or a SIP endpoint. null - a browser call, which has no phone side.\n","uniqueKey":"provider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["external","telnyx"],"description":"Whose carrier the phone side ran on, in the words GET /phone-numbers uses for the call's number. external - your own Telnyx account (a number with provider external): Telnyx billed you for the phone minutes, and cost_cents is Yappr's charge beside them. telnyx - Yappr's own carrier: a number bought from Yappr, or a SIP endpoint. null - a browser call, which has no phone side.\n","uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider","typeLabel":"enum\u003cstring> | null"},"carrier_account":{"oneOf":[{"type":"object","description":"The carrier account an external call ran on - the account Telnyx signed the call for, or its from-number's account when no signed event arrived. null on every other call, and for a key without carrier_accounts:read (provider still says external). An account removed since keeps its id, with name, provider and status null. The same four fields as a number's carrier_account on GET /phone-numbers.\n","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"carrier_account.oneOf.0.id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","uniqueKey":"carrier_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"carrier_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"carrier_account.oneOf.0.name","typeLabel":"string | null"},"provider":{"oneOf":[{"type":"string","enum":["telnyx"],"uniqueKey":"carrier_account.oneOf.0.provider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["telnyx"],"uniqueKey":"carrier_account.oneOf.0.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"carrier_account.oneOf.0.provider","typeLabel":"enum\u003cstring> | null"},"status":{"oneOf":[{"type":"string","enum":["untested","active","paused"],"uniqueKey":"carrier_account.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["untested","active","paused"],"uniqueKey":"carrier_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"carrier_account.oneOf.0.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"carrier_account.oneOf.0","typeLabel":"object"},{"type":"null","description":"The carrier account an external call ran on - the account Telnyx signed the call for, or its from-number's account when no signed event arrived. null on every other call, and for a key without carrier_accounts:read (provider still says external). An account removed since keeps its id, with name, provider and status null. The same four fields as a number's carrier_account on GET /phone-numbers.\n","properties":{"id":{"type":"string","format":"uuid"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"provider":{"oneOf":[{"type":"string","enum":["telnyx"]},{"type":"null","enum":["telnyx"]}]},"status":{"oneOf":[{"type":"string","enum":["untested","active","paused"]},{"type":"null","enum":["untested","active","paused"]}]}},"uniqueKey":"carrier_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"carrier_account","typeLabel":"object | null"},"carrier_call_id":{"oneOf":[{"type":"string","description":"On an external call only (absent on every other call): the call_control_id Telnyx gave the call on your own Telnyx account - the id to find it by in your Telnyx records and its call debugging. null when the dial never got one (refused before Telnyx answered), and null for a key without carrier_accounts:read.\n","example":"v3:u5OA0mKfWkqg2Gfyv1c0g8ukRZ3n1R6f2sKnH4Qj1i1aX8Pz9g","uniqueKey":"carrier_call_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"On an external call only (absent on every other call): the call_control_id Telnyx gave the call on your own Telnyx account - the id to find it by in your Telnyx records and its call debugging. null when the dial never got one (refused before Telnyx answered), and null for a key without carrier_accounts:read.\n","example":"v3:u5OA0mKfWkqg2Gfyv1c0g8ukRZ3n1R6f2sKnH4Qj1i1aX8Pz9g","uniqueKey":"carrier_call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"carrier_call_id","typeLabel":"string | null"},"shared_link_id":{"type":"string","format":"uuid","description":"The shared link this call came through. Absent, not null, on every other kind of call.\n","uniqueKey":"shared_link_id","typeLabel":"string\u003cuuid>"},"sip_endpoint_id":{"type":"string","format":"uuid","description":"The SIP endpoint this call arrived on - a phone_inbound call from your own phone system. Such a call's `to` is null (see `to`). Absent, not null, on every other kind of call.\n","uniqueKey":"sip_endpoint_id","typeLabel":"string\u003cuuid>"},"ended_by":{"oneOf":[{"type":"string","enum":["caller","agent","system","operator","unknown"],"description":"Who ended the call. caller - the far end hung up first, or the browser closed the connection (the End button on a browser test call included); a browser call whose failure code is caller_left always reads caller. agent - the agent chose to end it, through its end-call tool, its flow End step or its closing line. system - Yappr ended it, on the silence timeout, the maximum-duration cap, an answering machine, a fault, the watchdog closing a stuck call, or a browser session that expired before anyone connected. operator - someone ended the call from outside it on purpose: the End button on a dashboard phone test call, POST /calls/{id}/end or the session's cancel_url on a browser session nobody opened, or Yappr stopping a stuck call. A call ended this way has no failure member. unknown - the carrier reported the ending without saying which side dropped the call. null - nothing recorded one. A transfer records nothing at the handoff itself, because the leg stays up and whoever hangs up afterwards is the answer; the value is already resolved for the call direction. First-write-wins, so a specific value is never overwritten by a later generic one.","uniqueKey":"ended_by.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["caller","agent","system","operator","unknown"],"description":"Who ended the call. caller - the far end hung up first, or the browser closed the connection (the End button on a browser test call included); a browser call whose failure code is caller_left always reads caller. agent - the agent chose to end it, through its end-call tool, its flow End step or its closing line. system - Yappr ended it, on the silence timeout, the maximum-duration cap, an answering machine, a fault, the watchdog closing a stuck call, or a browser session that expired before anyone connected. operator - someone ended the call from outside it on purpose: the End button on a dashboard phone test call, POST /calls/{id}/end or the session's cancel_url on a browser session nobody opened, or Yappr stopping a stuck call. A call ended this way has no failure member. unknown - the carrier reported the ending without saying which side dropped the call. null - nothing recorded one. A transfer records nothing at the handoff itself, because the leg stays up and whoever hangs up afterwards is the answer; the value is already resolved for the call direction. First-write-wins, so a specific value is never overwritten by a later generic one.","uniqueKey":"ended_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"ended_by","typeLabel":"enum\u003cstring> | null"},"disconnect_reason":{"oneOf":[{"type":"string","description":"Short human-readable label for why the call ended, meant for display rather than branching - for example Completed, No answer, Busy, Call rejected, Cancelled, Caller inactive, Max duration reached, Voicemail detected, Answering machine detected, Ended by operator, Ended by the platform: stuck call, Failed, or one of the Transfer ... labels when a handoff never connected, or \"Your Telnyx account refused the call…\" when your own Telnyx account refused a call from one of its numbers. Wording may change and labels are added, so treat it as text. First-write-wins. Null when nothing was recorded, and when what was recorded is not one of these labels - an internal note never reaches this field.","uniqueKey":"disconnect_reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short human-readable label for why the call ended, meant for display rather than branching - for example Completed, No answer, Busy, Call rejected, Cancelled, Caller inactive, Max duration reached, Voicemail detected, Answering machine detected, Ended by operator, Ended by the platform: stuck call, Failed, or one of the Transfer ... labels when a handoff never connected, or \"Your Telnyx account refused the call…\" when your own Telnyx account refused a call from one of its numbers. Wording may change and labels are added, so treat it as text. First-write-wins. Null when nothing was recorded, and when what was recorded is not one of these labels - an internal note never reaches this field.","uniqueKey":"disconnect_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"disconnect_reason","typeLabel":"string | null"},"transferred_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the call was handed off to another party. A phone number, and an extension endpoint's new call through your extension, leave the call with status 'transferred'. A SIP REFER hand-off over a username-and-password trunk ends 'completed' with this time set.","uniqueKey":"transferred_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the call was handed off to another party. A phone number, and an extension endpoint's new call through your extension, leave the call with status 'transferred'. A SIP REFER hand-off over a username-and-password trunk ends 'completed' with this time set.","uniqueKey":"transferred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferred_at","typeLabel":"string\u003cdate-time> | null"},"transfer_target":{"oneOf":[{"type":"string","description":"The number the call was transferred to (E.164), or, for a hand-back to your own phone system, the SIP address with any password and any header part (the part after a ?) removed. The extension before the @ stays.","uniqueKey":"transfer_target.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number the call was transferred to (E.164), or, for a hand-back to your own phone system, the SIP address with any password and any header part (the part after a ?) removed. The extension before the @ stays.","uniqueKey":"transfer_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"transfer_target","typeLabel":"string | null"},"recording_url":{"type":"string","description":"Signed URL for the call recording on the API host. Opens directly in a browser or audio player — answers 200 with the audio itself (HEAD and Range supported). No additional authentication required. It lasts 7 to 8 days (`exp`) and stops opening when the call's links are revoked (POST /calls/{id}/recording/revoke); read the call again for a current one. Absent when the call has no recording the link can serve.","uniqueKey":"recording_url","typeLabel":"string"},"agent":{"oneOf":[{"type":"object","description":"The agent behind `agent_id`, read with the call, so its name stays readable after the agent is archived (GET /agents/{id} answers 404 for an archived agent). For a key holding `agents:read` it is the object a campaign embeds for its agent; for a key without it, `{ id, name }`. Both carry `archived_at`. Null when the call has no agent.\n","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"agent.oneOf.0.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"agent.oneOf.0.name","typeLabel":"string"},"execution_version":{"type":"string","enum":["legacy","workflow_v1"],"readOnly":true,"description":"Authoring ownership assigned by Yappr. workflow_v1 can be an unpublished draft; this field does not prove call readiness.","uniqueKey":"agent.oneOf.0.execution_version","typeLabel":"enum\u003cstring>"},"published_workflow_revision_id":{"oneOf":[{"type":"string","format":"uuid","readOnly":true,"description":"Null until explicit workflow publication. Cannot be set by agent create or PATCH.","uniqueKey":"agent.oneOf.0.published_workflow_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","readOnly":true,"description":"Null until explicit workflow publication. Cannot be set by agent create or PATCH.","uniqueKey":"agent.oneOf.0.published_workflow_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.published_workflow_revision_id","typeLabel":"string\u003cuuid> | null"},"live":{"type":"boolean","readOnly":true,"description":"On GET /agents and GET /agents/{id}: whether callers reach this agent right now. A workflow_v1 agent is live when it is active and a version of its workflow is published; a saved draft that was never published is not live. A legacy agent (type prompt or flow) has nothing to publish and is live whenever it is active, with published_workflow_revision_id null. A deactivated agent is never live. For a workflow_v1 agent the dashboard's \"Live · version N\" badge is the same fact; N is published.version on GET /agents/{id}/workflow.\n","uniqueKey":"agent.oneOf.0.live","typeLabel":"boolean"},"inbound":{"type":"object","readOnly":true,"description":"On GET /agents and GET /agents/{id}: what routes inbound calls to this agent - active phone numbers that answer with it (as the number's agent or the other half of its A/B split) and active SIP endpoints. Empty lists mean no inbound route reaches it; the member is absent when the routes could not be read. A key reads each route as its scopes allow: without `phone_numbers:search` a number's `number` and `friendly_name` are null, and without `sip_endpoints:read` an endpoint's `name` is null.\n","properties":{"phone_numbers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"number":{"oneOf":[{"type":"string","example":"+972501234567","uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","example":"+972501234567","uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].number","typeLabel":"string | null"},"friendly_name":{"oneOf":[{"type":"string","uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].friendly_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].friendly_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX].friendly_name","typeLabel":"string | null"}},"uniqueKey":"agent.oneOf.0.inbound.phone_numbers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent.oneOf.0.inbound.phone_numbers","typeLabel":"object[]"},"sip_endpoints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"agent.oneOf.0.inbound.sip_endpoints.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","uniqueKey":"agent.oneOf.0.inbound.sip_endpoints.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent.oneOf.0.inbound.sip_endpoints.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.inbound.sip_endpoints.items.[INDEX].name","typeLabel":"string | null"}},"uniqueKey":"agent.oneOf.0.inbound.sip_endpoints.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent.oneOf.0.inbound.sip_endpoints","typeLabel":"object[]"}},"uniqueKey":"agent.oneOf.0.inbound","typeLabel":"object"},"type":{"type":"string","enum":["workflow","prompt","flow"],"description":"`workflow` on every agent with `execution_version: workflow_v1` — the only kind that can be created. Such an agent also **omits** `system_prompt`, `flow_config`, `webhook_url`, `webhook_events`, `webhook_headers` and `tools`: it has no such things, and returning them as nulls read as the retired kind. Its instructions, graph and tool bindings are its workflow document — `GET /agents/{id}/workflow`.\n`prompt` and `flow` appear only on agents created before the workflow engine, which keep their old response shape unchanged. `prompt` (legacy): a single `system_prompt` drives the call; the LLM decides when to call attached tools. `flow`: the call is driven by a `flow_config` graph. `type` is **immutable** post-create.\n","uniqueKey":"agent.oneOf.0.type","typeLabel":"enum\u003cstring>"},"flow_config":{"oneOf":[{"type":"object","description":"Legacy agents only, and absent from a `workflow` agent's response. The flow graph. Required when `type='flow'`, must be omitted/null when `type='prompt'`.\n","required":["nodes"],"properties":{"nodes":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","description":"Discriminated by `type`.","required":["id","type"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","enum":["start"],"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.name","typeLabel":"string"},"position":{"type":"object","description":"UI-only persisted x/y on the React Flow canvas. The runtime ignores this.","properties":{"x":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.position.x","typeLabel":"number"},"y":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.position.y","typeLabel":"number"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.position","typeLabel":"object"},"agent_speaks_first":{"type":"boolean","default":true,"description":"Whether the bot speaks first on call connect. When false, the bot waits silently for the caller to speak first (silence_timeout_secs on the agent still applies). For flow agents this OVERRIDES the agent-level agent.agent_speaks_first / agent.greeting_message fields.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.agent_speaks_first","typeLabel":"boolean"},"greeting":{"oneOf":[{"type":"string","description":"Spoken greeting (only used when agent_speaks_first is true). Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.greeting.oneOf.0","typeLabel":"string"},{"type":"null","description":"Spoken greeting (only used when agent_speaks_first is true). Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.greeting.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.greeting","typeLabel":"string | null"},"is_literal":{"type":"boolean","default":false,"description":"When true, speak `greeting` verbatim. When false, treat it as an LLM instruction.","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.is_literal","typeLabel":"boolean"},"next_step_id":{"oneOf":[{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.next_step_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.next_step_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.next_step_id","typeLabel":"string | null"},"auto_advance":{"type":"boolean","default":true,"description":"Whether to enter the first conversation node immediately on session start (default `true`). When `false`, the bot's greeting is delivered in start-node context only; the first conversation node is entered only after the user's first reply (via internal advancement).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0.auto_advance","typeLabel":"boolean"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Discriminated by `type`.","required":["id","type","instructions","transitions"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["conversation"],"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"Layered on top of agent.system_prompt as a system message at step entry. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.instructions","typeLabel":"string"},"transitions":{"type":"array","items":{"type":"object","required":["id","label","description","next_step_id"],"description":"A labeled outgoing branch from a conversation node. The voice agent picks one\n(or stays) at each user-turn boundary by calling the `pick_transition` tool.\n","properties":{"id":{"type":"string","description":"Stable transition id (used in the flow graph and traces)","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.transitions.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","description":"Short human-readable label, also surfaced in the dashboard and call traces","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.transitions.items.[INDEX].label","typeLabel":"string"},"description":{"type":"string","minLength":1,"description":"REQUIRED, non-empty. The natural-language trigger the voice agent reads at runtime\nto decide whether to take this path. Describe a user-side signal (what the caller\nsaid or implied), not an agent intent. Example: \"Caller confirmed they want a demo\nscheduled\" — not \"agent books the demo\". An empty description is rejected with\nerror code `transition_description_missing`.\n","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.transitions.items.[INDEX].description","typeLabel":"string"},"next_step_id":{"type":"string","description":"Destination node id","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.transitions.items.[INDEX].next_step_id","typeLabel":"string"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.transitions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.transitions","typeLabel":"object[]"},"is_global":{"type":"boolean","default":false,"description":"Mark this node as globally reachable. Only valid on conversation/end/transfer nodes.","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.is_global","typeLabel":"boolean"},"global_jump_description":{"oneOf":[{"type":"string","description":"REQUIRED when is_global=true. Natural-language condition the eval LLM uses to decide whether\nto jump here. Describe a clear user-side signal, not an agent intent.\nExample: \"User reveals they're actually an owner, not a tenant\".\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.global_jump_description.oneOf.0","typeLabel":"string"},{"type":"null","description":"REQUIRED when is_global=true. Natural-language condition the eval LLM uses to decide whether\nto jump here. Describe a clear user-side signal, not an agent intent.\nExample: \"User reveals they're actually an owner, not a tenant\".\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.global_jump_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.global_jump_description","typeLabel":"string | null"},"name":{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.name","typeLabel":"string"},"position":{"type":"object","description":"UI-only persisted x/y on the React Flow canvas. The runtime ignores this.","properties":{"x":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.position.x","typeLabel":"number"},"y":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.position.y","typeLabel":"number"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1.position","typeLabel":"object"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Discriminated by `type`.","required":["id","type","transitions"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","enum":["tool_call"],"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"transitions":{"type":"object","description":"Routing for a tool_call node. Routing is deterministic, no LLM. error fires on hard failures\n(timeout, 4xx/5xx, integration disconnected). Otherwise custom[] is evaluated in declaration order\nand the first match wins; success fires only if no custom matched. Exactly one out-edge per fire.\n","properties":{"success_next_step_id":{"oneOf":[{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.success_next_step_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.success_next_step_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.success_next_step_id","typeLabel":"string | null"},"error_next_step_id":{"oneOf":[{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.error_next_step_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.error_next_step_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.error_next_step_id","typeLabel":"string | null"},"custom":{"type":"array","default":[],"items":{"type":"object","required":["id","label","jsonpath","equals","next_step_id"],"description":"Deterministic branch for a tool-call node, matched by JSONPath equality against the tool's parsed response body.\nCustom branches are evaluated top-to-bottom, first match wins; mutually exclusive with success/error (only one\nout-edge fires per tool fire). See /docs/api-reference/agents/flow-config-schema for the full runtime semantics.\n","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom.items.[INDEX].label","typeLabel":"string"},"jsonpath":{"type":"string","example":"$.status","description":"Dotted path into the tool's parsed response body (root `$`). Supported: `$.foo.bar`, `$.list[0].name`,\n`$.items[2]`. NOT supported: recursive descent (`$..`), wildcards (`$.*`), filter expressions.\n","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom.items.[INDEX].jsonpath","typeLabel":"string"},"equals":{"type":"string","example":"no_availability","description":"Compared via string equality after JSON-style stringification of the extracted value:\nbooleans become \"true\"/\"false\" (lowercase), null becomes \"null\", numbers via str(). Match the\nstringified form exactly or the branch never fires.\n","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom.items.[INDEX].equals","typeLabel":"string"},"next_step_id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom.items.[INDEX].next_step_id","typeLabel":"string"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions.custom","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.transitions","typeLabel":"object"},"name":{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.name","typeLabel":"string"},"position":{"type":"object","description":"UI-only persisted x/y on the React Flow canvas. The runtime ignores this.","properties":{"x":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.position.x","typeLabel":"number"},"y":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.position.y","typeLabel":"number"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.position","typeLabel":"object"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","description":"References an existing row in the company's tools table","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"References an existing row in the company's tools table","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.tool_id","typeLabel":"string\u003cuuid> | null"},"config_override":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Per-node override merged shallow over the referenced tool's config (array replacement). Open-shape — each tool type has its own valid keys. For a transfer tool it may set `transfer_method`, `pbx_feature_code` and `pbx_feature_code_hangup_after_secs` (see TransferNode); the merged result is checked when you save, with the same codes.","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.config_override.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Per-node override merged shallow over the referenced tool's config (array replacement). Open-shape — each tool type has its own valid keys. For a transfer tool it may set `transfer_method`, `pbx_feature_code` and `pbx_feature_code_hangup_after_secs` (see TransferNode); the merged result is checked when you save, with the same codes.","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.config_override.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.config_override","typeLabel":"object | null"},"pre_fire_announcement":{"oneOf":[{"type":"boolean","description":"When true, the platform plays a short hold tone the moment this node fires so the caller\ndoesn't sit in silence while the action runs. The tone is platform-controlled (not\nconfigurable) and stops automatically when the action returns. Use it for actions you\nexpect to take more than ~500 ms (webhook to a slow CRM, complex DB lookup); skip it for\nfast actions to avoid making the call feel chatty.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.pre_fire_announcement.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, the platform plays a short hold tone the moment this node fires so the caller\ndoesn't sit in silence while the action runs. The tone is platform-controlled (not\nconfigurable) and stops automatically when the action returns. Use it for actions you\nexpect to take more than ~500 ms (webhook to a slow CRM, complex DB lookup); skip it for\nfast actions to avoid making the call feel chatty.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.pre_fire_announcement.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.pre_fire_announcement","typeLabel":"boolean | null"},"timeout_secs":{"oneOf":[{"type":"number","minimum":1,"maximum":600,"description":"Per-node hard cap on execution time. When the action doesn't return in this many seconds,\nthe runtime cancels it and routes to `error_next_step_id` with a `tool_timeout_after_Ns`\nerror. When null/omitted on a webhook tool, the controller uses the effective tool\n`config.timeout_seconds` plus one second of dispatch overhead. Other tool nodes use the\nplatform default (30s). Set this only when the flow needs a different node-level limit.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.timeout_secs.oneOf.0","typeLabel":"number"},{"type":"null","minimum":1,"maximum":600,"description":"Per-node hard cap on execution time. When the action doesn't return in this many seconds,\nthe runtime cancels it and routes to `error_next_step_id` with a `tool_timeout_after_Ns`\nerror. When null/omitted on a webhook tool, the controller uses the effective tool\n`config.timeout_seconds` plus one second of dispatch overhead. Other tool nodes use the\nplatform default (30s). Set this only when the flow needs a different node-level limit.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.timeout_secs.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2.timeout_secs","typeLabel":"number | null"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Discriminated by `type`.","required":["id","type"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["transfer"],"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"is_global":{"type":"boolean","default":false,"description":"Mark this node as globally reachable. Only valid on conversation/end/transfer nodes.","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.is_global","typeLabel":"boolean"},"global_jump_description":{"oneOf":[{"type":"string","description":"REQUIRED when is_global=true. Natural-language condition the eval LLM uses to decide whether\nto jump here. Describe a clear user-side signal, not an agent intent.\nExample: \"User reveals they're actually an owner, not a tenant\".\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.global_jump_description.oneOf.0","typeLabel":"string"},{"type":"null","description":"REQUIRED when is_global=true. Natural-language condition the eval LLM uses to decide whether\nto jump here. Describe a clear user-side signal, not an agent intent.\nExample: \"User reveals they're actually an owner, not a tenant\".\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.global_jump_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.global_jump_description","typeLabel":"string | null"},"name":{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.name","typeLabel":"string"},"position":{"type":"object","description":"UI-only persisted x/y on the React Flow canvas. The runtime ignores this.","properties":{"x":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.position.x","typeLabel":"number"},"y":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.position.y","typeLabel":"number"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.position","typeLabel":"object"},"transfer_to":{"oneOf":[{"type":"string","example":"+972501234567","description":"Where to send the caller: either a phone number or a SIP address.\n\n- A **phone number** (for example `+972501234567`) is dialled as a second call. It\n can't be used on a call that arrived over a SIP trunk or an extension endpoint.\n- A **SIP address** (`sip:` or `sips:`, for example `sip:reception@pbx.example.com`)\n hands the caller back to your own phone system, which places the new call\n (a SIP REFER). It works on calls that arrived over a\n [username-and-password SIP trunk](/concepts/sip-trunks#transfers). On a call\n that arrived over an [extension endpoint](/concepts/sip-trunks#register-as-an-extension)\n it works differently: no REFER is sent, and Yappr places a new call through\n your extension to the extension or queue in the address (only the part before\n the `@` is used). On any other call the transfer is refused and the agent\n keeps helping the caller.\n On a trunk, your phone system has about nine seconds to have the new call\n answered, and if the transfer fails the call ends. On an extension call the\n new call has about 25 seconds to be answered, and if it fails or isn't\n answered the call also ends. The address must be\n `sip:user@host[:port]`, at most 256 characters, with a user part, and no\n password or `?headers`. A value that starts with `sip:` or `sips:` but is\n malformed is rejected when you save the flow.\n","examples":["+972501234567","sip:reception@pbx.example.com"],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"+972501234567","description":"Where to send the caller: either a phone number or a SIP address.\n\n- A **phone number** (for example `+972501234567`) is dialled as a second call. It\n can't be used on a call that arrived over a SIP trunk or an extension endpoint.\n- A **SIP address** (`sip:` or `sips:`, for example `sip:reception@pbx.example.com`)\n hands the caller back to your own phone system, which places the new call\n (a SIP REFER). It works on calls that arrived over a\n [username-and-password SIP trunk](/concepts/sip-trunks#transfers). On a call\n that arrived over an [extension endpoint](/concepts/sip-trunks#register-as-an-extension)\n it works differently: no REFER is sent, and Yappr places a new call through\n your extension to the extension or queue in the address (only the part before\n the `@` is used). On any other call the transfer is refused and the agent\n keeps helping the caller.\n On a trunk, your phone system has about nine seconds to have the new call\n answered, and if the transfer fails the call ends. On an extension call the\n new call has about 25 seconds to be answered, and if it fails or isn't\n answered the call also ends. The address must be\n `sip:user@host[:port]`, at most 256 characters, with a user part, and no\n password or `?headers`. A value that starts with `sip:` or `sips:` but is\n malformed is rejected when you save the flow.\n","examples":["+972501234567","sip:reception@pbx.example.com"],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_to","typeLabel":"string | null"},"transfer_message":{"oneOf":[{"type":"string","description":"Spoken before transferring. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Spoken before transferring. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_message","typeLabel":"string | null"},"transfer_method":{"oneOf":[{"type":"string","enum":["auto","pbx_feature_code"],"default":"auto","description":"How a call that arrived through an\n[extension endpoint](/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code)\nis transferred. `auto` (or leaving it out) uses the transfer code set on the\nextension endpoint (`register.pbx_feature_code`), or the usual dial-back when it\nhas none. `pbx_feature_code` uses this node's own code and hang-up time instead,\nas a pair, with nothing taken from the endpoint: it first sends your phone system\nthe in-call transfer code (`pbx_feature_code`) followed by the extension, so the\nphone system moves the\ncaller itself and Yappr leaves the call; without a hang-up time\n(`pbx_feature_code_hangup_after_secs`), if it doesn't within about 12 seconds,\nYappr falls back to the dial-back. Ignored on every other call. With\n`pbx_feature_code`, `transfer_to` must name an extension a keypad can dial: up\nto 32 digits, `*` or `#`, as `sip:400@pbx.example.com` or `400`. Anything else\nis rejected when you save (`transfer_method_invalid`,\n`transfer_extension_not_dialable`).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_method.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["auto","pbx_feature_code"],"default":"auto","description":"How a call that arrived through an\n[extension endpoint](/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code)\nis transferred. `auto` (or leaving it out) uses the transfer code set on the\nextension endpoint (`register.pbx_feature_code`), or the usual dial-back when it\nhas none. `pbx_feature_code` uses this node's own code and hang-up time instead,\nas a pair, with nothing taken from the endpoint: it first sends your phone system\nthe in-call transfer code (`pbx_feature_code`) followed by the extension, so the\nphone system moves the\ncaller itself and Yappr leaves the call; without a hang-up time\n(`pbx_feature_code_hangup_after_secs`), if it doesn't within about 12 seconds,\nYappr falls back to the dial-back. Ignored on every other call. With\n`pbx_feature_code`, `transfer_to` must name an extension a keypad can dial: up\nto 32 digits, `*` or `#`, as `sip:400@pbx.example.com` or `400`. Anything else\nis rejected when you save (`transfer_method_invalid`,\n`transfer_extension_not_dialable`).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.transfer_method","typeLabel":"enum\u003cstring> | null"},"pbx_feature_code":{"oneOf":[{"type":"string","maxLength":32,"pattern":"^[0-9A-Da-d*#wW]*(\\{extension\\})?[0-9A-Da-d*#wW]*$","examples":["##","*2","#1","*2{extension}#"],"description":"Your phone system's own in-call transfer code (blind or attended), sent as key presses. Required\nwhen `transfer_method` is `pbx_feature_code` (`pbx_feature_code_missing`),\nignored otherwise. 1 to 32 characters: `0`-`9`, `*`, `#`, `A`-`D`, and the\npauses `w` (half a second) and `W` (one second), with at least one key.\n`{extension}` may appear once and is replaced by the extension; without it\nthe extension is sent right after the code (`##` + `400` sends `##400`).\nAnything else is rejected when you save (`pbx_feature_code_invalid`).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.pbx_feature_code.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":32,"pattern":"^[0-9A-Da-d*#wW]*(\\{extension\\})?[0-9A-Da-d*#wW]*$","examples":["##","*2","#1","*2{extension}#"],"description":"Your phone system's own in-call transfer code (blind or attended), sent as key presses. Required\nwhen `transfer_method` is `pbx_feature_code` (`pbx_feature_code_missing`),\nignored otherwise. 1 to 32 characters: `0`-`9`, `*`, `#`, `A`-`D`, and the\npauses `w` (half a second) and `W` (one second), with at least one key.\n`{extension}` may appear once and is replaced by the extension; without it\nthe extension is sent right after the code (`##` + `400` sends `##400`).\nAnything else is rejected when you save (`pbx_feature_code_invalid`).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.pbx_feature_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.pbx_feature_code","typeLabel":"string | null"},"pbx_feature_code_hangup_after_secs":{"oneOf":[{"type":"integer","minimum":1,"maximum":10,"examples":[4],"description":"Set it when your phone system's code starts an attended transfer that\ncompletes when the transferring extension hangs up. Yappr hangs up this many\nseconds after the code (counted once its key presses have played); until\nthen the agent is off the line, silent and not listening. Because that\nhang-up is the hand-off there is no fallback dial-back, so\ntest it once. 4 is a good start. Leave it out (or null) to wait for your\nphone system to end the call, with the dial-back as the fallback. A whole\nnumber from 1 to 10, only with `transfer_method` `pbx_feature_code`; anything\nelse is rejected when you save (`pbx_feature_code_hangup_after_secs_invalid`,\n`pbx_feature_code_hangup_after_secs_without_code`).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.pbx_feature_code_hangup_after_secs.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":10,"examples":[4],"description":"Set it when your phone system's code starts an attended transfer that\ncompletes when the transferring extension hangs up. Yappr hangs up this many\nseconds after the code (counted once its key presses have played); until\nthen the agent is off the line, silent and not listening. Because that\nhang-up is the hand-off there is no fallback dial-back, so\ntest it once. 4 is a good start. Leave it out (or null) to wait for your\nphone system to end the call, with the dial-back as the fallback. A whole\nnumber from 1 to 10, only with `transfer_method` `pbx_feature_code`; anything\nelse is rejected when you save (`pbx_feature_code_hangup_after_secs_invalid`,\n`pbx_feature_code_hangup_after_secs_without_code`).\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.pbx_feature_code_hangup_after_secs.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3.pbx_feature_code_hangup_after_secs","typeLabel":"integer | null"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Discriminated by `type`.","required":["id","type"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","enum":["end"],"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"is_global":{"type":"boolean","default":false,"description":"Mark this node as globally reachable. Only valid on conversation/end/transfer nodes.","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.is_global","typeLabel":"boolean"},"global_jump_description":{"oneOf":[{"type":"string","description":"REQUIRED when is_global=true. Natural-language condition the eval LLM uses to decide whether\nto jump here. Describe a clear user-side signal, not an agent intent.\nExample: \"User reveals they're actually an owner, not a tenant\".\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.global_jump_description.oneOf.0","typeLabel":"string"},{"type":"null","description":"REQUIRED when is_global=true. Natural-language condition the eval LLM uses to decide whether\nto jump here. Describe a clear user-side signal, not an agent intent.\nExample: \"User reveals they're actually an owner, not a tenant\".\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.global_jump_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.global_jump_description","typeLabel":"string | null"},"name":{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.name","typeLabel":"string"},"position":{"type":"object","description":"UI-only persisted x/y on the React Flow canvas. The runtime ignores this.","properties":{"x":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.position.x","typeLabel":"number"},"y":{"type":"number","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.position.y","typeLabel":"number"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.position","typeLabel":"object"},"farewell":{"oneOf":[{"type":"string","description":"Spoken before the call ends. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.farewell.oneOf.0","typeLabel":"string"},{"type":"null","description":"Spoken before the call ends. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.farewell.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.farewell","typeLabel":"string | null"},"is_literal":{"type":"boolean","default":false,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4.is_literal","typeLabel":"boolean"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.nodes","typeLabel":"object[]"},"flow_config_version":{"type":"string","default":"1","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.flow_config_version","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"description":"Optional metadata surfaced to the eval LLM context (e.g. agent purpose, customer name conventions).","properties":{"custom_metadata_keys":{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.metadata.custom_metadata_keys.items.[INDEX]","typeLabel":"string"},"description":"User-declared keys that this flow's `args_template` token interpolation expects to\nfind under the `{{metadata.\u003ckey>}}` namespace at dispatch time. Surfaced in the\ndashboard so callers know which keys to pass in `POST /calls body.metadata`.\nKeys not listed here still resolve at runtime if passed (and to empty string if\nnot) — this list is purely a hint for the UI / API consumers.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.metadata.custom_metadata_keys","typeLabel":"string[]"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"agent.oneOf.0.flow_config.oneOf.0","typeLabel":"object"},{"type":"null","description":"Legacy agents only, and absent from a `workflow` agent's response. The flow graph. Required when `type='flow'`, must be omitted/null when `type='prompt'`.\n","uniqueKey":"agent.oneOf.0.flow_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.flow_config","typeLabel":"object | null"},"system_prompt":{"oneOf":[{"type":"string","description":"Legacy agents only, and absent from a `workflow` agent's response — read its workflow document instead. {{VariableName}} is filled in from the call's variables. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.system_prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Legacy agents only, and absent from a `workflow` agent's response — read its workflow document instead. {{VariableName}} is filled in from the call's variables. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations).","uniqueKey":"agent.oneOf.0.system_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.system_prompt","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"agent.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.description","typeLabel":"string | null"},"voice":{"type":"string","enum":["Michal","Yonatan","David","Rachel","Gil","Noa","Maya","Adam","Shira","Avigail","Amir","Liat","Omer","Tamar","Tom","Benny","Nir","Natan","Yael","Dvora","Yosef","Shir","Anat","Ariel","Roi","Shlomo","Dana","Alon","Ruth","Yuval","Keren","Eitan","Hila","Ido","Boaz","Tali","Erez","Efrat"],"description":"The persona the agent speaks in. A voice belongs to one of Yappr's two voice families, so naming a voice on its own still chooses the family — and with it the model family (`model` below) — and no existing client has to change. There is no separate engine field, and `engine` / `engine_voice` are rejected if you send them.\n`Keren, Eitan, Hila, Ido, Boaz, Tali, Erez, Efrat` are the voices of `gpt-live`, available to every workspace. Agents on these voices handle their own turn-taking and expressiveness, so `temperature`, `vad_stop_secs`, `vad_start_secs` and `vad_confidence` are rejected on them, and they cannot be used on a `type='flow'` agent. The other thirty are the voices of both Gemini models. Any other name returns `400` listing every voice you may use.\nAlways the name the agent actually speaks in, whichever family it is on.\n","uniqueKey":"agent.oneOf.0.voice","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","enum":["gemini-3.1-flash-live","gemini-3.8-live","gpt-live"],"description":"The voice model the agent runs on, as you chose it; null means **automatic**, where Yappr picks by the agent's language (see `resolved_model`). See the models page for what each model is and how to choose.\nA `gpt-live` agent always reads `gpt-live`: GPT Live is chosen through its voices, never automatically.\n","uniqueKey":"agent.oneOf.0.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["gemini-3.1-flash-live","gemini-3.8-live","gpt-live"],"description":"The voice model the agent runs on, as you chose it; null means **automatic**, where Yappr picks by the agent's language (see `resolved_model`). See the models page for what each model is and how to choose.\nA `gpt-live` agent always reads `gpt-live`: GPT Live is chosen through its voices, never automatically.\n","uniqueKey":"agent.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.model","typeLabel":"enum\u003cstring> | null"},"resolved_model":{"type":"string","readOnly":true,"enum":["gemini-3.1-flash-live","gemini-3.8-live","gpt-live"],"description":"The model the agent's calls run on: `model` when it is set, and otherwise what automatic chooses today for the agent's language (Hebrew and multilingual run `gemini-3.1-flash-live`, every other language `gemini-3.8-live`). Read-only, and it can change for an automatic agent when Yappr moves a language to a better model; a pinned `model` never moves.\n","uniqueKey":"agent.oneOf.0.resolved_model","typeLabel":"enum\u003cstring>"},"background_sound":{"oneOf":[{"type":"string","enum":["call_center","open_office","cafe","outdoor"],"description":"Ambient background sound mixed under the agent's voice during calls. Null means silent (default).","uniqueKey":"agent.oneOf.0.background_sound.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["call_center","open_office","cafe","outdoor"],"description":"Ambient background sound mixed under the agent's voice during calls. Null means silent (default).","uniqueKey":"agent.oneOf.0.background_sound.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.background_sound","typeLabel":"enum\u003cstring> | null"},"background_sound_volume":{"type":"number","minimum":0,"maximum":0.6,"default":0.3,"description":"Volume of the background sound, 0.0–0.6. Capped to protect turn-taking.","uniqueKey":"agent.oneOf.0.background_sound_volume","typeLabel":"number"},"language":{"type":"string","enum":["he","en","ar","ru","fr","es","de","it","pt","nl","tr","pl","uk","hi","ja","ko","zh","multi"],"description":"The language the agent speaks and listens for on calls, as its short code, or `multi` for a multilingual agent that answers in the caller's language and switches when they do. Each language gets its own speaking rules (politeness, gender, how numbers, dates and prices are said). See the Languages page.\n","uniqueKey":"agent.oneOf.0.language","typeLabel":"enum\u003cstring>"},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"How varied the agent's wording is. On the Gemini voices a value below 0.3 is stored and returned as you sent it, and the agent speaks as if it were 0.3: lower values sometimes made a call open on a word or two and a pause. The expressive voices do not take it.","uniqueKey":"agent.oneOf.0.temperature","typeLabel":"number"},"greeting_message":{"oneOf":[{"type":"string","description":"The line the agent opens the call with when agent_speaks_first is true, said word for word in the agent's language (a second-family voice can still word it slightly differently). On the standard voices a caller's brief hello in the first few seconds of the line does not interrupt it; a caller who keeps talking over it does. {{FirstName}} is filled in from the call's variables or the lead's name, or left out with the space before it when there is none. Send null to clear it and let the agent open in its own words. Editable here and on PATCH /agents/{id}; on a flow agent the start node's own opening overrides it. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations). On a workflow agent it may read a Before-call step's result, {{before.\u003cstep_id>.\u003cfield>|\u003cfallback>}}, said word for word: the value, else the fallback, else the rest of the line; Check and Publish refuse a step the workflow does not have. See [Opening line from a Before step](/api-reference/workflows/greeting-from-before).","uniqueKey":"agent.oneOf.0.greeting_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line the agent opens the call with when agent_speaks_first is true, said word for word in the agent's language (a second-family voice can still word it slightly differently). On the standard voices a caller's brief hello in the first few seconds of the line does not interrupt it; a caller who keeps talking over it does. {{FirstName}} is filled in from the call's variables or the lead's name, or left out with the space before it when there is none. Send null to clear it and let the agent open in its own words. Editable here and on PATCH /agents/{id}; on a flow agent the start node's own opening overrides it. Random variations: {{Hi|Hello|Hey}} (two or more options separated by |) says one option, picked once per call; see [Random variations](/api-reference/agents/create#random-variations). On a workflow agent it may read a Before-call step's result, {{before.\u003cstep_id>.\u003cfield>|\u003cfallback>}}, said word for word: the value, else the fallback, else the rest of the line; Check and Publish refuse a step the workflow does not have. See [Opening line from a Before step](/api-reference/workflows/greeting-from-before).","uniqueKey":"agent.oneOf.0.greeting_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.greeting_message","typeLabel":"string | null"},"agent_speaks_first":{"type":"boolean","uniqueKey":"agent.oneOf.0.agent_speaks_first","typeLabel":"boolean"},"vad_stop_secs":{"type":"number","minimum":0.05,"maximum":5,"default":0.5,"description":"Seconds of silence that end the caller's turn. Lower answers sooner and cuts a caller who pauses mid-thought; higher waits longer before replying. Below 0.5 s the agent may start answering half a sentence.\n","uniqueKey":"agent.oneOf.0.vad_stop_secs","typeLabel":"number"},"vad_start_secs":{"type":"number","minimum":0.05,"maximum":2,"default":0.2,"description":"Seconds of speech that count as the caller starting to talk. It also sets how much of the moment before that is kept, so an interruption does not lose the caller's first word.\n","uniqueKey":"agent.oneOf.0.vad_start_secs","typeLabel":"number"},"vad_confidence":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"How sure the agent must be that it is hearing speech. Below the 0.7 default the agent reacts more eagerly — useful for quiet callers, and more likely to react to background noise on a noisy line. Two things read it, and they read it differently. How readily the caller can cut the agent off mid-sentence follows the number continuously, so any change moves it. Where the caller's turn begins and ends is a two-position switch either side of the 0.7 default: at or above it the agent is deliberate about deciding the caller has started or stopped, below it eager. For that half, 0.05 and 0.69 behave identically, and so do 0.70 and 1.00 — tune it by moving across the default, not by nudging it.\n","uniqueKey":"agent.oneOf.0.vad_confidence","typeLabel":"number"},"silence_timeout_secs":{"type":"number","minimum":10,"maximum":900,"default":60,"description":"Seconds of caller silence before auto-hangup. Prevents idle calls wasting credits.","uniqueKey":"agent.oneOf.0.silence_timeout_secs","typeLabel":"number"},"idle_reminder_count":{"type":"integer","minimum":0,"maximum":3,"default":0,"description":"How many times the agent asks a silent caller whether they are still there before `silence_timeout_secs` hangs up. Each reminder is said when the silence timeout runs out, and the timer starts again after it; the caller speaking resets the count. 0 (the default) hangs up at the first timeout without asking. See [Idle reminders](/api-reference/agents/idle-reminders).\n","uniqueKey":"agent.oneOf.0.idle_reminder_count","typeLabel":"integer"},"idle_reminder_text":{"oneOf":[{"type":"string","maxLength":200,"description":"What the agent says as each reminder, word for word. Null (the default) is a short line in the call's language (\"Hello, are you still there?\" in English); for a language without a fixed line, the agent asks in its own words in the call's language. A blank string is stored as null.\n","uniqueKey":"agent.oneOf.0.idle_reminder_text.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"What the agent says as each reminder, word for word. Null (the default) is a short line in the call's language (\"Hello, are you still there?\" in English); for a language without a fixed line, the agent asks in its own words in the call's language. A blank string is stored as null.\n","uniqueKey":"agent.oneOf.0.idle_reminder_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.idle_reminder_text","typeLabel":"string | null"},"max_continuous_speech_secs":{"type":"number","minimum":0,"maximum":300,"default":120,"description":"Max seconds one party can speak non-stop before auto-hangup. Catches answering machines. 0 = disabled.","uniqueKey":"agent.oneOf.0.max_continuous_speech_secs","typeLabel":"number"},"max_call_duration_secs":{"type":"number","minimum":0,"maximum":3600,"default":600,"description":"Hard cap on total call duration regardless of activity. 0 = no cap of the agent's own; the platform still ends the call after 65 minutes (3900 s), with the disconnect reason `Platform call limit reached`. A call is never billed for more than this plus 60 seconds; with 0, or once a call is transferred to a person, billing stops at 4 hours.","uniqueKey":"agent.oneOf.0.max_call_duration_secs","typeLabel":"number"},"lead_memory_enabled":{"type":"boolean","default":true,"description":"When true, the matched lead's long-term memory context is injected into the system prompt at call time.","uniqueKey":"agent.oneOf.0.lead_memory_enabled","typeLabel":"boolean"},"noise_cancellation_enabled":{"type":"boolean","uniqueKey":"agent.oneOf.0.noise_cancellation_enabled","typeLabel":"boolean"},"is_active":{"type":"boolean","uniqueKey":"agent.oneOf.0.is_active","typeLabel":"boolean"},"webhook_url":{"oneOf":[{"type":"string","format":"uri","description":"Legacy agents only. Read whole by a key with `tools:read` (or `tools:update`), the rule GET /deliveries/{id} applies to the same destination; for any other key, and in a campaign or eval-case embed, it is `scheme://host[:port]` and `webhook_url_path_withheld` is true. Send the whole URL to change it.\n","uniqueKey":"agent.oneOf.0.webhook_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Legacy agents only. Read whole by a key with `tools:read` (or `tools:update`), the rule GET /deliveries/{id} applies to the same destination; for any other key, and in a campaign or eval-case embed, it is `scheme://host[:port]` and `webhook_url_path_withheld` is true. Send the whole URL to change it.\n","uniqueKey":"agent.oneOf.0.webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.webhook_url","typeLabel":"string\u003curi> | null"},"webhook_url_path_withheld":{"type":"boolean","readOnly":true,"description":"Legacy agents only. True when `webhook_url` is shortened to `scheme://host[:port]` because the reading key holds neither `tools:read` nor `tools:update`.\n","uniqueKey":"agent.oneOf.0.webhook_url_path_withheld","typeLabel":"boolean"},"webhook_events":{"type":"array","description":"Events posted to `webhook_url` as `{event, timestamp, agent_id, company_id, call_id, data}`.\n`data` on every call event carries `direction`, `status`, `from_number`, `to_number`,\n`duration_seconds`, `started_at` (when the call was placed), `answered_at` (when its audio\ncame up; absent until it did) and `recording_started_at` (when its recording began - a\ntranscript's `start` and `end` are milliseconds from here; null until the recording is saved,\non a browser call, and on older calls recorded before the field was added), all ISO 8601 with a `+00:00`\noffset as GET /calls/{id} writes them; plus `disposition`, `summary`, `transcript` and\n`extracted_data` once they exist. `transcript.ready` and `call.analyzed` are sent after the\nrecording is saved, so they carry `recording_started_at` on a phone call. No event carries the\nconversation while the call is still going.\n`call.failed` and `call.no_answer` carry `data.hangup_cause` when the cause is known. For a call\nfrom a number in [your own Telnyx account](/concepts/bring-your-own-carrier) that Telnyx\nrefused while it rang, `call.failed` has `data.hangup_cause`:\n\n- `carrier_rejected` — Telnyx refused the call (SIP 401, 403 or 407).\n- `carrier_number_invalid` — Telnyx could not route the number called (SIP 404, 484 or 604).\n\nThe SIP code is not in the webhook; the carrier account keeps the last one in `last_error.sip_code`.\nOne Telnyx refused before it rang sends no webhook when `POST /calls` was placing it (the\nrequest answers `422`); from the queue it sends `call.failed` with `data.error_reason` instead.\n","items":{"type":"string","enum":["call.started","call.answered","call.ended","call.failed","call.no_answer","call.dnc_blocked","transcript.ready","call.analyzed"],"uniqueKey":"agent.oneOf.0.webhook_events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"agent.oneOf.0.webhook_events","typeLabel":"enum\u003cstring>[]"},"configured_webhook_header_names":{"type":"array","readOnly":true,"items":{"type":"string","uniqueKey":"agent.oneOf.0.configured_webhook_header_names.items.[INDEX]","typeLabel":"string"},"example":["Authorization","X-Source"],"description":"Legacy agents only, and absent from a `workflow` agent's response. The names of the stored `webhook_headers`, sorted; the values are never returned, to any key.\n","uniqueKey":"agent.oneOf.0.configured_webhook_header_names","typeLabel":"string[]"},"tools":{"type":"array","readOnly":true,"description":"Legacy agents only, and absent from a `workflow` agent's response. The agent's tools in execution order, each as GET /tools/{id} answers it plus `execution_order`, for a key that holds `tools:read`; without it each is `{id, name}` only.\n","items":{"type":"object","uniqueKey":"agent.oneOf.0.tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent.oneOf.0.tools","typeLabel":"object[]"},"extraction_parameters":{"type":"array","description":"AI extraction parameters — after each call, values are extracted from the transcript, stored on the call log and included in the call.analyzed webhook payload. Read them back on a call as `extracted_data` in GET /calls/{id}.\n","items":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string","example":"customerName","description":"Parameter key in the extracted_data output","isRequired":true,"uniqueKey":"agent.oneOf.0.extraction_parameters.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","example":"The caller's full name as mentioned during the conversation","description":"Instructions for the AI on what to extract","isRequired":true,"uniqueKey":"agent.oneOf.0.extraction_parameters.items.[INDEX].description","typeLabel":"string"},"type":{"type":"string","enum":["text","number","yes_no","date"],"default":"text","example":"number","description":"The kind of value this parameter asks for, which decides what the stored value is: `text` a string, `number` a JSON number, `yes_no` a JSON boolean, `date` a `YYYY-MM-DD` string, read from the day the call started in the workspace's time zone - a day and month with no year is the next time it comes round, \"tomorrow\" and \"next Sunday\" are counted from the call day, something the caller says already happened (\"three months ago\", \"it ended in June\") is counted back from it, never forward, and a year the caller said is kept. Optional — a parameter saved without one behaves exactly as it always has, as `text`. A value the conversation never supplied is `null` whatever the kind, and a value that cannot be read as the declared kind is `null` rather than a string that only looks like one. Any other value is rejected: `422 WORKFLOW_SETTINGS_REQUEST_INVALID` for a workflow agent, `400 BAD_REQUEST` for a prompt or flow agent.\n","uniqueKey":"agent.oneOf.0.extraction_parameters.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"agent.oneOf.0.extraction_parameters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent.oneOf.0.extraction_parameters","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","uniqueKey":"agent.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"agent.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"archived_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the agent was archived; null while it is not.","uniqueKey":"agent.oneOf.0.archived_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the agent was archived; null while it is not.","uniqueKey":"agent.oneOf.0.archived_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.0.archived_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"agent.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"agent.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent","typeLabel":"object | null"},"disposition":{"oneOf":[{"type":"object","description":"Full Disposition object. Present only when a disposition has been assigned.","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"disposition.oneOf.0.id","typeLabel":"string\u003cuuid>"},"label":{"type":"string","uniqueKey":"disposition.oneOf.0.label","typeLabel":"string"},"color":{"type":"string","example":"#22c55e","description":"Always set. A disposition created without a colour is stored grey (`#6b7280`), the same default the dashboard's picker starts on. The format is not validated.\n","uniqueKey":"disposition.oneOf.0.color","typeLabel":"string"},"position":{"type":"integer","description":"Display order, ascending. Not unique.","uniqueKey":"disposition.oneOf.0.position","typeLabel":"integer"},"is_protected":{"type":"boolean","description":"Protected dispositions cannot be deleted. They can still be renamed, which stops the rules that set them by name from finding them.","uniqueKey":"disposition.oneOf.0.is_protected","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","uniqueKey":"disposition.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"disposition.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"disposition.oneOf.1","typeLabel":"null"}],"uniqueKey":"disposition","typeLabel":"object | null"},"lead":{"oneOf":[{"type":"object","description":"Full Lead object including long_term_context and tags. Present only when a matched lead exists. A key without `leads:read` reads `{id}` only.","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"lead.oneOf.0.id","typeLabel":"string\u003cuuid>"},"phone_number":{"type":"string","example":"+972501234567","uniqueKey":"lead.oneOf.0.phone_number","typeLabel":"string"},"name":{"oneOf":[{"type":"string","uniqueKey":"lead.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lead.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","uniqueKey":"lead.oneOf.0.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","uniqueKey":"lead.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.email","typeLabel":"string\u003cemail> | null"},"source":{"type":"string","enum":["api","manual","csv_import","call"],"example":"api","description":"How the lead first appeared.\n\n`call` — created from a call this workspace took or placed. The\nmost common value by far, and written only by Yappr: a request\ncannot claim it. `api` — created through this API. `manual` —\ntyped into the dashboard. `csv_import` — arrived in a\nspreadsheet.\n\nA create may send `api`, `manual` or `csv_import`; any other\nvalue is refused rather than silently rewritten.\n","uniqueKey":"lead.oneOf.0.source","typeLabel":"enum\u003cstring>"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.tags.items.[INDEX].description","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].color.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].color.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.tags.items.[INDEX].color","typeLabel":"string | null"},"sort_order":{"type":"integer","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].sort_order","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","uniqueKey":"lead.oneOf.0.tags.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"lead.oneOf.0.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lead.oneOf.0.tags","typeLabel":"object[]"},"long_term_context":{"oneOf":[{"type":"string","description":"AI memory for this lead. Injected into the agent's system prompt at call time when lead_memory_enabled is true on the agent.","uniqueKey":"lead.oneOf.0.long_term_context.oneOf.0","typeLabel":"string"},{"type":"null","description":"AI memory for this lead. Injected into the agent's system prompt at call time when lead_memory_enabled is true on the agent.","uniqueKey":"lead.oneOf.0.long_term_context.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.long_term_context","typeLabel":"string | null"},"extracted":{"oneOf":[{"type":"object","additionalProperties":true,"description":"What this lead's calls collected, keyed by the extraction parameter's own name, merged across every call with this person. The most recent call that answered a field wins it; a field that call never covered keeps the answer an earlier one found. Only answers are merged: unlike a call's own extracted_data on GET /calls/{id}, which carries every parameter with null for the ones that call never covered, a parameter no call has answered is absent here. Read-only and written only by the post-call pass: it is stored under the reserved metadata.extracted key, neither a create nor a PATCH can set it, and replacing metadata does not erase it. Null until a call collects something.\n","uniqueKey":"lead.oneOf.0.extracted.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"What this lead's calls collected, keyed by the extraction parameter's own name, merged across every call with this person. The most recent call that answered a field wins it; a field that call never covered keeps the answer an earlier one found. Only answers are merged: unlike a call's own extracted_data on GET /calls/{id}, which carries every parameter with null for the ones that call never covered, a parameter no call has answered is absent here. Read-only and written only by the post-call pass: it is stored under the reserved metadata.extracted key, neither a create nor a PATCH can set it, and replacing metadata does not erase it. Null until a call collects something.\n","uniqueKey":"lead.oneOf.0.extracted.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.extracted","typeLabel":"object | null"},"extracted_precision":{"oneOf":[{"type":"object","additionalProperties":{"type":"object","description":"How precisely a caller gave one date parameter's answer. day - they named a day, and extracted_data holds it. month - they named a month and no day (\"sometime in November\", \"mid-November\", \"next month\"); extracted_data holds null, because a month is not a day and storing its 1st would be a guess, and month says which month. unknown - nothing that is a day or a month (\"after the holidays\"), or nothing at all. A date the caller said already happened is counted back (\"I arrived on the 5th of March\", \"נכנסתי ביוני\"); a date after a past verb that is the day of something still to come stays ahead (\"I got a letter for my hearing on the 12th of November\"), and so does the day of an event that a letter, message or call told the caller about (\"I got a letter about my surgery on the 12th of November\", \"קיבלתי מכתב על הניתוח ב-12 בנובמבר\"); the day results, a copy or an application were received stays past (\"I received the results of my MRI on the 5th of March\"). Which day a letter names - the event's or its own - is the reader's judgement, returned as role (below), and it decides the direction of a day or month said with no year. A date parameter whose description is about something upcoming (\"upcoming appointment\", \"הניתוח המתוכנן\") is never counted back.\n","required":["precision","month"],"properties":{"precision":{"type":"string","enum":["day","month","unknown"],"isRequired":true,"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.precision","typeLabel":"enum\u003cstring>"},"month":{"oneOf":[{"type":"string","description":"The year and month of the day or month named, as YYYY-MM; null when precision is unknown.","example":"2026-11","isRequired":true,"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.month.oneOf.0","typeLabel":"string"},{"type":"null","description":"The year and month of the day or month named, as YYYY-MM; null when precision is unknown.","example":"2026-11","isRequired":true,"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.month.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.month","typeLabel":"string | null"},"approximate":{"type":"boolean","enum":[true],"description":"Present, and true, only on a month worked out from a length of time ago in months or years (\"a month ago\", \"three months ago\", \"לפני חודשיים וחצי\", \"two and a half years ago\") - that length back from the call's month, as near as it can put it; a range of lengths (\"six to seven months ago\") is its middle. Absent on a month the caller named (\"last month\").\n","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.approximate","typeLabel":"enum\u003cboolean>"},"role":{"type":"string","enum":["event","message"],"description":"What the day belongs to, as the reader judged it from the caller's words. event - the day of the thing itself: a surgery, test, hearing, appointment, flight, arrival or expiry, and the day a payment or refund falls due, results are ready or a lease or approval ends (\"I got a letter about my knee replacement on the 3rd of December\" is the knee replacement's day, 2026-12-03 for a call in September 2026, and \"I got an email that my payment is due on the 5th of March\" is 2027-03-05; an event the caller had stays in the past). message - the day a letter, message, call, form or notice was sent or received, or a result, approval, refund or payment was already received or paid, which has passed (\"I got a letter about my lease on the 5th of March\" is 2026-03-05). Absent when the reader could not say, when the caller's own words settle it the other way (a letter about a flight or a surgery is that event's day; a letter answering an appeal or a claim, or about a surgery's approval or cost, is the letter's), and on calls analysed before it was recorded; the date is then read from the caller's words alone.\n","example":"event","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.role","typeLabel":"enum\u003cstring>"},"ambiguity":{"type":"array","items":{"type":"string","enum":["weekday_mismatch"],"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.ambiguity.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Present only when the caller's own words disagreed about the day and one reading was kept. weekday_mismatch - they gave a weekday with a day of the month that falls on another weekday (\"next Tuesday the 14th\" when the 14th is a Wednesday, \"ביום שלישי ה-14\"): the day of the month they stated is kept (2026-10-14), not the weekday. Confirm the day before booking it.\n","example":["weekday_mismatch"],"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties.ambiguity","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0.additionalProperties","typeLabel":"object"},"description":"The date parameters the latest call that answered them gave as a month and no day (\"sometime in November\"), keyed by parameter name, each {\"precision\": \"month\", \"month\": \"YYYY-MM\"}, with \"approximate\": true when the call's own extracted_data_precision has it (a month worked out from a length of time ago, such as \"three months ago\", rather than named). Such a field is absent from extracted, because a month is not a day; a later call that names the day moves it back to extracted and out of here. Read-only, stored under the reserved metadata.extracted_precision key like extracted, and null when no call has given a month alone. The same member is on the lead inside GET /calls/{id}.\n","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"object","description":"How precisely a caller gave one date parameter's answer. day - they named a day, and extracted_data holds it. month - they named a month and no day (\"sometime in November\", \"mid-November\", \"next month\"); extracted_data holds null, because a month is not a day and storing its 1st would be a guess, and month says which month. unknown - nothing that is a day or a month (\"after the holidays\"), or nothing at all. A date the caller said already happened is counted back (\"I arrived on the 5th of March\", \"נכנסתי ביוני\"); a date after a past verb that is the day of something still to come stays ahead (\"I got a letter for my hearing on the 12th of November\"), and so does the day of an event that a letter, message or call told the caller about (\"I got a letter about my surgery on the 12th of November\", \"קיבלתי מכתב על הניתוח ב-12 בנובמבר\"); the day results, a copy or an application were received stays past (\"I received the results of my MRI on the 5th of March\"). Which day a letter names - the event's or its own - is the reader's judgement, returned as role (below), and it decides the direction of a day or month said with no year. A date parameter whose description is about something upcoming (\"upcoming appointment\", \"הניתוח המתוכנן\") is never counted back.\n","required":["precision","month"],"properties":{"precision":{"type":"string","enum":["day","month","unknown"],"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.precision","typeLabel":"enum\u003cstring>"},"month":{"oneOf":[{"type":"string","description":"The year and month of the day or month named, as YYYY-MM; null when precision is unknown.","example":"2026-11","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.month.oneOf.0","typeLabel":"string"},{"type":"null","description":"The year and month of the day or month named, as YYYY-MM; null when precision is unknown.","example":"2026-11","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.month.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.month","typeLabel":"string | null"},"approximate":{"type":"boolean","enum":[true],"description":"Present, and true, only on a month worked out from a length of time ago in months or years (\"a month ago\", \"three months ago\", \"לפני חודשיים וחצי\", \"two and a half years ago\") - that length back from the call's month, as near as it can put it; a range of lengths (\"six to seven months ago\") is its middle. Absent on a month the caller named (\"last month\").\n","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.approximate","typeLabel":"enum\u003cboolean>"},"role":{"type":"string","enum":["event","message"],"description":"What the day belongs to, as the reader judged it from the caller's words. event - the day of the thing itself: a surgery, test, hearing, appointment, flight, arrival or expiry, and the day a payment or refund falls due, results are ready or a lease or approval ends (\"I got a letter about my knee replacement on the 3rd of December\" is the knee replacement's day, 2026-12-03 for a call in September 2026, and \"I got an email that my payment is due on the 5th of March\" is 2027-03-05; an event the caller had stays in the past). message - the day a letter, message, call, form or notice was sent or received, or a result, approval, refund or payment was already received or paid, which has passed (\"I got a letter about my lease on the 5th of March\" is 2026-03-05). Absent when the reader could not say, when the caller's own words settle it the other way (a letter about a flight or a surgery is that event's day; a letter answering an appeal or a claim, or about a surgery's approval or cost, is the letter's), and on calls analysed before it was recorded; the date is then read from the caller's words alone.\n","example":"event","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.role","typeLabel":"enum\u003cstring>"},"ambiguity":{"type":"array","items":{"type":"string","enum":["weekday_mismatch"],"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.ambiguity.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Present only when the caller's own words disagreed about the day and one reading was kept. weekday_mismatch - they gave a weekday with a day of the month that falls on another weekday (\"next Tuesday the 14th\" when the 14th is a Wednesday, \"ביום שלישי ה-14\"): the day of the month they stated is kept (2026-10-14), not the weekday. Confirm the day before booking it.\n","example":["weekday_mismatch"],"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties.ambiguity","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1.additionalProperties","typeLabel":"object"},"description":"The date parameters the latest call that answered them gave as a month and no day (\"sometime in November\"), keyed by parameter name, each {\"precision\": \"month\", \"month\": \"YYYY-MM\"}, with \"approximate\": true when the call's own extracted_data_precision has it (a month worked out from a length of time ago, such as \"three months ago\", rather than named). Such a field is absent from extracted, because a month is not a day; a later call that names the day moves it back to extracted and out of here. Read-only, stored under the reserved metadata.extracted_precision key like extracted, and null when no call has given a month alone. The same member is on the lead inside GET /calls/{id}.\n","uniqueKey":"lead.oneOf.0.extracted_precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.oneOf.0.extracted_precision","typeLabel":"object | null"},"metadata":{"type":"object","uniqueKey":"lead.oneOf.0.metadata","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","uniqueKey":"lead.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"lead.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"lead.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"lead.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead","typeLabel":"object | null"},"summary":{"oneOf":[{"type":"string","description":"AI-generated call summary, written in the language the call was held in - read off the conversation when its script makes the language clear, else the agent's language; a multilingual agent's summary is in the language the caller spoke. Present only when available.","uniqueKey":"summary.oneOf.0","typeLabel":"string"},{"type":"null","description":"AI-generated call summary, written in the language the call was held in - read off the conversation when its script makes the language clear, else the agent's language; a multilingual agent's summary is in the language the caller spoke. Present only when available.","uniqueKey":"summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"summary","typeLabel":"string | null"},"transcript":{"type":"array","description":"Full call transcript, ordered by time. Present only when available. Written once, after\nthe call recording is saved, by transcribing that recording: on every call, whichever\nvoice model ran it and whatever language it was in. Where the recording holds the caller\nand the agent on separate channels, who said a line is read from its channel. A call with\nno recording has none.\n","items":{"type":"object","description":"A single turn in a call transcript.","required":["role","text","start","end"],"properties":{"role":{"type":"string","enum":["agent","user","voicemail"],"description":"Who is speaking. `agent` — the AI agent. `user` — the live human on the call. `voicemail` — pre-recorded audio from the callee's answering machine, carrier voicemail greeting, or IVR menu. Treat these entries as non-conversational: they represent the callee's voicemail system, not anything the person actually said. When any entry has `role: \"voicemail\"`, the call's disposition will be `Voicemail`.\n","isRequired":true,"uniqueKey":"transcript.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Transcribed speech in the call's original language.","isRequired":true,"uniqueKey":"transcript.items.[INDEX].text","typeLabel":"string"},"start":{"type":"integer","description":"Milliseconds from recording_started_at, the call's recording's first sample. Where recording_started_at is null (a browser call, or an older call recorded before the field was added), from the start of the recording, which on a browser call begins once the browser has connected, shortly after answered_at.","isRequired":true,"uniqueKey":"transcript.items.[INDEX].start","typeLabel":"integer"},"end":{"type":"integer","description":"Milliseconds from recording_started_at, as start is.","isRequired":true,"uniqueKey":"transcript.items.[INDEX].end","typeLabel":"integer"}},"uniqueKey":"transcript.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transcript","typeLabel":"object[]"},"usage":{"type":"object","description":"**What the call consumed on the voice model that ran it**, reported by the provider\nitself: token counts, or seconds of live audio. It carries no price; what the call\ncost you is `cost_cents`. Present only when a reading exists — a call that never\nreached the model has no `usage` member at all, which is a different statement\nfrom a call that consumed nothing.\n\nOne entry in `legs` per engine the call ran on, summed across every provider\nsession the call spanned: a call whose socket dropped and was rebuilt mid-call is\nstill one entry with the whole call's usage on it.\n\nThe two engines report in different units and the response says which: a Gemini\nvoice runs on tokens split by modality, a GPT voice on seconds of live audio.\n","properties":{"legs":{"type":"array","items":{"type":"object","description":"What one engine leg of a call consumed, as the provider reported it.\nA call that ran on one engine has one leg; a call that spanned several provider sessions still\nhas one leg, with the whole call's usage summed onto it. It is a measurement of consumption,\nnot a price: what the call was charged is `cost_cents` on the call.\n","required":["engine","model"],"properties":{"engine":{"oneOf":[{"type":"string","description":"The voice engine this leg ran on.","isRequired":true,"uniqueKey":"usage.legs.items.[INDEX].engine.oneOf.0","typeLabel":"string"},{"type":"null","description":"The voice engine this leg ran on.","isRequired":true,"uniqueKey":"usage.legs.items.[INDEX].engine.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"usage.legs.items.[INDEX].engine","typeLabel":"string | null"},"model":{"oneOf":[{"type":"string","description":"The voice model.","isRequired":true,"uniqueKey":"usage.legs.items.[INDEX].model.oneOf.0","typeLabel":"string"},{"type":"null","description":"The voice model.","isRequired":true,"uniqueKey":"usage.legs.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"usage.legs.items.[INDEX].model","typeLabel":"string | null"},"sessions":{"type":"integer","description":"How many provider sessions the call spanned on this engine.","uniqueKey":"usage.legs.items.[INDEX].sessions","typeLabel":"integer"},"input_tokens":{"oneOf":[{"type":"integer","description":"Total prompt tokens. Null for an engine billed by time rather than by token.","uniqueKey":"usage.legs.items.[INDEX].input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Total prompt tokens. Null for an engine billed by time rather than by token.","uniqueKey":"usage.legs.items.[INDEX].input_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].input_tokens","typeLabel":"integer | null"},"output_tokens":{"oneOf":[{"type":"integer","description":"Total completion tokens. Null for an engine billed by time.","uniqueKey":"usage.legs.items.[INDEX].output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Total completion tokens. Null for an engine billed by time.","uniqueKey":"usage.legs.items.[INDEX].output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].output_tokens","typeLabel":"integer | null"},"audio_input_tokens":{"oneOf":[{"type":"integer","description":"Prompt tokens that were the caller speaking.","uniqueKey":"usage.legs.items.[INDEX].audio_input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Prompt tokens that were the caller speaking.","uniqueKey":"usage.legs.items.[INDEX].audio_input_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].audio_input_tokens","typeLabel":"integer | null"},"text_input_tokens":{"oneOf":[{"type":"integer","description":"Prompt tokens that were text: instructions, history, tool definitions.","uniqueKey":"usage.legs.items.[INDEX].text_input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Prompt tokens that were text: instructions, history, tool definitions.","uniqueKey":"usage.legs.items.[INDEX].text_input_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].text_input_tokens","typeLabel":"integer | null"},"audio_output_tokens":{"oneOf":[{"type":"integer","description":"Completion tokens that were the agent speaking.","uniqueKey":"usage.legs.items.[INDEX].audio_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Completion tokens that were the agent speaking.","uniqueKey":"usage.legs.items.[INDEX].audio_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].audio_output_tokens","typeLabel":"integer | null"},"text_output_tokens":{"oneOf":[{"type":"integer","description":"Completion tokens that were text.","uniqueKey":"usage.legs.items.[INDEX].text_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Completion tokens that were text.","uniqueKey":"usage.legs.items.[INDEX].text_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].text_output_tokens","typeLabel":"integer | null"},"cached_input_tokens":{"oneOf":[{"type":"integer","description":"Prompt tokens served from the provider's cache.","uniqueKey":"usage.legs.items.[INDEX].cached_input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Prompt tokens served from the provider's cache.","uniqueKey":"usage.legs.items.[INDEX].cached_input_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].cached_input_tokens","typeLabel":"integer | null"},"audio_seconds":{"oneOf":[{"type":"number","description":"Seconds of live audio, for an engine billed by time.","uniqueKey":"usage.legs.items.[INDEX].audio_seconds.oneOf.0","typeLabel":"number"},{"type":"null","description":"Seconds of live audio, for an engine billed by time.","uniqueKey":"usage.legs.items.[INDEX].audio_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].audio_seconds","typeLabel":"number | null"},"backend_model":{"oneOf":[{"type":"string","description":"The reasoning model behind the voice, where the engine has one.","uniqueKey":"usage.legs.items.[INDEX].backend_model.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reasoning model behind the voice, where the engine has one.","uniqueKey":"usage.legs.items.[INDEX].backend_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].backend_model","typeLabel":"string | null"},"recorded_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the reading was stored.","uniqueKey":"usage.legs.items.[INDEX].recorded_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the reading was stored.","uniqueKey":"usage.legs.items.[INDEX].recorded_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.legs.items.[INDEX].recorded_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"usage.legs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"usage.legs","typeLabel":"object[]"}},"uniqueKey":"usage","typeLabel":"object"},"extracted_data":{"type":"object","description":"Structured fields extracted post-call by the agent's extraction_parameters. The member is absent — not null — on a call where extraction did not run or produced nothing at all, so read it with a presence check. When it is there it carries one key per configured parameter, and a parameter the conversation never supplied is null inside it. A present object of all-null values means extraction ran and captured nothing, which is not the same as no extraction. A number parameter holds one number - \"about 12\" is 12, a half is kept (\"two and a half\" is 2.5), a range is its middle (\"3-4\" is 3.5). A date parameter holds a YYYY-MM-DD day or null; a month with no day is null (see extracted_data_precision).\n","uniqueKey":"extracted_data","typeLabel":"object"},"extracted_data_precision":{"type":"object","description":"Beside extracted_data, for an agent that collects dates: one entry per date parameter saying how precisely the caller gave it - day, month (with the month, as YYYY-MM, and approximate true when it was worked out from a length of time ago) or unknown - with role (event or message) when the reader judged whose day it is, and ambiguity when the caller's words disagreed. Absent on calls analysed before it was recorded, and on agents with no date parameters.\n","additionalProperties":{"type":"object","description":"How precisely a caller gave one date parameter's answer. day - they named a day, and extracted_data holds it. month - they named a month and no day (\"sometime in November\", \"mid-November\", \"next month\"); extracted_data holds null, because a month is not a day and storing its 1st would be a guess, and month says which month. unknown - nothing that is a day or a month (\"after the holidays\"), or nothing at all. A date the caller said already happened is counted back (\"I arrived on the 5th of March\", \"נכנסתי ביוני\"); a date after a past verb that is the day of something still to come stays ahead (\"I got a letter for my hearing on the 12th of November\"), and so does the day of an event that a letter, message or call told the caller about (\"I got a letter about my surgery on the 12th of November\", \"קיבלתי מכתב על הניתוח ב-12 בנובמבר\"); the day results, a copy or an application were received stays past (\"I received the results of my MRI on the 5th of March\"). Which day a letter names - the event's or its own - is the reader's judgement, returned as role (below), and it decides the direction of a day or month said with no year. A date parameter whose description is about something upcoming (\"upcoming appointment\", \"הניתוח המתוכנן\") is never counted back.\n","required":["precision","month"],"properties":{"precision":{"type":"string","enum":["day","month","unknown"],"isRequired":true,"uniqueKey":"extracted_data_precision.additionalProperties.precision","typeLabel":"enum\u003cstring>"},"month":{"oneOf":[{"type":"string","description":"The year and month of the day or month named, as YYYY-MM; null when precision is unknown.","example":"2026-11","isRequired":true,"uniqueKey":"extracted_data_precision.additionalProperties.month.oneOf.0","typeLabel":"string"},{"type":"null","description":"The year and month of the day or month named, as YYYY-MM; null when precision is unknown.","example":"2026-11","isRequired":true,"uniqueKey":"extracted_data_precision.additionalProperties.month.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"extracted_data_precision.additionalProperties.month","typeLabel":"string | null"},"approximate":{"type":"boolean","enum":[true],"description":"Present, and true, only on a month worked out from a length of time ago in months or years (\"a month ago\", \"three months ago\", \"לפני חודשיים וחצי\", \"two and a half years ago\") - that length back from the call's month, as near as it can put it; a range of lengths (\"six to seven months ago\") is its middle. Absent on a month the caller named (\"last month\").\n","uniqueKey":"extracted_data_precision.additionalProperties.approximate","typeLabel":"enum\u003cboolean>"},"role":{"type":"string","enum":["event","message"],"description":"What the day belongs to, as the reader judged it from the caller's words. event - the day of the thing itself: a surgery, test, hearing, appointment, flight, arrival or expiry, and the day a payment or refund falls due, results are ready or a lease or approval ends (\"I got a letter about my knee replacement on the 3rd of December\" is the knee replacement's day, 2026-12-03 for a call in September 2026, and \"I got an email that my payment is due on the 5th of March\" is 2027-03-05; an event the caller had stays in the past). message - the day a letter, message, call, form or notice was sent or received, or a result, approval, refund or payment was already received or paid, which has passed (\"I got a letter about my lease on the 5th of March\" is 2026-03-05). Absent when the reader could not say, when the caller's own words settle it the other way (a letter about a flight or a surgery is that event's day; a letter answering an appeal or a claim, or about a surgery's approval or cost, is the letter's), and on calls analysed before it was recorded; the date is then read from the caller's words alone.\n","example":"event","uniqueKey":"extracted_data_precision.additionalProperties.role","typeLabel":"enum\u003cstring>"},"ambiguity":{"type":"array","items":{"type":"string","enum":["weekday_mismatch"],"uniqueKey":"extracted_data_precision.additionalProperties.ambiguity.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Present only when the caller's own words disagreed about the day and one reading was kept. weekday_mismatch - they gave a weekday with a day of the month that falls on another weekday (\"next Tuesday the 14th\" when the 14th is a Wednesday, \"ביום שלישי ה-14\"): the day of the month they stated is kept (2026-10-14), not the weekday. Confirm the day before booking it.\n","example":["weekday_mismatch"],"uniqueKey":"extracted_data_precision.additionalProperties.ambiguity","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"extracted_data_precision.additionalProperties","typeLabel":"object"},"example":{"interview_date":{"precision":"month","month":"2026-11"},"start_date":{"precision":"day","month":"2026-12"}},"uniqueKey":"extracted_data_precision","typeLabel":"object"},"extracted_data_ranges":{"type":"object","description":"Beside extracted_data: one entry per number parameter whose stored value is the middle of a range the caller gave (\"בין שש לשבע\" is 6.5), with the range's two ends. Absent when no number was a range, and on calls analysed before it was recorded.\n","additionalProperties":{"type":"object","description":"A number parameter's answer that was the middle of a range the caller gave (\"between six and seven\", \"בין שש לשבע\", \"3-4\"): extracted_data holds the middle (6.5), and this the two ends.\n","required":["low","high"],"properties":{"low":{"type":"number","example":6,"isRequired":true,"uniqueKey":"extracted_data_ranges.additionalProperties.low","typeLabel":"number"},"high":{"type":"number","example":7,"isRequired":true,"uniqueKey":"extracted_data_ranges.additionalProperties.high","typeLabel":"number"}},"uniqueKey":"extracted_data_ranges.additionalProperties","typeLabel":"object"},"example":{"pain_level":{"low":6,"high":7}},"uniqueKey":"extracted_data_ranges","typeLabel":"object"},"tool_calls":{"type":"array","description":"Paired request/response objects for each tool invocation during the call. Easier to\nconsume than raw events. Auth-related headers (Authorization, tokens, keys) are\nredacted as `[REDACTED]`.\n\n**Superseded by `timeline` (below)**, which is what the dashboard shows and what new\nintegrations should read. This member is kept for existing ones, and it is the raw\nview: apart from those headers it returns the tool's URL, its arguments and the\nresponse body as they were. The summaries-only rule below is a rule about `timeline`,\nnot about this member.\n\n**A call the workflow platform ran** records its tool runs in `timeline`, not as raw\nevents, so for those calls this member lists the same `tool` rows as pairs: `tool_name`,\n`timestamp`, `kind` (always `tool_call`; a connected app also carries `provider` and\n`action`), `node` and `response.success` / `response.error` /\n`response.duration_ms` (`success` is `null` while the tool is still running). They are\nsummaries: `request.body` is `null`, there is no URL or headers, and\n`response.response_preview` is `null`. Read `timeline` for the full account.\n","items":{"type":"object","description":"A single tool invocation (request + response) extracted from the call's event stream. The list\ncontains both prompt-mode webhook tools and flow-mode tool/integration_call fires, in firing order.\n`kind` is the discriminator:\n\n- `webhook_tool` — prompt-mode agents with a tool list. Built from paired `tool_called` /\n `tool_response` events. The `request` envelope carries the full HTTP request (method, url,\n headers, body).\n- `tool_call` — flow-mode `tool_call` node fired. Built from one `flow_tool_result` event.\n `request` carries just `body` (the resolved args dict); HTTP details aren't meaningful here.\n- `integration_call` — the native Google Calendar/Gmail step fired. The step is retired: only\n an agent that still has one during its 30-day notice period emits this value, and calls\n placed before the retirement still carry it. Same `request.body`-only shape as `tool_call`; sibling fields\n `provider`, `action` and `integration_id` record which credential and method ran at the\n time. New integrations appear as `tool_call`.\n\nFor flow agents prefer `flow_trace.steps[].tool_call` — same data, inlined per visited step.\n\n**The full record.** From 21 October 2026 each tool call also carries what it really sent\nand got back, on every engine (workflow agents, prompt and flow agents, connected apps,\ntransfers and End): `agent_asked` (the arguments the agent gave), `request` (method, the\nfull URL with its query, every header sent, the body), `response` (status, every header,\nthe body, `error_code`, `timed_out`) and `agent_was_told` (what the agent got back); a\nbefore-call step instead carries `given_to_agent` (how its result reached the agent). Each\nbody is kept up to 16 KB; past that it is cut (`truncated: true`) and `body_bytes` gives\nthe full size. Anything that looks like a credential is `\"[REDACTED]\"` and its place is\nlisted in `masked`: `Authorization`, `Cookie`, `X-Api-Key` and `Set-Cookie` headers; any\nheader, query parameter or JSON key whose name contains token, secret, password,\nsignature, credential, api key, access key, private key or session id, ends in `key` or\n`session` (`signing_key`, `license_key`, `user_session`; not `public_key`, `primary_key`,\n`foreign_key`, `sort_key`, `partition_key`), or is exactly `key`, `auth`, `sig`, `otp`,\n`jwt`, `pwd` or `bearer`; values that look like a bearer token, an API key or a JWT; a\nURL's user and password; and every value configured on the tool's headers. Your own data\nin a payload (names, numbers, emails) is not hidden. Bodies are kept for 90 days; after\nthat `details_expired` is true and they are null, while the rest stays. A call made before\nrecords began has none of these fields and reads exactly as it always did.\n\n**Where it went needs a tools scope.** For a Make or Zapier hook the URL's path is the\ncredential: a key with neither `tools:read` nor `tools:update` reads every `request.url`\nas its scheme and host alone, the entry carries `destination_path_withheld: true`, and the\nraw `tool_called` entries of `events` are cut the same way (`data.url`,\n`data.destination_path_withheld`). The same rule as `GET /deliveries/{id}`.\n","required":["tool_name","timestamp","kind"],"properties":{"tool_name":{"type":"string","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].tool_name","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"kind":{"type":"string","enum":["webhook_tool","tool_call","integration_call"],"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The record's id: present only when the call has a full record of this tool call. Matches `exchange_id` on the timeline row and on the tool's events.\n","uniqueKey":"tool_calls.items.[INDEX].id","typeLabel":"string"},"engine":{"type":"string","enum":["workflow","prompt","flow"],"description":"Which engine ran it. Present with `id`.","uniqueKey":"tool_calls.items.[INDEX].engine","typeLabel":"enum\u003cstring>"},"tool_type":{"type":"string","enum":["http","app","transfer","end"],"description":"What kind of tool it was (`kind` above says which event stream it came from). Present with `id`.\n","uniqueKey":"tool_calls.items.[INDEX].tool_type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["succeeded","failed","timeout","unreachable","refused","not_sent","unknown"],"description":"How it ended: `timeout` (no answer in time; it may still have acted), `unreachable` (nothing answered at the address), `refused` (turned away before anything was sent: an address that is not allowed, arguments the tool rejected, or a transfer on a call with no phone line), `not_sent` (a test run that held the request back), `unknown` (it is not confirmed whether it happened - the request went out and its answer could not be used, and the agent was told it cannot confirm it). Present with `id`.\n","uniqueKey":"tool_calls.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"started_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the request left (for transfer and End, when the agent asked). Present with `id`.","uniqueKey":"tool_calls.items.[INDEX].started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the request left (for transfer and End, when the agent asked). Present with `id`.","uniqueKey":"tool_calls.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].started_at","typeLabel":"string\u003cdate-time> | null"},"agent_asked":{"oneOf":[{"description":"The arguments the agent called the tool with. Null when no agent asked (a before- or after-call step). Present with `id`.","uniqueKey":"tool_calls.items.[INDEX].agent_asked.oneOf.0","typeLabel":"any"},{"description":"The arguments the agent called the tool with. Null when no agent asked (a before- or after-call step). Present with `id`.","type":"null","uniqueKey":"tool_calls.items.[INDEX].agent_asked.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].agent_asked","typeLabel":"any | null"},"agent_was_told":{"oneOf":[{"description":"What the agent got back, as it got it. Null when no agent asked (a before- or after-call step: what a before-call step gave the agent is `given_to_agent`). Present with `id`.\n","uniqueKey":"tool_calls.items.[INDEX].agent_was_told.oneOf.0","typeLabel":"any"},{"description":"What the agent got back, as it got it. Null when no agent asked (a before- or after-call step: what a before-call step gave the agent is `given_to_agent`). Present with `id`.\n","type":"null","uniqueKey":"tool_calls.items.[INDEX].agent_was_told.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].agent_was_told","typeLabel":"any | null"},"given_to_agent":{"type":"object","description":"A before-call step only (`lane: before` on its timeline row): how its result reached the live agent, recorded as the agent's instructions were built. `via` empty means the agent was not given it, and `reason` says why. Recorded on calls made once the voice release that records it is live; absent when nothing was recorded (an earlier call, or one older than 90 days), which does not mean it was not given.\n","required":["via","places","result","bytes","truncated","reason"],"properties":{"via":{"type":"array","items":{"type":"string","enum":["instructions_block","placeholder","seed"],"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.via.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"How the agent got it: `instructions_block` (the result is in the prepared-data section of its instructions, as the conversation started), `placeholder` (a `{{before.\u003cstep>.\u003cfield>}}` you wrote got its value, see `places`), `seed` (the step results every workflow conversation starts with, in the agent's starting context). Empty when the agent was not given it.\n","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.via","typeLabel":"enum\u003cstring>[]"},"places":{"type":"array","description":"Each `{{before.\u003cstep>.\u003cfield>}}` reference to this step in text the agent read: its global instructions (`global`), a conversation step's instructions (`step:\u003cnode id>`) or the opening line (`greeting`). `step:\u003cnode id>` places are listed for the steps the document lets the agent reach: every step in a flexible document, only the steps the conversation reached in a strict one.\n","items":{"type":"object","required":["where","token","filled"],"properties":{"where":{"type":"string","description":"`global`, `step:\u003cnode id>` or `greeting`.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].where","typeLabel":"string"},"token":{"oneOf":[{"type":"string","description":"The reference as written, e.g. `{{before.today.busy|none}}`.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].token.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reference as written, e.g. `{{before.today.busy|none}}`.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].token.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].token","typeLabel":"string | null"},"filled":{"oneOf":[{"type":"boolean","description":"True when it got the step's value; false when its fallback (or nothing) was used.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].filled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when it got the step's value; false when its fallback (or nothing) was used.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].filled.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX].filled","typeLabel":"boolean | null"}},"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.places","typeLabel":"object[]"},"result":{"oneOf":[{"description":"The result as the agent's instructions carry it: credentials, diagnostics and private references left out, long values cut to fit (16 KB at most). Present also when the instructions did not carry it (`reason`), so you can see what the agent missed. Null when the step had no result.\n","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.result.oneOf.0","typeLabel":"any"},{"description":"The result as the agent's instructions carry it: credentials, diagnostics and private references left out, long values cut to fit (16 KB at most). Present also when the instructions did not carry it (`reason`), so you can see what the agent missed. Null when the step had no result.\n","type":"null","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.result.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.result","typeLabel":"any | null"},"bytes":{"type":"integer","description":"Bytes of the result the instructions placed; 0 when they placed none.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.bytes","typeLabel":"integer"},"truncated":{"type":"boolean","description":"True when the agent saw a value that was cut to fit.","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.truncated","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","description":"Why the instructions did not carry the result, null when they did: `no_result_released` (the step gave no result, or an empty one), `budget` (the prepared-data section is limited to 32 KB and this step's result did not fit), `not_in_instructions`, the step's own failure code (`http_timeout`), or a code for a result that cannot be shown (`evidence_format_unsupported`).\n","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the instructions did not carry the result, null when they did: `no_result_released` (the step gave no result, or an empty one), `budget` (the prepared-data section is limited to 32 KB and this step's result did not fit), `not_in_instructions`, the step's own failure code (`http_timeout`), or a code for a result that cannot be shown (`evidence_format_unsupported`).\n","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].given_to_agent.reason","typeLabel":"string | null"}},"uniqueKey":"tool_calls.items.[INDEX].given_to_agent","typeLabel":"object"},"masked":{"type":"array","items":{"type":"string","uniqueKey":"tool_calls.items.[INDEX].masked.items.[INDEX]","typeLabel":"string"},"description":"Where a value was replaced by `\"[REDACTED]\"`, as paths (`request.headers.Authorization`, `request.url.query.api_key`, `response.body.access_token`), at most 64. Present with `id`.\n","uniqueKey":"tool_calls.items.[INDEX].masked","typeLabel":"string[]"},"details_expired":{"type":"boolean","description":"True once the record is older than 90 days: `agent_asked`, `agent_was_told` and the record's request and response details are gone; the summary stays. Present with `id`.\n","uniqueKey":"tool_calls.items.[INDEX].details_expired","typeLabel":"boolean"},"destination_path_withheld":{"type":"boolean","enum":[true],"description":"Present (true) when `request.url` was cut to `scheme://host`: the key has neither `tools:read` nor `tools:update`, and a hook's path can be its credential. Absent when the URL is whole.\n","uniqueKey":"tool_calls.items.[INDEX].destination_path_withheld","typeLabel":"enum\u003cboolean>"},"node":{"oneOf":[{"type":"object","description":"Flow node identity. Set when `kind` is `tool_call` or `integration_call`; null for `webhook_tool`.","properties":{"id":{"type":"string","uniqueKey":"tool_calls.items.[INDEX].node.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"tool_calls.items.[INDEX].node.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["tool_call","integration_call"],"uniqueKey":"tool_calls.items.[INDEX].node.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tool_calls.items.[INDEX].node.oneOf.0","typeLabel":"object"},{"type":"null","description":"Flow node identity. Set when `kind` is `tool_call` or `integration_call`; null for `webhook_tool`.","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["tool_call","integration_call"]}},"uniqueKey":"tool_calls.items.[INDEX].node.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].node","typeLabel":"object | null"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","description":"Set when `kind` is `webhook_tool` or `tool_call`. References the tools table row.","uniqueKey":"tool_calls.items.[INDEX].tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Set when `kind` is `webhook_tool` or `tool_call`. References the tools table row.","uniqueKey":"tool_calls.items.[INDEX].tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].tool_id","typeLabel":"string\u003cuuid> | null"},"provider":{"oneOf":[{"type":"string","description":"Set when `kind=integration_call` (e.g. `google_calendar`).","uniqueKey":"tool_calls.items.[INDEX].provider.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when `kind=integration_call` (e.g. `google_calendar`).","uniqueKey":"tool_calls.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].provider","typeLabel":"string | null"},"action":{"oneOf":[{"type":"string","description":"Set when `kind=integration_call` (e.g. `create_event`).","uniqueKey":"tool_calls.items.[INDEX].action.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when `kind=integration_call` (e.g. `create_event`).","uniqueKey":"tool_calls.items.[INDEX].action.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].action","typeLabel":"string | null"},"integration_id":{"oneOf":[{"type":"string","format":"uuid","description":"Set when `kind=integration_call`. Connected credential used for this fire.","uniqueKey":"tool_calls.items.[INDEX].integration_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Set when `kind=integration_call`. Connected credential used for this fire.","uniqueKey":"tool_calls.items.[INDEX].integration_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].integration_id","typeLabel":"string\u003cuuid> | null"},"arg_sources":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","enum":["literal","ai_extract"],"uniqueKey":"tool_calls.items.[INDEX].arg_sources.oneOf.0.additionalProperties","typeLabel":"enum\u003cstring>"},"description":"Per-arg provenance map. Set for flow-mode rows; null for `webhook_tool`.","uniqueKey":"tool_calls.items.[INDEX].arg_sources.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","enum":["literal","ai_extract"],"uniqueKey":"tool_calls.items.[INDEX].arg_sources.oneOf.1.additionalProperties","typeLabel":"enum\u003cstring>"},"description":"Per-arg provenance map. Set for flow-mode rows; null for `webhook_tool`.","uniqueKey":"tool_calls.items.[INDEX].arg_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].arg_sources","typeLabel":"object | null"},"request":{"type":"object","required":["body"],"properties":{"body":{"oneOf":[{"description":"Rendered request body / args dict sent to the tool or integration. With a full record (`id`): the body exactly as sent (16 KB at most).","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].request.body.oneOf.0","typeLabel":"any"},{"description":"Rendered request body / args dict sent to the tool or integration. With a full record (`id`): the body exactly as sent (16 KB at most).","type":"null","isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].request.body.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tool_calls.items.[INDEX].request.body","typeLabel":"any | null"},"method":{"oneOf":[{"type":"string","description":"Set only when `kind=webhook_tool`.","uniqueKey":"tool_calls.items.[INDEX].request.method.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set only when `kind=webhook_tool`.","uniqueKey":"tool_calls.items.[INDEX].request.method.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].request.method","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","description":"Set when `kind=webhook_tool`, and on every tool call with a full record (`id`) that sent one. `scheme://host` alone for a key without `tools:read` or `tools:update` (`destination_path_withheld`).","uniqueKey":"tool_calls.items.[INDEX].request.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when `kind=webhook_tool`, and on every tool call with a full record (`id`) that sent one. `scheme://host` alone for a key without `tools:read` or `tools:update` (`destination_path_withheld`).","uniqueKey":"tool_calls.items.[INDEX].request.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].request.url","typeLabel":"string | null"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"tool_calls.items.[INDEX].request.headers.additionalProperties","typeLabel":"string"},"description":"Set only when `kind=webhook_tool`, and on every tool call with a full record (`id`): every header sent. Auth-related keys (Authorization, tokens, API keys) are redacted as `[REDACTED]`.","uniqueKey":"tool_calls.items.[INDEX].request.headers","typeLabel":"object"},"target":{"oneOf":[{"type":"string","description":"With a full record, when there is no URL to show: a connected app's `App · Action` (`Google Calendar · Find event`) or a transfer's destination.","uniqueKey":"tool_calls.items.[INDEX].request.target.oneOf.0","typeLabel":"string"},{"type":"null","description":"With a full record, when there is no URL to show: a connected app's `App · Action` (`Google Calendar · Find event`) or a transfer's destination.","uniqueKey":"tool_calls.items.[INDEX].request.target.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].request.target","typeLabel":"string | null"},"body_format":{"type":"string","enum":["json","text","empty","binary"],"description":"With a full record: `json` when `body` is JSON; `text` when it is not, or was cut.","uniqueKey":"tool_calls.items.[INDEX].request.body_format","typeLabel":"enum\u003cstring>"},"body_bytes":{"oneOf":[{"type":"integer","description":"With a full record: the body's full size in bytes, also when it was cut.","uniqueKey":"tool_calls.items.[INDEX].request.body_bytes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"With a full record: the body's full size in bytes, also when it was cut.","uniqueKey":"tool_calls.items.[INDEX].request.body_bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].request.body_bytes","typeLabel":"integer | null"},"truncated":{"type":"boolean","description":"With a full record: true when `body` is only the first 16 KB.","uniqueKey":"tool_calls.items.[INDEX].request.truncated","typeLabel":"boolean"}},"uniqueKey":"tool_calls.items.[INDEX].request","typeLabel":"object"},"response":{"oneOf":[{"type":"object","properties":{"success":{"oneOf":[{"type":"boolean","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.success.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.success.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.success","typeLabel":"boolean | null"},"response_preview":{"oneOf":[{"type":"string","description":"JSON-stringified result the LLM saw, truncated to ~50KB.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.response_preview.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-stringified result the LLM saw, truncated to ~50KB.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.response_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.response_preview","typeLabel":"string | null"},"raw_response_preview":{"oneOf":[{"type":"string","description":"Provider's untouched payload, present only when the LLM-facing sanitized view differs from the raw API response (e.g. Google Calendar dateTime stripping). Useful for audit.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.raw_response_preview.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider's untouched payload, present only when the LLM-facing sanitized view differs from the raw API response (e.g. Google Calendar dateTime stripping). Useful for audit.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.raw_response_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.raw_response_preview","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.error","typeLabel":"string | null"},"duration_ms":{"oneOf":[{"type":"integer","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.duration_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.duration_ms","typeLabel":"integer | null"},"status":{"oneOf":[{"type":"integer","description":"With a full record: the HTTP status the endpoint answered with; null when nothing answered.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"With a full record: the HTTP status the endpoint answered with; null when nothing answered.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.status","typeLabel":"integer | null"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.headers.additionalProperties","typeLabel":"string"},"description":"With a full record: every header of the answer; `Set-Cookie` and anything that looks like a credential is `[REDACTED]`.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.headers","typeLabel":"object"},"body":{"oneOf":[{"description":"With a full record: what the endpoint answered (16 KB at most), also when it refused or did not answer JSON.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body.oneOf.0","typeLabel":"any"},{"description":"With a full record: what the endpoint answered (16 KB at most), also when it refused or did not answer JSON.","type":"null","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body","typeLabel":"any | null"},"body_format":{"type":"string","enum":["json","text","empty","binary"],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body_format","typeLabel":"enum\u003cstring>"},"body_bytes":{"oneOf":[{"type":"integer","description":"The answer's full size in bytes; null when nothing came back.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body_bytes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The answer's full size in bytes; null when nothing came back.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body_bytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.body_bytes","typeLabel":"integer | null"},"truncated":{"type":"boolean","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.truncated","typeLabel":"boolean"},"timed_out":{"type":"boolean","description":"With a full record: true when no answer came in time.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.timed_out","typeLabel":"boolean"},"error_code":{"oneOf":[{"type":"string","description":"With a full record: the code for what went wrong, from the `error_code` list of `GET /deliveries` (for example `downstream_http_error`, `http_timeout`, `http_network_error`, `invalid_json_response`). Null when it worked.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.error_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"With a full record: the code for what went wrong, from the `error_code` list of `GET /deliveries` (for example `downstream_http_error`, `http_timeout`, `http_network_error`, `invalid_json_response`). Null when it worked.","uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0.error_code","typeLabel":"string | null"}},"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"success":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"response_preview":{"oneOf":[{"type":"string","description":"JSON-stringified result the LLM saw, truncated to ~50KB."},{"type":"null","description":"JSON-stringified result the LLM saw, truncated to ~50KB."}]},"raw_response_preview":{"oneOf":[{"type":"string","description":"Provider's untouched payload, present only when the LLM-facing sanitized view differs from the raw API response (e.g. Google Calendar dateTime stripping). Useful for audit."},{"type":"null","description":"Provider's untouched payload, present only when the LLM-facing sanitized view differs from the raw API response (e.g. Google Calendar dateTime stripping). Useful for audit."}]},"error":{"oneOf":[{"type":"string"},{"type":"null"}]},"duration_ms":{"oneOf":[{"type":"integer"},{"type":"null"}]},"status":{"oneOf":[{"type":"integer","description":"With a full record: the HTTP status the endpoint answered with; null when nothing answered."},{"type":"null","description":"With a full record: the HTTP status the endpoint answered with; null when nothing answered."}]},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"With a full record: every header of the answer; `Set-Cookie` and anything that looks like a credential is `[REDACTED]`."},"body":{"oneOf":[{"description":"With a full record: what the endpoint answered (16 KB at most), also when it refused or did not answer JSON."},{"description":"With a full record: what the endpoint answered (16 KB at most), also when it refused or did not answer JSON.","type":"null"}]},"body_format":{"type":"string","enum":["json","text","empty","binary"]},"body_bytes":{"oneOf":[{"type":"integer","description":"The answer's full size in bytes; null when nothing came back."},{"type":"null","description":"The answer's full size in bytes; null when nothing came back."}]},"truncated":{"type":"boolean"},"timed_out":{"type":"boolean","description":"With a full record: true when no answer came in time."},"error_code":{"oneOf":[{"type":"string","description":"With a full record: the code for what went wrong, from the `error_code` list of `GET /deliveries` (for example `downstream_http_error`, `http_timeout`, `http_network_error`, `invalid_json_response`). Null when it worked."},{"type":"null","description":"With a full record: the code for what went wrong, from the `error_code` list of `GET /deliveries` (for example `downstream_http_error`, `http_timeout`, `http_network_error`, `invalid_json_response`). Null when it worked."}]}},"uniqueKey":"tool_calls.items.[INDEX].response.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_calls.items.[INDEX].response","typeLabel":"object | null"}},"uniqueKey":"tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tool_calls","typeLabel":"object[]"},"events":{"type":"array","description":"Full ordered event stream for the call. Low-level — for flow agents prefer\n`flow_trace` (below). Auth headers in `tool_called` events are redacted.\n\n**Superseded by `timeline` (below)**, and the rawest of these members: everything a\ntool sent and received, and the engine's own error text, is here as it was recorded.\nKept for existing integrations.\n","items":{"type":"object","description":"A single event from a call's lifecycle, returned in the `events[]` array of `GET /calls/{id}`.\nEvents are ordered by `timestamp` ascending. Use these for granular timing analysis and — for\nflow agents — reconstructing the decision path through the graph.\n","required":["type","timestamp","data"],"properties":{"type":{"type":"string","enum":["call_initiated","websocket_connected","webrtc_connected","llm_started","llm_response_started","llm_response_ended","tool_called","tool_response","transcription_user","transcription_agent","call_ended","call_ended_idle","call_ended_max_duration","error","stall_recovery","transfer_started","transfer_answered","transfer_failed","flow_started","flow_node_entered","flow_eval_decision","flow_tool_result","flow_start_advance_degraded","call_ended_continuous_speech"],"description":"Event type. Standard call lifecycle events fire on every call.\n\n- `call_ended` — the call finished, and this is the last event on it. `data`:\n `{end_reason, barge_ins, barge_ins_within_250ms_of_bot_audio_onset}`.\n `end_reason` says what ended it — `pipeline_finished` (the ordinary end),\n `caller_idle_timeout`, `continuous_speech_detected`, `max_duration_exceeded`,\n `transferred`, `farewell_without_end_tool`, `operator_ended` (an operator\n ended a call that was found stuck), or a short failure reason.\n `barge_ins` counts the times the caller spoke over the agent while it was\n actually talking and stopped it mid-sentence. It is one per agent utterance\n that was cut into, however many times the call's detectors announced the same\n intrusion, and a caller who waits for the agent to finish before answering is\n not counted at all — so `0` on a call with plenty of conversation means the\n agent was never talked over, not that barge-in was off.\n `barge_ins_within_250ms_of_bot_audio_onset` is the subset of those that landed\n in the first quarter-second of the agent's own audio. On a phone line with no\n echo cancellation a stop that early is more likely to be the agent hearing\n itself than a caller cutting in, so a high share of the total is a signal to\n look at the line rather than at the caller. Both are counts and never negative.\n Calls placed before 2026-09-16 carry neither key.\n It also carries timing numbers in milliseconds, measured on the voice server\n (a close estimate of what the caller heard, not an exact figure):\n `turn_gap_ms_p50`, `turn_gap_ms_p90` and `turn_gap_ms_max` are the gap between\n the caller finishing a sentence and the agent's first audible sound, over\n `turn_gap_ms_n` replies (at most 64); a call where the agent never replied\n carries none of them. `first_audio_ms` is the time from the call's pipeline\n starting to the agent first being heard (`null` if never). `tool_wait_ms_sum`\n and `tool_wait_ms_max` are the total and longest wait on tools (`0` without\n tool calls). `host_cpu_stall_ms`, `loop_lag_p99_ms`, `loop_lag_max_ms` and\n `mean_concurrency` describe the whole voice server while the call ran (processor\n wait, scheduler lateness, calls running at once), shared by every call at the\n same time; the first three are `null` when not measurable.\n `resolve_bot_workflow_ms`, `workflow_session_start_ms`, `prompt_build_ms`,\n `claim_media_admission_ms` and `record_media_receipt_ms` are the time spent on\n named steps before the call started (the last two on browser calls only; the\n workflow ones on workflow agents). `residual_wait_ms` (phone calls) is how long\n the agent still waited for its voice connection once everything else was ready.\n `smart_turn_predict_count`, `smart_turn_predict_wall_ms` and `smart_turn_cpu_ms`\n appear where the end-of-turn decision runs on the server: decisions made, their\n total duration, and the server processor time spent meanwhile (server-wide).\n Keys that do not apply to a call are absent. Calls placed before 2026-10-04 carry\n none of these.\n Four more describe silences: `longest_agent_silence_ms` is the longest stretch,\n after the agent first spoke, with nothing audible from it (to the end of the call\n if it never spoke again); `longest_dead_air_ms` is the longest stretch with neither\n the agent nor the caller audible, after either was first heard; `socket_drops` counts\n the times the agent's connection to its voice model failed (and the agent tried to\n rebuild it) during the call (a planned reconnect, such as the voice model's own\n scheduled session rotation or a fresh session the platform asked for, is not\n counted);\n `recovery_fired` counts the times the agent was prompted to speak because it owed\n the caller an answer and stayed quiet (for example after such a drop).\n \"Audible\" means at speech level, so a line carrying only faint sound counts as\n silent. Calls placed before 2026-10-21 carry none of these four, and the\n `turn_gap_ms_*` keys before then could count faint sound as the agent's reply.\n- `call_ended_continuous_speech` — the call was ended because the other side\n talked without a pause for longer than the agent's continuous-speech limit\n (usually an answering machine or a recording). `data`:\n `{reason, max_continuous_speech_secs}`. `call_ended` follows with `end_reason`\n `continuous_speech_detected`.\n- `flow_start_advance_degraded` — on a flow agent, the first step's instructions\n could not be delivered to the agent's voice session when the call moved off the\n start step, so the agent may have answered the first turn without them. `data`:\n `{step_id, seam, reason}`.\n- `stall_recovery` — the agent fell silent mid-turn and was nudged back\n into the conversation. `data`: `{timeout_s, recovery_count}`. Only logged\n once the nudge has provably reached the live session, so each event is a\n recovery that actually happened.\n- `transfer_started` — a transfer was accepted and the caller was handed off.\n `data`: `{destination, source, command_id, ...}`. `destination` is the\n E.164 number dialled, or, for a hand-off to a SIP address, that address\n without any credentials (on an extension call, the extension), with\n `method` set to `\"sip_refer\"` (`\"extension_dialback\"` on an extension\n call); `source` is `\"prompt_tool\"` | `\"flow_node\"` | `\"workflow\"`;\n `command_id` is the idempotency key for the handoff. The originating\n context is merged in: `tool_name` for prompt agents, `from_flow_node` for\n flow agents. Accepted is not answered — the destination can still be busy\n or not pick up, in which case the call ends shortly after with no\n conversation on the other end. For a SIP-address destination this is\n different: on a SIP REFER hand-off the event is recorded only once your\n phone system confirms it took the call over, together with\n `transfer_answered`, and a request your phone system refuses or never\n answers records `transfer_failed` instead. On an extension call (a\n dial-back, below) it is recorded when the carrier accepts the request,\n before anyone has answered.\n- `transfer_answered` — the transfer reached the other side. `data`:\n `{destination, source, ...}`; for a SIP-address destination `method`\n is `\"sip_refer\"` and this event means your phone system accepted the\n hand-off.\n- On a call that arrived over an\n [extension endpoint](/concepts/sip-trunks#register-as-an-extension), a\n transfer is a new call placed through your extension: `transfer_started`\n carries `method` `\"extension_dialback\"` once the carrier has accepted the\n request. No SIP REFER is sent. From then on the agent is out of the call,\n as in a transfer to a phone number, and Yappr stays on it until one side\n hangs up. If the new call is rejected or not answered within about 25\n seconds, `transfer_failed` records `NOT_CONNECTED` (the disconnect\n reason says why: \"Transfer rejected\", \"Transfer destination busy\",\n \"Transfer destination unreachable\" or \"Transfer not answered\", and the\n default \"Transfer failed\" when the carrier gives no reason) and the\n call **ends**: the caller is not handed back to the\n agent. If nothing has connected about 85 seconds after the request, Yappr\n ends the call too (\"Transfer never connected\"). Only a request the carrier\n refuses outright keeps the caller with the agent.\n- On an extension call whose transfer uses a transfer code (the one set on the\n extension endpoint, `register.pbx_feature_code`, or the transfer's own with\n `transfer_method` `\"pbx_feature_code\"`), Yappr first sends your phone system the\n code as key presses. Nothing is recorded when the code is sent. When your phone\n system then ends Yappr's leg within about 12 seconds, that is the hand-off:\n `transfer_started` with `method` `\"pbx_feature_code\"` is recorded at that\n moment, the call ends there and is marked transferred, no transfer minutes\n are billed, and no `transfer_answered` is recorded (Yappr can't see whether\n the person answered). Otherwise the attempt ends in exactly one of these:\n - The leg is still up after the wait: Yappr places the dial-back above,\n which records the only `transfer_started`, with `method`\n `\"extension_dialback\"` and `fallback_from` `\"pbx_feature_code\"`.\n - The leg ends in a way that can't be your phone system taking the call\n (sooner than the key presses take to play, after the carrier refused\n them, or ended from Yappr's side): an ordinary end of the call, with\n `transfer_failed` `CALL_ENDED` (`method` `\"pbx_feature_code\"`) and no\n `transfer_started`. A caller who hangs up later in the wait can't be\n told apart from the hand-off and is recorded as transferred.\n - The agent's session ends during the wait and nothing takes the call:\n Yappr hangs up and records `transfer_failed` `FEATURE_CODE_NOT_TAKEN`\n with no `transfer_started`; the call is `completed` with the\n `disconnect_reason` \"Transfer failed\".\n With a hang-up time (`pbx_feature_code_hangup_after_secs`, on the endpoint or\n the transfer: a code that starts an attended transfer), your phone system does\n not end Yappr's leg: Yappr hangs up that\n many seconds after the code, and that hang-up is the hand-off, recorded\n exactly as above (`transfer_started` with `method` `\"pbx_feature_code\"`,\n the call marked transferred, no transfer minutes). There is no dial-back. A\n leg that ends before Yappr hangs up is read as above. If the end of the leg\n is not reported after Yappr's hang-up (a late carrier event, or a hang-up\n command that failed even when sent twice), Yappr hangs up once more and\n still records the hand-off, ending the call at its first hang-up: an\n attended code never records `FEATURE_CODE_NOT_TAKEN`.\n- `transfer_failed` — a transfer was requested but never started, and the\n caller stays with the agent (except `REFER_FAILED`, `REFER_NO_RESULT` and\n `FEATURE_CODE_NOT_TAKEN`, where the call ends, and `NOT_CONNECTED`, below). `data`: `{error_code, destination, source, ...}`,\n with the same originating context as above. `error_code` is one of\n `NO_DESTINATION`, `INVALID_DESTINATION`, `NO_TELEPHONY_LEG`, `NO_API_KEY`,\n `ALREADY_TRANSFERRING`, `CALL_ENDED`, `CARRIER_REJECTED`,\n `CARRIER_UNREACHABLE`, `UNAVAILABLE_ON_SIP_TRUNK`,\n `REFER_ONLY_ON_SIP_TRUNK`, `REFER_FAILED`, `REFER_NO_RESULT`,\n `FEATURE_CODE_NOT_TAKEN` (a transfer code nobody took after the agent's\n session ended, above: the call ends).\n `UNAVAILABLE_ON_SIP_TRUNK`: the call came in over a\n [SIP trunk](/concepts/sip-trunks#transfers) or an\n [extension endpoint](/concepts/sip-trunks#register-as-an-extension) and the transfer destination\n is a phone number, which a trunk call can't dial, so nothing was\n dialled. Use a SIP address as the destination instead.\n `REFER_ONLY_ON_SIP_TRUNK`: the destination is a SIP address but the call\n did not arrive over a SIP trunk or an extension endpoint, and the agent\n keeps helping the caller.\n `REFER_FAILED`: your phone system reported that it could not place the\n new call (busy, not found or declined). `REFER_NO_RESULT`: nothing came\n back in time, because your phone system refused or ignored the request\n or the new call was not answered within about nine seconds. After\n `REFER_FAILED` and `REFER_NO_RESULT` the call ends: the request had\n already been sent to your phone system, and Yappr cannot take the caller\n back. A call that ends this way is `completed` with no `transferred_at`,\n and its `disconnect_reason` reads \"Transfer refused by the phone system\"\n (`REFER_FAILED`) or \"Transfer failed\" (`REFER_NO_RESULT`). This is the\n only per-call record of a soft transfer failure.\n\n One further `error_code`, `NOT_CONNECTED`, is reported later rather than at\n request time: the handoff was accepted by the carrier but the destination\n never answered — busy, rejected, or rang out. Its `data` carries\n `hangup_cause` and `transferred_at` as well, and `source` is\n `\"carrier_webhook\"`. A call can therefore emit `transfer_started` and then\n `transfer_failed`; that pair means the caller was handed off and nobody\n picked up.\n\n`flow_*` events fire only on flow agents (`agent.type='flow'`):\n\n- `flow_started` — flow controller began. `data`: `{agent_id, first_step_id, agent_speaks_first}`\n- `flow_node_entered` — a node was entered. `data`: `{step_id, type, name, reason}`\n The `reason` string explains routing (e.g. \"tool success\", \"tool custom: Already booked\",\n \"eval: agreed_to_demo\", \"tool error: HTTP 500: ...\").\n- `flow_eval_decision` — the model picked a transition for a conversation node.\n `data`: `{step_id, decision, valid, target_step_id, reason, reasoning, turn_id}`.\n `step_id` — node the decision was made FROM.\n `decision` — the transition id picked (or `\"stay\"`).\n `valid` — boolean; whether the picked transition was accepted.\n `target_step_id` — destination step id when `valid` is true; null otherwise.\n `reason` — short status/error explanation (e.g. why the pick was rejected).\n `reasoning` — the model's short justification for the pick.\n `turn_id` — monotonic counter for the conversation turn the decision ran on.\n- `flow_tool_result` — a tool_call node finished (or an integration_call node: the native\n Google Calendar/Gmail step, on an agent that still has one during its 30-day notice\n period, or on calls placed before the retirement). `data`: `{step_id,\n kind, status, tool_name, tool_id, provider, integration_id, action, args, arg_sources,\n response_preview, raw_response_preview, error, duration_ms}`. `kind` is `\"tool_call\"` |\n `\"integration_call\"`. `status` is `\"success\"` | `\"error\"`.\n `response_preview` is the JSON-stringified result the LLM saw (truncated to 50KB).\n `raw_response_preview` is present when the provider did server-side post-processing\n for the LLM (currently: Google Calendar wall-clock conversion); it carries the\n untouched provider response for audit. Null when `result` and `raw` are identical.\n","isRequired":true,"uniqueKey":"events.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"events.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"data":{"type":"object","description":"Event-specific payload. Shape depends on `type`.\n\nAuth-related headers in `tool_called` events are redacted as `[REDACTED]`.\n\n`tool_called`, `tool_response` and `flow_tool_result` carry `exchange_id` when the tool\ncall has a full record: it matches `tool_calls[].id` and the timeline row's `exchange_id`.\n\nPayloads carry call facts only. Platform implementation details — the\nprovider's own model and voice identifiers, and telephony\ncarrier handles — are not exposed and may change at any time without\nnotice. `llm_started.voice` is reported as the same friendly voice\nname used by the Agent resource, never an internal identifier. The\nmodel an agent is set to is on the Agent resource (`model`, `resolved_model`).\n","isRequired":true,"uniqueKey":"events.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"events.items.[INDEX]","typeLabel":"object"},"uniqueKey":"events","typeLabel":"object[]"},"timeline":{"type":"array","description":"**What happened on the call, as one time-ordered list.** The same rows the call log\nshows in the dashboard, read from the same place, so an agent building on this API\nand a person reading the screen never see two different accounts of one call.\n\nEvery row carries `kind` and `at`; the rest of its fields depend on the kind:\n\n- `call` — the call's own moments, as `event`: `placed` (dialled, arrived, or its browser\n session opened - `started_at`), `answered` (its audio came up - `answered_at`;\n absent on a call that never got that far) and `ended` (`ended_at`; absent while the\n call is going on). Each row's `at` is its field's value. The gap between the first\n two is ringing.\n- `message` — a transcript turn: `role`, `text`, `offset_ms` (ms from when the call was\n answered). `at` is `answered_at` + `offset_ms`.\n- `phase` — a stage of the call: `lane` (`before` / `during`), `scope`, `status`, and, when it\n did not work out, `error` (a sentence) and `code` (`cancelled`, `expired`, `declined`,\n `inputs_invalid` or `did_not_finish`; null otherwise). A call that completed, or was\n handed to a person (`transferred`), reads its `during` stage `succeeded`, whoever ended\n it: a failed `during` stage goes with a failure. A `before` stage can stay `failed` on a\n call that still connected, when the agent is set to carry on without what it could not\n get. A call that failed gets one row for the failure itself — `scope: \"call\"`,\n `status: \"failed\"`, carrying the same sentence as `failure.reason` and `failure.code`\n as its `code` — unless the call's own stages already report the failure, in which\n case those rows are the account of it and none is added.\n- `transition` — the conversation moving: `from_node` / `from_label`, `to_node` / `to_label`,\n the `edge_id` and `edge_condition` of the route that fired, `edge_scope`\n (`direct`, or `global` for a route reachable from anywhere), and `strict` —\n `true` when the row comes from the authoritative stage cursor the agent's\n conversation holds, `false` when it is the agent's own record of the stage it\n entered. An agent whose conversation has no stages produces no `transition` rows;\n `edge_condition` is only ever set on a `strict` row.\n- `tool` — one tool invocation, typed by `tool_type`. Every agent's tools are here,\n however the agent is built — a staged conversation's invocations and a\n single-prompt agent's own webhook, transfer and end-of-call records read back in\n the same shape:\n `http` adds `method`, `url_host` (the host only), `request_bytes`, `response_status`;\n `app` adds `app`, `action` and `connection_label`;\n `transfer` adds `destination`;\n `end` adds `reason` and `ended_by`.\n All of them carry `name`, `step_id`, `lane` (the stage the step ran in: `before`,\n `during`, or `after` for a follow-up once the call ended), `status`, `duration_ms`,\n `attempt_count` and, when something went wrong, `error` — one sentence — plus `failure`, the\n stable code behind that sentence: `failure.code` is one of `tool_timeout`,\n `tool_unreachable`, `tool_rejected`, `transfer_failed` or `tool_failed`, and a\n `tool_timeout` also carries `failure.limit_seconds`, the limit the tool ran past.\n A tool that timed out keeps `status: \"pending\"` on purpose — nothing answered, so\n whether the action happened is unknown and may need reconciling — and `failure`\n is how you tell that apart from a step still running. A row nothing went wrong\n with has no `failure` member at all.\n A follow-up step whose inputs are read from the call by description also carries\n `reads`: one entry per such input - `input`, `instruction` (the author's own\n description) and `outcome` (`read`, `fallback` when the call did not say it and the\n author's fixed value was sent, or `missing`). The value is not in the timeline; what\n the step sent is in `tool_calls[]`.\n- `skipped` — a follow-up step that did not run because the call did not give it a value\n it reads by description: `lane` (`after`), `scope`, `step_id`, `name`, `reason`\n (`extraction_missing`, or `dependency_skipped` when a step it depends on was skipped)\n and `reads`. Nothing was sent, and a skipped step is not a failure.\n- `trigger` — an after-call follow-up the workspace authored: the `event` that opened it,\n its `steps`, its `status`.\n- `delivery` — one row of the webhook delivery ledger: `id` (the same id\n `GET /deliveries` lists), `tool_id`, `agent_id`, `event`, `status`,\n `response_status`, `attempt_count`, `error_message`, `delivered_at` (null unless it\n was delivered), `tool_name`, and `retry_of` / `retried_by` linking a retry and the\n delivery it re-sent.\n\n**`status` is one of three words** on every row that has one — `succeeded`,\n`failed`, or `pending` (it has not settled yet) — except a `delivery`, which\ncarries the ledger's own `delivered`, `failed`, `pending` or `unknown` (no answer\ncame in time, so your endpoint may have acted; check there). A row may have no\n`status` at all when the agent's own record of the step never came back. Branch\non those values and, on a `tool` row, on `failure.code`; `error` is a sentence for\na person to read, not to match on.\n\n**Summaries only.** A URL's path and query, request headers, credentials, the account\nbehind a connected app, and raw request or response bodies are never returned in\nthese rows. (The older `tool_calls` and `events` members above still return them, with\nauth headers redacted; that is what they are for, and why they are superseded.)\nFull request/response: `tool_calls[]`, joined by a `tool` row's `exchange_id`.\nOmitted if the call's timeline is momentarily unavailable.\n","items":{"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string","enum":["call","message","phase","transition","tool","trigger","delivery","skipped"],"isRequired":true,"uniqueKey":"timeline.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"at":{"type":"string","format":"date-time","description":"ISO 8601 in UTC, written with +00:00, like every timestamp on the call.","isRequired":true,"uniqueKey":"timeline.items.[INDEX].at","typeLabel":"string\u003cdate-time>"},"event":{"type":"string","description":"On a call row: placed, answered or ended - requested in place of placed on a call that ended without being answered. On a trigger or delivery row: the event it ran on.","uniqueKey":"timeline.items.[INDEX].event","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"On a phase row: why it did not work out (cancelled, expired, declined, inputs_invalid, did_not_finish; the failure's code on the call's own failure row), null when it did.","uniqueKey":"timeline.items.[INDEX].code.oneOf.0","typeLabel":"string"},{"type":"null","description":"On a phase row: why it did not work out (cancelled, expired, declined, inputs_invalid, did_not_finish; the failure's code on the call's own failure row), null when it did.","uniqueKey":"timeline.items.[INDEX].code.oneOf.1","typeLabel":"null"}],"uniqueKey":"timeline.items.[INDEX].code","typeLabel":"string | null"},"error_code":{"type":"string","description":"On a tool or delivery row that did not work out: the code GET /deliveries gives the same failure, from its error_code list (for example downstream_http_error, http_timeout or http_network_error). A code added to that list reaches this field too; read one you do not know as delivery_failed. Absent on a row that worked or has not settled.","uniqueKey":"timeline.items.[INDEX].error_code","typeLabel":"string"},"exchange_id":{"type":"string","description":"On a tool row with a full record: its id, the matching `tool_calls[].id` (what was sent and got back). Absent otherwise.","uniqueKey":"timeline.items.[INDEX].exchange_id","typeLabel":"string"}},"required":["kind","at"],"uniqueKey":"timeline.items.[INDEX]","typeLabel":"object"},"uniqueKey":"timeline","typeLabel":"object[]"},"ab_variant":{"oneOf":[{"type":"string","enum":["a","b"],"description":"Which side of the number's A/B split ran this call. Present only on a number that is actually running a split.","uniqueKey":"ab_variant.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["a","b"],"description":"Which side of the number's A/B split ran this call. Present only on a number that is actually running a split.","uniqueKey":"ab_variant.oneOf.1","typeLabel":"null"}],"uniqueKey":"ab_variant","typeLabel":"enum\u003cstring> | null"},"ab_variant_fallback":{"type":"boolean","description":"True when the split picked B but the call went to A anyway, because B could not take it. Present only alongside `ab_variant`.","uniqueKey":"ab_variant_fallback","typeLabel":"boolean"},"failure":{"type":"object","description":"Why the call did not complete. Present only on a call whose status is failed or no_answer; a call that completed has no failure member at all, so check for the member rather than for a value inside it. A call ended on purpose from outside it (ended_by operator) has none either.\n","required":["code","reason","stage","at"],"properties":{"code":{"type":"string","enum":["no_answer","busy","rejected","cancelled","unreachable","caller_left","network_blocked","voice_connection_failed","preparation_failed","voice_unavailable","call_interrupted","transfer_failed","session_expired","phone_system_refused","unknown"],"description":"`no_answer` nobody picked up · `busy` the number was busy · `rejected` refused at\nthe far end · `cancelled` cancelled before anyone answered (at stage `connecting`: a\nbrowser session ended with POST /calls/{id}/end or its cancel_url before such an end was recorded as\nthe operator's; those older calls read ended_by system) · `unreachable` the\nnumber could not be reached · `caller_left` a browser call the caller cancelled, closed,\nor navigated away from, before it connected (ended_by reads caller) · `network_blocked` a browser call\nwhose connection never came up, almost always a firewall on the caller's side ·\n`voice_connection_failed` a browser call the voice server did not answer: it refused\nto connect it ·\n`preparation_failed` a dashboard rehearsal whose before-call steps failed before any\nbrowser connected ·\n`voice_unavailable` the voice server did not answer: it timed out, was busy, could not\nstart the call, or answered a browser that had already stopped waiting (never\n`network_blocked` on a call made since that late answer is recorded; an older call\nrecorded only the browser's timeout and reads `network_blocked`) ·\n`call_interrupted` the call ended unexpectedly mid-conversation ·\n`transfer_failed` handed to another number that never picked up ·\n`session_expired` a minted browser session nobody connected to before its token\nexpired · `phone_system_refused` a call out through your own phone system\n(a `phone_system` number) that your phone system refused before it rang; the\nlead is not blocked for it · `unknown` it failed and nothing recorded why.\n","isRequired":true,"uniqueKey":"failure.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"One sentence for a person to read. Never an internal code; do not match on it.","isRequired":true,"uniqueKey":"failure.reason","typeLabel":"string"},"stage":{"oneOf":[{"type":"string","enum":["dialing","connecting","conversation"],"description":"Where in the call it went wrong. `null` when nothing recorded enough to say.","isRequired":true,"uniqueKey":"failure.stage.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["dialing","connecting","conversation"],"description":"Where in the call it went wrong. `null` when nothing recorded enough to say.","isRequired":true,"uniqueKey":"failure.stage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"failure.stage","typeLabel":"enum\u003cstring> | null"},"at":{"oneOf":[{"type":"string","format":"date-time","description":"When the failure was recorded - or, when nothing recorded a moment of its own, when the call ended (`ended_at`). `null` only while neither is known.","isRequired":true,"uniqueKey":"failure.at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the failure was recorded - or, when nothing recorded a moment of its own, when the call ended (`ended_at`). `null` only while neither is known.","isRequired":true,"uniqueKey":"failure.at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"failure.at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"failure","typeLabel":"object"},"analysis":{"type":"object","description":"Where the post-call analysis stands. Always present — this is how you tell a summary that is still coming from one that is never coming.\n","required":["status","reason","completed_at"],"properties":{"status":{"type":"string","enum":["pending","done","skipped","failed"],"description":"`pending` it is still coming — poll again (a workflow agent's call stays pending\nwhile a retry of its analysis is still due, even past ten minutes) · `done` it ran,\nand whatever it produced is on the call · `skipped` nothing is coming, and nothing\nis wrong · `failed` nothing is coming, and something is wrong.\n","isRequired":true,"uniqueKey":"analysis.status","typeLabel":"enum\u003cstring>"},"reason":{"oneOf":[{"type":"string","enum":["call_in_progress","awaiting_analysis","call_did_not_complete","call_too_short","no_transcript","analysis_failed","no_summary","analysis_unavailable"],"description":"`call_in_progress` the call has not ended yet, which includes a call handed to a\nhuman until that leg ends · `awaiting_analysis` the call\nended and the pass has not landed · `call_did_not_complete` the call failed or\nnobody answered, so there was nothing to read · `call_too_short` shorter than the\nthree-second minimum · `no_transcript` nobody said anything on it ·\n`analysis_failed` the pass ran and could not produce an answer · `no_summary` the\npass ran and came back without a summary on every attempt, so nothing it produced\nwas kept (a `done` call always has a summary) · `analysis_unavailable` the call is\nlong past the point where the pass should have landed and it never did.\n","isRequired":true,"uniqueKey":"analysis.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["call_in_progress","awaiting_analysis","call_did_not_complete","call_too_short","no_transcript","analysis_failed","no_summary","analysis_unavailable"],"description":"`call_in_progress` the call has not ended yet, which includes a call handed to a\nhuman until that leg ends · `awaiting_analysis` the call\nended and the pass has not landed · `call_did_not_complete` the call failed or\nnobody answered, so there was nothing to read · `call_too_short` shorter than the\nthree-second minimum · `no_transcript` nobody said anything on it ·\n`analysis_failed` the pass ran and could not produce an answer · `no_summary` the\npass ran and came back without a summary on every attempt, so nothing it produced\nwas kept (a `done` call always has a summary) · `analysis_unavailable` the call is\nlong past the point where the pass should have landed and it never did.\n","isRequired":true,"uniqueKey":"analysis.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"analysis.reason","typeLabel":"enum\u003cstring> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the pass finished, when the platform recorded the time; when the summary was written again later (after a repair of the call's transcript), when that happened. Null on a call analysed before this was recorded, and on every state derived from the call itself.\n","isRequired":true,"uniqueKey":"analysis.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the pass finished, when the platform recorded the time; when the summary was written again later (after a repair of the call's transcript), when that happened. Null on a call analysed before this was recorded, and on every state derived from the call itself.\n","isRequired":true,"uniqueKey":"analysis.completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"analysis.completed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"analysis","typeLabel":"object"},"follow_ups":{"type":"object","description":"Which of the agent's follow-ups did not run on this call, and why. Absent when there is nothing to explain, so check for the member rather than for a value inside it.\n","required":["state","groups"],"properties":{"state":{"type":"string","enum":["skipped","waiting"],"description":"`waiting` every group is still waiting for the result it runs on, and will run\nonce that result is ready - read the call again · `skipped` at least one group\nwill not run on this call.\n","isRequired":true,"uniqueKey":"follow_ups.state","typeLabel":"enum\u003cstring>"},"groups":{"type":"array","minItems":1,"items":{"type":"object","required":["reason","steps"],"properties":{"reason":{"type":"string","enum":["browser_test","no_workflow_run","artifact_pending","artifact_unavailable","artifact_late","condition_not_met"],"description":"`browser_test` a test call from the dashboard that ran without the workflow, so\nnone of its follow-ups ran · `no_workflow_run` any other call that ran without\nthe workflow · `artifact_pending` the result this follow-up runs on is still\nbeing produced · `artifact_unavailable` that result was never produced and\nnothing more is coming, so the follow-up will not run (the transcript was\nempty; a follow-up on analysis.ready reads this as soon as the call's\n`analysis` reads failed or skipped with a completed_at) · `artifact_late` the call's run\nclosed before that result arrived · `condition_not_met` the follow-up's \"Only if\"\n(`when` on its After trigger) did not hold for this call, so it ran nothing on\npurpose. Treat an unrecognised reason as `skipped`.\n","isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"steps":{"type":"array","items":{"type":"string","uniqueKey":"follow_ups.groups.items.[INDEX].steps.items.[INDEX]","typeLabel":"string"},"description":"The names of the steps that did not run, in the order the workflow lists them. For browser_test and no_workflow_run, every follow-up step the agent had published when the call started.","isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].steps","typeLabel":"string[]"},"event":{"type":"string","description":"The trigger's event, such as analysis.ready. Present on the artifact_* reasons and on condition_not_met.","uniqueKey":"follow_ups.groups.items.[INDEX].event","typeLabel":"string"},"trigger_id":{"type":"string","description":"The follow-up's id in the workflow document. Present on condition_not_met only.","uniqueKey":"follow_ups.groups.items.[INDEX].trigger_id","typeLabel":"string"},"seen":{"type":"array","description":"The call facts the condition read and the value the call had, in the call package's own paths\n(`/status`, `/ended_by`, `/duration_seconds`, `/disposition/label`, `/analysis/extracted_data/\u003cname>`).\nA fact the call does not have is left out. Present on condition_not_met only.\n","items":{"type":"object","required":["path","value"],"properties":{"path":{"type":"string","example":"/status","isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].seen.items.[INDEX].path","typeLabel":"string"},"value":{"oneOf":[{"type":"string","example":"completed","isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].seen.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","example":"completed","isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].seen.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","example":"completed","isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].seen.items.[INDEX].value.oneOf.2","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"follow_ups.groups.items.[INDEX].seen.items.[INDEX].value","typeLabel":"string | number | boolean"}},"uniqueKey":"follow_ups.groups.items.[INDEX].seen.items.[INDEX]","typeLabel":"object"},"uniqueKey":"follow_ups.groups.items.[INDEX].seen","typeLabel":"object[]"},"artifact":{"type":"string","description":"The result that event waits for, such as analysis. Present on the artifact_* reasons only.","uniqueKey":"follow_ups.groups.items.[INDEX].artifact","typeLabel":"string"}},"uniqueKey":"follow_ups.groups.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"follow_ups.groups","typeLabel":"object[]"}},"uniqueKey":"follow_ups","typeLabel":"object"},"flow_trace":{"oneOf":[{"type":"object","description":"**Present only on flow-agent calls** (`agent.type='flow'`). For prompt agents this field is omitted.\nStructured view of the call's path through the flow graph, built from the underlying `flow_*` events.\nFlow tool and integration results are also included in `tool_calls[]`, with `kind` set to\n`tool_call` or `integration_call`. The same results appear inline on each\n`flow_trace.steps[].tool_call` for graph-oriented investigation.\n","required":["started_at","steps"],"properties":{"started_at":{"type":"string","format":"date-time","description":"When the flow controller started for this call.","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.started_at","typeLabel":"string\u003cdate-time>"},"steps":{"type":"array","description":"Ordered list of node visits. Same step_id may appear multiple times if the flow loops back.","items":{"type":"object","description":"One node visit during a flow-agent call. Includes routing reason and any associated tool I/O or eval decisions.","required":["step_id","step_type","entered_at","eval_decisions"],"properties":{"step_id":{"type":"string","description":"Node id from flow_config.","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].step_id","typeLabel":"string"},"step_type":{"type":"string","enum":["start","conversation","tool_call","integration_call","transfer","end","unknown"],"description":"Node type. Drives which sibling fields are populated. `unknown` is reserved for events emitted by older runtimes that didn't tag node_kind. `integration_call` is historical only — the native calendar/mailbox step is retired and no new call produces it.","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].step_type","typeLabel":"enum\u003cstring>"},"entered_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].entered_at","typeLabel":"string\u003cdate-time>"},"eval_decisions":{"type":"array","description":"Eval-LLM decisions made while at this step. Empty for non-conversation nodes; can have multiple\nentries when the user took several turns before transitioning. The last entry's `decision` is what fired\n(`\"stay\"` decisions don't advance; the final non-`\"stay\"` decision moved to the next step).\n","items":{"type":"object","description":"One eval-LLM decision at a conversation node.","required":["decision","decided_at"],"properties":{"decision":{"type":"string","description":"Either a transition id (taken — flow advances) or `\"stay\"` (no transition; user takes another turn at this node).\n","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].decision","typeLabel":"string"},"decided_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].decided_at","typeLabel":"string\u003cdate-time>"},"turn_id":{"oneOf":[{"type":"integer","description":"Monotonic counter — same value as the conversation turn the eval was running on.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Monotonic counter — same value as the conversation turn the eval was running on.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].turn_id","typeLabel":"integer | null"},"reasoning":{"oneOf":[{"type":"string","description":"The eval LLM's short justification.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].reasoning.oneOf.0","typeLabel":"string"},{"type":"null","description":"The eval LLM's short justification.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX].reasoning","typeLabel":"string | null"}},"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].eval_decisions","typeLabel":"object[]"},"step_name":{"oneOf":[{"type":"string","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].step_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].step_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].step_name","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"Why this step was entered. Examples:\n`\"start\"` — flow began.\n`\"eval: \u003ctransition_label>\"` — the eval LLM picked this transition from a conversation node.\n`\"tool success\"` — fell through after no custom branch matched.\n`\"tool custom: \u003cbranch_label>\"` — a custom JSONPath branch matched.\n`\"tool error: \u003cerror_message>\"` — tool failed.\n","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why this step was entered. Examples:\n`\"start\"` — flow began.\n`\"eval: \u003ctransition_label>\"` — the eval LLM picked this transition from a conversation node.\n`\"tool success\"` — fell through after no custom branch matched.\n`\"tool custom: \u003cbranch_label>\"` — a custom JSONPath branch matched.\n`\"tool error: \u003cerror_message>\"` — tool failed.\n","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].reason","typeLabel":"string | null"},"tool_call":{"oneOf":[{"type":"object","description":"Present when `step_type` is `tool_call` or `integration_call`. Carries the actual args sent and response received, with `kind` discriminating the two.","required":["kind","tool_name","status"],"properties":{"kind":{"type":"string","enum":["tool_call","integration_call"],"description":"Discriminator. `tool_call` → webhook/system tool referenced by `tool_id`. `integration_call` is historical only: it identified the retired native calendar/mailbox step by `provider`+`action`+`integration_id`, and appears on calls placed before that step was retired.","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"tool_name":{"type":"string","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.tool_name","typeLabel":"string"},"status":{"type":"string","enum":["success","error"],"description":"Set by the dispatcher. Hard failures (timeout, redirect or other non-2xx status, missing tool) → error. Any 2xx → success, even with a soft-fail body.","isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.status","typeLabel":"enum\u003cstring>"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","description":"Set when `kind=tool_call`. Reference to the tools table row.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Set when `kind=tool_call`. Reference to the tools table row.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.tool_id","typeLabel":"string\u003cuuid> | null"},"provider":{"oneOf":[{"type":"string","description":"Set when `kind=integration_call`. e.g. `google_calendar`, `gmail`.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.provider.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when `kind=integration_call`. e.g. `google_calendar`, `gmail`.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.provider","typeLabel":"string | null"},"action":{"oneOf":[{"type":"string","description":"Set when `kind=integration_call`. e.g. `create_event`, `send_email`.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.action.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when `kind=integration_call`. e.g. `create_event`, `send_email`.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.action.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.action","typeLabel":"string | null"},"integration_id":{"oneOf":[{"type":"string","format":"uuid","description":"Set when `kind=integration_call`. Connected credential id used for this fire.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.integration_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Set when `kind=integration_call`. Connected credential id used for this fire.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.integration_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.integration_id","typeLabel":"string\u003cuuid> | null"},"args":{"oneOf":[{"type":"object","description":"The actual payload sent to the tool / integration. For tool_call steps the merge order is standard metadata, then static_parameters, then resolved extraction_parameters (later values win collisions); for integration_call steps this is the resolved args_template (literal / ai_extract values, with all {{node.arg}} and {{metadata.key}} tokens interpolated).","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.args.oneOf.0","typeLabel":"object"},{"type":"null","description":"The actual payload sent to the tool / integration. For tool_call steps the merge order is standard metadata, then static_parameters, then resolved extraction_parameters (later values win collisions); for integration_call steps this is the resolved args_template (literal / ai_extract values, with all {{node.arg}} and {{metadata.key}} tokens interpolated).","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.args.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.args","typeLabel":"object | null"},"arg_sources":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","enum":["literal","ai_extract"],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.arg_sources.oneOf.0.additionalProperties","typeLabel":"enum\u003cstring>"},"description":"Per-arg provenance map: which mode each arg came from. `literal` includes both plain literals and template-interpolated literals (i.e. `{{check.start_time}}`-style cross-node tokens). Null for prompt-mode webhook tools.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.arg_sources.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","enum":["literal","ai_extract"],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.arg_sources.oneOf.1.additionalProperties","typeLabel":"enum\u003cstring>"},"description":"Per-arg provenance map: which mode each arg came from. `literal` includes both plain literals and template-interpolated literals (i.e. `{{check.start_time}}`-style cross-node tokens). Null for prompt-mode webhook tools.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.arg_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.arg_sources","typeLabel":"object | null"},"response_preview":{"oneOf":[{"type":"string","description":"JSON-stringified response body the LLM saw, truncated to ~50KB. Truncation is byte-based — long responses may end mid-token.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.response_preview.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-stringified response body the LLM saw, truncated to ~50KB. Truncation is byte-based — long responses may end mid-token.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.response_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.response_preview","typeLabel":"string | null"},"raw_response_preview":{"oneOf":[{"type":"string","description":"Provider's untouched payload, present only when the LLM-facing sanitized view differs from the raw API response. Today this fires for Google Calendar `create_event` / `list_events` / `check_availability` (the runtime strips ISO timezone offsets and reshapes timezone metadata so Live can reliably parse times). Use this field for audit; the agent never sees it. Null when the provider returned a response that didn't need post-processing.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.raw_response_preview.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider's untouched payload, present only when the LLM-facing sanitized view differs from the raw API response. Today this fires for Google Calendar `create_event` / `list_events` / `check_availability` (the runtime strips ISO timezone offsets and reshapes timezone metadata so Live can reliably parse times). Use this field for audit; the agent never sees it. Null when the provider returned a response that didn't need post-processing.","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.raw_response_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.raw_response_preview","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.error","typeLabel":"string | null"},"duration_ms":{"oneOf":[{"type":"integer","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.duration_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0.duration_ms","typeLabel":"integer | null"}},"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX].tool_call","typeLabel":"object | null"}},"uniqueKey":"flow_trace.oneOf.0.steps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"flow_trace.oneOf.0.steps","typeLabel":"object[]"},"agent_speaks_first":{"oneOf":[{"type":"boolean","description":"Whether the start node had agent_speaks_first=true (bot greeted before listening).","uniqueKey":"flow_trace.oneOf.0.agent_speaks_first.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the start node had agent_speaks_first=true (bot greeted before listening).","uniqueKey":"flow_trace.oneOf.0.agent_speaks_first.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.agent_speaks_first","typeLabel":"boolean | null"},"first_step_id":{"oneOf":[{"type":"string","description":"Step id the flow began at. Always the start node, but useful for sanity checks.","uniqueKey":"flow_trace.oneOf.0.first_step_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Step id the flow began at. Always the start node, but useful for sanity checks.","uniqueKey":"flow_trace.oneOf.0.first_step_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace.oneOf.0.first_step_id","typeLabel":"string | null"}},"uniqueKey":"flow_trace.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"flow_trace.oneOf.1","typeLabel":"null"}],"uniqueKey":"flow_trace","typeLabel":"object | null"},"execution_status":{"type":"string","enum":["included","omitted","pending","none"],"description":"What `execution` is on this read - not the `execution_status` query parameter, which filters the history's rows by their own status. `included`: the whole block. `omitted`: you sent `omit=execution`, and `execution` is an ExecutionSettlement. `pending`: the history did not answer in time - `execution` is an ExecutionSettlement, and a read again brings the block (send `execution_limit` to be told 503 instead). `none`: the call has no execution history, and there is no `execution` member.\n","uniqueKey":"execution_status","typeLabel":"enum\u003cstring>"},"execution":{"oneOf":[{"type":"object","description":"**Execution history — how the platform carried the call out**, beside the\nconversation itself. Returned on `GET /calls/{id}` and `GET /call-requests/{id}`\nwhen execution history is enabled for the workspace; absent otherwise. Ask for a\npage of it with the `execution_limit` and `execution_cursor` query parameters.\n\nThis is an investigation view, not an authority: it is read-only, it is retained\nfor a limited window, and it never carries the platform's own plumbing.\n\n**The members below are the whole of this block.** They are written down\nbecause the API projects onto exactly this list before the response is written:\nanything else the platform knows about a call — delivery row ids, internal job\nand journal counts, storage-retention flags, internal hostnames, its own\ndiagnostic notes — is dropped rather than published, and every URL here is\nrewritten onto the public API base whatever the platform recorded. A field you\ndo not see below will not appear, and a field you do see will not change shape.\n","properties":{"version":{"type":"string","const":"execution-visibility-v1","uniqueKey":"execution.oneOf.0.version","typeLabel":"string"},"audience":{"type":"string","const":"company","description":"Whose view this is. A company-authorized read is the only one this API returns.","uniqueKey":"execution.oneOf.0.audience","typeLabel":"string"},"subject":{"type":"string","enum":["call","tool_test"],"uniqueKey":"execution.oneOf.0.subject","typeLabel":"enum\u003cstring>"},"run_id":{"oneOf":[{"type":"string","format":"uuid","description":"Shared lifecycle identity of the request and the call it became.","uniqueKey":"execution.oneOf.0.run_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Shared lifecycle identity of the request and the call it became.","uniqueKey":"execution.oneOf.0.run_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.run_id","typeLabel":"string\u003cuuid> | null"},"request_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.request_id","typeLabel":"string\u003cuuid> | null"},"call_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.call_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.call_id","typeLabel":"string\u003cuuid> | null"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.oneOf.0.tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.oneOf.0.tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.tool_id","typeLabel":"string\u003cuuid> | null"},"test_id":{"oneOf":[{"type":"string","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.oneOf.0.test_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.oneOf.0.test_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.test_id","typeLabel":"string\u003cuuid> | null"},"workflow_revision_id":{"oneOf":[{"type":"string","format":"uuid","description":"The published version of the agent this run was frozen on.","uniqueKey":"execution.oneOf.0.workflow_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The published version of the agent this run was frozen on.","uniqueKey":"execution.oneOf.0.workflow_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.workflow_revision_id","typeLabel":"string\u003cuuid> | null"},"strict":{"oneOf":[{"type":"boolean","description":"Whether the run was admitted under the agent's strict setting.","uniqueKey":"execution.oneOf.0.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the run was admitted under the agent's strict setting.","uniqueKey":"execution.oneOf.0.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.strict","typeLabel":"boolean | null"},"owner":{"type":"string","enum":["workflow","legacy"],"description":"Which authoring model owns the run - `workflow` for a workflow agent; `legacy` for a call of an agent that runs no workflow (a prompt agent, and every call from before workflows), whose history is what the call itself recorded (history.coverage legacy_best_effort). Such a call reads execution_status included, not none.","uniqueKey":"execution.oneOf.0.owner","typeLabel":"enum\u003cstring>"},"channel":{"oneOf":[{"type":"string","enum":["phone","web",null],"uniqueKey":"execution.oneOf.0.channel.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["phone","web",null],"uniqueKey":"execution.oneOf.0.channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.channel","typeLabel":"enum\u003cstring> | null"},"direction":{"oneOf":[{"type":"string","enum":["inbound","outbound","web",null],"uniqueKey":"execution.oneOf.0.direction.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["inbound","outbound","web",null],"uniqueKey":"execution.oneOf.0.direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.direction","typeLabel":"enum\u003cstring> | null"},"refresh_after_ms":{"oneOf":[{"type":"integer","description":"How long to wait before asking again while work is still running. On GET /calls/{id}, null once the call has settled (summary.is_settled true): nothing on it will change.","uniqueKey":"execution.oneOf.0.refresh_after_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How long to wait before asking again while work is still running. On GET /calls/{id}, null once the call has settled (summary.is_settled true): nothing on it will change.","uniqueKey":"execution.oneOf.0.refresh_after_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.refresh_after_ms","typeLabel":"integer | null"},"supplementary":{"type":"string","enum":["complete","partial","not_loaded"],"description":"Whether the conversation-side records beside this block were loaded for this response.","uniqueKey":"execution.oneOf.0.supplementary","typeLabel":"enum\u003cstring>"},"supplementary_errors":{"type":"array","description":"Reason codes for anything the read beside this block could not load. Empty when `supplementary` is `complete`.","items":{"type":"string","uniqueKey":"execution.oneOf.0.supplementary_errors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.oneOf.0.supplementary_errors","typeLabel":"string[]"},"links":{"type":"object","additionalProperties":false,"description":"Public API URLs for the related records, and the only three link members there are. Each one is rewritten onto this API's own base before it is published.\n","properties":{"request":{"type":"string","format":"uri","uniqueKey":"execution.oneOf.0.links.request","typeLabel":"string\u003curi>"},"call_detail":{"type":"string","format":"uri","uniqueKey":"execution.oneOf.0.links.call_detail","typeLabel":"string\u003curi>"},"tool_test":{"type":"string","format":"uri","uniqueKey":"execution.oneOf.0.links.tool_test","typeLabel":"string\u003curi>"}},"uniqueKey":"execution.oneOf.0.links","typeLabel":"object"},"summary":{"type":"object","additionalProperties":false,"description":"Where the call got to, rolled up.","properties":{"revision":{"type":"string","description":"Monotonic revision of this snapshot, as a string so a large value survives JavaScript.","uniqueKey":"execution.oneOf.0.summary.revision","typeLabel":"string"},"as_of":{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.summary.as_of","typeLabel":"string\u003cdate-time>"},"run_status":{"oneOf":[{"type":"string","enum":["accepted","materialized","cancelled","failed","completed",null],"description":"Where the call's run is. `materialized` while its window is open - a call's follow-ups can still start until the window closes, which is hours after the call is accepted - and `completed` once the window has closed and every phase of the run, its post-call jobs and its call attempts have ended. A follow-up that failed does not make the run `failed`: read that on the follow-up's own row. `failed` and `cancelled` mean the call was refused, abandoned or cancelled before it ran.\n","uniqueKey":"execution.oneOf.0.summary.run_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["accepted","materialized","cancelled","failed","completed",null],"description":"Where the call's run is. `materialized` while its window is open - a call's follow-ups can still start until the window closes, which is hours after the call is accepted - and `completed` once the window has closed and every phase of the run, its post-call jobs and its call attempts have ended. A follow-up that failed does not make the run `failed`: read that on the follow-up's own row. `failed` and `cancelled` mean the call was refused, abandoned or cancelled before it ran.\n","uniqueKey":"execution.oneOf.0.summary.run_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.run_status","typeLabel":"enum\u003cstring> | null"},"call_state":{"type":"string","uniqueKey":"execution.oneOf.0.summary.call_state","typeLabel":"string"},"physical_end_observed":{"oneOf":[{"type":"boolean","description":"Whether the carrier confirmed the line was down, rather than the platform inferring it.","uniqueKey":"execution.oneOf.0.summary.physical_end_observed.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the carrier confirmed the line was down, rather than the platform inferring it.","uniqueKey":"execution.oneOf.0.summary.physical_end_observed.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.physical_end_observed","typeLabel":"boolean | null"},"follow_up_state":{"type":"string","enum":["not_started","running","succeeded","failed","unknown","cancelled","unavailable"],"description":"On GET /calls/{id}, one word for the call's follow_ups member and its trigger timeline rows together: failed, running, not_started (follow_ups waiting), cancelled (follow_ups skipped), unknown, succeeded - the first that fits. unavailable when nothing ran and nothing is explained, and on a call request (read the call).","uniqueKey":"execution.oneOf.0.summary.follow_up_state","typeLabel":"enum\u003cstring>"},"settlement":{"type":"string","enum":["unsettled","settled","unavailable"],"uniqueKey":"execution.oneOf.0.summary.settlement","typeLabel":"enum\u003cstring>"},"is_settled":{"oneOf":[{"type":"boolean","description":"On GET /calls/{id}, true (with settlement `settled`) once the call has ended, its analysis and cost are final, and nothing of its own is still running, waiting or due; a browser session that ended before anyone connected reads the same. Stop polling then. Null while that cannot be said yet.\n","uniqueKey":"execution.oneOf.0.summary.is_settled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"On GET /calls/{id}, true (with settlement `settled`) once the call has ended, its analysis and cost are final, and nothing of its own is still running, waiting or due; a browser session that ended before anyone connected reads the same. Stop polling then. Null while that cannot be said yet.\n","uniqueKey":"execution.oneOf.0.summary.is_settled.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.is_settled","typeLabel":"boolean | null"},"settlement_reasons":{"type":"array","description":"Reason codes for an unsettled call.","items":{"type":"string","uniqueKey":"execution.oneOf.0.summary.settlement_reasons.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.oneOf.0.summary.settlement_reasons","typeLabel":"string[]"},"counts":{"type":"object","additionalProperties":false,"description":"Counts by phase and then by status, for the customer's own work only - `invocations` (steps the agent ran) and `attempts` (tries those took). Internal platform job and journal counts are not included. Phase and status keys are lowercase identifiers and the values are whole numbers; a bucket holding no counts is omitted rather than sent empty.\n","properties":{"invocations":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"integer","uniqueKey":"execution.oneOf.0.summary.counts.invocations.additionalProperties.additionalProperties","typeLabel":"integer"},"uniqueKey":"execution.oneOf.0.summary.counts.invocations.additionalProperties","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.summary.counts.invocations","typeLabel":"object"},"attempts":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"integer","uniqueKey":"execution.oneOf.0.summary.counts.attempts.additionalProperties.additionalProperties","typeLabel":"integer"},"uniqueKey":"execution.oneOf.0.summary.counts.attempts.additionalProperties","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.summary.counts.attempts","typeLabel":"object"}},"uniqueKey":"execution.oneOf.0.summary.counts","typeLabel":"object"},"active_work":{"type":"array","description":"Work still running or waiting at the moment of this snapshot.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"phase":{"type":"string","enum":["before","during","after","platform"],"uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].phase","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].kind","typeLabel":"string"},"status":{"type":"string","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].status","typeLabel":"string"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].reason_code","typeLabel":"string | null"},"deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX].deadline_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"execution.oneOf.0.summary.active_work.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.summary.active_work","typeLabel":"object[]"},"active_work_truncated":{"type":"boolean","description":"True when more work was running than this list shows.","uniqueKey":"execution.oneOf.0.summary.active_work_truncated","typeLabel":"boolean"},"latest_problem":{"oneOf":[{"type":"object","additionalProperties":false,"description":"The most recent piece of work that failed or was blocked, in the same shape as active_work.","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.id","typeLabel":"string\u003cuuid>"},"phase":{"type":"string","enum":["before","during","after","platform"],"uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.phase","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.kind","typeLabel":"string"},"status":{"type":"string","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.status","typeLabel":"string"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.reason_code","typeLabel":"string | null"},"deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0.deadline_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"description":"The most recent piece of work that failed or was blocked, in the same shape as active_work.","properties":{"id":{"type":"string","format":"uuid"},"phase":{"type":"string","enum":["before","during","after","platform"]},"kind":{"type":"string"},"status":{"type":"string"},"reason_code":{"oneOf":[{"type":"string"},{"type":"null"}]},"deadline_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"uniqueKey":"execution.oneOf.0.summary.latest_problem.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.latest_problem","typeLabel":"object | null"},"next_deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.summary.next_deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.summary.next_deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.next_deadline_at","typeLabel":"string\u003cdate-time> | null"},"artifacts":{"type":"array","description":"Readiness of each thing the call produces - recording, transcript, analysis, lead, billing.","items":{"type":"object","additionalProperties":false,"properties":{"artifact":{"type":"string","enum":["recording","transcript","analysis","lead","billing"],"uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].artifact","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","running","succeeded","empty","skipped","failed","not_expected","unavailable"],"uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].version","typeLabel":"integer"},"output_revision":{"type":"integer","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].output_revision","typeLabel":"integer"},"attempts":{"type":"integer","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].attempts","typeLabel":"integer"},"deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].deadline_at","typeLabel":"string\u003cdate-time> | null"},"reason_code":{"oneOf":[{"type":"string","description":"Why the artifact is not `succeeded`. On `GET /calls/{id}` the `analysis` entry agrees with the call's `analysis` member: a pass that left no summary reads `failed` / `no_summary` here too. A `lead` entry that reads `skipped` names why: `web_call_no_phone` (a browser rehearsal has no caller's number), `transcript_too_short` (fewer than two turns) or `no_phone_number`.\n","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].reason_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the artifact is not `succeeded`. On `GET /calls/{id}` the `analysis` entry agrees with the call's `analysis` member: a pass that left no summary reads `failed` / `no_summary` here too. A `lead` entry that reads `skipped` names why: `web_call_no_phone` (a browser rehearsal has no caller's number), `transcript_too_short` (fewer than two turns) or `no_phone_number`.\n","uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX].reason_code","typeLabel":"string | null"}},"uniqueKey":"execution.oneOf.0.summary.artifacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.summary.artifacts","typeLabel":"object[]"}},"uniqueKey":"execution.oneOf.0.summary","typeLabel":"object"},"history":{"type":"object","additionalProperties":false,"description":"The page of history you were given, and how to get the next one.","properties":{"high_water_mark":{"type":"string","description":"Furthest journal position this snapshot covers, as a string.","uniqueKey":"execution.oneOf.0.history.high_water_mark","typeLabel":"string"},"retained_from_sequence":{"type":"string","description":"Earliest position still retained, as a string.","uniqueKey":"execution.oneOf.0.history.retained_from_sequence","typeLabel":"string"},"coverage":{"type":"string","enum":["canonical","legacy_best_effort"],"uniqueKey":"execution.oneOf.0.history.coverage","typeLabel":"enum\u003cstring>"},"coverage_started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.history.coverage_started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.history.coverage_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.history.coverage_started_at","typeLabel":"string\u003cdate-time> | null"},"complete":{"type":"boolean","description":"True when this page is the whole history: on GET /calls/{id}, a settled call with no next_url and nothing expired.","uniqueKey":"execution.oneOf.0.history.complete","typeLabel":"boolean"},"gaps":{"type":"array","description":"Why this page may not be the whole history. Empty when complete is true.","items":{"type":"string","uniqueKey":"execution.oneOf.0.history.gaps.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.oneOf.0.history.gaps","typeLabel":"string[]"},"retained_until":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.history.retained_until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.history.retained_until.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.history.retained_until","typeLabel":"string\u003cdate-time> | null"},"filters":{"type":"object","additionalProperties":false,"description":"The filters this page was read under, echoed back.","properties":{"phase":{"oneOf":[{"type":"string","enum":["before","during","after","platform",null],"uniqueKey":"execution.oneOf.0.history.filters.phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["before","during","after","platform",null],"uniqueKey":"execution.oneOf.0.history.filters.phase.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.history.filters.phase","typeLabel":"enum\u003cstring> | null"},"kind":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.history.filters.kind.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.history.filters.kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.history.filters.kind","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.history.filters.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.history.filters.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.history.filters.status","typeLabel":"string | null"}},"uniqueKey":"execution.oneOf.0.history.filters","typeLabel":"object"},"limit":{"type":"integer","uniqueKey":"execution.oneOf.0.history.limit","typeLabel":"integer"},"next_url":{"oneOf":[{"type":"string","format":"uri","description":"Next page, on the public API base. Null on the last page.","uniqueKey":"execution.oneOf.0.history.next_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Next page, on the public API base. Null on the last page.","uniqueKey":"execution.oneOf.0.history.next_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.history.next_url","typeLabel":"string\u003curi> | null"},"refresh_url":{"type":"string","format":"uri","description":"This same page again, on the public API base.","uniqueKey":"execution.oneOf.0.history.refresh_url","typeLabel":"string\u003curi>"}},"uniqueKey":"execution.oneOf.0.history","typeLabel":"object"},"items":{"type":"array","description":"The time-ordered rows themselves - one per step, attempt, phase boundary or platform event the call produced. `sequence` is a string so a large journal position survives JavaScript. `input` and `output` are bounded, redacted previews of the customer's own evidence, never raw credentials.\n","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"sequence":{"type":"string","description":"Journal position, as a string so a large value survives JavaScript.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].sequence","typeLabel":"string"},"phase":{"type":"string","enum":["before","during","after","platform"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].phase","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].kind","typeLabel":"string"},"event":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].event","typeLabel":"string"},"status":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].status","typeLabel":"string | null"},"call_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].call_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].call_id","typeLabel":"string\u003cuuid> | null"},"request_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].request_id","typeLabel":"string\u003cuuid> | null"},"phase_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].phase_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].phase_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].phase_id","typeLabel":"string\u003cuuid> | null"},"invocation_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].invocation_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].invocation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].invocation_id","typeLabel":"string\u003cuuid> | null"},"attempt_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].attempt_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].attempt_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].attempt_id","typeLabel":"string\u003cuuid> | null"},"receipt_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].receipt_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].receipt_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].receipt_id","typeLabel":"string\u003cuuid> | null"},"attempt_number":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].attempt_number.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].attempt_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].attempt_number","typeLabel":"integer | null"},"outer_run":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].outer_run.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].outer_run.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].outer_run","typeLabel":"integer | null"},"inner_attempt":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].inner_attempt.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].inner_attempt.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].inner_attempt","typeLabel":"integer | null"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].reason_code","typeLabel":"string | null"},"late":{"type":"boolean","description":"True when the row arrived after the page it belongs to was already read.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].late","typeLabel":"boolean"},"selected":{"oneOf":[{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].selected","typeLabel":"boolean | null"},"should_execute":{"oneOf":[{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].should_execute.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].should_execute.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].should_execute","typeLabel":"boolean | null"},"edges_truncated":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].edges_truncated","typeLabel":"boolean"},"action":{"oneOf":[{"type":"object","additionalProperties":false,"description":"The step this row is about, where it is one.","properties":{"name":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["http","app","sequence","end_call","transfer","platform"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"binding_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.binding_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.binding_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.binding_id","typeLabel":"string\u003cuuid> | null"},"activation":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.activation.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.activation.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.activation","typeLabel":"string | null"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.tool_id","typeLabel":"string\u003cuuid> | null"},"tool_revision_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.tool_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.tool_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.tool_revision_id","typeLabel":"string\u003cuuid> | null"},"schema_version":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.schema_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.schema_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.schema_version","typeLabel":"string | null"},"adapter_version":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.adapter_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.adapter_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.adapter_version","typeLabel":"string | null"},"compatibility_version":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.compatibility_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.compatibility_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.compatibility_version","typeLabel":"string | null"},"connection_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_id","typeLabel":"string\u003cuuid> | null"},"connection_label":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_label.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_label","typeLabel":"string | null"},"connection_generation":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_generation.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_generation.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0.connection_generation","typeLabel":"integer | null"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"description":"The step this row is about, where it is one.","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["http","app","sequence","end_call","transfer","platform"]},"binding_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"activation":{"oneOf":[{"type":"string"},{"type":"null"}]},"tool_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"tool_revision_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"schema_version":{"oneOf":[{"type":"string"},{"type":"null"}]},"adapter_version":{"oneOf":[{"type":"string"},{"type":"null"}]},"compatibility_version":{"oneOf":[{"type":"string"},{"type":"null"}]},"connection_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"connection_label":{"oneOf":[{"type":"string"},{"type":"null"}]},"connection_generation":{"oneOf":[{"type":"integer"},{"type":"null"}]}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].action","typeLabel":"object | null"},"field_errors":{"type":"array","description":"Validation failures, by path into the step's own input.","items":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].field_errors.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].field_errors.items.[INDEX].code","typeLabel":"string"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].field_errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].field_errors","typeLabel":"object[]"},"edges":{"type":"array","description":"Links to other rows of this same block. Only edges pointing at something you can read here are included - an invocation, a phase, or an artifact.\n","items":{"type":"object","additionalProperties":false,"properties":{"relation":{"type":"string","enum":["parent","depends_on","triggered_by","replay_of","receipt_for"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].edges.items.[INDEX].relation","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","enum":["invocation","phase","artifact"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].edges.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","format":"uuid","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].edges.items.[INDEX].id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].edges.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].edges","typeLabel":"object[]"},"timing":{"type":"object","additionalProperties":false,"properties":{"occurred_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.occurred_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.occurred_at","typeLabel":"string\u003cdate-time> | null"},"recorded_at":{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.recorded_at","typeLabel":"string\u003cdate-time>"},"queued_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.queued_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.queued_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.queued_at","typeLabel":"string\u003cdate-time> | null"},"claimed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.claimed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.claimed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.claimed_at","typeLabel":"string\u003cdate-time> | null"},"dispatched_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the request actually left, never a claim timestamp.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.dispatched_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the request actually left, never a claim timestamp.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.dispatched_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.dispatched_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.completed_at","typeLabel":"string\u003cdate-time> | null"},"queue_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.queue_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.queue_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.queue_ms","typeLabel":"integer | null"},"validation_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.validation_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.validation_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.validation_ms","typeLabel":"integer | null"},"network_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.network_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.network_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.network_ms","typeLabel":"integer | null"},"total_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.total_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.total_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.total_ms","typeLabel":"integer | null"},"audio_offset_ms":{"oneOf":[{"type":"integer","description":"Where in the recording this happened, where that is known.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.audio_offset_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Where in the recording this happened, where that is known.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.audio_offset_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.audio_offset_ms","typeLabel":"integer | null"},"audio_clock_id":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.audio_clock_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.audio_clock_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing.audio_clock_id","typeLabel":"string | null"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].timing","typeLabel":"object"},"retry":{"type":"object","additionalProperties":false,"properties":{"eligibility":{"type":"string","enum":["not_eligible","automatic","manual","unknown"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.eligibility","typeLabel":"enum\u003cstring>"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.reason_code","typeLabel":"string | null"},"next_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.next_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.next_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.next_at","typeLabel":"string\u003cdate-time> | null"},"automatic_recovery_stopped":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry.automatic_recovery_stopped","typeLabel":"boolean"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].retry","typeLabel":"object"},"input":{"type":"object","additionalProperties":false,"description":"Bounded, redacted preview of what went into the step.","properties":{"value":{"description":"The preview itself - any JSON, exactly as the platform recorded it, or null when there is none.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.value","typeLabel":"any"},"availability":{"type":"string","enum":["available","not_applicable","unavailable"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.availability","typeLabel":"enum\u003cstring>"},"unavailable_reason":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.unavailable_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.unavailable_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.unavailable_reason","typeLabel":"string | null"},"redacted":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.redacted","typeLabel":"boolean"},"truncated":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.truncated","typeLabel":"boolean"},"omitted":{"type":"array","description":"What was left out of the preview, and why.","items":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.omitted.items.[INDEX].path","typeLabel":"string"},"reason":{"type":"string","enum":["configured_sensitive","credential","private_reference","diagnostic","secret_value","url","depth_limit","byte_limit","node_limit","item_limit","string_limit","unavailable"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.omitted.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.omitted.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.omitted","typeLabel":"object[]"},"omitted_metadata_truncated":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.omitted_metadata_truncated","typeLabel":"boolean"},"expanded":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input.expanded","typeLabel":"boolean"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].input","typeLabel":"object"},"output":{"type":"object","additionalProperties":false,"description":"Bounded, redacted preview of what the step returned.","properties":{"value":{"description":"The preview itself - any JSON, exactly as the platform recorded it, or null when there is none.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.value","typeLabel":"any"},"availability":{"type":"string","enum":["available","not_applicable","unavailable"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.availability","typeLabel":"enum\u003cstring>"},"unavailable_reason":{"oneOf":[{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.unavailable_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.unavailable_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.unavailable_reason","typeLabel":"string | null"},"redacted":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.redacted","typeLabel":"boolean"},"truncated":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.truncated","typeLabel":"boolean"},"omitted":{"type":"array","description":"What was left out of the preview, and why.","items":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.omitted.items.[INDEX].path","typeLabel":"string"},"reason":{"type":"string","enum":["configured_sensitive","credential","private_reference","diagnostic","secret_value","url","depth_limit","byte_limit","node_limit","item_limit","string_limit","unavailable"],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.omitted.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.omitted.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.omitted","typeLabel":"object[]"},"omitted_metadata_truncated":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.omitted_metadata_truncated","typeLabel":"boolean"},"expanded":{"type":"boolean","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output.expanded","typeLabel":"boolean"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].output","typeLabel":"object"},"expansion_url":{"oneOf":[{"type":"string","format":"uri","description":"This row on its own, with fuller previews. On the public API base.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].expansion_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"This row on its own, with fuller previews. On the public API base.","uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].expansion_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX].expansion_url","typeLabel":"string\u003curi> | null"}},"uniqueKey":"execution.oneOf.0.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.oneOf.0.\\items","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"execution.oneOf.0","typeLabel":"object"},{"type":"object","description":"AI37: the three members of the execution block a poller stops on, at the block's own paths, worked out from the call itself - it has ended, its analysis and cost_status are not pending, and no stage, step, follow-up or delivery on its timeline is pending. Carried by GET /calls/{id} when `execution_status` is `omitted` or `pending`.\n","required":["summary","refresh_after_ms"],"properties":{"summary":{"type":"object","required":["settlement","is_settled"],"properties":{"settlement":{"type":"string","enum":["settled","unsettled","unavailable"],"description":"unavailable when the call's timeline could not be read either.","isRequired":true,"uniqueKey":"execution.oneOf.1.summary.settlement","typeLabel":"enum\u003cstring>"},"is_settled":{"oneOf":[{"type":"boolean","description":"null exactly when settlement is unavailable.","isRequired":true,"uniqueKey":"execution.oneOf.1.summary.is_settled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"null exactly when settlement is unavailable.","isRequired":true,"uniqueKey":"execution.oneOf.1.summary.is_settled.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"execution.oneOf.1.summary.is_settled","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"execution.oneOf.1.summary","typeLabel":"object"},"refresh_after_ms":{"oneOf":[{"type":"integer","description":"Milliseconds to wait before reading again; null once settled.","isRequired":true,"uniqueKey":"execution.oneOf.1.refresh_after_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Milliseconds to wait before reading again; null once settled.","isRequired":true,"uniqueKey":"execution.oneOf.1.refresh_after_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"execution.oneOf.1.refresh_after_ms","typeLabel":"integer | null"}},"uniqueKey":"execution.oneOf.1","typeLabel":"object"}],"uniqueKey":"execution","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","from":"\u003cstring>","to":"\u003cstring>","personal_data_withheld":true,"direction":"\u003cstring>","status":"\u003cstring>","started_at":"2023-11-07T05:31:56Z","answered_at":"2023-11-07T05:31:56Z","recording_started_at":"2023-11-07T05:31:56Z","ended_at":"2023-11-07T05:31:56Z","duration_seconds":123,"cost_cents":123,"cost_status":"charged","metadata":{},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","source":"test","provider":"external","carrier_account":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","provider":"telnyx","status":"untested"},"carrier_call_id":"v3:u5OA0mKfWkqg2Gfyv1c0g8ukRZ3n1R6f2sKnH4Qj1i1aX8Pz9g","shared_link_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sip_endpoint_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","ended_by":"caller","disconnect_reason":"\u003cstring>","transferred_at":"2023-11-07T05:31:56Z","transfer_target":"\u003cstring>","recording_url":"\u003cstring>","agent":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","execution_version":"legacy","published_workflow_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","live":true,"inbound":{"phone_numbers":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","number":"+972501234567","friendly_name":"\u003cstring>"}],"sip_endpoints":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>"}]},"type":"workflow","flow_config":{"nodes":[{"id":"\u003cstring>","type":"start","name":"\u003cstring>","position":{"x":123,"y":123},"agent_speaks_first":true,"greeting":"\u003cstring>","is_literal":false,"next_step_id":"\u003cstring>","auto_advance":true}],"flow_config_version":"1","metadata":{"custom_metadata_keys":["\u003cstring>"]}},"system_prompt":"\u003cstring>","description":"\u003cstring>","voice":"Michal","model":"gemini-3.1-flash-live","resolved_model":"gemini-3.1-flash-live","background_sound":"call_center","background_sound_volume":0.3,"language":"he","temperature":1,"greeting_message":"\u003cstring>","agent_speaks_first":true,"vad_stop_secs":0.5,"vad_start_secs":0.2,"vad_confidence":0.7,"silence_timeout_secs":60,"idle_reminder_count":0,"idle_reminder_text":"\u003cstring>","max_continuous_speech_secs":120,"max_call_duration_secs":600,"lead_memory_enabled":true,"noise_cancellation_enabled":true,"is_active":true,"webhook_url":"\u003cstring>","webhook_url_path_withheld":true,"webhook_events":["call.started"],"configured_webhook_header_names":["Authorization","X-Source"],"tools":[{}],"extraction_parameters":[{"name":"customerName","description":"The caller's full name as mentioned during the conversation","type":"number"}],"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","archived_at":"2023-11-07T05:31:56Z"},"disposition":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","label":"\u003cstring>","color":"#22c55e","position":123,"is_protected":true,"created_at":"2023-11-07T05:31:56Z"},"lead":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phone_number":"+972501234567","name":"\u003cstring>","email":"jsmith@example.com","source":"api","tags":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","description":"\u003cstring>","color":"\u003cstring>","sort_order":123,"created_at":"2023-11-07T05:31:56Z"}],"long_term_context":"\u003cstring>","extracted":{},"extracted_precision":{},"metadata":{},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"},"summary":"\u003cstring>","transcript":[{"role":"agent","text":"\u003cstring>","start":123,"end":123}],"usage":{"legs":[{"engine":"\u003cstring>","model":"\u003cstring>","sessions":123,"input_tokens":123,"output_tokens":123,"audio_input_tokens":123,"text_input_tokens":123,"audio_output_tokens":123,"text_output_tokens":123,"cached_input_tokens":123,"audio_seconds":123,"backend_model":"\u003cstring>","recorded_at":"2023-11-07T05:31:56Z"}]},"extracted_data":{},"extracted_data_precision":{"interview_date":{"precision":"month","month":"2026-11"},"start_date":{"precision":"day","month":"2026-12"}},"extracted_data_ranges":{"pain_level":{"low":6,"high":7}},"tool_calls":[{"tool_name":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z","kind":"webhook_tool","id":"\u003cstring>","engine":"workflow","tool_type":"http","status":"succeeded","started_at":"2023-11-07T05:31:56Z","agent_asked":"\u003cunknown>","agent_was_told":"\u003cunknown>","given_to_agent":{"via":["instructions_block"],"places":[{"where":"\u003cstring>","token":"\u003cstring>","filled":true}],"result":"\u003cunknown>","bytes":123,"truncated":true,"reason":"\u003cstring>"},"masked":["\u003cstring>"],"details_expired":true,"destination_path_withheld":true,"node":{"id":"\u003cstring>","name":"\u003cstring>","type":"tool_call"},"tool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","provider":"\u003cstring>","action":"\u003cstring>","integration_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","arg_sources":{},"request":{"body":"\u003cunknown>","method":"\u003cstring>","url":"\u003cstring>","headers":{},"target":"\u003cstring>","body_format":"json","body_bytes":123,"truncated":true},"response":{"success":true,"response_preview":"\u003cstring>","raw_response_preview":"\u003cstring>","error":"\u003cstring>","duration_ms":123,"status":123,"headers":{},"body":"\u003cunknown>","body_format":"json","body_bytes":123,"truncated":true,"timed_out":true,"error_code":"\u003cstring>"}}],"events":[{"type":"call_initiated","timestamp":"2023-11-07T05:31:56Z","data":{}}],"timeline":[{"kind":"call","at":"2023-11-07T05:31:56Z","event":"\u003cstring>","code":"\u003cstring>","error_code":"\u003cstring>","exchange_id":"\u003cstring>"}],"ab_variant":"a","ab_variant_fallback":true,"failure":{"code":"no_answer","reason":"\u003cstring>","stage":"dialing","at":"2023-11-07T05:31:56Z"},"analysis":{"status":"pending","reason":"call_in_progress","completed_at":"2023-11-07T05:31:56Z"},"follow_ups":{"state":"skipped","groups":[{"reason":"browser_test","steps":["\u003cstring>"],"event":"\u003cstring>","trigger_id":"\u003cstring>","seen":[{"path":"/status","value":"completed"}],"artifact":"\u003cstring>"}]},"flow_trace":{"started_at":"2023-11-07T05:31:56Z","steps":[{"step_id":"\u003cstring>","step_type":"start","entered_at":"2023-11-07T05:31:56Z","eval_decisions":[{"decision":"\u003cstring>","decided_at":"2023-11-07T05:31:56Z","turn_id":123,"reasoning":"\u003cstring>"}],"step_name":"\u003cstring>","reason":"\u003cstring>","tool_call":{"kind":"tool_call","tool_name":"\u003cstring>","status":"success","tool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","provider":"\u003cstring>","action":"\u003cstring>","integration_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","args":{},"arg_sources":{},"response_preview":"\u003cstring>","raw_response_preview":"\u003cstring>","error":"\u003cstring>","duration_ms":123}}],"agent_speaks_first":true,"first_step_id":"\u003cstring>"},"execution_status":"included","execution":{"version":"execution-visibility-v1","audience":"company","subject":"call","run_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","call_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","test_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workflow_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","strict":true,"owner":"workflow","channel":"phone","direction":"inbound","refresh_after_ms":123,"supplementary":"complete","supplementary_errors":["\u003cstring>"],"links":{"request":"\u003cstring>","call_detail":"\u003cstring>","tool_test":"\u003cstring>"},"summary":{"revision":"\u003cstring>","as_of":"2023-11-07T05:31:56Z","run_status":"accepted","call_state":"\u003cstring>","physical_end_observed":true,"follow_up_state":"not_started","settlement":"unsettled","is_settled":true,"settlement_reasons":["\u003cstring>"],"counts":{"invocations":{},"attempts":{}},"active_work":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phase":"before","kind":"\u003cstring>","status":"\u003cstring>","reason_code":"\u003cstring>","deadline_at":"2023-11-07T05:31:56Z"}],"active_work_truncated":true,"latest_problem":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phase":"before","kind":"\u003cstring>","status":"\u003cstring>","reason_code":"\u003cstring>","deadline_at":"2023-11-07T05:31:56Z"},"next_deadline_at":"2023-11-07T05:31:56Z","artifacts":[{"artifact":"recording","status":"pending","version":123,"output_revision":123,"attempts":123,"deadline_at":"2023-11-07T05:31:56Z","reason_code":"\u003cstring>"}]},"history":{"high_water_mark":"\u003cstring>","retained_from_sequence":"\u003cstring>","coverage":"canonical","coverage_started_at":"2023-11-07T05:31:56Z","complete":true,"gaps":["\u003cstring>"],"retained_until":"2023-11-07T05:31:56Z","filters":{"phase":"before","kind":"\u003cstring>","status":"\u003cstring>"},"limit":123,"next_url":"\u003cstring>","refresh_url":"\u003cstring>"},"items":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sequence":"\u003cstring>","phase":"before","kind":"\u003cstring>","event":"\u003cstring>","status":"\u003cstring>","call_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phase_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","invocation_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","attempt_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","receipt_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","attempt_number":123,"outer_run":123,"inner_attempt":123,"reason_code":"\u003cstring>","late":true,"selected":true,"should_execute":true,"edges_truncated":true,"action":{"name":"\u003cstring>","type":"http","binding_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","activation":"\u003cstring>","tool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tool_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","schema_version":"\u003cstring>","adapter_version":"\u003cstring>","compatibility_version":"\u003cstring>","connection_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","connection_label":"\u003cstring>","connection_generation":123},"field_errors":[{"path":"\u003cstring>","code":"\u003cstring>"}],"edges":[{"relation":"parent","kind":"invocation","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"timing":{"occurred_at":"2023-11-07T05:31:56Z","recorded_at":"2023-11-07T05:31:56Z","queued_at":"2023-11-07T05:31:56Z","claimed_at":"2023-11-07T05:31:56Z","dispatched_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","queue_ms":123,"validation_ms":123,"network_ms":123,"total_ms":123,"audio_offset_ms":123,"audio_clock_id":"\u003cstring>"},"retry":{"eligibility":"not_eligible","reason_code":"\u003cstring>","next_at":"2023-11-07T05:31:56Z","automatic_recovery_stopped":true},"input":{"value":"\u003cunknown>","availability":"available","unavailable_reason":"\u003cstring>","redacted":true,"truncated":true,"omitted":[{"path":"\u003cstring>","reason":"configured_sensitive"}],"omitted_metadata_truncated":true,"expanded":true},"output":{"value":"\u003cunknown>","availability":"available","unavailable_reason":"\u003cstring>","redacted":true,"truncated":true,"omitted":[{"path":"\u003cstring>","reason":"configured_sensitive"}],"omitted_metadata_truncated":true,"expanded":true},"expansion_url":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"02bb5067-1e0e-479b-99aa-8b5018b8b4ed":{"description":"CALLS_QUERY_INVALID — a query parameter other than the five execution-history ones, or one of them sent twice or with no value; the message names it.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"03799bcd-5890-4487-95e9-38f6d1eb9c58":{"description":"INSUFFICIENT_SCOPE — the key holds neither `calls:read` nor `calls:metrics`, or holds only `calls:metrics` and asked for the execution history.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"af6155a8-138c-4c5f-8547-f34c63eebdab":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"70b0c69f-843a-4266-ab36-bf8bc63e682c":{"description":"EXECUTION_RETENTION_EXPIRED — the `execution_cursor` points at history that is no longer retained. Read again without it.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1b5d9afc-81cb-4876-b688-1385a62708e7":{"description":"EXECUTION_CURSOR_INVALID — an `execution_cursor` this read did not issue or that was sent with other filters, or an `execution_limit` or filter value the history does not have. Follow `execution.history.next_url` rather than building one.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"5955e66b-c29e-473e-a6cf-e1735087c977":{"description":"EXECUTION_READ_UNAVAILABLE — execution history was asked for and could not be read. Temporary; retry the same request.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2767439e-f0c6-4cd4-a450-ba11a6ab8311":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"}}},"servers":{"dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d":{"url":"https://api.goyappr.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"yappr","siteName":"Yappr","title":"Get Call - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:23.126Z","originalFileLocation":"api-reference/calls/get.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"One call, whole: who it was with, what was said, what the agent picked out of it, what it cost, and where its post-call analysis stands. Requires calls:read, or calls:metrics, which reads the call as metrics: the members that describe the call itself (ids, agent, direction, status, moments, duration, cost, usage, disposition, ended_by, failure, analysis), from, to, metadata and transfer_target null, lead as {id}, and personal_data_withheld: true. The transcript, summary, recording, extracted_data, events, timeline, tool calls and execution history are left out, and the execution-history parameters answer 403 INSUFFICIENT_SCOPE. Rehearsals and leads. A rehearsal in the browser (the Test tab, or a session minted with POST /calls {\u0026quot;type\u0026quot;:\u0026quot;web\u0026quot;}) has no caller\u0026#x27;s number, so lead processing skips it: no lead is created or updated, no lead.created or lead.updated is sent, and a follow-up on lead.ready does not run. On a rehearsal that ran through a call request the lead artifact in execution.summary.artifacts reads skipped with reason_code: \u0026quot;web_call_no_phone\u0026quot;; one that connected straight away (protocol: \u0026quot;offer\u0026quot;) has no lead artifact at all. The analysis still runs: summary, disposition and extracted_data are written as on any call. A Test-tab call given a phone number to simulate, and a session minted with lead_id, are processed for a lead after all.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yappr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Call - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"One call, whole: who it was with, what was said, what the agent picked out of it, what it cost, and where its post-call analysis stands. Requires calls:read, or calls:metrics, which reads the call as metrics: the members that describe the call itself (ids, agent, direction, status, moments, duration, cost, usage, disposition, ended_by, failure, analysis), from, to, metadata and transfer_target null, lead as {id}, and personal_data_withheld: true. The transcript, summary, recording, extracted_data, events, timeline, tool calls and execution history are left out, and the execution-history parameters answer 403 INSUFFICIENT_SCOPE. Rehearsals and leads. A rehearsal in the browser (the Test tab, or a session minted with POST /calls {\u0026quot;type\u0026quot;:\u0026quot;web\u0026quot;}) has no caller\u0026#x27;s number, so lead processing skips it: no lead is created or updated, no lead.created or lead.updated is sent, and a follow-up on lead.ready does not run. On a rehearsal that ran through a call request the lead artifact in execution.summary.artifacts reads skipped with reason_code: \u0026quot;web_call_no_phone\u0026quot;; one that connected straight away (protocol: \u0026quot;offer\u0026quot;) has no lead artifact at all. The analysis still runs: summary, disposition and extracted_data are written as on any call. A Test-tab call given a phone number to simulate, and a session minted with lead_id, are processed for a lead after all.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yappr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goyappr.com/api-reference/calls/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Get+Call\u0026amp;description=One+call%2C+whole%3A+who+it+was+with%2C+what+was+said%2C+what+the+agent+picked+out+of+it%2C+what+it%0Acost%2C+and+where+its+post-call+analysis+stands.%0A%0ARequires+%60calls%3Aread%60%2C\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=10e9233dab4194f71a3b7e90d6eec30cc6ccd3dbc6bc68a3cec4f7a6b9c6215d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Call - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One call, whole: who it was with, what was said, what the agent picked out of it, what it cost, and where its post-call analysis stands. Requires calls:read, or calls:metrics, which reads the call as metrics: the members that describe the call itself (ids, agent, direction, status, moments, duration, cost, usage, disposition, ended_by, failure, analysis), from, to, metadata and transfer_target null, lead as {id}, and personal_data_withheld: true. The transcript, summary, recording, extracted_data, events, timeline, tool calls and execution history are left out, and the execution-history parameters answer 403 INSUFFICIENT_SCOPE. Rehearsals and leads. A rehearsal in the browser (the Test tab, or a session minted with POST /calls {\u0026quot;type\u0026quot;:\u0026quot;web\u0026quot;}) has no caller\u0026#x27;s number, so lead processing skips it: no lead is created or updated, no lead.created or lead.updated is sent, and a follow-up on lead.ready does not run. On a rehearsal that ran through a call request the lead artifact in execution.summary.artifacts reads skipped with reason_code: \u0026quot;web_call_no_phone\u0026quot;; one that connected straight away (protocol: \u0026quot;offer\u0026quot;) has no lead artifact at all. The analysis still runs: summary, disposition and extracted_data are written as on any call. A Test-tab call given a phone number to simulate, and a session minted with lead_id, are processed for a lead after all.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Get+Call\u0026amp;description=One+call%2C+whole%3A+who+it+was+with%2C+what+was+said%2C+what+the+agent+picked+out+of+it%2C+what+it%0Acost%2C+and+where+its+post-call+analysis+stands.%0A%0ARequires+%60calls%3Aread%60%2C\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=10e9233dab4194f71a3b7e90d6eec30cc6ccd3dbc6bc68a3cec4f7a6b9c6215d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yappr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.goyappr.com/api-reference/calls/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calls/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.goyappr.com/#organization\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.goyappr.com#website\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.goyappr.com/api-reference/calls/get#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/calls/get\",\"name\":\"Get Call\",\"description\":\"One call, whole: who it was with, what was said, what the agent picked out of it, what it cost, and where its post-call analysis stands. Requires calls:read, or calls:metrics, which reads the call as metrics: the members that describe the call itself (ids, agent, direction, status, moments, duration, cost, usage, disposition, ended_by, failure, analysis), from, to, metadata and transfer_target null, lead as {id}, and personal_data_withheld: true. The transcript, summary, recording, extracted_data, events, timeline, tool calls and execution history are left out, and the execution-history parameters answer 403 INSUFFICIENT_SCOPE. Rehearsals and leads. A rehearsal in the browser (the Test tab, or a session minted with POST /calls {\\\"type\\\":\\\"web\\\"}) has no caller's number, so lead processing skips it: no lead is created or updated, no lead.created or lead.updated is sent, and a follow-up on lead.ready does not run. On a rehearsal that ran through a call request the lead artifact in execution.summary.artifacts reads skipped with reason_code: \\\"web_call_no_phone\\\"; one that connected straight away (protocol: \\\"offer\\\") has no lead artifact at all. The analysis still runs: summary, disposition and extracted_data are written as on any call. A Test-tab call given a phone number to simulate, and a session minted with lead_id, are processed for a lead after all.\",\"dateModified\":\"2026-11-12T15:44:23.126Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/calls/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/calls/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Calls\",\"item\":\"https://docs.goyappr.com/api-reference/calls/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Call\",\"item\":\"https://docs.goyappr.com/api-reference/calls/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/calls/get#apireference\",\"headline\":\"Get Call\",\"name\":\"Get Call\",\"description\":\"One call, whole: who it was with, what was said, what the agent picked out of it, what it cost, and where its post-call analysis stands. Requires calls:read, or calls:metrics, which reads the call as metrics: the members that describe the call itself (ids, agent, direction, status, moments, duration, cost, usage, disposition, ended_by, failure, analysis), from, to, metadata and transfer_target null, lead as {id}, and personal_data_withheld: true. The transcript, summary, recording, extracted_data, events, timeline, tool calls and execution history are left out, and the execution-history parameters answer 403 INSUFFICIENT_SCOPE. Rehearsals and leads. A rehearsal in the browser (the Test tab, or a session minted with POST /calls {\\\"type\\\":\\\"web\\\"}) has no caller's number, so lead processing skips it: no lead is created or updated, no lead.created or lead.updated is sent, and a follow-up on lead.ready does not run. On a rehearsal that ran through a call request the lead artifact in execution.summary.artifacts reads skipped with reason_code: \\\"web_call_no_phone\\\"; one that connected straight away (protocol: \\\"offer\\\") has no lead artifact at all. The analysis still runs: summary, disposition and extracted_data are written as on any call. A Test-tab call given a phone number to simulate, and a session minted with lead_id, are processed for a lead after all.\",\"url\":\"https://docs.goyappr.com/api-reference/calls/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/calls/get#webpage\"},\"dateModified\":\"2026-11-12T15:44:23.126Z\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yappr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Yappr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/calls/get.md","siteName":"Yappr","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Connect through MCP","href":"/api-reference/mcp/connect"},{"title":"Error Codes","href":"/api-reference/errors"},{"title":"Report an issue","openapi":"POST /report-issue","href":"/api-reference/report-issue"}]},{"group":"Billing","pages":[{"title":"Get Billing Status","openapi":"GET /billing","href":"/api-reference/billing/get-status"},{"title":"Get Billing Rates","openapi":"GET /billing/rates","href":"/api-reference/billing/rates"},{"title":"Set Spending Limit","openapi":"PATCH /billing","href":"/api-reference/billing/spending-limit"},{"title":"Setup Payment Method","openapi":"POST /billing/setup","href":"/api-reference/billing/setup-payment"},{"title":"Top Up Credits","openapi":"POST /billing/topup","href":"/api-reference/billing/topup"},{"title":"Billing Consumption","openapi":"GET /billing/consumption","href":"/api-reference/billing/consumption"},{"title":"Billing Transactions","openapi":"GET /billing/transactions","href":"/api-reference/billing/transactions"},{"title":"Get Billing Transaction","openapi":"GET /billing/transactions/{id}","href":"/api-reference/billing/transaction"},{"title":"Get Billing Details","openapi":"GET /billing/details","href":"/api-reference/billing/details"},{"title":"Update Billing Details","openapi":"PATCH /billing/details","href":"/api-reference/billing/update-details"},{"title":"List Invoices","openapi":"GET /billing/invoices","href":"/api-reference/billing/invoices"}]},{"group":"Agents","pages":[{"title":"List Agents","openapi":"GET /agents","href":"/api-reference/agents/list"},{"title":"Create Agent","openapi":"POST /agents","href":"/api-reference/agents/create"},{"title":"Duplicate Agent","openapi":"POST /agents/{id}/duplicate","href":"/api-reference/agents/duplicate"},{"title":"Test an Agent by Phone","openapi":"POST /agents/{id}/test-call","href":"/api-reference/agents/test-call"},{"title":"Which Line Rings a Test Call","openapi":"GET /agents/{id}/test-call","href":"/api-reference/agents/test-call-caller"},{"title":"Get Agent","openapi":"GET /agents/{id}","href":"/api-reference/agents/get"},{"title":"Update Agent","openapi":"PATCH /agents/{id}","href":"/api-reference/agents/update"},{"title":"Read workflow agent settings","openapi":"GET /agents/{id}/settings","href":"/api-reference/agents/settings"},{"title":"Idle reminders","href":"/api-reference/agents/idle-reminders"},{"title":"List an agent's tools \u0026 integrations","openapi":"GET /agents/{id}/tools-and-integrations","href":"/api-reference/agents/tools-and-integrations"},{"title":"List an agent's integrations","openapi":"GET /agents/{id}/integrations","href":"/api-reference/agents/integrations-list"},{"title":"Give an agent a connected app","openapi":"POST /agents/{id}/integrations","href":"/api-reference/agents/integrations-add"},{"title":"Change an integration's actions","openapi":"PATCH /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-update"},{"title":"Stop an agent using an app","openapi":"DELETE /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-remove"},{"title":"Dry-run Extraction","openapi":"POST /agents/{id}/extraction/dry-run","href":"/api-reference/agents/extraction-dry-run"},{"title":"Remove Agent","openapi":"DELETE /agents/{id}","href":"/api-reference/agents/delete"},{"title":"Models","href":"/api-reference/agents/models"},{"title":"Languages","href":"/api-reference/agents/languages"},{"title":"Voices","href":"/api-reference/agents/voices"},{"title":"Flow Config Schema","href":"/api-reference/agents/flow-config-schema"}]},{"group":"Flow Agents","pages":[{"title":"List Flow Versions","openapi":"GET /agents/{id}/flow/versions","href":"/api-reference/flows/list-versions"},{"title":"Restore Flow Version","openapi":"POST /agents/{id}/flow/restore","href":"/api-reference/flows/restore-version"},{"title":"Test a Flow","openapi":"POST /agents/{id}/flow/test","href":"/api-reference/flows/test"}]},{"group":"Workflows","pages":[{"title":"Read workflow","openapi":"GET /agents/{id}/workflow","href":"/api-reference/workflows/get"},{"title":"Save workflow draft","openapi":"PUT /agents/{id}/workflow","href":"/api-reference/workflows/save"},{"title":"Point bindings at other tools","openapi":"POST /agents/{id}/workflow/rebind","href":"/api-reference/workflows/rebind"},{"title":"Check workflow","openapi":"POST /agents/{id}/workflow/validate","href":"/api-reference/workflows/validate"},{"title":"Publish workflow","openapi":"POST /agents/{id}/workflow/publish","href":"/api-reference/workflows/publish"},{"title":"List workflow versions","openapi":"GET /agents/{id}/workflow/versions","href":"/api-reference/workflows/versions"},{"title":"Get workflow version","openapi":"GET /agents/{id}/workflow/versions/{version_id}","href":"/api-reference/workflows/version"},{"title":"Restore workflow version","openapi":"POST /agents/{id}/workflow/restore","href":"/api-reference/workflows/restore"},{"title":"Teach an agent from a test call","openapi":"POST /agents/{id}/workflow/train","href":"/api-reference/workflows/train"},{"title":"Read workflow tool catalog","openapi":"GET /tools/workflow-catalog","href":"/api-reference/workflows/catalog"},{"title":"Trigger events","href":"/api-reference/workflows/events"},{"title":"Opening line from a Before step","href":"/api-reference/workflows/greeting-from-before"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"List Deliveries","openapi":"GET /deliveries","href":"/api-reference/deliveries/list"},{"title":"Get Delivery","openapi":"GET /deliveries/{id}","href":"/api-reference/deliveries/get"},{"title":"Retry Delivery","openapi":"POST /deliveries/{id}/retry","href":"/api-reference/deliveries/retry"}]},{"group":"Tools \u0026 integrations","pages":[{"group":"Connected accounts","pages":[{"title":"List account connection options","openapi":"GET /tool-apps/connection-options","href":"/api-reference/tool-connections/apps"},{"title":"List connected accounts","openapi":"GET /tool-connections","href":"/api-reference/tool-connections/list"},{"title":"Get connection readiness","openapi":"GET /tool-connections/{id}","href":"/api-reference/tool-connections/get"},{"title":"Connect a workspace account","openapi":"POST /tool-connections","href":"/api-reference/tool-connections/connect"},{"title":"Read authorization status","openapi":"GET /tool-connection-auth-attempts/{id}","href":"/api-reference/tool-connections/auth-attempt"},{"title":"Cancel an authorization attempt","openapi":"POST /tool-connections/attempts/{id}/cancel","href":"/api-reference/tool-connections/cancel-attempt"},{"title":"Connect a replacement account","openapi":"POST /tool-connections/{id}/reconnect","href":"/api-reference/tool-connections/reconnect"},{"title":"Disconnect an account","openapi":"DELETE /tool-connections/{id}","href":"/api-reference/tool-connections/disconnect"},{"title":"Rename an account","openapi":"PATCH /tool-connections/{id}","href":"/api-reference/tool-connections/rename"},{"title":"What a connected app can do","openapi":"GET /tool-connections/{id}/actions","href":"/api-reference/tool-connections/actions"},{"title":"Make an app's actions ready","openapi":"POST /tool-connections/{id}/actions/prepare","href":"/api-reference/tool-connections/prepare-actions"},{"title":"List an account's choices for an input","openapi":"GET /tool-connections/{id}/options/{resource}","href":"/api-reference/tool-connections/options"},{"title":"Check that an account works","openapi":"POST /tool-connections/{id}/check","href":"/api-reference/tool-connections/check"},{"title":"The agents using an app","openapi":"GET /tool-connections/{id}/agents","href":"/api-reference/tool-connections/agents"},{"title":"Take an account off the list","openapi":"POST /tool-connections/{id}/remove","href":"/api-reference/tool-connections/remove"},{"title":"Clear the attempts nobody finished","openapi":"POST /tool-connections/cleanup","href":"/api-reference/tool-connections/cleanup"}]},{"group":"Tools","pages":[{"title":"List Tools","openapi":"GET /tools","href":"/api-reference/tools/list"},{"title":"Create Tool","openapi":"POST /tools","href":"/api-reference/tools/create"},{"title":"Discover Apps","openapi":"GET /tool-apps","href":"/api-reference/tools/apps"},{"title":"Get App Versions","openapi":"GET /tool-apps/{slug}","href":"/api-reference/tools/app"},{"title":"Discover Versioned Actions","openapi":"GET /tool-apps/{slug}/actions","href":"/api-reference/tools/actions"},{"title":"Get Full Action Schemas","openapi":"GET /tool-apps/{slug}/actions/{action}","href":"/api-reference/tools/action"},{"title":"Get Tool","openapi":"GET /tools/{id}","href":"/api-reference/tools/get"},{"title":"Get Current Tool Schemas","openapi":"GET /tools/{id}/schema","href":"/api-reference/tools/schema"},{"title":"List Tool Bindings","openapi":"GET /tools/{id}/bindings","href":"/api-reference/tools/bindings"},{"title":"List Tool Contract Revisions","openapi":"GET /tools/{id}/workflow-revisions","href":"/api-reference/tools/revisions"},{"title":"Add a Tool Contract Revision","openapi":"POST /tools/{id}/workflow-revisions","href":"/api-reference/tools/create-revision"},{"title":"Update Tool","openapi":"PATCH /tools/{id}","href":"/api-reference/tools/update"},{"title":"Archive Tool","openapi":"DELETE /tools/{id}","href":"/api-reference/tools/delete"},{"title":"Restore Tool","openapi":"POST /tools/{id}/restore","href":"/api-reference/tools/restore"},{"title":"Attach Tool to Agent","openapi":"POST /tools/attach","href":"/api-reference/tools/attach"},{"title":"Detach Tool from Agent","openapi":"POST /tools/detach","href":"/api-reference/tools/detach"},{"title":"Test Saved Tool","openapi":"POST /tools/{id}/test","href":"/api-reference/tools/test"},{"title":"Get Saved Tool Test","openapi":"GET /tools/{id}/tests/{test_id}","href":"/api-reference/tools/test-get"},{"title":"Cancel Tool Test","openapi":"POST /tools/{id}/tests/{test_id}/cancel","href":"/api-reference/tools/test-cancel"}]}]},{"group":"Phone Numbers","pages":[{"title":"List Owned Numbers","openapi":"GET /phone-numbers","href":"/api-reference/phone-numbers/list"},{"title":"Search Available Numbers","openapi":"POST /phone-numbers/search","href":"/api-reference/phone-numbers/search"},{"title":"Purchase Number","openapi":"POST /phone-numbers/purchase","href":"/api-reference/phone-numbers/purchase"},{"title":"Update Number","openapi":"PATCH /phone-numbers/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Configure Number","openapi":"POST /phone-numbers/configure","href":"/api-reference/phone-numbers/configure"},{"title":"Release Number","openapi":"POST /phone-numbers/{id}/release","href":"/api-reference/phone-numbers/release"},{"title":"Keep Number","openapi":"POST /phone-numbers/{id}/keep","href":"/api-reference/phone-numbers/keep"}]},{"group":"SIP Endpoints","pages":[{"title":"SIP Endpoints Status","openapi":"GET /sip-endpoints/status","href":"/api-reference/sip-endpoints/status"},{"title":"List SIP Endpoints","openapi":"GET /sip-endpoints","href":"/api-reference/sip-endpoints/list"},{"title":"Create SIP Endpoint","openapi":"POST /sip-endpoints","href":"/api-reference/sip-endpoints/create"},{"title":"Get SIP Endpoint","openapi":"GET /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/get"},{"title":"Update SIP Endpoint","openapi":"PATCH /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/update"},{"title":"Delete SIP Endpoint","openapi":"DELETE /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/delete"},{"title":"Rotate SIP Endpoint Password","openapi":"POST /sip-endpoints/{id}/rotate-password","href":"/api-reference/sip-endpoints/rotate-password"}]},{"group":"Carrier accounts","pages":[{"title":"Carrier Accounts Status","openapi":"GET /carrier-accounts/status","href":"/api-reference/carrier-accounts/status"},{"title":"List Carrier Accounts","openapi":"GET /carrier-accounts","href":"/api-reference/carrier-accounts/list"},{"title":"Connect a Telnyx Account","openapi":"POST /carrier-accounts","href":"/api-reference/carrier-accounts/create"},{"title":"Get Carrier Account","openapi":"GET /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/get"},{"title":"Update Carrier Account","openapi":"PATCH /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/update"},{"title":"Disconnect Carrier Account","openapi":"DELETE /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/delete"},{"title":"Choose the Call Control App","openapi":"POST /carrier-accounts/{id}/connection","href":"/api-reference/carrier-accounts/connection"},{"title":"Test Carrier Account","openapi":"POST /carrier-accounts/{id}/test","href":"/api-reference/carrier-accounts/test"},{"title":"Turn a Paused Account Back On","openapi":"POST /carrier-accounts/{id}/reactivate","href":"/api-reference/carrier-accounts/reactivate"},{"title":"Sync Numbers","openapi":"POST /carrier-accounts/{id}/sync","href":"/api-reference/carrier-accounts/sync"},{"title":"Add Number to Carrier Account","openapi":"POST /carrier-accounts/{id}/numbers","href":"/api-reference/carrier-accounts/add-number"},{"title":"Answer a Number's Calls in Yappr","openapi":"POST /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/configure-number"},{"title":"Stop Answering a Number's Calls in Yappr","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/restore-number"},{"title":"Remove Number from This Workspace","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}","href":"/api-reference/carrier-accounts/remove-number"}]},{"group":"Calls","pages":[{"title":"Create Outbound Call","openapi":"POST /calls","href":"/api-reference/calls/create"},{"title":"List Calls","openapi":"GET /calls","href":"/api-reference/calls/list"},{"title":"Export Calls","openapi":"GET /calls/export","description":"The call log as a file, filtered exactly as `GET /calls` is filtered. Required\nscope `calls:read`, or `calls:metrics`, whose file leaves From, To, Lead name, Summary\nand Carrier call ID empty, carries no Extracted columns, and refuses the `caller`,\n`callee`, `search` and `lead_id` filters. `Lead name` is filled only for a key that also holds\n`leads:read`; without it the column is empty on every row, as `GET /calls` reads\nsuch a key's lead as `{id}`, and a `lead_id` filter does not bring the name back.\n\nIt carries the same fields as the dashboard's Export CSV, in the same order, so the\ntwo line up column for column. Every line under the headings is one call: the total\nis the `X-Total-Cost-USD` header, not a line among the rows. They are not\nbyte for byte alike: this file has fixed English headings and the API's own values;\nthe dashboard's is written in the reader's language, heads its start\n`Started (ISO 8601)` (with the workspace's offset) and adds `Started (\u003czone>)`\nsecond, heads its duration `Duration (seconds)`, writes the screen's words for\ndirection, status, source and no agent, and `Yes`/`No` for `true`/`false`.\n\nAnswers `text/csv; charset=utf-8` with a UTF-8 byte-order mark, which is what makes\na spreadsheet read Hebrew agent and disposition names as Hebrew. Rows stream as they\nare read, so a large window starts arriving immediately.\n\n**One moment.** The file holds the calls that existed when the request arrived; a\ncall that starts while it streams belongs to the next export, never half to this\none. `X-Total-Rows` is therefore exactly the number of call rows in the file.\n\n**Columns.** `Started` (ISO 8601 with its offset, always `+00:00` — the file is not\nlocalised, so it carries no workspace timezone), `Agent` (the agent's name, empty\nwhen the call has none), `A/B` (`A`, `B`, or empty), `Direction` and `Status` (the\nAPI's own values, e.g. `web_call`, `no_answer`), `Disposition` (the outcome's\nlabel), `From`, `To`, `Duration` (whole seconds), `Cost (USD)` (dollars and cents;\n`0.00` on a call that ended without a charge, empty only while the charge is pending),\n`Source`, `Shared link ID`,\n`Call ID` (the key to `GET /calls/{id}` — join on this), `Lead name` (empty when the\ncall has no lead or it was deleted, and for a key without `leads:read`), `Summary`, `Cost status` (`charged`,\n`not_charged` or `pending`, exactly as `cost_status` on `GET /calls`), `Ended by`\n(`caller`, `agent`, `system`, `operator`, `unknown`, or empty when nothing recorded\nit, exactly as `ended_by` on `GET /calls`), `Agent ID` (the agent's id beside its\nname, so two agents with one name stay two in a pivot), `Provider` (`external`,\n`telnyx`, or empty on a browser call, exactly as `provider` on `GET /calls`), `Carrier\naccount` (the carrier account's name on an `external` call, for a key with\n`carrier_accounts:read`; empty otherwise), `Carrier call ID` (on an `external` call, the\nid Telnyx gave it on your account, as `carrier_call_id`), then one `Extracted: \u003cfield>` column\nper field any call in the file collected, named for its key in `extracted_data`\n(a string as written, a number or `true`/`false` as the API returns it, anything\nnested as JSON, empty when the call did not collect it). In `Lead name`, `Summary`\nand the `Extracted:` columns a value opening with `=`, `+`, `-`, `@` or a tab is\nwritten with a leading apostrophe so a spreadsheet does not run it as a formula; a\nphone number or a plain number is written as it is. The first twenty-one columns\nnever move; the `Extracted:` set depends on the window, so read those by heading.\nThere is no `Total` line: what the rows cost together is the `X-Total-Cost-USD`\nheader.\n\n**Row limit.** At most 10000 calls per export. A window holding more is refused\nwith `400 CALLS_EXPORT_TOO_LARGE` naming the count — never truncated, because a\nfile cut short carries totals that are wrong and says nothing about it. Page a\nlarger export by splitting the window with `from` and `to`: a call's start time\nnever changes, so consecutive windows skip nothing. `to` is inclusive, so a call\nthat started at exactly a boundary is in both neighbouring files — de-duplicate on\n`Started` before adding their `X-Total-Cost-USD` values up.\n\n`limit`, `offset`, `cursor` and `updated_since` are refused here with\n`400 CALLS_QUERY_INVALID`. An export is one whole window of call starts, not a page\nof it and not what changed since it last ran: to read pages, or the calls that have\nchanged, use `GET /calls`.\n","href":"/api-reference/calls/export"},{"title":"Get Call","openapi":"GET /calls/{id}","href":"/api-reference/calls/get"},{"title":"End an Unopened Browser Session","openapi":"POST /calls/{id}/end","description":"Requires calls:create. Ends a browser session minted with POST /calls {\"type\":\"web\"} that no browser has opened yet (status pending_connection): the call settles at once as status no_answer, ended_by operator, disconnect_reason \"Ended by operator\", cost 0 and no failure member (you ended it; it did not fail), and a browser that later tries the session's token is turned away. It takes no body. It is not a hang-up: a call a browser has already opened, or one that has settled, is refused with 409 CALL_NOT_PENDING and left as it is.\n","href":"/api-reference/calls/end"},{"title":"Get Call Recording","openapi":"GET /calls/{id}/recording","href":"/api-reference/calls/recording"},{"title":"Revoke Recording Links","openapi":"POST /calls/{id}/recording/revoke","href":"/api-reference/calls/recording-revoke"},{"title":"Create Web Call Request","openapi":"POST /call-requests","href":"/api-reference/calls/request-create"},{"title":"Get Call Request","openapi":"GET /call-requests/{id}","href":"/api-reference/calls/request-get"},{"title":"Start Web Call Request","openapi":"POST /call-requests/{id}/start","href":"/api-reference/calls/request-start"},{"title":"Cancel Call Request","openapi":"POST /call-requests/{id}/cancel","href":"/api-reference/calls/request-cancel"}]},{"group":"Browser calls","pages":[{"title":"TURN Credentials","openapi":"POST /turn-credentials","href":"/api-reference/web-call/turn-credentials"},{"title":"Connect a Browser Call","openapi":"POST /web-call","href":"/api-reference/web-call/offer"},{"title":"Cancel a Browser Session","openapi":"POST /web-call/cancel","href":"/api-reference/web-call/cancel"},{"title":"Create Browser Call Request","openapi":"POST /web-call/call-requests","href":"/api-reference/web-call/request-create"},{"title":"Poll Browser Call Request","openapi":"GET /web-call/call-requests/{id}","href":"/api-reference/web-call/request-get"},{"title":"Start Browser Call Request","openapi":"POST /web-call/call-requests/{id}/start","href":"/api-reference/web-call/request-start"},{"title":"Cancel Browser Call Request","openapi":"POST /web-call/call-requests/{id}/cancel","href":"/api-reference/web-call/request-cancel"}]},{"group":"Do Not Call","pages":[{"title":"List DNC entries","openapi":"GET /do-not-call","href":"/api-reference/do-not-call/list"},{"title":"Add to DNC list","openapi":"POST /do-not-call","href":"/api-reference/do-not-call/add"},{"title":"Get DNC entry","openapi":"GET /do-not-call/{id}","href":"/api-reference/do-not-call/get"},{"title":"Update DNC entry","openapi":"PATCH /do-not-call/{id}","href":"/api-reference/do-not-call/update"},{"title":"Remove from DNC list","openapi":"DELETE /do-not-call/{id}","href":"/api-reference/do-not-call/delete"}]},{"group":"API Keys","pages":[{"title":"List API keys","openapi":"GET /api-keys","href":"/api-reference/api-keys/list"},{"title":"Issue an API key","openapi":"POST /api-keys","href":"/api-reference/api-keys/create"},{"title":"Get an API key","openapi":"GET /api-keys/{id}","href":"/api-reference/api-keys/get"},{"title":"Revoke an API key","openapi":"DELETE /api-keys/{id}","href":"/api-reference/api-keys/delete"}]},{"group":"Call Windows","pages":[{"title":"Get call time windows","openapi":"GET /call-windows","href":"/api-reference/call-windows/get"},{"title":"Update call time windows","openapi":"PUT /call-windows","href":"/api-reference/call-windows/update"}]},{"group":"Dispositions","pages":[{"title":"List Dispositions","openapi":"GET /dispositions","href":"/api-reference/dispositions/list"},{"title":"Create Disposition","openapi":"POST /dispositions","href":"/api-reference/dispositions/create"},{"title":"Get Disposition","openapi":"GET /dispositions/{id}","href":"/api-reference/dispositions/get"},{"title":"Update Disposition","openapi":"PATCH /dispositions/{id}","href":"/api-reference/dispositions/update"},{"title":"Delete Disposition","openapi":"DELETE /dispositions/{id}","href":"/api-reference/dispositions/delete"}]},{"group":"Leads","pages":[{"title":"List Leads","openapi":"GET /leads","href":"/api-reference/leads/list"},{"title":"Create Lead","openapi":"POST /leads","href":"/api-reference/leads/create"},{"title":"Get Lead","openapi":"GET /leads/{id}","href":"/api-reference/leads/get"},{"title":"Update Lead","openapi":"PATCH /leads/{id}","href":"/api-reference/leads/update"},{"title":"Delete Lead","openapi":"DELETE /leads/{id}","href":"/api-reference/leads/delete"}]},{"group":"Lead Tags","pages":[{"title":"List Lead Tags","openapi":"GET /lead-tags","href":"/api-reference/lead-tags/list"},{"title":"Create Lead Tag","openapi":"POST /lead-tags","href":"/api-reference/lead-tags/create"},{"title":"Get Lead Tag","openapi":"GET /lead-tags/{id}","href":"/api-reference/lead-tags/get"},{"title":"Update Lead Tag","openapi":"PATCH /lead-tags/{id}","href":"/api-reference/lead-tags/update"},{"title":"Delete Lead Tag","openapi":"DELETE /lead-tags/{id}","href":"/api-reference/lead-tags/delete"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","openapi":"GET /campaigns","href":"/api-reference/campaigns/list"},{"title":"Suggested campaign settings","openapi":"GET /campaigns/defaults","href":"/api-reference/campaigns/defaults"},{"title":"Create a campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"Get a campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update a campaign","openapi":"PATCH /campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Archive a campaign","openapi":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/archive"},{"title":"Restore a campaign","openapi":"POST /campaigns/{id}/restore","href":"/api-reference/campaigns/restore"},{"title":"Launch a campaign","openapi":"POST /campaigns/{id}/launch","href":"/api-reference/campaigns/launch"},{"title":"Pause a campaign","openapi":"POST /campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume a campaign","openapi":"POST /campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Stop a campaign","openapi":"POST /campaigns/{id}/stop","href":"/api-reference/campaigns/stop"},{"title":"Campaign stats","openapi":"GET /campaigns/{id}/stats","href":"/api-reference/campaigns/stats"},{"group":"Contacts","pages":[{"title":"Enroll contacts","openapi":"POST /campaigns/{id}/leads","href":"/api-reference/campaigns/enroll"},{"title":"List enrolled contacts","openapi":"GET /campaigns/{id}/leads","href":"/api-reference/campaigns/list-leads"},{"title":"Exclude a contact","openapi":"DELETE /campaigns/{id}/leads/{lead_id}","href":"/api-reference/campaigns/exclude"}]}]},{"group":"Shared Links","pages":[{"title":"List Shared Links","openapi":"GET /shared-links","href":"/api-reference/shared-links/list"},{"title":"Create Shared Link","openapi":"POST /shared-links","href":"/api-reference/shared-links/create"},{"title":"Get Shared Link","openapi":"GET /shared-links/{id}","href":"/api-reference/shared-links/get"},{"title":"Revoke Shared Link","openapi":"PATCH /shared-links/{id}","href":"/api-reference/shared-links/update"}]},{"group":"Affiliates","pages":[{"title":"Affiliate stats","openapi":"GET /affiliates/stats","href":"/api-reference/affiliates/stats"},{"title":"List sub-affiliates","openapi":"GET /affiliates/downline","href":"/api-reference/affiliates/downline"}]},{"group":"Agent Eval","pages":[{"group":"Personas","pages":[{"title":"List Personas","openapi":"GET /agent-eval/personas","href":"/api-reference/agent-eval/personas/list"},{"title":"Create Persona","openapi":"POST /agent-eval/personas","href":"/api-reference/agent-eval/personas/create"},{"title":"Get Persona","openapi":"GET /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/get"},{"title":"Update Persona","openapi":"PATCH /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/update"},{"title":"Delete Persona","openapi":"DELETE /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/delete"}]},{"group":"Cases","pages":[{"title":"List Cases","openapi":"GET /agent-eval/cases","href":"/api-reference/agent-eval/cases/list"},{"title":"Create Case","openapi":"POST /agent-eval/cases","href":"/api-reference/agent-eval/cases/create"},{"title":"Get Case","openapi":"GET /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/get"},{"title":"Update Case","openapi":"PATCH /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/update"},{"title":"Delete Case","openapi":"DELETE /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/delete"},{"title":"Run a Case","openapi":"POST /agent-eval/cases/{case_id}/run","href":"/api-reference/agent-eval/cases/run"}]},{"group":"Suites","pages":[{"title":"List Suites","openapi":"GET /agent-eval/suites","href":"/api-reference/agent-eval/suites/list"},{"title":"Create Suite","openapi":"POST /agent-eval/suites","href":"/api-reference/agent-eval/suites/create"},{"title":"Get Suite","openapi":"GET /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/get"},{"title":"Update Suite","openapi":"PATCH /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/update"},{"title":"Delete Suite","openapi":"DELETE /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/delete"},{"title":"Run a Suite","openapi":"POST /agent-eval/suites/{id}/run","href":"/api-reference/agent-eval/suites/run"},{"title":"List Suite Executions","openapi":"GET /agent-eval/suites/{id}/runs","href":"/api-reference/agent-eval/suites/runs/list"},{"title":"Get Suite Execution","openapi":"GET /agent-eval/suites/{id}/runs/{suite_run_id}","href":"/api-reference/agent-eval/suites/runs/get"}]},{"group":"Runs","pages":[{"title":"List Runs","openapi":"GET /agent-eval/runs","href":"/api-reference/agent-eval/runs/list"},{"title":"Get Run","openapi":"GET /agent-eval/runs/{id}","href":"/api-reference/agent-eval/runs/get"},{"title":"Get Run Turns","openapi":"GET /agent-eval/runs/{id}/turns","href":"/api-reference/agent-eval/runs/turns"},{"title":"Get Run Evaluation","openapi":"GET /agent-eval/runs/{id}/evaluation","href":"/api-reference/agent-eval/runs/evaluation"},{"title":"Cancel a Run","openapi":"POST /agent-eval/runs/{id}/cancel","href":"/api-reference/agent-eval/runs/cancel"}]}]}]}]},"basePath":"","title":"Get Call - Yappr","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}