Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {"type":"web"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.
Read a transcript you supply for the values this agent collects, and get them
back. Nothing is called, nothing is written, and the agent is unchanged.
Required scope: agents:read.This is the assertable half of a rehearsal. A browser session minted with
POST /calls {"type":"web"} is a call from the
moment the mint answers, but it has no conversation until a browser connects
it, so an integration with no browser had no extracted_data to check and no
way to prove its extraction parameters work before a real caller met them. A dry run gives you one, in CI, from a
conversation you wrote.
curl -X POST "$YAPPR_API_URL/agents/$AGENT_ID/extraction/dry-run" \ --header "Authorization: Bearer $YAPPR_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "transcript": [ { "role": "agent", "text": "Hi, how many seats do you need?" }, { "role": "user", "text": "About 12, and yes please book a demo. We could start next month." } ], "reference_time": "2026-09-23" }'
start_date is null because “next month” names a month and no day;
extracted_data_precision says which month. reference_date and timezone
are the day the dates were read from and the zone it was read in
(below).
The request
Field
Meaning
transcript
Required. Either an array of {"role","text"} turns — the shape Get call returns — or the conversation as text, one turn per line, each line opening with its speaker and a colon. role is agent, user or voicemail; anything else reads as the caller. At most 400 turns and 40,000 characters.
reference_time
Optional. The day the conversation happened on, which its dates are read from — “tomorrow”, “next Sunday”, “the first of November”. Either a plain "YYYY-MM-DD", taken as that day, or a timestamp with its zone such as "2026-09-23T12:44:00+03:00", read in your workspace’s time zone the way a real call’s start is. Left out, it is today. A timestamp with no zone is 400 EXTRACTION_DRY_RUN_INVALID: it names a different day depending on where it is read.
extraction_parameters
Optional. A set to try instead of the agent’s own, so you can see what a parameter would collect before saving it with PATCH /agents/{id}. Held to exactly what PATCH accepts: name, description and an optional type of text, number, yes_no or date. Anything PATCH refuses — a missing name or description, "type": "bool" — is 400 EXTRACTION_DRY_RUN_INVALID with the message PATCH gives, naming the entry.
Any other field is 400 EXTRACTION_DRY_RUN_INVALID.
A transcript as text
Text is split into turns by the speaker each line opens with, so an answer is
read against the question the agent asked on the line above it:
Agent: How many years of experience do you have?User: About two and a half.סוכן: מתי תוכל להתחיל?מתקשר: בראשון בנובמבר.
The line opens with
It is
Agent:, סוכן:
the agent
User:, Caller:, Customer:, משתמש:, מתקשר:, לקוח:
the caller
Voicemail:, תא קולי:
a voicemail greeting
The speaker is matched without regard to case. Blank lines are skipped. A line
that opens with anything else — including a continuation of the line above — is
400 EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED, naming the line, rather than
being guessed into someone’s turn. To send text without speakers, send it as
turns instead.
The answer
The transcript is read the way a finished call’s is: the same instructions to
the model, the same model and settings, the same reading of its answer, and
the same day to count dates from, with reference_time standing in for the
call’s start. What comes back is what the agent will collect from that
conversation.extracted_data is keyed by your parameters and by nothing else: a key the
model invented is dropped, and a parameter it left out is still a key, with
null. null means the conversation never said it, which is a different
answer from a value you did not ask for — that key is simply absent.Each value is read as the kind its parameter declared, by the same coercion a
real call’s extracted_data goes through:
Kind
Said
Comes back
number
”About 12 seats”
12 — an approximate answer is its number
number
”About two and a half”, “בערך שנתיים וחצי” / “שנה וחצי” / “half a year”
2.5 / 1.5 / 0.5 — a half is kept
number
”3-4”, “three or four”, “שלוש או ארבע”, “בין שש לשבע”
3.5 / 6.5 — a range is its middle, and extracted_data_ranges gives its two ends (below)
yes_no
”Yes, please”
true
date
”the first of November”
YYYY-MM-DD, or null when the caller named a month and no day (below)
extraction_parameters is echoed with the kind each one was read as. A type
you send must be text, number, yes_no or date; anything else is 400 EXTRACTION_DRY_RUN_INVALID, as it is on PATCH /agents/{id}. A parameter
saved on the agent with no type - from before types existed - is read as
text, and echoed as text.A date is resolved exactly as a real call’s is, from reference_time
instead of the call’s start, and held to the caller’s own words:
A day and month with no year is the next time it comes round, and “tomorrow”
and “next Sunday” are counted from that day.
Something the caller says already happened is counted back, never forward,
whichever verb says so: “it ended in June”, “נגמרה ביוני”, “I arrived on the
5th of March”, “נכנסתי ב-5 במרץ”, “הגעתי לארץ ביוני”, “עליתי באוגוסט”. 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”, “קיבלתי זימון לדיון ב-12
בנובמבר”, “קיבלתי אשרה חדשה שנגמרת בנובמבר”, “my hearing was rescheduled for
the 5th of March”. “My visa has run out on the 5th of October” already
happened. In one answer each date keeps its own tense: “נכנסתי בשלושה במרץ, והאשרה פגה בעשרים באוגוסט”
said on 23 September 2026 is 2026-03-03 and 2026-08-20, and “I arrived
back in March, and my hearing is on the first of March” is March 2026 and
2027-03-01.
Which day a letter, message or call names — the day of the event it is about,
or its own — is the reader’s judgement from the caller’s words, and the
answer says which as role in extracted_data_precision: event (the day
of the thing itself, ahead or gone as the caller tells it) or message (the
day it was sent or received, which has passed). “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”, “I got a text about my MRI asking me to come on the 3rd of
December” and “קיבלתי הודעה על בדיקת התוצאות ב-3 בדצמבר” are event,
2026-12-03; “I got a letter about my lease on the 5th of March” is
message, 2026-03-05. The day a payment or refund falls due, results are
ready or a lease or approval ends is that thing’s own, not the message’s: a
day the letter, message or call says is still to come stays ahead whatever
the reader answered (“I got an email that my payment is due on the 5th of
March”, “I got a text saying my results are ready on the 5th of March”,
“קיבלתי הודעה שהתשלום יורד ב-5 במרץ” are 2027-03-05, and a message
answer for such a day is not returned), while “my payment was received on”
stays the letter’s. When the reader cannot say, or 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 rule that follows decides from the words alone and
no role is returned. The day of an event that a letter, message or
call told the caller about is that event’s: a date after the notice (“a letter”, “a text”, “a call”, “a
referral”, “מכתב”, “הודעה”, “זימון”, “הפניה”) and “about”, “for”, “of”,
“regarding”, “על” or “לגבי” — or the event’s own ל or ש — belongs to the
event. An event is a medical procedure or service — a surgery, a test, a
scan, a treatment, an angiography, a vaccine, chemo, a follow-up, “הצנתור”,
“החיסון”, “ההקרנה”, or one named like a procedure (“a colposcopy”, “an
appendectomy”, “an angioplasty”, “קולפוסקופיה”) — or a hearing, an
appointment, an interview or a flight. Anything else a letter, message,
email or call is about — a lease, an allowance, an appeal, an order, a
visa, “my son”, “הגמלה”, “הערעור” — is the day the message came. After a
notice that calls the caller to something — a summons, an invitation, a
referral, an appointment or a reminder (“זימון”, “הזמנה”, “הפניה”, “תור”,
“תזכורת”), or a letter that gives a date for it — whatever it calls them to
is the event, and so is a noun a ש dates directly (“קיבלתי מכתב שהערעור ב-3
בדצמבר”). The noun that heads the phrase decides, for an event too — the
last one before the date in English (“my heart catheterization” is the
procedure, “my surgery approval”, “my treatment plan”, “my test kit” are
things of it), the first after “על” in Hebrew (“על הוויזה החדשה שלי” is
about the visa, “על אישור הניתוח”, “על תוכנית הטיפול” about the approval
and the plan). A head that sets the event’s day keeps it the event’s (“my
surgery date”, “על מועד הניתוח”, “על תור לבדיקה”), whoever owns it or
however it is described (“על התור שלי לבדיקה”, “על מועד חדש לניתוח”, “על
המועד של הניתוח”), and so does a verb that says when the event is (“my
surgery happening on”, “taking place on”, “my MRI booked on”); any other
word in -ing names a thing (“my surgery waiting list”, “my treatment
running costs”). What was received of the
event — “my MRI results”, “תוצאות הבדיקה”, a report, a copy, a payment — and
what was received, paid or submitted on a day already happened. Said on 23
September 2026:
The caller said
Stored
”I got a letter about my surgery on the 12th of November”
2026-11-12
”I got a letter about my left knee replacement on the 3rd of December”, “I got a form for my surgery on the 3rd of December”, “I got a letter about my stent on the 3rd of December”, “קיבלתי הודעה על בדיקת התוצאות ב-3 בדצמבר”
2026-12-03, role: "event"
”קיבלתי מכתב על הניתוח ב-12 בנובמבר”
2026-11-12
”I got a text about my MRI on the 12th of November”
2026-11-12
”קיבלתי הפניה לבדיקה ב-3 בדצמבר”
2026-12-03
”קיבלתי מכתב שהניתוח שלי ב-12 בנובמבר”
2026-11-12
”I got a letter about my angiography on the 3rd of December”, “קיבלתי מכתב על הצנתור ב-3 בדצמבר”, “קיבלתי זימון להקרנה ב-3 בדצמבר”
2026-12-03
”I got a message about my MRI results on the 5th of March”, “קיבלתי הודעה על תוצאות הבדיקה ב-5 במרץ”
2026-03-05 — the day the results came
”I got an email that my payment is due on the 5th of March”, “I got a letter that my lease ends on the 5th of March”, “קיבלתי הודעה שהתשלום יורד ב-5 במרץ”
2027-03-05 — the day the letter says is still to come
”I got a letter about my visa on the 5th of March”, “I got an email about my order on the 5th of March”
2026-03-05 — the day the letter came
”I got a letter about my lease on the 5th of March”, “קיבלתי מכתב מביטוח לאומי על הגמלה ב-5 במרץ”, “קיבלתי מכתב על הערעור ב-5 במרץ”
2026-03-05 — the day the letter came
”I got a letter about my surgery approval on the 5th of March”, “I got a letter about my surgery waiting list on the 5th of March”, “קיבלתי מכתב על אישור הניתוח ב-5 במרץ”, “קיבלתי מכתב על תוכנית הטיפול ב-5 במרץ”
2026-03-05 — the day the letter came: the approval, the waiting list and the plan head the phrase
”I got a letter about my surgery happening on the 12th of November”, “קיבלתי הודעה על התור שלי לבדיקה ב-12 בנובמבר”, “קיבלתי מכתב על המועד של הניתוח ב-12 בנובמבר”
2026-11-12 — the appointment and the verb set the event’s day
”I got a summons for my appeal on the 3rd of December”, “קיבלתי זימון לערעור ב-3 בדצמבר”, “קיבלתי תזכורת על הערעור ב-3 בדצמבר”
2026-12-03 — a summons or reminder calls the caller to it
”I had surgery on the 12th of November”, “עברתי ניתוח ב-12 בנובמבר”, “הייתי בבדיקה ב-3 בדצמבר”
2025-11-12, 2025-11-12, 2025-12-03 — had, gone through or attended, so it already happened
”I received the results of my MRI on the 5th of March”, “קיבלתי את התוצאות של הבדיקה ב-5 במרץ”
2026-03-05 — the day the results came
”I received a copy of my contract on the 5th of March”, “הגשתי בקשה לויזה ב-5 במרץ”, “שילמתי על הטיפול ב-5 במרץ”
2026-03-05
A date parameter whose description is about something still to come
(“The date of the caller’s upcoming appointment”, “התאריך של הניתוח
המתוכנן”, “התור הקרוב”) is never counted back. Say “last” or “הקודם” in the
description of one that is about the past.
A length of time ago in months or years is that month, marked approximate,
not a day: “a month ago”, “לפני חודשיים וחצי” and “two and a half years ago”
are null with {"precision": "month", "month": …, "approximate": true},
the month that length back — on 23 September 2026 2026-08, 2026-07 and
2024-03. “Last month” names the month, so it is not marked. Days and weeks (“a week ago”) are a day. A range
of lengths is its middle: “six to seven weeks ago” is 45½ days back
(2026-08-08), “בין שש לשבע חודשים” six and a half months back
(2026-03, approximate) — whichever end the model counted from.
A year the caller said is kept.
A weekday with a day of the month that falls on another weekday (“next
Tuesday the 14th” when the 14th is a Wednesday) is the day of the month
stated, 2026-10-14, and its precision entry says so with
"ambiguity": ["weekday_mismatch"].
The table on Get call
has every case. The answer carries reference_date and timezone, the day that was
used and the zone it was read in, so a result can be checked against them, and
extracted_data_precision, one entry per date parameter saying whether the
caller gave a day, only a month (with the month, and approximate: true
when it was worked out from a length of time ago), or neither (unknown), with
the reader’s role for the day when it gave one.
“Sometime in November, I don’t know which day yet” is a month, not the 1st:
A real call records the same member; Get call
explains how to read it.
A range
A number the caller gave as a range is stored as its middle, and
extracted_data_ranges gives the two ends, so a 6.5 that was “between six and
seven” can be told from one that was “six and a half”:
It is present only when some number was a range. A real call records the same
member, read back by Get call.Set your workspace’s time zone. Dates are read on the workspace’s clock
(Settings → Timezone). A workspace left on UTC reads a call made in Israel after
midnight as the day before: at 00:50 on 25 September in Tel Aviv it is still
the 24th in UTC, so “tomorrow” is stored as the 25th, not the 26th. The same
holds for a reference_time sent as a timestamp; a plain "YYYY-MM-DD" is
taken as that day whatever the zone.
What a dry run is not
It does not rehearse the conversation. It reads one you supply; it never
decides what the agent would have said.
It writes no call, so it does not appear in
GET /calls and cannot be read back later. Keep
the answer if you need it.
It reads the agent’s extraction parameters as they are saved on the agent
right now, not as they were in any published version.
It costs a model call, and it needs agents:read: a key without it is
refused with 403 INSUFFICIENT_SCOPE before the model is called.
Errors
HTTP
Code
When
400
EXTRACTION_DRY_RUN_INVALID
No transcript, an empty one, a turn with no text, a transcript over the size limits, an extraction_parameters entry PATCH would refuse, an empty extraction_parameters, a reference_time that is neither a date nor a timestamp with its zone, or a field this endpoint does not take. The message names it.
400
EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED
A transcript sent as text has a line that does not open with one of the speakers above. The message gives the line number.
403
INSUFFICIENT_SCOPE
The key has no agents:read. Nothing was read and no model was called.
403
AGENT_OUTSIDE_KEY_SCOPE
The key is limited to some agents and this is not one of them. The answer is the same whether the agent exists or not.
404
AGENT_NOT_FOUND
No such agent in this workspace, or it is archived.
404
RESOURCE_ID_INVALID
The agent id in the path is not an id at all. Use an id exactly as List agents returned it.
404
ROUTE_NOT_FOUND
A path under /agents/{id}/extraction/ other than dry-run. Nothing was read.
405
METHOD_NOT_ALLOWED
Any method but POST. The Allow header says POST. Nothing was read or changed.
422
EXTRACTION_NOT_CONFIGURED
The agent has no extraction parameters and the request sent none either, so there is nothing to read the transcript for. A bad entry in the extraction_parameters you did send is 400, not this.
503
EXTRACTION_DRY_RUN_UNAVAILABLE
The reader could not be reached. Nothing was read and nothing was changed — send the same request again.
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
Body
application/json
transcript
stringobject[]
required
The conversation to read - either an array of {"role","text"} turns, the shape GET /calls/{id} returns, or text with one turn per line, each line opening with its speaker and a colon (Agent, User, Caller, Customer, Voicemail, סוכן, משתמש, מתקשר, לקוח or תא קולי, any case); a line that does not is refused with EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED. In the array, role is agent, user or voicemail; anything else reads as the caller. At most 400 turns and 40000 characters.
reference_time
string
The day the conversation happened on, which its dates ("tomorrow", "next Sunday", "the first of November") are read from - a plain YYYY-MM-DD taken as that day, or a timestamp with its zone, read in the workspace's time zone as a real call's start is. Left out, it is today. A timestamp with no zone is refused.
Example:
"2026-09-23T12:44:00+03:00"
extraction_parameters
object[]
A set to try instead of the agent's own, so a parameter can be seen working before it is saved with PATCH /agents/{id}. Held to exactly what PATCH accepts - an entry PATCH refuses, such as "type": "bool", is refused here with PATCH's message. Leave it out to use the agent's.
Show child attributes
Response
The values the transcript gave up.
agent_id
string<uuid>
transcript_turns
integer
How many non-empty turns were read.
extraction_parameters
object[]
The parameters that were read for, each with the kind it was read as. A type sent in extraction_parameters must be one of the four (anything else is 400); a parameter saved on the agent with no type is read, and echoed, as text.
Show child attributes
extracted_data
object
Keyed by your parameters and by nothing else - a key the model invented is dropped, and a parameter it left out is still a key, with null. null means the conversation never said it, which is different from a key that is absent because you never asked for it. A number is 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 is a YYYY-MM-DD day or null - a month with no day is null, and extracted_data_precision says it was a month.
extracted_data_precision
object
One entry per date parameter, saying how precisely the caller gave it: day, month or unknown, with the reader's role for the day (event or message) when it gave one. Present only when a date parameter was read for.
One entry per number parameter whose answer is the middle of a range the caller gave, with the range's two ends. Present only when there is one.
Show child attributes
Example:
{ "pain_level": { "low": 6, "high": 7 } }
reference_date
string<date>
The day the transcript's dates were read from - reference_time, or today.
timezone
string
The IANA zone reference_date is in - the workspace's, or UTC when it has none. A workspace left on UTC reads a call made in Israel after midnight as the day before.
{"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/agents/extraction-dry-run","slug":"/api-reference/agents/extraction-dry-run","pageMetadata":{"title":"Dry-run Extraction","openapi":"POST /agents/{id}/extraction/dry-run","description":"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\"type\":\"web\"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\n","href":"/api-reference/agents/extraction-dry-run"},"description":"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\"type\":\"web\"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\n","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`,em:`em`,li:`li`,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,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Read a transcript you supply for the values this agent collects, and get them\nback. Nothing is called, nothing is written, and the agent is unchanged.\nRequired scope: `,_jsx(_components.code,{children:`agents:read`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`This is the assertable half of a rehearsal. A browser session minted with\n`,_jsx(_components.a,{href:`/api-reference/calls/create`,children:_jsx(_components.code,{children:`POST /calls {\"type\":\"web\"}`})}),` is a call from the\nmoment the mint answers, but it has no conversation until a browser connects\nit, so an integration with no browser had no `,_jsx(_components.code,{children:`extracted_data`}),` to check and no\nway to prove its extraction parameters work before a real caller met them. A dry run gives you one, in CI, from a\nconversation you wrote.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$YAPPR_API_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/agents/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$AGENT_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/extraction/dry-run\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$YAPPR_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transcript\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"agent\", \"text\": \"Hi, how many seats do you need?\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"user\", \"text\": \"About 12, and yes please book a demo. We could start next month.\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reference_time\": \"2026-09-23\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,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:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ea76e25f-e3d1-4ca0-a17f-c1935cfb8281\"`}),_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:` \"transcript_turns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},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:` \"extraction_parameters\"`}),_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:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seats\"`}),_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:`\"number\"`}),_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:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wants_demo\"`}),_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:`\"yes_no\"`}),_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:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"start_date\"`}),_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:`\"date\"`}),_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:` \"extracted_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`, `}),_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:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start_date\"`}),_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:` \"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_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:`\"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-10\"`}),_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:` \"reference_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-23\"`}),_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:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Asia/Jerusalem\"`})]}),`\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:`start_date`}),` is `,_jsx(_components.code,{children:`null`}),` because “next month” names a month and no day;\n`,_jsx(_components.code,{children:`extracted_data_precision`}),` says which month. `,_jsx(_components.code,{children:`reference_date`}),` and `,_jsx(_components.code,{children:`timezone`}),`\nare the day the dates were read from and the zone it was read in\n(`,_jsx(_components.a,{href:`#the-answer`,children:`below`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-request`,children:`The request`}),`\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:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transcript`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required.`}),` Either an array of `,_jsx(_components.code,{children:`{\"role\",\"text\"}`}),` turns — the shape `,_jsx(_components.a,{href:`/api-reference/calls/get`,children:`Get call`}),` returns — or the conversation as text, one turn per line, each line opening with its speaker and a colon. `,_jsx(_components.code,{children:`role`}),` is `,_jsx(_components.code,{children:`agent`}),`, `,_jsx(_components.code,{children:`user`}),` or `,_jsx(_components.code,{children:`voicemail`}),`; anything else reads as the caller. At most 400 turns and 40,000 characters.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_time`})}),_jsxs(_components.td,{children:[`Optional. The day the conversation happened on, which its dates are read from — “tomorrow”, “next Sunday”, “the first of November”. Either a plain `,_jsx(_components.code,{children:`\"YYYY-MM-DD\"`}),`, taken as that day, or a timestamp with its zone such as `,_jsx(_components.code,{children:`\"2026-09-23T12:44:00+03:00\"`}),`, read in your workspace’s time zone the way a real call’s start is. Left out, it is today. A timestamp with no zone is `,_jsx(_components.code,{children:`400 EXTRACTION_DRY_RUN_INVALID`}),`: it names a different day depending on where it is read.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extraction_parameters`})}),_jsxs(_components.td,{children:[`Optional. A set to try `,_jsx(_components.strong,{children:`instead of`}),` the agent’s own, so you can see what a parameter would collect before saving it with `,_jsx(_components.a,{href:`/api-reference/agents/update`,children:_jsx(_components.code,{children:`PATCH /agents/{id}`})}),`. Held to exactly what PATCH accepts: `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`description`}),` and an optional `,_jsx(_components.code,{children:`type`}),` of `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`yes_no`}),` or `,_jsx(_components.code,{children:`date`}),`. Anything PATCH refuses — a missing `,_jsx(_components.code,{children:`name`}),` or `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`\"type\": \"bool\"`}),` — is `,_jsx(_components.code,{children:`400 EXTRACTION_DRY_RUN_INVALID`}),` with the message PATCH gives, naming the entry.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Any other field is `,_jsx(_components.code,{children:`400 EXTRACTION_DRY_RUN_INVALID`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`a-transcript-as-text`,children:`A transcript as text`}),`\n`,_jsx(_components.p,{children:`Text is split into turns by the speaker each line opens with, so an answer is\nread against the question the agent asked on the line above it:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: How many years of experience do you have?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User: About two and a half.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`סוכן: מתי תוכל להתחיל?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`מתקשר: בראשון בנובמבר.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The line opens with`}),_jsx(_components.th,{children:`It is`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Agent:`}),`, `,_jsx(_components.code,{children:`סוכן:`})]}),_jsx(_components.td,{children:`the agent`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`User:`}),`, `,_jsx(_components.code,{children:`Caller:`}),`, `,_jsx(_components.code,{children:`Customer:`}),`, `,_jsx(_components.code,{children:`משתמש:`}),`, `,_jsx(_components.code,{children:`מתקשר:`}),`, `,_jsx(_components.code,{children:`לקוח:`})]}),_jsx(_components.td,{children:`the caller`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Voicemail:`}),`, `,_jsx(_components.code,{children:`תא קולי:`})]}),_jsx(_components.td,{children:`a voicemail greeting`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The speaker is matched without regard to case. Blank lines are skipped. A line\nthat opens with anything else — including a continuation of the line above — is\n`,_jsx(_components.code,{children:`400 EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED`}),`, naming the line, rather than\nbeing guessed into someone’s turn. To send text without speakers, send it as\nturns instead.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-answer`,children:`The answer`}),`\n`,_jsxs(_components.p,{children:[`The transcript is read the way a finished call’s is: the same instructions to\nthe model, the same model and settings, the same reading of its answer, and\nthe same day to count dates from, with `,_jsx(_components.code,{children:`reference_time`}),` standing in for the\ncall’s start. What comes back is what the agent will collect from that\nconversation.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`extracted_data`}),` is keyed by your parameters and by nothing else: a key the\nmodel invented is dropped, and a parameter it left out is still a key, with\n`,_jsx(_components.code,{children:`null`}),`. `,_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`null`}),` means the conversation never said it`]}),`, which is a different\nanswer from a value you did not ask for — that key is simply absent.`]}),`\n`,_jsxs(_components.p,{children:[`Each value is read as the kind its parameter declared, by the same coercion a\nreal call’s `,_jsx(_components.code,{children:`extracted_data`}),` goes through:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Kind`}),_jsx(_components.th,{children:`Said`}),_jsx(_components.th,{children:`Comes back`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`”About 12 seats”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`12`}),` — an approximate answer is its number`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`”About two and a half”, “בערך שנתיים וחצי” / “שנה וחצי” / “half a year”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2.5`}),` / `,_jsx(_components.code,{children:`1.5`}),` / `,_jsx(_components.code,{children:`0.5`}),` — a half is kept`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`”3-4”, “three or four”, “שלוש או ארבע”, “בין שש לשבע”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`3.5`}),` / `,_jsx(_components.code,{children:`6.5`}),` — a range is its middle, and `,_jsx(_components.code,{children:`extracted_data_ranges`}),` gives its two ends (`,_jsx(_components.a,{href:`#a-range`,children:`below`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`yes_no`})}),_jsx(_components.td,{children:`”Yes, please”`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date`})}),_jsx(_components.td,{children:`”the first of November”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`YYYY-MM-DD`}),`, or `,_jsx(_components.code,{children:`null`}),` when the caller named a month and no day (below)`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`extraction_parameters`}),` is echoed with the kind each one was read as. A `,_jsx(_components.code,{children:`type`}),`\nyou send must be `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`yes_no`}),` or `,_jsx(_components.code,{children:`date`}),`; anything else is `,_jsx(_components.code,{children:`400 EXTRACTION_DRY_RUN_INVALID`}),`, as it is on `,_jsx(_components.code,{children:`PATCH /agents/{id}`}),`. A parameter\nsaved on the agent with no `,_jsx(_components.code,{children:`type`}),` - from before types existed - is read as\n`,_jsx(_components.code,{children:`text`}),`, and echoed as `,_jsx(_components.code,{children:`text`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`date`}),` is resolved exactly as a real call’s is, from `,_jsx(_components.code,{children:`reference_time`}),`\ninstead of the call’s start, and held to the caller’s own words:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A day and month with no year is the next time it comes round, and “tomorrow”\nand “next Sunday” are counted from that day.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Something the caller says already happened is counted back, never forward,\nwhichever verb says so: “it ended in June”, “נגמרה ביוני”, “I arrived on the\n5th of March”, “נכנסתי ב-5 במרץ”, “הגעתי לארץ ביוני”, “עליתי באוגוסט”. A date\nafter a past verb that is the day of something still to come stays ahead: “I\ngot a letter for my hearing on the 12th of November”, “קיבלתי זימון לדיון ב-12\nבנובמבר”, “קיבלתי אשרה חדשה שנגמרת בנובמבר”, “my hearing was rescheduled for\nthe 5th of March”. “My visa has run out on the 5th of October” already\nhappened. In one answer each date keeps its own tense: “נכנסתי בשלושה במרץ, והאשרה פגה בעשרים באוגוסט”\nsaid on 23 September 2026 is `,_jsx(_components.code,{children:`2026-03-03`}),` and `,_jsx(_components.code,{children:`2026-08-20`}),`, and “I arrived\nback in March, and my hearing is on the first of March” is March 2026 and\n`,_jsx(_components.code,{children:`2027-03-01`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Which day a letter, message or call names — the day of the event it is about,\nor its own — is the reader’s judgement from the caller’s words, and the\nanswer says which as `,_jsx(_components.code,{children:`role`}),` in `,_jsx(_components.code,{children:`extracted_data_precision`}),`: `,_jsx(_components.code,{children:`event`}),` (the day\nof the thing itself, ahead or gone as the caller tells it) or `,_jsx(_components.code,{children:`message`}),` (the\nday it was sent or received, which has passed). “I got a letter about my\nknee replacement on the 3rd of December”, “I got a form for my surgery on the\n3rd of December”, “I got a text about my MRI asking me to come on the 3rd of\nDecember” and “קיבלתי הודעה על בדיקת התוצאות ב-3 בדצמבר” are `,_jsx(_components.code,{children:`event`}),`,\n`,_jsx(_components.code,{children:`2026-12-03`}),`; “I got a letter about my lease on the 5th of March” is\n`,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`2026-03-05`}),`. The day a payment or refund falls due, results are\nready or a lease or approval ends is that thing’s own, not the message’s: a\nday the letter, message or call says is still to come stays ahead whatever\nthe reader answered (“I got an email that my payment is due on the 5th of\nMarch”, “I got a text saying my results are ready on the 5th of March”,\n“קיבלתי הודעה שהתשלום יורד ב-5 במרץ” are `,_jsx(_components.code,{children:`2027-03-05`}),`, and a `,_jsx(_components.code,{children:`message`}),`\nanswer for such a day is not returned), while “my payment was received on”\nstays the letter’s. When the reader cannot say, or the caller’s own words\nsettle it the other way (a letter about a flight or a surgery is that event’s\nday; a letter answering an appeal or a claim, or about a surgery’s approval or\ncost, is the letter’s), the rule that follows decides from the words alone and\nno `,_jsx(_components.code,{children:`role`}),` is returned. The day of an event that a letter, message or\ncall told the caller about is that event’s: a date after the notice (“a letter”, “a text”, “a call”, “a\nreferral”, “מכתב”, “הודעה”, “זימון”, “הפניה”) and “about”, “for”, “of”,\n“regarding”, “על” or “לגבי” — or the event’s own ל or ש — belongs to the\nevent. An event is a medical procedure or service — a surgery, a test, a\nscan, a treatment, an angiography, a vaccine, chemo, a follow-up, “הצנתור”,\n“החיסון”, “ההקרנה”, or one named like a procedure (“a colposcopy”, “an\nappendectomy”, “an angioplasty”, “קולפוסקופיה”) — or a hearing, an\nappointment, an interview or a flight. Anything else a letter, message,\nemail or call is about — a lease, an allowance, an appeal, an order, a\nvisa, “my son”, “הגמלה”, “הערעור” — is the day the message came. After a\nnotice that calls the caller to something — a summons, an invitation, a\nreferral, an appointment or a reminder (“זימון”, “הזמנה”, “הפניה”, “תור”,\n“תזכורת”), or a letter that gives a date for it — whatever it calls them to\nis the event, and so is a noun a ש dates directly (“קיבלתי מכתב שהערעור ב-3\nבדצמבר”). The noun that heads the phrase decides, for an event too — the\nlast one before the date in English (“my heart catheterization” is the\nprocedure, “my surgery approval”, “my treatment plan”, “my test kit” are\nthings of it), the first after “על” in Hebrew (“על הוויזה החדשה שלי” is\nabout the visa, “על אישור הניתוח”, “על תוכנית הטיפול” about the approval\nand the plan). A head that sets the event’s day keeps it the event’s (“my\nsurgery date”, “על מועד הניתוח”, “על תור לבדיקה”), whoever owns it or\nhowever it is described (“על התור שלי לבדיקה”, “על מועד חדש לניתוח”, “על\nהמועד של הניתוח”), and so does a verb that says when the event is (“my\nsurgery happening on”, “taking place on”, “my MRI booked on”); any other\nword in -ing names a thing (“my surgery waiting list”, “my treatment\nrunning costs”). What was received of the\nevent — “my MRI results”, “תוצאות הבדיקה”, a report, a copy, a payment — and\nwhat was received, paid or submitted on a day already happened. Said on 23\nSeptember 2026:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The caller said`}),_jsx(_components.th,{children:`Stored`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my surgery on the 12th of November”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-11-12`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my left knee replacement on the 3rd of December”, “I got a form for my surgery on the 3rd of December”, “I got a letter about my stent on the 3rd of December”, “קיבלתי הודעה על בדיקת התוצאות ב-3 בדצמבר”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-12-03`}),`, `,_jsx(_components.code,{children:`role: \"event\"`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”קיבלתי מכתב על הניתוח ב-12 בנובמבר”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-11-12`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a text about my MRI on the 12th of November”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-11-12`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”קיבלתי הפניה לבדיקה ב-3 בדצמבר”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-12-03`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”קיבלתי מכתב שהניתוח שלי ב-12 בנובמבר”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-11-12`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my angiography on the 3rd of December”, “קיבלתי מכתב על הצנתור ב-3 בדצמבר”, “קיבלתי זימון להקרנה ב-3 בדצמבר”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-12-03`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a message about my MRI results on the 5th of March”, “קיבלתי הודעה על תוצאות הבדיקה ב-5 במרץ”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-03-05`}),` — the day the results came`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got an email that my payment is due on the 5th of March”, “I got a letter that my lease ends on the 5th of March”, “קיבלתי הודעה שהתשלום יורד ב-5 במרץ”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2027-03-05`}),` — the day the letter says is still to come`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my visa on the 5th of March”, “I got an email about my order on the 5th of March”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-03-05`}),` — the day the letter came`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my lease on the 5th of March”, “קיבלתי מכתב מביטוח לאומי על הגמלה ב-5 במרץ”, “קיבלתי מכתב על הערעור ב-5 במרץ”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-03-05`}),` — the day the letter came`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my surgery approval on the 5th of March”, “I got a letter about my surgery waiting list on the 5th of March”, “קיבלתי מכתב על אישור הניתוח ב-5 במרץ”, “קיבלתי מכתב על תוכנית הטיפול ב-5 במרץ”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-03-05`}),` — the day the letter came: the approval, the waiting list and the plan head the phrase`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a letter about my surgery happening on the 12th of November”, “קיבלתי הודעה על התור שלי לבדיקה ב-12 בנובמבר”, “קיבלתי מכתב על המועד של הניתוח ב-12 בנובמבר”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-11-12`}),` — the appointment and the verb set the event’s day`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I got a summons for my appeal on the 3rd of December”, “קיבלתי זימון לערעור ב-3 בדצמבר”, “קיבלתי תזכורת על הערעור ב-3 בדצמבר”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-12-03`}),` — a summons or reminder calls the caller to it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I had surgery on the 12th of November”, “עברתי ניתוח ב-12 בנובמבר”, “הייתי בבדיקה ב-3 בדצמבר”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2025-11-12`}),`, `,_jsx(_components.code,{children:`2025-11-12`}),`, `,_jsx(_components.code,{children:`2025-12-03`}),` — had, gone through or attended, so it already happened`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I received the results of my MRI on the 5th of March”, “קיבלתי את התוצאות של הבדיקה ב-5 במרץ”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2026-03-05`}),` — the day the results came`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`”I received a copy of my contract on the 5th of March”, “הגשתי בקשה לויזה ב-5 במרץ”, “שילמתי על הטיפול ב-5 במרץ”`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-03-05`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`date`}),` parameter whose description is about something still to come\n(“The date of the caller’s upcoming appointment”, “התאריך של הניתוח\nהמתוכנן”, “התור הקרוב”) is never counted back. Say “last” or “הקודם” in the\ndescription of one that is about the past.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`A length of time ago in months or years is that month, marked approximate,\nnot a day: “a month ago”, “לפני חודשיים וחצי” and “two and a half years ago”\nare `,_jsx(_components.code,{children:`null`}),` with `,_jsx(_components.code,{children:`{\"precision\": \"month\", \"month\": …, \"approximate\": true}`}),`,\nthe month that length back — on 23 September 2026 `,_jsx(_components.code,{children:`2026-08`}),`, `,_jsx(_components.code,{children:`2026-07`}),` and\n`,_jsx(_components.code,{children:`2024-03`}),`. “Last month” names the month, so it is not marked. Days and weeks (“a week ago”) are a day. A range\nof lengths is its middle: “six to seven weeks ago” is 45½ days back\n(`,_jsx(_components.code,{children:`2026-08-08`}),`), “בין שש לשבע חודשים” six and a half months back\n(`,_jsx(_components.code,{children:`2026-03`}),`, approximate) — whichever end the model counted from.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A year the caller said is kept.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`A weekday with a day of the month that falls on another weekday (“next\nTuesday the 14th” when the 14th is a Wednesday) is the day of the month\nstated, `,_jsx(_components.code,{children:`2026-10-14`}),`, and its precision entry says so with\n`,_jsx(_components.code,{children:`\"ambiguity\": [\"weekday_mismatch\"]`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The table on `,_jsx(_components.a,{href:`/api-reference/calls/get#what-the-agent-picked-out-of-the-call`,children:`Get call`}),`\nhas every case. The answer carries `,_jsx(_components.code,{children:`reference_date`}),` and `,_jsx(_components.code,{children:`timezone`}),`, the day that was\nused and the zone it was read in, so a result can be checked against them, and\n`,_jsx(_components.code,{children:`extracted_data_precision`}),`, one entry per `,_jsx(_components.code,{children:`date`}),` parameter saying whether the\ncaller gave a `,_jsx(_components.code,{children:`day`}),`, only a `,_jsx(_components.code,{children:`month`}),` (with the month, and `,_jsx(_components.code,{children:`approximate: true`}),`\nwhen it was worked out from a length of time ago), or neither (`,_jsx(_components.code,{children:`unknown`}),`), with\nthe reader’s `,_jsx(_components.code,{children:`role`}),` for the day when it gave one.\n“Sometime in November, I don’t know which day yet” is a month, not the 1st:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"transcript_turns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},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:` \"extracted_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"interview_date\"`}),_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:` \"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_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-11\"`}),_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:` \"interview_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:`\"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:`, `}),_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`,_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:` \"reference_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-23\"`}),_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:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Asia/Jerusalem\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A real call records the same member; `,_jsx(_components.a,{href:`/api-reference/calls/get#how-precise-a-date-was`,children:`Get call`}),`\nexplains how to read it.`]}),`\n`,_jsx(Heading,{level:`3`,id:`a-range`,children:`A range`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`number`}),` the caller gave as a range is stored as its middle, and\n`,_jsx(_components.code,{children:`extracted_data_ranges`}),` gives the two ends, so a 6.5 that was “between six and\nseven” can be told from one that was “six and a half”:`]}),`\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:[_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:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"pain_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6.5`}),_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_ranges\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"pain_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7`}),_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:[`It is present only when some number was a range. A real call records the same\nmember, read back by `,_jsx(_components.a,{href:`/api-reference/calls/get#what-the-agent-picked-out-of-the-call`,children:`Get call`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Set your workspace’s time zone.`}),` Dates are read on the workspace’s clock\n(Settings → Timezone). A workspace left on UTC reads a call made in Israel after\nmidnight as the day before: at 00:50 on 25 September in Tel Aviv it is still\nthe 24th in UTC, so “tomorrow” is stored as the 25th, not the 26th. The same\nholds for a `,_jsx(_components.code,{children:`reference_time`}),` sent as a timestamp; a plain `,_jsx(_components.code,{children:`\"YYYY-MM-DD\"`}),` is\ntaken as that day whatever the zone.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-a-dry-run-is-not`,children:`What a dry run is not`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`It does `,_jsx(_components.strong,{children:`not`}),` rehearse the conversation. It reads one you supply; it never\ndecides what the agent would have said.`]}),`\n`,_jsxs(_components.li,{children:[`It writes no call, so it does not appear in\n`,_jsx(_components.a,{href:`/api-reference/calls/list`,children:_jsx(_components.code,{children:`GET /calls`})}),` and cannot be read back later. Keep\nthe answer if you need it.`]}),`\n`,_jsxs(_components.li,{children:[`It reads the agent’s extraction parameters as they are `,_jsx(_components.strong,{children:`saved on the agent`}),`\nright now, not as they were in any published version.`]}),`\n`,_jsxs(_components.li,{children:[`It costs a model call, and it needs `,_jsx(_components.code,{children:`agents:read`}),`: a key without it is\nrefused with `,_jsx(_components.code,{children:`403 INSUFFICIENT_SCOPE`}),` before the model is called.`]}),`\n`]}),`\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:`EXTRACTION_DRY_RUN_INVALID`})}),_jsxs(_components.td,{children:[`No `,_jsx(_components.code,{children:`transcript`}),`, an empty one, a turn with no `,_jsx(_components.code,{children:`text`}),`, a transcript over the size limits, an `,_jsx(_components.code,{children:`extraction_parameters`}),` entry PATCH would refuse, an empty `,_jsx(_components.code,{children:`extraction_parameters`}),`, a `,_jsx(_components.code,{children:`reference_time`}),` that is neither a date nor a timestamp with its zone, or a field this endpoint does not take. The message names it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`transcript`}),` sent as text has a line that does not open with one of the speakers above. The message gives the line number.`]})]}),_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 has no `,_jsx(_components.code,{children:`agents:read`}),`. Nothing was read and no model was called.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_OUTSIDE_KEY_SCOPE`})}),_jsx(_components.td,{children:`The key is limited to some agents and this is not one of them. The answer is the same whether the agent exists or not.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_NOT_FOUND`})}),_jsx(_components.td,{children:`No such agent in this workspace, or it is archived.`})]}),_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`})}),_jsxs(_components.td,{children:[`The agent id in the path is not an id at all. Use an `,_jsx(_components.code,{children:`id`}),` exactly as `,_jsx(_components.a,{href:`/api-reference/agents/list`,children:`List agents`}),` returned 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:`ROUTE_NOT_FOUND`})}),_jsxs(_components.td,{children:[`A path under `,_jsx(_components.code,{children:`/agents/{id}/extraction/`}),` other than `,_jsx(_components.code,{children:`dry-run`}),`. Nothing was read.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`405`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`METHOD_NOT_ALLOWED`})}),_jsxs(_components.td,{children:[`Any method but `,_jsx(_components.code,{children:`POST`}),`. The `,_jsx(_components.code,{children:`Allow`}),` header says `,_jsx(_components.code,{children:`POST`}),`. Nothing was read or changed.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`EXTRACTION_NOT_CONFIGURED`})}),_jsxs(_components.td,{children:[`The agent has no extraction parameters and the request sent none either, so there is nothing to read the transcript for. A bad entry in the `,_jsx(_components.code,{children:`extraction_parameters`}),` you `,_jsx(_components.em,{children:`did`}),` send is `,_jsx(_components.code,{children:`400`}),`, not this.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`EXTRACTION_DRY_RUN_UNAVAILABLE`})}),_jsx(_components.td,{children:`The reader could not be reached. Nothing was read and nothing was changed — send the same request again.`})]})]})]})]})}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":"Dry-run Extraction","openapi":"POST /agents/{id}/extraction/dry-run","description":"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\"type\":\"web\"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\n","href":"/api-reference/agents/extraction-dry-run"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The request","slug":"the-request","depth":2,"children":[{"title":"A transcript as text","slug":"a-transcript-as-text","depth":3,"children":[]}]},{"title":"The answer","slug":"the-answer","depth":2,"children":[{"title":"A range","slug":"a-range","depth":3,"children":[]}]},{"title":"What a dry run is not","slug":"what-a-dry-run-is-not","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Dry-run extraction","description":"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\"type\":\"web\"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\n","operationId":"dryRunAgentExtraction","tags":["Agents"],"requestBody":"95f0dba7-1ef6-4f4c-a8da-85365215cc02","responses":{"200":"5ed33e0a-b01c-4d26-bacd-584f1b0c2c40","400":"27cc77ec-ab19-477f-92b8-9de142f6da43","403":"0bb72370-d425-40a7-9fe0-087e9ef70263","404":"ea2ea294-8357-4b5a-9b94-aa0dad07da07","405":"d705bbff-0133-4f8c-b50e-32b49018cee4","422":"355335a9-71ef-4c45-b9b9-7790ddca3580","503":"d1be46a6-5e46-4712-88cd-4f538a5a3931"},"method":"post","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/agents/{id}/extraction/dry-run","baseUrlOptions":["https://api.goyappr.com"],"title":"Dry-run extraction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7d4fc805-9b52-4cc3-8700-fe678e49f0f0":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["transcript"],"properties":{"transcript":{"oneOf":[{"type":"string","description":"The conversation to read - either an array of {\"role\",\"text\"} turns, the shape GET /calls/{id} returns, or text with one turn per line, each line opening with its speaker and a colon (Agent, User, Caller, Customer, Voicemail, סוכן, משתמש, מתקשר, לקוח or תא קולי, any case); a line that does not is refused with EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED. In the array, role is agent, user or voicemail; anything else reads as the caller. At most 400 turns and 40000 characters.\n","isRequired":true,"uniqueKey":"transcript.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["text"],"properties":{"text":{"type":"string","isRequired":true,"uniqueKey":"transcript.oneOf.1.items.[INDEX].text","typeLabel":"string"},"role":{"type":"string","enum":["agent","user","voicemail"],"uniqueKey":"transcript.oneOf.1.items.[INDEX].role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcript.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"The conversation to read - either an array of {\"role\",\"text\"} turns, the shape GET /calls/{id} returns, or text with one turn per line, each line opening with its speaker and a colon (Agent, User, Caller, Customer, Voicemail, סוכן, משתמש, מתקשר, לקוח or תא קולי, any case); a line that does not is refused with EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED. In the array, role is agent, user or voicemail; anything else reads as the caller. At most 400 turns and 40000 characters.\n","maxItems":400,"isRequired":true,"uniqueKey":"transcript.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"transcript","typeLabel":"string | object[]"},"reference_time":{"type":"string","description":"The day the conversation happened on, which its dates (\"tomorrow\", \"next Sunday\", \"the first of November\") are read from - a plain YYYY-MM-DD taken as that day, or a timestamp with its zone, read in the workspace's time zone as a real call's start is. Left out, it is today. A timestamp with no zone is refused.\n","example":"2026-09-23T12:44:00+03:00","uniqueKey":"reference_time","typeLabel":"string"},"extraction_parameters":{"type":"array","description":"A set to try instead of the agent's own, so a parameter can be seen working before it is saved with PATCH /agents/{id}. Held to exactly what PATCH accepts - an entry PATCH refuses, such as \"type\": \"bool\", is refused here with PATCH's message. Leave it out to use the agent's.\n","items":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"extraction_parameters.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","isRequired":true,"uniqueKey":"extraction_parameters.items.[INDEX].description","typeLabel":"string"},"type":{"type":"string","enum":["text","number","yes_no","date"],"uniqueKey":"extraction_parameters.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"extraction_parameters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"extraction_parameters","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"transcript":"\u003cstring>","reference_time":"2026-09-23T12:44:00+03:00","extraction_parameters":[{"name":"\u003cstring>","description":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5ed33e0a-b01c-4d26-bacd-584f1b0c2c40":{"description":"The values the transcript gave up.","content":{"application/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid","uniqueKey":"agent_id","typeLabel":"string\u003cuuid>"},"transcript_turns":{"type":"integer","description":"How many non-empty turns were read.","uniqueKey":"transcript_turns","typeLabel":"integer"},"extraction_parameters":{"type":"array","description":"The parameters that were read for, each with the kind it was read as. A type sent in extraction_parameters must be one of the four (anything else is 400); a parameter saved on the agent with no type is read, and echoed, as text.\n","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"extraction_parameters.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["text","number","yes_no","date"],"uniqueKey":"extraction_parameters.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"extraction_parameters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"extraction_parameters","typeLabel":"object[]"},"extracted_data":{"type":"object","description":"Keyed by your parameters and by nothing else - a key the model invented is dropped, and a parameter it left out is still a key, with null. null means the conversation never said it, which is different from a key that is absent because you never asked for it. A number is 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 is a YYYY-MM-DD day or null - a month with no day is null, and extracted_data_precision says it was a month.\n","uniqueKey":"extracted_data","typeLabel":"object"},"extracted_data_precision":{"type":"object","description":"One entry per date parameter, saying how precisely the caller gave it: day, month or unknown, with the reader's role for the day (event or message) when it gave one. Present only when a date parameter was read for.\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"},"arrival_date":{"precision":"month","month":"2024-03","approximate":true},"surgery_date":{"precision":"day","month":"2026-12","role":"event"}},"uniqueKey":"extracted_data_precision","typeLabel":"object"},"extracted_data_ranges":{"type":"object","description":"One entry per number parameter whose answer is the middle of a range the caller gave, with the range's two ends. Present only when there is one.\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"},"reference_date":{"type":"string","format":"date","description":"The day the transcript's dates were read from - reference_time, or today.","uniqueKey":"reference_date","typeLabel":"string\u003cdate>"},"timezone":{"type":"string","description":"The IANA zone reference_date is in - the workspace's, or UTC when it has none. A workspace left on UTC reads a call made in Israel after midnight as the day before.\n","uniqueKey":"timezone","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","transcript_turns":123,"extraction_parameters":[{"name":"\u003cstring>","type":"text"}],"extracted_data":{},"extracted_data_precision":{"interview_date":{"precision":"month","month":"2026-11"},"arrival_date":{"precision":"month","month":"2024-03","approximate":true},"surgery_date":{"precision":"day","month":"2026-12","role":"event"}},"extracted_data_ranges":{"pain_level":{"low":6,"high":7}},"reference_date":"2023-12-25","timezone":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"27cc77ec-ab19-477f-92b8-9de142f6da43":{"description":"`EXTRACTION_DRY_RUN_INVALID` - no transcript, an empty one, a turn with no text, a transcript over the size limits, an extraction_parameters entry PATCH /agents/{id} would refuse (in PATCH's words), a reference_time that is neither a date nor a timestamp with its zone, or a field this endpoint does not take. The message names it. `EXTRACTION_DRY_RUN_TRANSCRIPT_UNLABELLED` - a transcript sent as text has a line that does not open with a speaker; the message gives the line number.\n","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"},"0bb72370-d425-40a7-9fe0-087e9ef70263":{"description":"`INSUFFICIENT_SCOPE` - the key has no agents:read. `AGENT_OUTSIDE_KEY_SCOPE` - the key is limited to some agents and this is not one of them; the same answer whether it exists or not.\n","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"},"ea2ea294-8357-4b5a-9b94-aa0dad07da07":{"description":"`AGENT_NOT_FOUND` - no such agent in this workspace, or it is archived.","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"},"d705bbff-0133-4f8c-b50e-32b49018cee4":{"description":"`METHOD_NOT_ALLOWED` - any method but POST; the Allow header says POST. Nothing was read.","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"},"355335a9-71ef-4c45-b9b9-7790ddca3580":{"description":"`EXTRACTION_NOT_CONFIGURED` - the agent has no extraction parameters and the request sent no extraction_parameters either, so there is nothing to read the transcript for. A malformed entry in extraction_parameters is 400 EXTRACTION_DRY_RUN_INVALID instead: it is a fact about the request, not about the agent.\n","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"},"d1be46a6-5e46-4712-88cd-4f538a5a3931":{"description":"`EXTRACTION_DRY_RUN_UNAVAILABLE` - the reader could not be reached. Nothing was read and nothing was changed; send the same request again.\n","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":"Dry-run Extraction - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:25.004Z","originalFileLocation":"api-reference/agents/extraction-dry-run.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=\"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\u0026quot;type\u0026quot;:\u0026quot;web\u0026quot;} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call\u0026#x27;s is - the same instructions to the model, the same model and settings, the same coercion a real call\u0026#x27;s extracted_data goes through, and the same day to count dates from (reference_time standing in for the call\u0026#x27;s start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\">\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=\"Dry-run Extraction - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\u0026quot;type\u0026quot;:\u0026quot;web\u0026quot;} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call\u0026#x27;s is - the same instructions to the model, the same model and settings, the same coercion a real call\u0026#x27;s extracted_data goes through, and the same day to count dates from (reference_time standing in for the call\u0026#x27;s start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yappr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run\">\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=Agents\u0026amp;title=Dry-run+Extraction\u0026amp;description=Requires+agents%3Aread.+Reads+a+transcript+you+supply+for+the+values+this+agent+collects%2C+and+returns+them.+It+places+no+call%2C+writes+no+call+row%2C+and+changes+not\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=bc676af095013b74bd86dd9fc9256ba249f5372b466f7cb82786396e4c87ee35\">\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=\"Dry-run Extraction - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\u0026quot;type\u0026quot;:\u0026quot;web\u0026quot;} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call\u0026#x27;s is - the same instructions to the model, the same model and settings, the same coercion a real call\u0026#x27;s extracted_data goes through, and the same day to count dates from (reference_time standing in for the call\u0026#x27;s start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Dry-run+Extraction\u0026amp;description=Requires+agents%3Aread.+Reads+a+transcript+you+supply+for+the+values+this+agent+collects%2C+and+returns+them.+It+places+no+call%2C+writes+no+call+row%2C+and+changes+not\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=bc676af095013b74bd86dd9fc9256ba249f5372b466f7cb82786396e4c87ee35\">\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/agents/extraction-dry-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/extraction-dry-run.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/agents/extraction-dry-run#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run\",\"name\":\"Dry-run Extraction\",\"description\":\"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\\\"type\\\":\\\"web\\\"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\",\"dateModified\":\"2026-11-12T15:44:25.004Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.goyappr.com/api-reference/agents/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dry-run Extraction\",\"item\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run#apireference\",\"headline\":\"Dry-run Extraction\",\"name\":\"Dry-run Extraction\",\"description\":\"Requires agents:read. Reads a transcript you supply for the values this agent collects, and returns them. It places no call, writes no call row, and changes nothing about the agent - a browser session minted with POST /calls {\\\"type\\\":\\\"web\\\"} writes nothing until a browser connects it, so an integration with no browser had no way to prove its extraction parameters work before a real caller met them. The transcript is read the way a finished call's is - the same instructions to the model, the same model and settings, the same coercion a real call's extracted_data goes through, and the same day to count dates from (reference_time standing in for the call's start) - so what comes back is what the agent will collect from that conversation. It costs a model call.\",\"url\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/agents/extraction-dry-run#webpage\"},\"dateModified\":\"2026-11-12T15:44:25.004Z\",\"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/agents/extraction-dry-run.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}","description":"Requires agents:update. Takes the integration and its actions off every step, with any step's own settings for them (also for a webhook or transfer on every step, tg_...). The account stays connected and other agents keep it. Saved, and published by the same rule as POST unless publish=false.\n","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}","description":"Archives the agent, hides it from ordinary lists and blocks new calls; history is retained and running calls are not aborted. PATCH cannot clear the archive. Use PATCH is_active=false for reversible deactivation.","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","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","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":"Dry-run Extraction - 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"]}