Rate limit tier: general, 600 requests/min. See Rate limits.Returns a workflow with its complete typed graph inline. v3 has no separate /definition/ endpoint: this read is the round-trippable definition.The {name, description, nodes, edges} subset is the exact shape POST /v3/workflows/ accepts. Strip the read-only id, created_at, updated_at and workflow_version_id, then feed the remainder to PATCH /v3/workflows/{workflow_id}/. Its Python example shows the one-liner. An unknown field is rejected with 400VALIDATION_ERROR.Every field in an extract node carries its server-assigned persistent_id, the stable identity that survives a rename. Echo it unchanged when you PATCH, and analytics, ground truth and quality metrics stay attached to the field. See the migration guide.
The response is the latest version by default. Pass ?version=<version_id> to read an earlier version’s graph in the same shape. Take the version_id from GET /v3/workflows/{workflow_id}/versions/. The response names the version it returned in workflow_version_id, the latest one included. An unknown version_id answers 404 with a detail naming it. Any other query parameter is rejected with 400VALIDATION_ERROR, so a misspelled version cannot silently read the latest.Versions are read-only, for comparison and audit. A run uses the latest version unless it names one with workflow_version_id, and a PATCH always builds on the latest. The versions page shows how to diff two versions’ field descriptions.
curl -X GET 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/' \ -H 'Authorization: Bearer YOUR_API_KEY'
curl -X GET 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/?version=AbCdEfGhIj' \ -H 'Authorization: Bearer YOUR_API_KEY'
The version of the graph: on GET the latest or the ?version= one, on PATCH the one the write made. A version_id from GET /v3/workflows/{workflow_id}/versions/.
Example:
"FGaV4I2JAA"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"anyformat","colors":{"primary":"#0066FF","light":"#4D94FF","dark":"#0052CC"},"logo":{"light":"https://mintcdn.com/anyformat/v2HRpcqi657iKMPg/logo/Logo-horizontal.png?fit=max\u0026auto=format\u0026n=v2HRpcqi657iKMPg\u0026q=85\u0026s=7fe1cfff76171b16c27aea272156c95c","dark":"https://mintcdn.com/anyformat/G2lOO-2_Ah2kKl9r/logo/Logo-horizontal-dark.png?fit=max\u0026auto=format\u0026n=G2lOO-2_Ah2kKl9r\u0026q=85\u0026s=db00e6c8dcdc8eca2d4bd35df66713c6"},"favicon":"https://mintcdn.com/anyformat/v2HRpcqi657iKMPg/logo/anyformat-favicon.png?fit=max\u0026auto=format\u0026n=v2HRpcqi657iKMPg\u0026q=85\u0026s=3ed16699b7a1308a1d2fe9e9181abffd","api":{"openapi":"https://api.anyformat.ai/schema/?format=json"},"navbar":{"links":[{"icon":"envelope","href":"mailto:support@anyformat.ai","label":"Support"}],"primary":{"type":"button","label":"anyformat app","href":"https://app.anyformat.ai"}},"footer":{"socials":{"website":"https://www.anyformat.ai","linkedin":"https://linkedin.com/company/anyformat"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anyformat","hasAudioNarration":false,"actualSubdomain":"anyformat","customDomains":["docs.anyformat.ai"],"gitSource":{"type":"github","owner":"anyformat-ai","repo":"anyformat-monorepo","deployBranch":"main","contentDirectory":"anyformat/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aedab44cc98a9ae37e0b107","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":87},{"language":"default","tag":"Guide","count":47},{"language":"default","tag":"Changelog","count":30},{"language":"default","tag":"API v2 (retired)","count":27},{"language":"default","tag":"Examples","count":19},{"language":"default","tag":"Workflows","count":16},{"language":"default","tag":"Nodes","count":14},{"language":"default","tag":"Evals","count":9},{"language":"default","tag":"v2 Workflows","count":9},{"language":"default","tag":"SDKs and tools","count":7}]},"assistantConfig":{},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".af-landing{--af-fg: #18181b;--af-muted: #71717a;--af-card: #fafafa;--af-bd: #e4e4e7;--af-blue: #0a5cf0;--af-hl: rgba(10, 92, 240, 0.16);--af-paper-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 12px 32px rgba(24, 24, 27, 0.08);max-width:1200px;margin:0 auto;padding:24px 32px 14px;color:var(--af-fg);font-family:\"Inter\", ui-sans-serif, system-ui, sans-serif}.dark .af-landing{--af-fg: #ececee;--af-muted: #9a9aa3;--af-card: #141417;--af-bd: #26262b;--af-blue: #6ea8ff;--af-paper-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 48px rgba(0, 0, 0, 0.45)}.af-title{margin:0 0 10px;font-size:38px;line-height:44px;font-weight:600;letter-spacing:-0.02em;color:var(--af-fg)}.af-sub{margin:0 0 20px;max-width:720px;font-size:16.5px;line-height:25px;color:var(--af-muted)}.af-lede{margin:16px 0 0;max-width:860px;font-size:15px;line-height:23px;color:var(--af-muted)}.af-lede a{color:var(--af-fg);text-decoration:underline;text-decoration-color:var(--af-bd);text-underline-offset:4px;font-weight:500}.af-lede a:hover{text-decoration-color:var(--af-blue)}.af-links{display:flex;flex-wrap:wrap;gap:32px}.af-links a{font-size:15px;font-weight:500;color:var(--af-fg);text-decoration:underline;text-decoration-color:var(--af-bd);text-underline-offset:5px}.af-links a:hover{text-decoration-color:var(--af-blue)}.af-hero-scroll{container-type:inline-size;width:100%;overflow-x:auto}.af-hero{position:relative;width:100em;height:40em;font-size:max(1cqw, 7px)}.af-paper{z-index:1;position:absolute;left:0;top:0;width:31.67em;height:40em;box-sizing:border-box;padding:2.33em;overflow:hidden;background:#ffffff;color:#18181b;border:1px solid #e4e4e7;border-radius:0.33em;box-shadow:var(--af-paper-shadow);display:flex;flex-direction:column;gap:2em;font-size:1em;line-height:1.33}.af-paper-title{font-size:1.5em;line-height:1.33;font-weight:700;letter-spacing:0.06em}.af-paper-block{display:flex;flex-direction:column}.af-paper-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.33em}.af-paper-muted{color:#71717a}.af-row{display:grid;grid-template-columns:minmax(0, 1fr) 2.67em 5.33em 5.67em;gap:0.67em;height:2em;align-items:center;border-bottom:1px solid #f4f4f5;white-space:nowrap}.af-row>div:first-child{overflow:hidden;text-overflow:ellipsis}.af-row-head{color:#71717a;font-weight:500;border-bottom-color:#e4e4e7}.af-num{text-align:right}.af-bold{font-weight:600}.af-totals{margin-top:auto;display:flex;flex-direction:column;align-items:flex-end}.af-hl{position:relative;border-radius:0.25em;padding:0 0.17em;background:rgba(10, 92, 240, 0);box-shadow:0 0 0 1px rgba(10, 92, 240, 0.28)}.af-region{position:relative}.af-region::before{content:\"\";position:absolute;inset:-0.75em -0.6em -0.4em;border:1px solid var(--af-blue);border-radius:0.25em;opacity:calc(0.26 + var(--af-box-o, 0) * 0.34)}.af-region::after{content:attr(data-box);position:absolute;left:0.5em;top:-0.75em;transform:translateY(-50%);font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:0.83em;line-height:1;letter-spacing:0.02em;white-space:nowrap;color:#ffffff;background:var(--af-blue);border-radius:0.25em;padding:0.17em 0.33em;opacity:var(--af-box-o, 0)}.af-bbox{color:var(--af-muted)}.af-card{z-index:1;position:absolute;left:40em;top:0;width:60em;height:40em;box-sizing:border-box;overflow:hidden;background:var(--af-card);border:1px solid var(--af-bd);border-radius:1em;color:var(--af-fg)}.af-tabs{height:3.33em;box-sizing:border-box;padding:0 2em;border-bottom:1px solid var(--af-bd);display:flex;align-items:stretch;gap:2em}.af-tab{display:flex;align-items:center;font-size:1.08em;font-weight:500;color:var(--af-muted);border-bottom:2px solid transparent;box-sizing:border-box}.af-tabs-right{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:1.5em;font-size:1em;color:var(--af-muted)}.af-tabs-right .af-lang-on{color:var(--af-fg)}.af-pane{position:absolute;left:0;top:3.08em;width:55.38em;box-sizing:border-box;padding:1.54em 1.85em;margin:0;font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:1.08em;line-height:1.54;color:var(--af-fg);white-space:pre;background:transparent;border:0;opacity:0}.af-pane-code{opacity:1}.af-tab-define{color:var(--af-fg);border-bottom-color:var(--af-blue)}.af-pane .af-k{color:var(--af-muted)}.af-pane .af-s{color:var(--af-blue)}.af-pane-run{color:var(--af-muted)}.af-pane-run .af-m{color:var(--af-fg)}.af-pane-json{color:var(--af-muted)}.af-pane-json .af-key{color:var(--af-fg)}.af-val{color:var(--af-muted);font-weight:600}.af-cursor{display:inline-block;width:0.5em;height:1em;background:var(--af-fg);vertical-align:-0.15em;opacity:0}.af-wires{position:absolute;left:0;top:0;width:100em;height:40em;z-index:2;pointer-events:none}.af-wire{stroke:var(--af-blue);stroke-opacity:0.85;stroke-width:1.25;fill:none;stroke-dasharray:700;stroke-dashoffset:700}.af-dot{fill:var(--af-blue);opacity:0}.af-gallery{--af-g-fg: #18181b;--af-g-muted: #71717a;--af-g-bg: #ffffff;--af-g-panel: #fafafa;--af-g-bd: #e4e4e7;--af-g-blue: #0a5cf0;--af-g-soft: rgba(10, 92, 240, 0.1);--af-g-hl: rgba(10, 92, 240, 0.18);--af-g-paper: #ffffff;--af-g-paper-bd: #e4e4e7;--af-g-ink: #ccd1da;--af-g-tint-a: #e8effc;--af-g-tint-b: #eeeef1;--af-g-tint-c: #e9f0ec;--af-g-lift: 0 1px 2px rgba(24, 24, 27, 0.05), 0 10px 26px rgba(24, 24, 27, 0.07);margin:24px 0 8px}.dark .af-gallery{--af-g-fg: #ececee;--af-g-muted: #9a9aa3;--af-g-bg: #0c0c0e;--af-g-panel: #141417;--af-g-bd: #26262b;--af-g-blue: #6ea8ff;--af-g-soft: rgba(110, 168, 255, 0.12);--af-g-hl: rgba(110, 168, 255, 0.22);--af-g-lift: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px rgba(0, 0, 0, 0.5);--af-g-tint-a: #131a28;--af-g-tint-b: #17171a;--af-g-tint-c: #131a17}.af-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.af-chip{display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:13px;font-weight:500;border:1px solid var(--af-g-bd);border-radius:999px;padding:6px 13px;background:var(--af-g-bg);color:var(--af-g-muted);cursor:pointer;transition:color 0.15s ease, border-color 0.15s ease}.af-chip::before{content:\"\";width:9px;height:9px;border-radius:50%;border:1.5px solid var(--af-g-bd)}.af-chip:hover{color:var(--af-g-fg)}.af-chip:focus-visible{outline:2px solid var(--af-g-blue);outline-offset:2px}.af-chip[aria-pressed=\"true\"]{color:var(--af-g-fg);border-color:var(--af-g-blue)}.af-chip[aria-pressed=\"true\"]::before{background:var(--af-g-blue);border-color:var(--af-g-blue)}.af-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(224px, 1fr));gap:16px}.af-ex{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:inherit;background:var(--af-g-bg);border:1px solid var(--af-g-bd);border-radius:12px;transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease}.af-ex[hidden]{display:none}.af-ex:hover{transform:translateY(-3px);box-shadow:var(--af-g-lift);border-color:var(--af-g-blue)}.af-ex:focus-visible{outline:2px solid var(--af-g-blue);outline-offset:2px}.af-ex-body{display:flex;flex-direction:column;gap:7px;flex:1;padding:14px 15px 15px}.af-ex-title{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-0.01em;color:var(--af-g-fg)}.af-ex-note{font-size:12.5px;line-height:1.45;color:var(--af-g-muted)}.af-ex-nodes{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:8px}.af-nd{font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:11px;font-weight:600;letter-spacing:0.04em;color:var(--af-g-muted);background:var(--af-g-panel);border:1px solid var(--af-g-bd);border-radius:4px;padding:1px 5px}.af-nd-hot{color:var(--af-g-blue);border-color:var(--af-g-blue);background:var(--af-g-soft)}.af-art{position:relative;height:118px;overflow:hidden;border-bottom:1px solid var(--af-g-bd);background:var(--af-g-tint-b)}.af-art-a{background:var(--af-g-tint-a)}.af-art-c{background:var(--af-g-tint-c)}.af-art>span{position:absolute;display:block;box-sizing:border-box;background:var(--af-g-paper);border:1px solid var(--af-g-paper-bd);border-radius:2px;box-shadow:0 2px 8px rgba(24, 24, 27, 0.1)}.af-art>span::before,.af-art>span::after{content:\"\";position:absolute;left:8px;height:3px;border-radius:2px;background:var(--af-g-ink)}.af-art>span::before{top:13px;right:8px}.af-art>span::after{top:24px;right:24px}.af-art-stack span{width:74px;height:94px;left:50%;top:16px;margin-left:-37px}.af-art-stack span:nth-child(1){transform:rotate(-9deg) translateX(-24px)}.af-art-stack span:nth-child(2){transform:rotate(-3deg) translateX(-8px)}.af-art-stack span:nth-child(3){transform:rotate(3deg) translateX(9px)}.af-art-stack span:nth-child(4){transform:rotate(10deg) translateX(25px)}.af-art-stack span:nth-child(3)::after{background:var(--af-g-hl);height:6px}.af-art-doc span:nth-child(1){width:90px;height:104px;left:50%;margin-left:-111px;top:8px}.af-art-doc span:nth-child(1)::before{top:12px;right:30px}.af-art-doc span:nth-child(1)::after{top:26px;right:10px;box-shadow:0 12px 0 var(--af-g-ink), 0 24px 0 var(--af-g-ink)}.af-art-doc span:nth-child(2){width:58px;height:2px;left:50%;margin-left:-19px;top:58px;border:0;border-radius:0;background:var(--af-g-blue);opacity:0.5;box-shadow:none}.af-art-doc span:nth-child(2)::before,.af-art-doc span:nth-child(2)::after{display:none}.af-art-doc span:nth-child(3){width:74px;height:24px;left:50%;margin-left:37px;top:47px;border-color:var(--af-g-blue);background:var(--af-g-bg)}.af-art-doc span:nth-child(3)::before{top:9px;left:8px;right:46px;background:var(--af-g-blue)}.af-art-doc span:nth-child(3)::after{top:9px;left:34px;right:8px;background:var(--af-g-hl)}.af-art-table span{width:118px;height:100px;left:50%;top:10px;margin-left:-59px}.af-art-table span::before{top:12px;right:62px;height:5px}.af-art-table span::after{top:28px;right:10px;box-shadow:0 11px 0 var(--af-g-ink), 0 22px 0 var(--af-g-hl), 0 33px 0 var(--af-g-ink), 0 44px 0 var(--af-g-ink)}.af-art-receipt span{width:72px;height:106px;left:50%;top:8px;margin-left:-36px;border:0;border-radius:0;transform:rotate(-2deg);clip-path:polygon(0 0, 100% 0, 100% 92%, 87.5% 100%, 75% 92%, 62.5% 100%, 50% 92%, 37.5% 100%, 25% 92%, 12.5% 100%, 0 92%)}.af-art-receipt span::before{top:14px;left:14px;right:14px;height:5px}.af-art-receipt span::after{top:30px;left:10px;right:26px;box-shadow:0 12px 0 var(--af-g-ink), 0 24px 0 var(--af-g-ink), 0 40px 0 var(--af-g-hl)}.af-art-mail span:nth-child(1){width:122px;height:84px;left:50%;top:17px;margin-left:-61px}.af-art-mail span:nth-child(1)::before{display:none}.af-art-mail span:nth-child(1)::after{top:46px;left:14px;right:14px;box-shadow:0 11px 0 var(--af-g-ink), 0 22px 0 var(--af-g-hl)}.af-art-mail span:nth-child(2){width:84px;height:84px;left:50%;top:-25px;margin-left:-42px;border-radius:0;transform:rotate(45deg);border-color:var(--af-g-paper-bd);box-shadow:none}.af-art-mail span:nth-child(2)::before,.af-art-mail span:nth-child(2)::after{display:none}.af-art-check span:nth-child(1){width:96px;height:104px;left:50%;margin-left:-83px;top:8px}.af-art-check span:nth-child(1)::before{top:12px;right:36px}.af-art-check span:nth-child(1)::after{top:28px;right:10px;background:var(--af-g-hl);height:6px;box-shadow:0 14px 0 var(--af-g-ink), 0 28px 0 var(--af-g-hl), 0 42px 0 var(--af-g-ink)}.af-art-check span:nth-child(2){width:44px;height:22px;left:50%;margin-left:39px;top:48px;border-color:var(--af-g-blue);background:var(--af-g-soft)}.af-art-check span:nth-child(2)::before{top:9px;left:9px;right:9px;background:var(--af-g-blue)}.af-art-check span:nth-child(2)::after{display:none}.af-art-route span:nth-child(1){width:72px;height:92px;left:50%;margin-left:-98px;top:14px}.af-art-route span:nth-child(1)::before{top:12px;right:26px}.af-art-route span:nth-child(1)::after{top:24px;right:10px;box-shadow:0 12px 0 var(--af-g-ink)}.af-art-route span:nth-child(2),.af-art-route span:nth-child(3){width:66px;height:26px;left:50%;margin-left:32px;border-color:var(--af-g-blue);background:var(--af-g-bg)}.af-art-route span:nth-child(2){top:20px}.af-art-route span:nth-child(3){top:68px}.af-art-route span:nth-child(2)::before,.af-art-route span:nth-child(3)::before{top:11px;left:9px;right:30px;background:var(--af-g-blue)}.af-art-route span:nth-child(2)::after,.af-art-route span:nth-child(3)::after{top:11px;left:42px;right:9px;background:var(--af-g-hl)}.af-art-route::before,.af-art-route::after{content:\"\";position:absolute;left:50%;margin-left:-20px;width:52px;height:26px;border-color:var(--af-g-blue);border-style:solid;opacity:0.5}.af-art-route::before{top:33px;border-width:1px 1px 0 0;border-radius:0 8px 0 0}.af-art-route::after{top:59px;border-width:0 1px 1px 0;border-radius:0 0 8px 0}.af-art-tiers{display:grid;grid-template-columns:repeat(4, 1fr);gap:9px;align-items:end;padding:18px 16px}.af-art-tiers span{position:relative;left:auto;top:auto;width:auto;margin:0;overflow:hidden}.af-art-tiers span:nth-child(1){height:36%}.af-art-tiers span:nth-child(2){height:58%}.af-art-tiers span:nth-child(3){height:78%}.af-art-tiers span:nth-child(4){height:100%;border-color:var(--af-g-blue);box-shadow:0 0 0 2px var(--af-g-soft)}.af-art-tiers span::before{top:7px;left:5px;right:5px}.af-art-tiers span::after{top:15px;left:5px;right:5px;box-shadow:0 8px 0 var(--af-g-ink), 0 16px 0 var(--af-g-ink), 0 24px 0 var(--af-g-ink)}.af-art-tiers span:nth-child(4)::after{background:var(--af-g-hl);box-shadow:0 8px 0 var(--af-g-hl), 0 16px 0 var(--af-g-hl), 0 24px 0 var(--af-g-hl)}.af-art-chart{display:grid;grid-template-columns:repeat(7, 1fr);gap:6px;align-items:end;padding:22px 18px 18px}.af-art-chart span{position:relative;left:auto;top:auto;width:auto;margin:0;border-radius:2px 2px 0 0}.af-art-chart span::before,.af-art-chart span::after{display:none}.af-art-chart span:nth-child(1){height:52%}.af-art-chart span:nth-child(2){height:68%}.af-art-chart span:nth-child(3){height:61%}.af-art-chart span:nth-child(4){height:80%}.af-art-chart span:nth-child(5){height:74%}.af-art-chart span:nth-child(6){height:88%}.af-art-chart span:nth-child(7){height:96%;border-color:var(--af-g-blue);background:var(--af-g-soft)}.af-art-chart::after{content:\"\";position:absolute;left:0;right:0;top:38%;border-top:1px dashed var(--af-g-blue);opacity:0.55}.af-art-term{padding:14px 15px;background:#101014;border-bottom-color:#26262b;font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:11.5px;line-height:1.75;color:#9a9aa3}.af-art-term div{display:block;font-weight:400}.af-art-term .af-term-key{font-style:normal;color:#6ea8ff}.af-art-term .af-term-cursor{display:inline-block;width:6px;height:11px;background:#ececee;text-decoration:none;vertical-align:-1px}.af-art-md span{width:128px;height:96px;left:50%;top:12px;margin-left:-64px}.af-art-md span::before{top:14px;left:12px;right:74px;height:6px;background:var(--af-g-hl)}.af-art-md span::after{top:32px;left:12px;right:12px;box-shadow:0 10px 0 var(--af-g-ink), 0 20px 0 var(--af-g-ink), 0 30px 0 var(--af-g-ink), 0 40px 0 var(--af-g-ink)}.af-art-md::after{content:\"# ## |\";position:absolute;right:14px;bottom:10px;font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:12px;font-weight:600;color:var(--af-g-blue);opacity:0.7}@media (prefers-reduced-motion: reduce){.af-ex{transition:none}.af-ex:hover{transform:none}}.af-doors{display:grid;grid-template-columns:repeat(4, 1fr);gap:14px;margin:22px 0 0}.af-door{display:flex;flex-direction:column;gap:4px;padding:13px 14px 14px;border:1px solid var(--af-bd);border-radius:12px;text-decoration:none;color:var(--af-fg);transition:border-color 0.18s ease, transform 0.18s ease}.af-door:hover{border-color:var(--af-blue);transform:translateY(-2px)}.af-door:focus-visible{outline:2px solid var(--af-blue);outline-offset:2px}.af-door-title{font-size:15px;font-weight:600;letter-spacing:-0.01em}.af-door-title::after{content:\" ↗\";color:var(--af-muted);font-weight:400}.af-door-note{font-size:12.5px;line-height:1.45;color:var(--af-muted)}.af-featured{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:16px 0 0}.af-featured h2{margin:0;font-size:19px;line-height:1.2;font-weight:600;letter-spacing:-0.02em;color:var(--af-fg)}.af-featured a{font-size:14px;font-weight:500;color:var(--af-fg);text-decoration:underline;text-decoration-color:var(--af-bd);text-underline-offset:5px}.af-featured a:hover{text-decoration-color:var(--af-blue)}.af-grid-4{grid-template-columns:repeat(4, 1fr)}@media (max-width: 900px){.af-doors{grid-template-columns:repeat(2, 1fr)}.af-grid-4{grid-template-columns:repeat(2, 1fr)}}@media (prefers-reduced-motion: reduce){.af-door{transition:none}.af-door:hover{transform:none}}.af-payoff{display:grid;grid-template-columns:1fr 34px 1fr;align-items:stretch;gap:0;margin:20px 0 16px;font-family:\"Inter\", ui-sans-serif, system-ui, sans-serif;--af-p-fg: #18181b;--af-p-muted: #71717a;--af-p-bd: #e4e4e7;--af-p-bg: #ffffff;--af-p-blue: #0a5cf0;--af-p-hl: rgba(10, 92, 240, 0.16)}.dark .af-payoff{--af-p-fg: #ececee;--af-p-muted: #9a9aa3;--af-p-bd: #26262b;--af-p-bg: #0f0f12;--af-p-blue: #6ea8ff;--af-p-hl: rgba(110, 168, 255, 0.22)}.af-payoff-pane{min-width:0;padding:14px 16px 16px;background:var(--af-p-bg);border:1px solid var(--af-p-bd);border-radius:10px}.af-payoff-cap{font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--af-p-muted);margin-bottom:10px}.af-payoff-line{font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:12.5px;line-height:1.85;color:var(--af-p-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.af-payoff-line b{color:var(--af-p-fg);font-weight:600}.af-payoff-line .af-mark{background:var(--af-p-hl);color:inherit;border-radius:3px;padding:0 3px}.af-payoff-line .af-cite{font-style:normal;color:var(--af-p-blue);font-weight:600}.af-payoff-arrow{display:flex;align-items:center;justify-content:center;color:var(--af-p-blue);font-size:15px}.af-cost{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 0 24px;padding:12px 16px;border:1px solid var(--af-p-bd, #e4e4e7);border-radius:10px;font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:12.5px;color:#71717a}.dark .af-cost{border-color:#26262b;color:#9a9aa3}.af-cost span b{display:inline-block;margin-right:8px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;font-size:10.5px;color:#a1a1aa}.dark .af-cost span b{color:#6f6f78}.af-cost strong{color:#18181b;font-weight:600}.dark .af-cost strong{color:#ececee}@media (max-width: 700px){.af-payoff{grid-template-columns:1fr;gap:10px}.af-payoff-arrow{transform:rotate(90deg);height:20px}}.af-payoff-line .af-payoff-key{display:inline-block;min-width:9.5em}.af-gallery-strip .af-art{height:118px;zoom:0.53}.af-gallery-strip .af-ex-body{padding:10px 13px 12px;gap:4px}.af-gallery-strip .af-ex-title{font-size:14px}.af-gallery-strip .af-ex-note{font-size:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.af-art-lookup{display:grid;grid-template-columns:88px 30px 62px;grid-template-rows:repeat(3, auto);align-content:center;justify-content:center;gap:9px 0}.af-art-lookup>span{position:relative;left:auto;top:auto;margin:0;height:15px}.af-art-lookup>span::before{top:5px;left:6px;right:6px;height:4px}.af-art-lookup>span::after{display:none}.af-art-lookup>span:nth-child(1){grid-area:1 / 1}.af-art-lookup>span:nth-child(2){grid-area:2 / 1;width:72px}.af-art-lookup>span:nth-child(3){grid-area:3 / 1}.af-art-lookup>span:nth-child(4){grid-area:2 / 3;height:24px;border-color:var(--af-g-blue);background:var(--af-g-soft)}.af-art-lookup>span:nth-child(4)::before{top:10px;background:var(--af-g-blue)}.af-art-lookup::after{content:\"\";position:absolute;left:50%;top:50%;width:26px;height:1.5px;margin:-1px 0 0 -13px;background:var(--af-g-blue);opacity:0.6}.af-art-tabs{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:0 26px}.af-art-tabs>span{position:relative;left:auto;top:auto;margin:0;height:15px;border-radius:3px 9px 9px 3px}.af-art-tabs>span::before{top:5px;left:8px;right:14px;height:4px}.af-art-tabs>span::after{display:none}.af-art-tabs>span:nth-child(2){width:86%}.af-art-tabs>span:nth-child(3){width:100%;border-color:var(--af-g-blue);background:var(--af-g-soft)}.af-art-tabs>span:nth-child(3)::before{background:var(--af-g-blue)}.af-art-tabs>span:nth-child(4){width:92%}.af-art-tabs>span:nth-child(5){width:78%}.af-art-form{display:flex;flex-direction:column;justify-content:center;gap:9px;padding:0 30px}.af-art-form>span{position:relative;left:auto;top:auto;margin:0;height:14px;box-shadow:none;border-color:#dcdee3}.af-art-form>span::before,.af-art-form>span::after{display:none}.af-art-form>span:nth-child(-n+2){background:var(--af-g-hl);border-color:transparent}.af-art-form>span:nth-child(2){width:68%}.af-art-form>span:nth-child(4){width:74%}.af-flow{--af-f-fg: #18181b;--af-f-muted: #71717a;--af-f-bd: #e4e4e7;--af-f-bg: #ffffff;--af-f-blue: #0a5cf0;--af-f-soft: rgba(10, 92, 240, 0.08);margin:20px 0 24px;font-family:\"Inter\", ui-sans-serif, system-ui, sans-serif}.dark .af-flow{--af-f-fg: #ececee;--af-f-muted: #9a9aa3;--af-f-bd: #26262b;--af-f-bg: #0f0f12;--af-f-blue: #6ea8ff;--af-f-soft: rgba(110, 168, 255, 0.14)}.af-flow-row{display:flex;flex-wrap:wrap;align-items:center}.af-node{display:inline-flex;align-items:baseline;gap:6px;box-sizing:border-box;padding:7px 14px;border:1px solid var(--af-f-bd);border-radius:8px;background:var(--af-f-bg);color:var(--af-f-fg);font-size:13.5px;line-height:1.3;font-weight:600;letter-spacing:-0.01em;white-space:nowrap;text-decoration:none;transition:border-color 0.15s ease, color 0.15s ease}a.af-node:hover{border-color:var(--af-f-blue);color:var(--af-f-blue)}a.af-node:focus-visible{outline:2px solid var(--af-f-blue);outline-offset:2px}.af-node-on{border-color:var(--af-f-blue);color:var(--af-f-blue);background:var(--af-f-soft)}.af-node-opt{border-style:dashed;font-weight:500;color:var(--af-f-muted)}.af-node span{font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:12px;font-weight:500;color:var(--af-f-muted)}.af-node-on span{color:var(--af-f-blue)}.af-link{position:relative;flex:0 0 34px;height:1px;background:var(--af-f-bd)}.af-link::after{content:\"\";position:absolute;right:0;top:-3.5px;border:3.5px solid transparent;border-left-color:var(--af-f-bd);border-right:0}.af-flow-fork{display:grid;grid-template-columns:max-content 46px max-content;justify-content:start;align-items:center}.af-fork-in{display:flex;align-items:center}.af-fork-out{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.af-fork-elbow{position:relative;align-self:stretch}.af-fork-elbow::before,.af-fork-elbow::after{content:\"\";position:absolute;left:0;right:9px;border-color:var(--af-f-bd);border-style:solid}.af-fork-elbow::before{top:25%;bottom:50%;border-width:1px 1px 0 0;border-radius:0 9px 0 0}.af-fork-elbow::after{top:50%;bottom:25%;border-width:0 1px 1px 0;border-radius:0 0 9px 0}.af-fork-out .af-node{position:relative}.af-fork-out .af-node::before{content:\"\";position:absolute;left:-9px;top:50%;margin-top:-3.5px;border:3.5px solid transparent;border-left-color:var(--af-f-bd);border-right:0}.af-flow-note{margin-top:10px;font-size:12.5px;line-height:1.5;color:var(--af-f-muted)}@media (max-width: 640px){.af-flow-fork{grid-template-columns:1fr;row-gap:12px}.af-fork-elbow{display:none}.af-fork-out{padding-left:18px;border-left:1px solid var(--af-f-bd)}.af-fork-out .af-node::before{display:none}.af-link{flex-basis:22px}}.af-tape{position:relative;overflow:hidden;height:27px;margin:0 0 22px;border-top:1px solid var(--af-bd);border-bottom:1px solid var(--af-bd);-webkit-mask-image:linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);mask-image:linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent)}.af-tape-run{display:flex;width:max-content;height:100%;align-items:center;gap:38px;font-family:\"Inconsolata\", ui-monospace, Menlo, Consolas, monospace;font-size:12px;white-space:nowrap;color:var(--af-muted);animation:af-tape 64s linear infinite}.af-tape-run span{display:inline-flex;gap:7px}.af-tape-run b{font-weight:500;color:var(--af-blue)}@keyframes af-tape{to{transform:translateX(-50%)}}@media (prefers-reduced-motion: reduce){.af-tape-run{animation:none}.af-tape{-webkit-mask-image:linear-gradient(90deg, #000 78%, transparent);mask-image:linear-gradient(90deg, #000 78%, transparent)}}"}],"page":{"pagePath":"api-reference-v3/workflows/get","slug":"/api-reference-v3/workflows/get","pageMetadata":{"title":"Get Workflow","description":"Retrieve a workflow with its complete typed graph inline","openapi":"GET /v3/workflows/{workflow_id}/","href":"/api-reference-v3/workflows/get"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a workflow with its complete typed graph inline\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsxs(_components.em,{children:[`Rate limit tier: `,_jsx(_components.strong,{children:`general`}),`, 600 requests/min. See `,_jsx(_components.a,{href:`/api-reference-v3/introduction#rate-limits`,children:`Rate limits`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Returns a workflow with its `,_jsx(_components.strong,{children:`complete typed graph inline`}),`. v3 has no separate `,_jsx(_components.code,{children:`/definition/`}),` endpoint: this read `,_jsx(_components.em,{children:`is`}),` the round-trippable definition.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`{name, description, nodes, edges}`}),` subset is the exact shape `,_jsx(_components.a,{href:`/api-reference-v3/workflows/create`,children:_jsx(_components.code,{children:`POST /v3/workflows/`})}),` accepts. Strip the read-only `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`created_at`}),`, `,_jsx(_components.code,{children:`updated_at`}),` and `,_jsx(_components.code,{children:`workflow_version_id`}),`, then feed the remainder to `,_jsx(_components.a,{href:`/api-reference-v3/workflows/update`,children:_jsx(_components.code,{children:`PATCH /v3/workflows/{workflow_id}/`})}),`. Its Python example shows the one-liner. An unknown field is rejected with `,_jsx(_components.code,{children:`400`}),` `,_jsx(_components.code,{children:`VALIDATION_ERROR`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Every field in an extract node carries its server-assigned `,_jsx(_components.code,{children:`persistent_id`}),`, the stable identity that survives a rename. Echo it unchanged when you PATCH, and analytics, ground truth and quality metrics stay attached to the field. See `,_jsx(_components.a,{href:`/api-reference-v3/migrating-from-v2#put-to-patch-field-identity-round-trips`,children:`the migration guide`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reading-an-earlier-version`,children:`Reading an earlier version`}),`\n`,_jsxs(_components.p,{children:[`The response is the latest version by default. Pass `,_jsx(_components.code,{children:`?version=\u003cversion_id>`}),` to read an earlier version’s graph in the same shape. Take the `,_jsx(_components.code,{children:`version_id`}),` from `,_jsx(_components.a,{href:`/api-reference-v3/workflows/versions`,children:_jsx(_components.code,{children:`GET /v3/workflows/{workflow_id}/versions/`})}),`. The response names the version it returned in `,_jsx(_components.code,{children:`workflow_version_id`}),`, the latest one included. An unknown `,_jsx(_components.code,{children:`version_id`}),` answers `,_jsx(_components.code,{children:`404`}),` with a `,_jsx(_components.code,{children:`detail`}),` naming it. Any other query parameter is rejected with `,_jsx(_components.code,{children:`400`}),` `,_jsx(_components.code,{children:`VALIDATION_ERROR`}),`, so a misspelled `,_jsx(_components.code,{children:`version`}),` cannot silently read the latest.`]}),`\n`,_jsxs(_components.p,{children:[`Versions are read-only, for comparison and audit. A run uses the latest version unless it names one with `,_jsx(_components.code,{children:`workflow_version_id`}),`, and a PATCH always builds on the latest. The `,_jsx(_components.a,{href:`/api-reference-v3/workflows/versions#compare-two-versions`,children:`versions page`}),` shows how to diff two versions’ field descriptions.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Workflow","description":"Retrieve a workflow with its complete typed graph inline","openapi":"GET /v3/workflows/{workflow_id}/","href":"/api-reference-v3/workflows/get"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsxs(_components.em,{children:[`Rate limit tier: `,_jsx(_components.strong,{children:`general`}),`, 600 requests/min. See `,_jsx(_components.a,{href:`/api-reference-v3/introduction#rate-limits`,children:`Rate limits`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Returns a workflow with its `,_jsx(_components.strong,{children:`complete typed graph inline`}),`. v3 has no separate `,_jsx(_components.code,{children:`/definition/`}),` endpoint: this read `,_jsx(_components.em,{children:`is`}),` the round-trippable definition.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`{name, description, nodes, edges}`}),` subset is the exact shape `,_jsx(_components.a,{href:`/api-reference-v3/workflows/create`,children:_jsx(_components.code,{children:`POST /v3/workflows/`})}),` accepts. Strip the read-only `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`created_at`}),`, `,_jsx(_components.code,{children:`updated_at`}),` and `,_jsx(_components.code,{children:`workflow_version_id`}),`, then feed the remainder to `,_jsx(_components.a,{href:`/api-reference-v3/workflows/update`,children:_jsx(_components.code,{children:`PATCH /v3/workflows/{workflow_id}/`})}),`. Its Python example shows the one-liner. An unknown field is rejected with `,_jsx(_components.code,{children:`400`}),` `,_jsx(_components.code,{children:`VALIDATION_ERROR`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Every field in an extract node carries its server-assigned `,_jsx(_components.code,{children:`persistent_id`}),`, the stable identity that survives a rename. Echo it unchanged when you PATCH, and analytics, ground truth and quality metrics stay attached to the field. See `,_jsx(_components.a,{href:`/api-reference-v3/migrating-from-v2#put-to-patch-field-identity-round-trips`,children:`the migration guide`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reading-an-earlier-version`,children:`Reading an earlier version`}),`\n`,_jsxs(_components.p,{children:[`The response is the latest version by default. Pass `,_jsx(_components.code,{children:`?version=\u003cversion_id>`}),` to read an earlier version’s graph in the same shape. Take the `,_jsx(_components.code,{children:`version_id`}),` from `,_jsx(_components.a,{href:`/api-reference-v3/workflows/versions`,children:_jsx(_components.code,{children:`GET /v3/workflows/{workflow_id}/versions/`})}),`. The response names the version it returned in `,_jsx(_components.code,{children:`workflow_version_id`}),`, the latest one included. An unknown `,_jsx(_components.code,{children:`version_id`}),` answers `,_jsx(_components.code,{children:`404`}),` with a `,_jsx(_components.code,{children:`detail`}),` naming it. Any other query parameter is rejected with `,_jsx(_components.code,{children:`400`}),` `,_jsx(_components.code,{children:`VALIDATION_ERROR`}),`, so a misspelled `,_jsx(_components.code,{children:`version`}),` cannot silently read the latest.`]}),`\n`,_jsxs(_components.p,{children:[`Versions are read-only, for comparison and audit. A run uses the latest version unless it names one with `,_jsx(_components.code,{children:`workflow_version_id`}),`, and a PATCH always builds on the latest. The `,_jsx(_components.a,{href:`/api-reference-v3/workflows/versions#compare-two-versions`,children:`versions page`}),` shows how to diff two versions’ field descriptions.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`2`,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:`2`,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:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/'`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`curl (one version)`,numberOfLines:`2`,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:`2`,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:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/?version=AbCdEfGhIj'`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python (requests)`,numberOfLines:`9`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`workflow_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0686bb97-8c30-70f0-8000-97669e000eb8\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.anyformat.ai/v3/workflows/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`workflow_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`workflow `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers).json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nodes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(node[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], node[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response (200 OK)`,numberOfLines:`49`,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:`49`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0686bb97-8c30-70f0-8000-97669e000eb8\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invoice Processing\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Extract data from invoice documents\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-01T12:00:00.000Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-01T12:00:00.000Z\"`}),_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:` \"workflow_version_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FGaV4I2JAA\"`}),_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:` \"nodes\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"parse_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"parse\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"standard\"`}),_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:` \"prompt_hint\"`}),_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:` \"figure_enhancement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cache\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"effort\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mid\"`}),_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:` \"scanned_pages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ocr\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"extract_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"extract\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"standard\"`}),_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_schema\"`}),_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:` \"fields\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invoice_number\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The unique invoice identifier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_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:` \"persistent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8f14e45f-ceea-467f-a34e-9b6e2f7d3c1a\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,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:`\"total_amount\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Total invoice amount including tax\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"float\"`}),_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:` \"persistent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"45c48cce-2e2d-4fbd-aa47-1a8a5d8f6b2b\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lookup_file_ids\"`}),_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:` \"lookup_suggestion\"`}),_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:` \"lookup_reasoning_effort\"`}),_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:` \"lookup_file_uploads\"`}),_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:` \"use_images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_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:` \"edges\"`}),_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:`\"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"parse_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"target\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"extract_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"branch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Workflow","description":"Retrieve a workflow with its complete typed graph inline","openapi":"GET /v3/workflows/{workflow_id}/","href":"/api-reference-v3/workflows/get"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Reading an earlier version","slug":"reading-an-earlier-version","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"curl","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"curl (one version)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/?version=AbCdEfGhIj'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python (requests)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">workflow_id \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"0686bb97-8c30-70f0-8000-97669e000eb8\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">url \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.anyformat.ai/v3/workflows/\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">workflow_id\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">workflow \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.get(url, \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers).json()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">for\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> node \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">in\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> workflow[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"nodes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]:\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(node[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">], node[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">])\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response (200 OK)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"49\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0686bb97-8c30-70f0-8000-97669e000eb8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invoice Processing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Extract data from invoice documents\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-07-01T12:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-07-01T12:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workflow_version_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FGaV4I2JAA\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nodes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"parse_1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"parse\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"standard\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt_hint\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"figure_enhancement\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cache\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"effort\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"mid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scanned_pages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ocr\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"extract_1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"extract\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"standard\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"extraction_schema\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fields\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"invoice_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The unique invoice identifier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"persistent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8f14e45f-ceea-467f-a34e-9b6e2f7d3c1a\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"total_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Total invoice amount including tax\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"float\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"persistent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"45c48cce-2e2d-4fbd-aa47-1a8a5d8f6b2b\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lookup_file_ids\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lookup_suggestion\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lookup_reasoning_effort\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lookup_file_uploads\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"use_images\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"edges\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"parse_1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"target\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"extract_1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"branch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/anyformat/a4950a6f3e3d96f1/landing.js","/_mintlify/custom/anyformat/ca91ef822a1ffa46/examples-gallery.js","/_mintlify/custom/anyformat/cca54c450f4f4609/code-tabs.js"],"openApiReferenceData":{"operation":{"tags":["workflows"],"summary":"Get workflow","description":"Retrieve a workflow with its complete typed graph inline","operationId":"v3_get_workflow","security":["fe755017-e115-4c37-91d0-33c7f2fd5d44"],"parameters":["29e3b5cc-444e-4d4c-ad70-914ab16a6652","f85ad311-9b17-4d97-a600-0b8e9ead4bb7"],"responses":{"200":"3a606b6a-ef0e-4977-a2e1-826757de167e","400":"bab64de2-ba15-416d-a460-78ff17883146","401":"930b824c-7ebc-4068-bf9d-521a38b31cda","403":"b3fc2e52-132a-46fb-8b4d-d04f5c4dd642","404":"f8a4bb98-3d59-43bb-953e-3e87e4c9ff74","429":"94283425-0307-4f89-a335-707795cbfc8f","500":"73e5733e-9d89-406f-83fb-360665371e37","502":"a19ff909-4c02-4c33-914d-3cba7309025c","503":"44e48d38-ad5e-4319-acf6-b7a85579a8de","504":"d75bb356-4ee5-4413-bdbe-25c09b988e10"},"method":"get","type":"path","servers":["0397d3a9-791b-4ad0-bcb8-d413354e9814"],"path":"/v3/workflows/{workflow_id}/","baseUrlOptions":["https://api.anyformat.ai"],"title":"Get workflow","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"2","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" GET"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Authorization: Bearer YOUR_API_KEY'"}}]}},"\n"]}}}},"filename":"curl"},{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"2","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" GET"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'https://api.anyformat.ai/v3/workflows/0686bb97-8c30-70f0-8000-97669e000eb8/?version=AbCdEfGhIj'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Authorization: Bearer YOUR_API_KEY'"}}]}},"\n"]}}}},"filename":"curl (one version)"},{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"9","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" requests"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"workflow_id "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"0686bb97-8c30-70f0-8000-97669e000eb8\""}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"url "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":" f"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"https://api.anyformat.ai/v3/workflows/"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"{"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"workflow_id"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"/\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"headers "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Authorization\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Bearer YOUR_API_KEY\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"workflow "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" requests.get(url, "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":"headers"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"headers).json()"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"for"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" node "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"in"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" workflow["}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"nodes\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"]:"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#DCDCAA"},"children":" print"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"(node["}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"id\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"], node["}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"type\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"])"}}]}},"\n"]}}}},"filename":"Python (requests)"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"49","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"0686bb97-8c30-70f0-8000-97669e000eb8\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Invoice Processing\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Extract data from invoice documents\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"created_at\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-07-01T12:00:00.000Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"updated_at\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-07-01T12:00:00.000Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"workflow_version_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"FGaV4I2JAA\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"nodes\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"parse_1\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"parse\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"mode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"standard\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"prompt_hint\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"figure_enhancement\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"cache\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"effort\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"mid\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"scanned_pages\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"ocr\""}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"extract_1\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"extract\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"mode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"standard\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"extraction_schema\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"fields\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"invoice_number\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"The unique invoice identifier\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data_type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"string\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"56","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"persistent_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"8f14e45f-ceea-467f-a34e-9b6e2f7d3c1a\""}}]}},"\n",{"type":"span","key":"58","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"60","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"62","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"total_amount\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"64","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Total invoice amount including tax\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"66","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data_type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"float\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"68","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"persistent_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"45c48cce-2e2d-4fbd-aa47-1a8a5d8f6b2b\""}}]}},"\n",{"type":"span","key":"70","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"72","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ]"}}}},"\n",{"type":"span","key":"74","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"76","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"lookup_file_ids\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": [],"}}]}},"\n",{"type":"span","key":"78","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"lookup_suggestion\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"80","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"lookup_reasoning_effort\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"82","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"lookup_file_uploads\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": [],"}}]}},"\n",{"type":"span","key":"84","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"use_images\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}}]}},"\n",{"type":"span","key":"86","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"88","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ],"}}}},"\n",{"type":"span","key":"90","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"edges\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"92","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"source\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"parse_1\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"target\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"extract_1\""}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"branch\""}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}]}},"\n",{"type":"span","key":"94","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ]"}}}},"\n",{"type":"span","key":"96","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Response (200 OK)"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"29e3b5cc-444e-4d4c-ad70-914ab16a6652":{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"f85ad311-9b17-4d97-a600-0b8e9ead4bb7":{"name":"version","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Version","description":"A `version_id` from `GET /v3/workflows/{workflow_id}/versions/`. Reads that version's graph instead of the latest.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Version","description":"A `version_id` from `GET /v3/workflows/{workflow_id}/versions/`. Reads that version's graph instead of the latest.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"A `version_id` from `GET /v3/workflows/{workflow_id}/versions/`. Reads that version's graph instead of the latest."}},"responses":{"3a606b6a-ef0e-4977-a2e1-826757de167e":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier of the workflow (hyphenated UUID).","examples":["0686bb97-8c30-70f0-8000-97669e000eb8"],"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Human-readable name of the workflow.","examples":["Invoice Processing"],"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"nodes":{"items":{"oneOf":[{"type":"object","title":"PublicParseNode","required":["id","type"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","const":"parse","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.type","typeLabel":"string"},"mode":{"type":"string","enum":["standard","agentic","lite","flash"],"title":"Mode","description":"Parse tier. 'standard' (default): page-by-page parsing with reading-order correction — the best quality/speed balance for most documents and tables. 'agentic': adaptive parsing that works hardest on dense tables (50+ rows, many columns) — highest fidelity on complex documents; extra cost per page. 'lite' (shown as 'Fast' in the app): OCR-only tier — accurate OCR, no LLM call; use standard or agentic when the output needs LLM correction. 'flash': the PDF's own text layer plus layout grounding, no model call — the cheapest and fastest tier; a page with no text layer is OCR'd by default (see scanned_pages).","default":"standard","uniqueKey":"nodes.items.[INDEX].oneOf.0.mode","typeLabel":"enum\u003cstring>"},"prompt_hint":{"oneOf":[{"type":"string","title":"Prompt Hint","description":"Free-form hint that biases the parse output. Standard and agentic modes only; ignored in lite.","uniqueKey":"nodes.items.[INDEX].oneOf.0.prompt_hint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prompt Hint","description":"Free-form hint that biases the parse output. Standard and agentic modes only; ignored in lite.","uniqueKey":"nodes.items.[INDEX].oneOf.0.prompt_hint.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.prompt_hint","typeLabel":"string | null"},"figure_enhancement":{"type":"boolean","title":"Figure Enhancement","description":"Standard mode: extract structured data from charts and images — extra processing per figure. Ignored in agentic and in lite.","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.figure_enhancement","typeLabel":"boolean"},"annotation_reading":{"type":"boolean","title":"Annotation Reading","description":"Standard mode, experimental: re-read handwritten numbers inside larger blocks on their own high-resolution crop, and mark handwriting in the markdown as \u003chandwritten>. Ignored in agentic, lite and flash.","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.annotation_reading","typeLabel":"boolean"},"cache":{"type":"boolean","title":"Cache","description":"Reuse parsed output when the same file was already parsed with the same mode and settings — a hit skips the whole parse. Disable to force a fresh parse.","default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.cache","typeLabel":"boolean"},"effort":{"type":"string","enum":["low","mid","accurate"],"title":"Effort","description":"Agentic mode: quality/cost preset. 'low' = several times cheaper but more errors on dense or low-contrast tables, 'mid' (default) = balanced, 'accurate' = highest fidelity. (Distinct from lite `ocr_effort`.)","default":"mid","uniqueKey":"nodes.items.[INDEX].oneOf.0.effort","typeLabel":"enum\u003cstring>"},"ocr_effort":{"type":"string","enum":["medium","high"],"title":"Ocr Effort","description":"Lite mode: 'high' (default) = the strongest OCR — best accuracy on complex layouts, tables, and handwriting. 'medium' = faster and cheaper, for clean digital documents. (Distinct from agentic `effort`.)","default":"high","uniqueKey":"nodes.items.[INDEX].oneOf.0.ocr_effort","typeLabel":"enum\u003cstring>"},"scanned_pages":{"type":"string","enum":["ocr","skip","fail"],"title":"Scanned Pages","description":"Flash mode: what to do with a page whose text layer produced no words. 'ocr' (default): OCR the page and parse it like any other, at no extra model cost. 'skip': serve it blank and flag it, don't fail the parse. 'fail': raise, naming the page numbers.","default":"ocr","uniqueKey":"nodes.items.[INDEX].oneOf.0.scanned_pages","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0","typeLabel":"PublicParseNode · object"},{"type":"object","title":"ClassifyNode","required":["id","type","categories"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","const":"classify","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.type","typeLabel":"string"},"categories":{"items":{"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable category id used as the edge `branch` value when routing.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.categories.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","minLength":1,"title":"Name","description":"Display name shown to the LLM; classification and routing key off it, so it must be unique across categories.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.categories.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the LLM.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.categories.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["id","name","description"],"title":"ClassifyCategory","uniqueKey":"nodes.items.[INDEX].oneOf.1.categories.items.[INDEX]","typeLabel":"ClassifyCategory · object"},"type":"array","minItems":1,"title":"Categories","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.categories","typeLabel":"ClassifyCategory · object[]"},"user_prompt":{"oneOf":[{"type":"string","title":"User Prompt","description":"Optional extra instructions inserted between the classifier's system prompt and the document text.","uniqueKey":"nodes.items.[INDEX].oneOf.1.user_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"User Prompt","description":"Optional extra instructions inserted between the classifier's system prompt and the document text.","uniqueKey":"nodes.items.[INDEX].oneOf.1.user_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.user_prompt","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1","typeLabel":"ClassifyNode · object"},{"type":"object","title":"SplitterNode","required":["id","type","rules"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","const":"splitter","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.2.type","typeLabel":"string"},"rules":{"items":{"properties":{"id":{"type":"string","minLength":1,"title":"Id","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.2.rules.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.2.rules.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.2.rules.items.[INDEX].description","typeLabel":"string"},"partition_key":{"type":"string","title":"Partition Key","description":"Field that further partitions this category into separate sub-documents (e.g. invoice_number): each distinct value becomes its own split, extracted independently. Empty = routing-only, the whole category flows on as one document.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.2.rules.items.[INDEX].partition_key","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["id","name","description"],"title":"SplitterRule","uniqueKey":"nodes.items.[INDEX].oneOf.2.rules.items.[INDEX]","typeLabel":"SplitterRule · object"},"type":"array","minItems":1,"title":"Rules","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.2.rules","typeLabel":"SplitterRule · object[]"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.2","typeLabel":"SplitterNode · object"},{"type":"object","title":"PublicExtractNode","required":["id","type","extraction_schema"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"extract","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.type","typeLabel":"string"},"extraction_schema":{"properties":{"fields":{"items":{"oneOf":[{"type":"object","title":"StringField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"data_type":{"type":"string","const":"string","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.0","typeLabel":"StringField · object"},{"type":"object","title":"IntegerField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"data_type":{"type":"string","const":"integer","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.1","typeLabel":"IntegerField · object"},{"type":"object","title":"FloatField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.name","typeLabel":"string"},"data_type":{"type":"string","const":"float","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.2","typeLabel":"FloatField · object"},{"type":"object","title":"BooleanField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.name","typeLabel":"string"},"data_type":{"type":"string","const":"boolean","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.3","typeLabel":"BooleanField · object"},{"type":"object","title":"DateField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.name","typeLabel":"string"},"data_type":{"type":"string","const":"date","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.4","typeLabel":"DateField · object"},{"type":"object","title":"DatetimeField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.name","typeLabel":"string"},"data_type":{"type":"string","const":"datetime","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.5","typeLabel":"DatetimeField · object"},{"type":"object","title":"EnumField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.name","typeLabel":"string"},"data_type":{"type":"string","const":"enum","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.6","typeLabel":"EnumField · object"},{"type":"object","title":"MultiSelectField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.name","typeLabel":"string"},"data_type":{"type":"string","const":"multi_select","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.7","typeLabel":"MultiSelectField · object"},{"type":"object","title":"ObjectField","description":"A repeating group — the way a table or line-item list is modelled.\n\nThere is no separate list type: one ``object`` field describes the shape of\na single row, and the extraction returns an array of those rows.","required":["name","data_type","nested_fields"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.name","typeLabel":"string"},"data_type":{"type":"string","const":"object","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.data_type","typeLabel":"string"},"nested_fields":{"items":{"oneOf":[{"type":"object","title":"StringField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"data_type":{"type":"string","const":"string","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0","typeLabel":"StringField · object"},{"type":"object","title":"IntegerField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"data_type":{"type":"string","const":"integer","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1","typeLabel":"IntegerField · object"},{"type":"object","title":"FloatField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.name","typeLabel":"string"},"data_type":{"type":"string","const":"float","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2","typeLabel":"FloatField · object"},{"type":"object","title":"BooleanField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.name","typeLabel":"string"},"data_type":{"type":"string","const":"boolean","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3","typeLabel":"BooleanField · object"},{"type":"object","title":"DateField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.name","typeLabel":"string"},"data_type":{"type":"string","const":"date","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4","typeLabel":"DateField · object"},{"type":"object","title":"DatetimeField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.name","typeLabel":"string"},"data_type":{"type":"string","const":"datetime","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5","typeLabel":"DatetimeField · object"},{"type":"object","title":"EnumField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.name","typeLabel":"string"},"data_type":{"type":"string","const":"enum","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6","typeLabel":"EnumField · object"},{"type":"object","title":"MultiSelectField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.name","typeLabel":"string"},"data_type":{"type":"string","const":"multi_select","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7","typeLabel":"MultiSelectField · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX]","typeLabel":"StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object"},"type":"array","minItems":1,"title":"Nested Fields","description":"Columns of one row. The extracted value is an array of objects with these keys, one entry per row found. Only one level of nesting is supported — an object field's children must be non-object types.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.nested_fields","typeLabel":"(StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object)[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX].oneOf.8","typeLabel":"ObjectField · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields.items.[INDEX]","typeLabel":"StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object | ObjectField · object"},"type":"array","minItems":1,"title":"Fields","description":"Field definitions making up this extract's output.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema.fields","typeLabel":"(StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object | ObjectField · object)[]"}},"additionalProperties":false,"type":"object","required":["fields"],"title":"ExtractionSchema","description":"Schema for the fields this node extracts. Required.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.extraction_schema","typeLabel":"ExtractionSchema · object"},"mode":{"type":"string","enum":["standard","agentic","lite"],"title":"Mode","description":"Extraction tier. 'standard' (default): single-pass extraction — the best balance for simple documents and layouts. 'agentic': multi-step extraction that maps every table to the schema and reasons across sections — for dense or cross-page tables; extra cost per page. 'lite' (shown as 'Fast' in the app): standard extraction, faster and cheaper; quality may vary on complex layouts.","default":"standard","uniqueKey":"nodes.items.[INDEX].oneOf.3.mode","typeLabel":"enum\u003cstring>"},"lookup_file_ids":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_file_ids.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Lookup File Ids","description":"Ids of the workflow's smart-lookup reference files this node looks values up in. Read it back from GET and echo it to keep the files; write lookup_file_uploads to add one.","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_file_ids","typeLabel":"string[]"},"lookup_suggestion":{"oneOf":[{"type":"string","title":"Lookup Suggestion","description":"Free-form hint shown to the smart-lookup matcher.","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_suggestion.oneOf.0","typeLabel":"string"},{"type":"null","title":"Lookup Suggestion","description":"Free-form hint shown to the smart-lookup matcher.","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_suggestion.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_suggestion","typeLabel":"string | null"},"lookup_reasoning_effort":{"oneOf":[{"type":"string","title":"Lookup Reasoning Effort","description":"Reasoning effort for the smart-lookup matcher (gpt-5 family): minimal | low | medium | high. None = model default. Higher effort improves match reliability on noisy join keys at higher latency/cost.","enum":["minimal","low","medium","high"],"uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_reasoning_effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Lookup Reasoning Effort","description":"Reasoning effort for the smart-lookup matcher (gpt-5 family): minimal | low | medium | high. None = model default. Higher effort improves match reliability on noisy join keys at higher latency/cost.","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_reasoning_effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_reasoning_effort","typeLabel":"enum\u003cstring> | null"},"lookup_file_uploads":{"items":{"properties":{"filename":{"type":"string","minLength":1,"title":"Filename","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_file_uploads.items.[INDEX].filename","typeLabel":"string"},"content":{"type":"string","minLength":1,"title":"Content","description":"Base64-encoded file bytes.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_file_uploads.items.[INDEX].content","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["filename","content"],"title":"LookupFileUpload","description":"Inline lookup-file content carried on the typed create call.\n\nThe backend reads ``filename`` + ``content`` (base64-encoded bytes),\nuploads the file, and appends the new lookup file's id to\n``ExtractNode.lookup_file_ids``. Create-input only — not persisted on\nthe node after upload.","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_file_uploads.items.[INDEX]","typeLabel":"LookupFileUpload · object"},"type":"array","title":"Lookup File Uploads","description":"Inline lookup-file content for the typed create call. Each entry is uploaded and its new id is appended to ``lookup_file_ids``; this field is create-input only.","uniqueKey":"nodes.items.[INDEX].oneOf.3.lookup_file_uploads","typeLabel":"LookupFileUpload · object[]"},"use_images":{"type":"boolean","title":"Use Images","description":"Retired — accepted for compatibility, ignored. Extraction reads the parsed text only.","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3.use_images","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.3","typeLabel":"PublicExtractNode · object"},{"type":"object","title":"PublicValidateNode","required":["id","type","rules"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"validate","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.type","typeLabel":"string"},"rules":{"items":{"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable rule id; round-trips through validation results.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"Optional human-readable rule name. Round-trips through the config endpoint so renames are preserved.","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"Optional human-readable rule name. Round-trips through the config endpoint so renames are preserved.","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].name","typeLabel":"string | null"},"kind":{"type":"string","enum":["ai","deterministic"],"title":"Kind","description":"'deterministic' = a structured check run in code — instant, free, reproducible; 'ai' = a model judges the rule description against the extraction. Prefer deterministic whenever the condition is exact and testable.","default":"ai","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Natural-language description sent to the LLM. Required when kind == 'ai'.","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Natural-language description sent to the LLM. Required when kind == 'ai'.","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].description","typeLabel":"string | null"},"check":{"oneOf":[{"type":"object","title":"RangeCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","field"],"properties":{"type":{"type":"string","const":"range","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The bounded numeric field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.field","typeLabel":"string"},"min":{"oneOf":[{"type":"number","title":"Min","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.min.oneOf.0","typeLabel":"number"},{"type":"null","title":"Min","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.min.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.min","typeLabel":"number | null"},"max":{"oneOf":[{"type":"number","title":"Max","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.max.oneOf.0","typeLabel":"number"},{"type":"null","title":"Max","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.max.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0.max","typeLabel":"number | null"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.0","typeLabel":"RangeCheck · object"},{"type":"object","title":"DateCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","field"],"properties":{"type":{"type":"string","const":"date","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The date field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.field","typeLabel":"string"},"earliest":{"oneOf":[{"type":"string","title":"Earliest","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.earliest.oneOf.0","typeLabel":"string"},{"type":"null","title":"Earliest","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.earliest.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.earliest","typeLabel":"string | null"},"latest":{"oneOf":[{"type":"string","title":"Latest","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.latest.oneOf.0","typeLabel":"string"},{"type":"null","title":"Latest","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.latest.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1.latest","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.1","typeLabel":"DateCheck · object"},{"type":"object","title":"ArithmeticCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","operands","equals"],"properties":{"type":{"type":"string","const":"arithmetic","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2.type","typeLabel":"string"},"operands":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2.operands.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Operands","description":"The fields combined by `operator`. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2.operands","typeLabel":"string[]"},"equals":{"type":"string","minLength":1,"title":"Equals","description":"The field whose value the result must equal. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2.equals","typeLabel":"string"},"operator":{"type":"string","enum":["sum","subtract","product"],"title":"Operator","default":"sum","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2.operator","typeLabel":"enum\u003cstring>"},"tolerance":{"type":"number","minimum":0,"title":"Tolerance","description":"Absolute slack allowed around `equals`.","default":0,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2.tolerance","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.2","typeLabel":"ArithmeticCheck · object"},{"type":"object","title":"ComparisonCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","left","op","right"],"properties":{"type":{"type":"string","const":"comparison","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.type","typeLabel":"string"},"left":{"type":"string","minLength":1,"title":"Left","description":"The left-hand field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.left","typeLabel":"string"},"op":{"type":"string","enum":["==","!=",">",">=","\u003c","\u003c="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.op","typeLabel":"enum\u003cstring>"},"right":{"oneOf":[{"type":"object","title":"_FieldOperand","required":["source","field"],"properties":{"source":{"type":"string","const":"field","title":"Source","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.0.source","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The compared field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.0.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.0","typeLabel":"_FieldOperand · object"},{"type":"object","title":"_LiteralOperand","required":["source","value"],"properties":{"source":{"type":"string","const":"literal","title":"Source","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.1.source","typeLabel":"string"},"value":{"oneOf":[{"type":"number","title":"Value","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.1.value.oneOf.0","typeLabel":"number"},{"type":"string","title":"Value","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.1.value.oneOf.1","typeLabel":"string"},{"type":"boolean","title":"Value","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.1.value.oneOf.2","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.1.value","typeLabel":"number | string | boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right.oneOf.1","typeLabel":"_LiteralOperand · object"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3.right","typeLabel":"_FieldOperand · object | _LiteralOperand · object"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.3","typeLabel":"ComparisonCheck · object"},{"type":"object","title":"OneOfCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","field","allowed"],"properties":{"type":{"type":"string","const":"one_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.4.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to test. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.4.field","typeLabel":"string"},"allowed":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.4.allowed.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Allowed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.4.allowed","typeLabel":"string[]"},"case_sensitive":{"type":"boolean","title":"Case Sensitive","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.4.case_sensitive","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.4","typeLabel":"OneOfCheck · object"},{"type":"object","title":"RegexCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","field","pattern"],"properties":{"type":{"type":"string","const":"regex","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.5.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to match. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.5.field","typeLabel":"string"},"pattern":{"type":"string","minLength":1,"title":"Pattern","description":"Evaluated with google-re2 (linear time); never stdlib re.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.5.pattern","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.5","typeLabel":"RegexCheck · object"},{"type":"object","title":"RequiredCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","field"],"properties":{"type":{"type":"string","const":"required","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.6.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field that must be present. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.6.field","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.6","typeLabel":"RequiredCheck · object"},{"type":"object","title":"ConfidenceCheck","description":"Structured deterministic check. Required when kind == 'deterministic'.","required":["type","field","op","threshold"],"properties":{"type":{"type":"string","const":"confidence","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.7.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field whose extraction confidence to compare. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.7.field","typeLabel":"string"},"op":{"type":"string","enum":["\u003c","\u003c=",">",">=","==","!="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.7.op","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","maximum":100,"minimum":0,"title":"Threshold","description":"Confidence percentile 0..100.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.7.threshold","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.7","typeLabel":"ConfidenceCheck · object"},{"type":"object","title":"ExpressionCheck","description":"A CEL expression over the whole extraction, evaluated in a sandbox.\n\nThe expression reads one root variable ``data`` and addresses fields by\nextracted name (``data.total``, ``data.lineas.map(l, l.importe)``), never by\n``persistent_id`` — so ``field_ids`` returns ``[]`` for it, and a field\nrename silently breaks the rule. An expression the evaluator cannot parse,\ncannot answer with a boolean, or prices above its evaluation budget reports\n``inconclusive``.\n\nADR platform/0036 records why the CEL parser stays out of this package, so\n``expression`` is unvalidated here.","required":["type","expression"],"properties":{"type":{"type":"string","const":"expression","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.8.type","typeLabel":"string"},"expression":{"type":"string","maxLength":1000,"minLength":1,"title":"Expression","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.8.expression","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.8","typeLabel":"ExpressionCheck · object"},{"type":"object","title":"ValidationCheck","description":"Routes on the outcome of a named validation rule already run upstream.\n\nReads from ``state.validation_results`` (populated by an upstream\n``ValidateNode``), filtered to the current partition (``split_id``) so\nper-partition IfElse routing matches per-partition rule outcomes. The\n``status`` values mirror the worker enum\n(``anyformat_core.operations.validate_rules`` — ``pass`` / ``fail`` /\n``inconclusive``) verbatim: no translation layer, so template tokens\nlike ``${validation.\u003crule_id>.status}`` render the same three strings\nthe enum uses.\n\nUnlike every other ``Check`` variant this consumes no extracted fields\n(``field_ids`` returns ``[]``); the rule identity is the entire input.\nA ``rule_id`` with no matching entry evaluates to ``inconclusive`` — the\nrule didn't run for this partition, so the outcome is unknown.","required":["type","rule_id"],"properties":{"type":{"type":"string","const":"validation","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.9.type","typeLabel":"string"},"rule_id":{"type":"string","minLength":1,"title":"Rule Id","description":"Stable id of the upstream ValidationRule to route on.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.9.rule_id","typeLabel":"string"},"status":{"type":"string","enum":["fail","pass","inconclusive"],"title":"Status","description":"Outcome to match. ``fail`` (default) is the common case for routing to an alert branch.","default":"fail","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.9.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.9","typeLabel":"ValidationCheck · object"},{"type":"object","title":"AllOfCheck","description":"AND combinator — passes iff every sub-check passes.\n\nTri-state: FAIL if any child fails; else INCONCLUSIVE if any child is\ninconclusive; else PASS. Children are the same closed ``Check`` union\n(mutual recursion via forward ref) so combinators nest by construction —\nthe CheckBuilder UI restricts nesting to a single level for MVP.\n\n``max_length=32`` bounds runaway fan-out per combinator. Practical rules\nstay well below the cap; a legitimate use case wanting more should motivate\nthe raise rather than land silently. Nesting-depth is bounded by pydantic's\nown recursion during parse.","required":["type","checks"],"properties":{"type":{"type":"string","const":"all_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.type","typeLabel":"string"},"checks":{"items":{"oneOf":[{"type":"object","title":"RangeCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"range","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.0.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The bounded numeric field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.0.field","typeLabel":"string"},"min":{"type":"any","title":"Min","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.0.min","typeLabel":"any"},"max":{"type":"any","title":"Max","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.0.max","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.0","typeLabel":"RangeCheck · object"},{"type":"object","title":"DateCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"date","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.1.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The date field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.1.field","typeLabel":"string"},"earliest":{"type":"any","title":"Earliest","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.1.earliest","typeLabel":"any"},"latest":{"type":"any","title":"Latest","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.1.latest","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.1","typeLabel":"DateCheck · object"},{"type":"object","title":"ArithmeticCheck","required":["type","operands","equals"],"properties":{"type":{"type":"string","const":"arithmetic","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2.type","typeLabel":"string"},"operands":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2.operands.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Operands","description":"The fields combined by `operator`. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2.operands","typeLabel":"string[]"},"equals":{"type":"string","minLength":1,"title":"Equals","description":"The field whose value the result must equal. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2.equals","typeLabel":"string"},"operator":{"type":"string","enum":["sum","subtract","product"],"title":"Operator","default":"sum","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2.operator","typeLabel":"enum\u003cstring>"},"tolerance":{"type":"number","minimum":0,"title":"Tolerance","description":"Absolute slack allowed around `equals`.","default":0,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2.tolerance","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.2","typeLabel":"ArithmeticCheck · object"},{"type":"object","title":"ComparisonCheck","required":["type","left","op","right"],"properties":{"type":{"type":"string","const":"comparison","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.3.type","typeLabel":"string"},"left":{"type":"string","minLength":1,"title":"Left","description":"The left-hand field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.3.left","typeLabel":"string"},"op":{"type":"string","enum":["==","!=",">",">=","\u003c","\u003c="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.3.op","typeLabel":"enum\u003cstring>"},"right":{"type":"any","title":"Right","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.3.right","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.3","typeLabel":"ComparisonCheck · object"},{"type":"object","title":"OneOfCheck","required":["type","field","allowed"],"properties":{"type":{"type":"string","const":"one_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.4.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to test. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.4.field","typeLabel":"string"},"allowed":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.4.allowed.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Allowed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.4.allowed","typeLabel":"string[]"},"case_sensitive":{"type":"boolean","title":"Case Sensitive","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.4.case_sensitive","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.4","typeLabel":"OneOfCheck · object"},{"type":"object","title":"RegexCheck","required":["type","field","pattern"],"properties":{"type":{"type":"string","const":"regex","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.5.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to match. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.5.field","typeLabel":"string"},"pattern":{"type":"string","minLength":1,"title":"Pattern","description":"Evaluated with google-re2 (linear time); never stdlib re.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.5.pattern","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.5","typeLabel":"RegexCheck · object"},{"type":"object","title":"RequiredCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"required","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.6.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field that must be present. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.6.field","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.6","typeLabel":"RequiredCheck · object"},{"type":"object","title":"ConfidenceCheck","required":["type","field","op","threshold"],"properties":{"type":{"type":"string","const":"confidence","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.7.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field whose extraction confidence to compare. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.7.field","typeLabel":"string"},"op":{"type":"string","enum":["\u003c","\u003c=",">",">=","==","!="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.7.op","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","maximum":100,"minimum":0,"title":"Threshold","description":"Confidence percentile 0..100.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.7.threshold","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.7","typeLabel":"ConfidenceCheck · object"},{"type":"object","title":"ExpressionCheck","description":"A CEL expression over the whole extraction, evaluated in a sandbox.\n\nThe expression reads one root variable ``data`` and addresses fields by\nextracted name (``data.total``, ``data.lineas.map(l, l.importe)``), never by\n``persistent_id`` — so ``field_ids`` returns ``[]`` for it, and a field\nrename silently breaks the rule. An expression the evaluator cannot parse,\ncannot answer with a boolean, or prices above its evaluation budget reports\n``inconclusive``.\n\nADR platform/0036 records why the CEL parser stays out of this package, so\n``expression`` is unvalidated here.","required":["type","expression"],"properties":{"type":{"type":"string","const":"expression","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.8.type","typeLabel":"string"},"expression":{"type":"string","maxLength":1000,"minLength":1,"title":"Expression","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.8.expression","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.8","typeLabel":"ExpressionCheck · object"},{"type":"object","title":"ValidationCheck","description":"Routes on the outcome of a named validation rule already run upstream.\n\nReads from ``state.validation_results`` (populated by an upstream\n``ValidateNode``), filtered to the current partition (``split_id``) so\nper-partition IfElse routing matches per-partition rule outcomes. The\n``status`` values mirror the worker enum\n(``anyformat_core.operations.validate_rules`` — ``pass`` / ``fail`` /\n``inconclusive``) verbatim: no translation layer, so template tokens\nlike ``${validation.\u003crule_id>.status}`` render the same three strings\nthe enum uses.\n\nUnlike every other ``Check`` variant this consumes no extracted fields\n(``field_ids`` returns ``[]``); the rule identity is the entire input.\nA ``rule_id`` with no matching entry evaluates to ``inconclusive`` — the\nrule didn't run for this partition, so the outcome is unknown.","required":["type","rule_id"],"properties":{"type":{"type":"string","const":"validation","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.9.type","typeLabel":"string"},"rule_id":{"type":"string","minLength":1,"title":"Rule Id","description":"Stable id of the upstream ValidationRule to route on.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.9.rule_id","typeLabel":"string"},"status":{"type":"string","enum":["fail","pass","inconclusive"],"title":"Status","description":"Outcome to match. ``fail`` (default) is the common case for routing to an alert branch.","default":"fail","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.9","typeLabel":"ValidationCheck · object"},{},{"type":"object","title":"AnyOfCheck","description":"OR combinator — passes iff any sub-check passes.\n\nTri-state: PASS if any child passes; else INCONCLUSIVE if any child is\ninconclusive; else FAIL.\n\n``max_length=32`` — see :class:`AllOfCheck` for the rationale.","required":["type","checks"],"properties":{"type":{"type":"string","const":"any_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.11.type","typeLabel":"string"},"checks":{"items":{"$circularRef":"3a513eb0-87cc-4efa-943d-723a7d21ef81"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.11.checks","typeLabel":"Checks · array"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX].oneOf.11","typeLabel":"AnyOfCheck · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks.items.[INDEX]","typeLabel":"RangeCheck · object | DateCheck · object | ArithmeticCheck · object | ComparisonCheck · object | OneOfCheck · object | RegexCheck · object | RequiredCheck · object | ConfidenceCheck · object | ExpressionCheck · object | ValidationCheck · object | AnyOfCheck · object"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10.checks","typeLabel":"(RangeCheck · object | DateCheck · object | ArithmeticCheck · object | ComparisonCheck · object | OneOfCheck · object | RegexCheck · object | RequiredCheck · object | ConfidenceCheck · object | ExpressionCheck · object | ValidationCheck · object | AnyOfCheck · object)[]"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.10","typeLabel":"AllOfCheck · object"},{"type":"object","title":"AnyOfCheck","description":"OR combinator — passes iff any sub-check passes.\n\nTri-state: PASS if any child passes; else INCONCLUSIVE if any child is\ninconclusive; else FAIL.\n\n``max_length=32`` — see :class:`AllOfCheck` for the rationale.","required":["type","checks"],"properties":{"type":{"type":"string","const":"any_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.11.type","typeLabel":"string"},"checks":{"items":{"$circularRef":"3a513eb0-87cc-4efa-943d-723a7d21ef81"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.11.checks","typeLabel":"Checks · array"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.11","typeLabel":"AnyOfCheck · object"},{"type":"null","title":"Check","description":"Structured deterministic check. Required when kind == 'deterministic'.","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check.oneOf.12","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].check","typeLabel":"RangeCheck · object | DateCheck · object | ArithmeticCheck · object | ComparisonCheck · object | OneOfCheck · object | RegexCheck · object | RequiredCheck · object | ConfidenceCheck · object | ExpressionCheck · object | ValidationCheck · object | AllOfCheck · object | AnyOfCheck · object | null"},"severity":{"type":"string","enum":["error","warning"],"title":"Severity","description":"How a failed rule is labelled in results. Display-level only — it never blocks the run.","default":"error","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"source_fields":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].source_fields.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Source Fields","description":"Persistent ids of fields this rule references.","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX].source_fields","typeLabel":"string[]"}},"additionalProperties":false,"type":"object","required":["id"],"title":"ValidationRule","uniqueKey":"nodes.items.[INDEX].oneOf.4.rules.items.[INDEX]","typeLabel":"ValidationRule · object"},"type":"array","minItems":1,"title":"Rules","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.4.rules","typeLabel":"ValidationRule · object[]"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.4","typeLabel":"PublicValidateNode · object"},{"type":"object","title":"PublicIfElseNode","required":["id","type","condition"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.id","typeLabel":"string"},"type":{"type":"string","const":"if_else","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.type","typeLabel":"string"},"condition":{"oneOf":[{"type":"object","title":"RangeCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"range","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The bounded numeric field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.field","typeLabel":"string"},"min":{"oneOf":[{"type":"number","title":"Min","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.min.oneOf.0","typeLabel":"number"},{"type":"null","title":"Min","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.min.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.min","typeLabel":"number | null"},"max":{"oneOf":[{"type":"number","title":"Max","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.max.oneOf.0","typeLabel":"number"},{"type":"null","title":"Max","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.max.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0.max","typeLabel":"number | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.0","typeLabel":"RangeCheck · object"},{"type":"object","title":"DateCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"date","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The date field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.field","typeLabel":"string"},"earliest":{"oneOf":[{"type":"string","title":"Earliest","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.earliest.oneOf.0","typeLabel":"string"},{"type":"null","title":"Earliest","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.earliest.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.earliest","typeLabel":"string | null"},"latest":{"oneOf":[{"type":"string","title":"Latest","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.latest.oneOf.0","typeLabel":"string"},{"type":"null","title":"Latest","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.latest.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1.latest","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.1","typeLabel":"DateCheck · object"},{"type":"object","title":"ArithmeticCheck","required":["type","operands","equals"],"properties":{"type":{"type":"string","const":"arithmetic","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2.type","typeLabel":"string"},"operands":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2.operands.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Operands","description":"The fields combined by `operator`. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2.operands","typeLabel":"string[]"},"equals":{"type":"string","minLength":1,"title":"Equals","description":"The field whose value the result must equal. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2.equals","typeLabel":"string"},"operator":{"type":"string","enum":["sum","subtract","product"],"title":"Operator","default":"sum","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2.operator","typeLabel":"enum\u003cstring>"},"tolerance":{"type":"number","minimum":0,"title":"Tolerance","description":"Absolute slack allowed around `equals`.","default":0,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2.tolerance","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.2","typeLabel":"ArithmeticCheck · object"},{"type":"object","title":"ComparisonCheck","required":["type","left","op","right"],"properties":{"type":{"type":"string","const":"comparison","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.type","typeLabel":"string"},"left":{"type":"string","minLength":1,"title":"Left","description":"The left-hand field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.left","typeLabel":"string"},"op":{"type":"string","enum":["==","!=",">",">=","\u003c","\u003c="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.op","typeLabel":"enum\u003cstring>"},"right":{"oneOf":[{"type":"object","title":"_FieldOperand","required":["source","field"],"properties":{"source":{"type":"string","const":"field","title":"Source","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.0.source","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The compared field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.0.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.0","typeLabel":"_FieldOperand · object"},{"type":"object","title":"_LiteralOperand","required":["source","value"],"properties":{"source":{"type":"string","const":"literal","title":"Source","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.1.source","typeLabel":"string"},"value":{"oneOf":[{"type":"number","title":"Value","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.1.value.oneOf.0","typeLabel":"number"},{"type":"string","title":"Value","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.1.value.oneOf.1","typeLabel":"string"},{"type":"boolean","title":"Value","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.1.value.oneOf.2","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.1.value","typeLabel":"number | string | boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right.oneOf.1","typeLabel":"_LiteralOperand · object"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3.right","typeLabel":"_FieldOperand · object | _LiteralOperand · object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.3","typeLabel":"ComparisonCheck · object"},{"type":"object","title":"OneOfCheck","required":["type","field","allowed"],"properties":{"type":{"type":"string","const":"one_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.4.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to test. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.4.field","typeLabel":"string"},"allowed":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.4.allowed.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Allowed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.4.allowed","typeLabel":"string[]"},"case_sensitive":{"type":"boolean","title":"Case Sensitive","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.4.case_sensitive","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.4","typeLabel":"OneOfCheck · object"},{"type":"object","title":"RegexCheck","required":["type","field","pattern"],"properties":{"type":{"type":"string","const":"regex","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.5.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to match. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.5.field","typeLabel":"string"},"pattern":{"type":"string","minLength":1,"title":"Pattern","description":"Evaluated with google-re2 (linear time); never stdlib re.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.5.pattern","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.5","typeLabel":"RegexCheck · object"},{"type":"object","title":"RequiredCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"required","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.6.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field that must be present. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.6.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.6","typeLabel":"RequiredCheck · object"},{"type":"object","title":"ConfidenceCheck","required":["type","field","op","threshold"],"properties":{"type":{"type":"string","const":"confidence","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.7.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field whose extraction confidence to compare. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.7.field","typeLabel":"string"},"op":{"type":"string","enum":["\u003c","\u003c=",">",">=","==","!="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.7.op","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","maximum":100,"minimum":0,"title":"Threshold","description":"Confidence percentile 0..100.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.7.threshold","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.7","typeLabel":"ConfidenceCheck · object"},{"type":"object","title":"ExpressionCheck","description":"A CEL expression over the whole extraction, evaluated in a sandbox.\n\nThe expression reads one root variable ``data`` and addresses fields by\nextracted name (``data.total``, ``data.lineas.map(l, l.importe)``), never by\n``persistent_id`` — so ``field_ids`` returns ``[]`` for it, and a field\nrename silently breaks the rule. An expression the evaluator cannot parse,\ncannot answer with a boolean, or prices above its evaluation budget reports\n``inconclusive``.\n\nADR platform/0036 records why the CEL parser stays out of this package, so\n``expression`` is unvalidated here.","required":["type","expression"],"properties":{"type":{"type":"string","const":"expression","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.8.type","typeLabel":"string"},"expression":{"type":"string","maxLength":1000,"minLength":1,"title":"Expression","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.8.expression","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.8","typeLabel":"ExpressionCheck · object"},{"type":"object","title":"ValidationCheck","description":"Routes on the outcome of a named validation rule already run upstream.\n\nReads from ``state.validation_results`` (populated by an upstream\n``ValidateNode``), filtered to the current partition (``split_id``) so\nper-partition IfElse routing matches per-partition rule outcomes. The\n``status`` values mirror the worker enum\n(``anyformat_core.operations.validate_rules`` — ``pass`` / ``fail`` /\n``inconclusive``) verbatim: no translation layer, so template tokens\nlike ``${validation.\u003crule_id>.status}`` render the same three strings\nthe enum uses.\n\nUnlike every other ``Check`` variant this consumes no extracted fields\n(``field_ids`` returns ``[]``); the rule identity is the entire input.\nA ``rule_id`` with no matching entry evaluates to ``inconclusive`` — the\nrule didn't run for this partition, so the outcome is unknown.","required":["type","rule_id"],"properties":{"type":{"type":"string","const":"validation","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.9.type","typeLabel":"string"},"rule_id":{"type":"string","minLength":1,"title":"Rule Id","description":"Stable id of the upstream ValidationRule to route on.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.9.rule_id","typeLabel":"string"},"status":{"type":"string","enum":["fail","pass","inconclusive"],"title":"Status","description":"Outcome to match. ``fail`` (default) is the common case for routing to an alert branch.","default":"fail","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.9.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.9","typeLabel":"ValidationCheck · object"},{"type":"object","title":"AllOfCheck","description":"AND combinator — passes iff every sub-check passes.\n\nTri-state: FAIL if any child fails; else INCONCLUSIVE if any child is\ninconclusive; else PASS. Children are the same closed ``Check`` union\n(mutual recursion via forward ref) so combinators nest by construction —\nthe CheckBuilder UI restricts nesting to a single level for MVP.\n\n``max_length=32`` bounds runaway fan-out per combinator. Practical rules\nstay well below the cap; a legitimate use case wanting more should motivate\nthe raise rather than land silently. Nesting-depth is bounded by pydantic's\nown recursion during parse.","required":["type","checks"],"properties":{"type":{"type":"string","const":"all_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.type","typeLabel":"string"},"checks":{"items":{"oneOf":[{"type":"object","title":"RangeCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"range","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.0.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The bounded numeric field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.0.field","typeLabel":"string"},"min":{"type":"any","title":"Min","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.0.min","typeLabel":"any"},"max":{"type":"any","title":"Max","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.0.max","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.0","typeLabel":"RangeCheck · object"},{"type":"object","title":"DateCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"date","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.1.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The date field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.1.field","typeLabel":"string"},"earliest":{"type":"any","title":"Earliest","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.1.earliest","typeLabel":"any"},"latest":{"type":"any","title":"Latest","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.1.latest","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.1","typeLabel":"DateCheck · object"},{"type":"object","title":"ArithmeticCheck","required":["type","operands","equals"],"properties":{"type":{"type":"string","const":"arithmetic","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2.type","typeLabel":"string"},"operands":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2.operands.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Operands","description":"The fields combined by `operator`. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2.operands","typeLabel":"string[]"},"equals":{"type":"string","minLength":1,"title":"Equals","description":"The field whose value the result must equal. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2.equals","typeLabel":"string"},"operator":{"type":"string","enum":["sum","subtract","product"],"title":"Operator","default":"sum","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2.operator","typeLabel":"enum\u003cstring>"},"tolerance":{"type":"number","minimum":0,"title":"Tolerance","description":"Absolute slack allowed around `equals`.","default":0,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2.tolerance","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.2","typeLabel":"ArithmeticCheck · object"},{"type":"object","title":"ComparisonCheck","required":["type","left","op","right"],"properties":{"type":{"type":"string","const":"comparison","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.3.type","typeLabel":"string"},"left":{"type":"string","minLength":1,"title":"Left","description":"The left-hand field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.3.left","typeLabel":"string"},"op":{"type":"string","enum":["==","!=",">",">=","\u003c","\u003c="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.3.op","typeLabel":"enum\u003cstring>"},"right":{"type":"any","title":"Right","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.3.right","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.3","typeLabel":"ComparisonCheck · object"},{"type":"object","title":"OneOfCheck","required":["type","field","allowed"],"properties":{"type":{"type":"string","const":"one_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.4.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to test. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.4.field","typeLabel":"string"},"allowed":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.4.allowed.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Allowed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.4.allowed","typeLabel":"string[]"},"case_sensitive":{"type":"boolean","title":"Case Sensitive","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.4.case_sensitive","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.4","typeLabel":"OneOfCheck · object"},{"type":"object","title":"RegexCheck","required":["type","field","pattern"],"properties":{"type":{"type":"string","const":"regex","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.5.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to match. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.5.field","typeLabel":"string"},"pattern":{"type":"string","minLength":1,"title":"Pattern","description":"Evaluated with google-re2 (linear time); never stdlib re.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.5.pattern","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.5","typeLabel":"RegexCheck · object"},{"type":"object","title":"RequiredCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"required","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.6.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field that must be present. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.6.field","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.6","typeLabel":"RequiredCheck · object"},{"type":"object","title":"ConfidenceCheck","required":["type","field","op","threshold"],"properties":{"type":{"type":"string","const":"confidence","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.7.type","typeLabel":"string"},"field":{"type":"string","minLength":1,"title":"Field","description":"The field whose extraction confidence to compare. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.7.field","typeLabel":"string"},"op":{"type":"string","enum":["\u003c","\u003c=",">",">=","==","!="],"title":"Op","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.7.op","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","maximum":100,"minimum":0,"title":"Threshold","description":"Confidence percentile 0..100.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.7.threshold","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.7","typeLabel":"ConfidenceCheck · object"},{"type":"object","title":"ExpressionCheck","description":"A CEL expression over the whole extraction, evaluated in a sandbox.\n\nThe expression reads one root variable ``data`` and addresses fields by\nextracted name (``data.total``, ``data.lineas.map(l, l.importe)``), never by\n``persistent_id`` — so ``field_ids`` returns ``[]`` for it, and a field\nrename silently breaks the rule. An expression the evaluator cannot parse,\ncannot answer with a boolean, or prices above its evaluation budget reports\n``inconclusive``.\n\nADR platform/0036 records why the CEL parser stays out of this package, so\n``expression`` is unvalidated here.","required":["type","expression"],"properties":{"type":{"type":"string","const":"expression","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.8.type","typeLabel":"string"},"expression":{"type":"string","maxLength":1000,"minLength":1,"title":"Expression","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.8.expression","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.8","typeLabel":"ExpressionCheck · object"},{"type":"object","title":"ValidationCheck","description":"Routes on the outcome of a named validation rule already run upstream.\n\nReads from ``state.validation_results`` (populated by an upstream\n``ValidateNode``), filtered to the current partition (``split_id``) so\nper-partition IfElse routing matches per-partition rule outcomes. The\n``status`` values mirror the worker enum\n(``anyformat_core.operations.validate_rules`` — ``pass`` / ``fail`` /\n``inconclusive``) verbatim: no translation layer, so template tokens\nlike ``${validation.\u003crule_id>.status}`` render the same three strings\nthe enum uses.\n\nUnlike every other ``Check`` variant this consumes no extracted fields\n(``field_ids`` returns ``[]``); the rule identity is the entire input.\nA ``rule_id`` with no matching entry evaluates to ``inconclusive`` — the\nrule didn't run for this partition, so the outcome is unknown.","required":["type","rule_id"],"properties":{"type":{"type":"string","const":"validation","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.9.type","typeLabel":"string"},"rule_id":{"type":"string","minLength":1,"title":"Rule Id","description":"Stable id of the upstream ValidationRule to route on.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.9.rule_id","typeLabel":"string"},"status":{"type":"string","enum":["fail","pass","inconclusive"],"title":"Status","description":"Outcome to match. ``fail`` (default) is the common case for routing to an alert branch.","default":"fail","uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.9","typeLabel":"ValidationCheck · object"},{},{"type":"object","title":"AnyOfCheck","description":"OR combinator — passes iff any sub-check passes.\n\nTri-state: PASS if any child passes; else INCONCLUSIVE if any child is\ninconclusive; else FAIL.\n\n``max_length=32`` — see :class:`AllOfCheck` for the rationale.","required":["type","checks"],"properties":{"type":{"type":"string","const":"any_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.11.type","typeLabel":"string"},"checks":{"items":{"$circularRef":"3a513eb0-87cc-4efa-943d-723a7d21ef81"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.11.checks","typeLabel":"Checks · array"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX].oneOf.11","typeLabel":"AnyOfCheck · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks.items.[INDEX]","typeLabel":"RangeCheck · object | DateCheck · object | ArithmeticCheck · object | ComparisonCheck · object | OneOfCheck · object | RegexCheck · object | RequiredCheck · object | ConfidenceCheck · object | ExpressionCheck · object | ValidationCheck · object | AnyOfCheck · object"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10.checks","typeLabel":"(RangeCheck · object | DateCheck · object | ArithmeticCheck · object | ComparisonCheck · object | OneOfCheck · object | RegexCheck · object | RequiredCheck · object | ConfidenceCheck · object | ExpressionCheck · object | ValidationCheck · object | AnyOfCheck · object)[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.10","typeLabel":"AllOfCheck · object"},{"type":"object","title":"AnyOfCheck","description":"OR combinator — passes iff any sub-check passes.\n\nTri-state: PASS if any child passes; else INCONCLUSIVE if any child is\ninconclusive; else FAIL.\n\n``max_length=32`` — see :class:`AllOfCheck` for the rationale.","required":["type","checks"],"properties":{"type":{"type":"string","const":"any_of","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.11.type","typeLabel":"string"},"checks":{"items":{"$circularRef":"3a513eb0-87cc-4efa-943d-723a7d21ef81"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.11.checks","typeLabel":"Checks · array"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition.oneOf.11","typeLabel":"AnyOfCheck · object"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.5.condition","typeLabel":"RangeCheck · object | DateCheck · object | ArithmeticCheck · object | ComparisonCheck · object | OneOfCheck · object | RegexCheck · object | RequiredCheck · object | ConfidenceCheck · object | ExpressionCheck · object | ValidationCheck · object | AllOfCheck · object | AnyOfCheck · object"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.5","typeLabel":"PublicIfElseNode · object"},{"type":"object","title":"PublicSlackAlertNode","description":"Terminal alert-sink. ``field_index`` is executor-injected — omitted here.","required":["id","type","channel_id","channel_name","message_template"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"slack_alert","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.6.type","typeLabel":"string"},"channel_id":{"type":"string","minLength":1,"title":"Channel Id","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.6.channel_id","typeLabel":"string"},"channel_name":{"type":"string","minLength":1,"title":"Channel Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.6.channel_name","typeLabel":"string"},"message_template":{"type":"string","minLength":1,"title":"Message Template","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.6.message_template","typeLabel":"string"},"severity":{"type":"string","enum":["info","warning","critical"],"title":"Severity","default":"info","uniqueKey":"nodes.items.[INDEX].oneOf.6.severity","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.6","typeLabel":"PublicSlackAlertNode · object"},{"type":"object","title":"PublicEditNode","description":"Terminal form-filler. ``reference_uris`` is resolved server-side at run\ntime from ``reference_document_ids`` — omitted here, and any client-supplied\nvalue is discarded rather than trusted.","required":["id","type"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.7.id","typeLabel":"string"},"type":{"type":"string","const":"edit","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.7.type","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","title":"Instructions","description":"Free-text values to map onto the fillable fields detected on the upstream parse's PDF, e.g. 'Name: ACME SL; Date: 2026-01-01; I accept the terms: yes'. Takes precedence over a reference document where both address the same field.","uniqueKey":"nodes.items.[INDEX].oneOf.7.instructions.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instructions","description":"Free-text values to map onto the fillable fields detected on the upstream parse's PDF, e.g. 'Name: ACME SL; Date: 2026-01-01; I accept the terms: yes'. Takes precedence over a reference document where both address the same field.","uniqueKey":"nodes.items.[INDEX].oneOf.7.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.7.instructions","typeLabel":"string | null"},"reference_document_ids":{"items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.7.reference_document_ids.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Reference Document Ids","description":"Ids of reference documents this node fills from, uploaded to the workflow beforehand. Every id must belong to this workflow and be fully resolved, or the run is refused rather than filled from a partial reference.","uniqueKey":"nodes.items.[INDEX].oneOf.7.reference_document_ids","typeLabel":"string[]"},"font":{"type":"string","enum":["sans","serif","mono"],"title":"Font","description":"Typeface the filled values are written in.","default":"sans","uniqueKey":"nodes.items.[INDEX].oneOf.7.font","typeLabel":"enum\u003cstring>"},"output_mode":{"type":"string","enum":["flattened","editable"],"title":"Output Mode","description":"'flattened' paints the values on and the PDF is final. 'editable' leaves each value in a live form field a reviewer can correct in any PDF viewer.","default":"flattened","uniqueKey":"nodes.items.[INDEX].oneOf.7.output_mode","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.7","typeLabel":"PublicEditNode · object"},{"type":"object","title":"PublicCodeNode","description":"Beta. Terminal function node. The deprecated `instructions` and `template` are refused.","required":["id","type","code","output_schema"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.id","typeLabel":"string"},"type":{"type":"string","const":"code","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.type","typeLabel":"string"},"code":{"type":"string","minLength":1,"title":"Code","description":"Beta. Python source defining `def transform(input_data: Input) -> Output`. `Input` and `Output` are pydantic models the sandbox provides; the function runs without network access. At most 65536 bytes. Its shape may change without a version.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.code","typeLabel":"string"},"output_schema":{"properties":{"fields":{"items":{"oneOf":[{"type":"object","title":"StringField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"data_type":{"type":"string","const":"string","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.0","typeLabel":"StringField · object"},{"type":"object","title":"IntegerField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"data_type":{"type":"string","const":"integer","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.1","typeLabel":"IntegerField · object"},{"type":"object","title":"FloatField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.name","typeLabel":"string"},"data_type":{"type":"string","const":"float","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.2","typeLabel":"FloatField · object"},{"type":"object","title":"BooleanField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.name","typeLabel":"string"},"data_type":{"type":"string","const":"boolean","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.3","typeLabel":"BooleanField · object"},{"type":"object","title":"DateField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.name","typeLabel":"string"},"data_type":{"type":"string","const":"date","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.4","typeLabel":"DateField · object"},{"type":"object","title":"DatetimeField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.name","typeLabel":"string"},"data_type":{"type":"string","const":"datetime","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.5","typeLabel":"DatetimeField · object"},{"type":"object","title":"EnumField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.name","typeLabel":"string"},"data_type":{"type":"string","const":"enum","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.6","typeLabel":"EnumField · object"},{"type":"object","title":"MultiSelectField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.name","typeLabel":"string"},"data_type":{"type":"string","const":"multi_select","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.7","typeLabel":"MultiSelectField · object"},{"type":"object","title":"ObjectField","description":"A repeating group — the way a table or line-item list is modelled.\n\nThere is no separate list type: one ``object`` field describes the shape of\na single row, and the extraction returns an array of those rows.","required":["name","data_type","nested_fields"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.name","typeLabel":"string"},"data_type":{"type":"string","const":"object","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.data_type","typeLabel":"string"},"nested_fields":{"items":{"oneOf":[{"type":"object","title":"StringField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.name","typeLabel":"string"},"data_type":{"type":"string","const":"string","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.0","typeLabel":"StringField · object"},{"type":"object","title":"IntegerField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.name","typeLabel":"string"},"data_type":{"type":"string","const":"integer","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.1","typeLabel":"IntegerField · object"},{"type":"object","title":"FloatField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.name","typeLabel":"string"},"data_type":{"type":"string","const":"float","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.2","typeLabel":"FloatField · object"},{"type":"object","title":"BooleanField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.name","typeLabel":"string"},"data_type":{"type":"string","const":"boolean","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.3","typeLabel":"BooleanField · object"},{"type":"object","title":"DateField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.name","typeLabel":"string"},"data_type":{"type":"string","const":"date","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.4","typeLabel":"DateField · object"},{"type":"object","title":"DatetimeField","required":["name","data_type"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.name","typeLabel":"string"},"data_type":{"type":"string","const":"datetime","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.data_type","typeLabel":"string"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.5","typeLabel":"DatetimeField · object"},{"type":"object","title":"EnumField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.name","typeLabel":"string"},"data_type":{"type":"string","const":"enum","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.6","typeLabel":"EnumField · object"},{"type":"object","title":"MultiSelectField","required":["name","data_type","enum_options"],"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Field name. Used as the key in the extraction response.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.name","typeLabel":"string"},"data_type":{"type":"string","const":"multi_select","title":"Data Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.data_type","typeLabel":"string"},"enum_options":{"items":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","minLength":1,"title":"Description","description":"Free-form description shown to the model.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX].description","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"EnumOption","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options.items.[INDEX]","typeLabel":"EnumOption · object"},"type":"array","minItems":1,"title":"Enum Options","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.enum_options","typeLabel":"EnumOption · object[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX].oneOf.7","typeLabel":"MultiSelectField · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields.items.[INDEX]","typeLabel":"StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object"},"type":"array","minItems":1,"title":"Nested Fields","description":"Columns of one row. The extracted value is an array of objects with these keys, one entry per row found. Only one level of nesting is supported — an object field's children must be non-object types.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.nested_fields","typeLabel":"(StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object)[]"},"persistent_id":{"oneOf":[{"type":"string","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.persistent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Persistent Id","description":"Server-assigned stable field identity (UUID), emitted by GET /definition/. Echo it back on updates — including across renames — to keep quality metrics, ground-truth links and analytics attached to the field. Matching is scoped to the field's nesting level in the immediately-prior version; an id that matches nothing at its level, appears on more than one field, or is sent at workflow creation is rejected with 400. Omit only for genuinely new fields: there is no matching by name, so a field sent without one is always treated as new and minted a fresh id, silently detaching that field's metrics, ground truth and analytics.","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.persistent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.persistent_id","typeLabel":"string | null"},"description":{"type":"string","title":"Description","description":"Free-form description shown to the extraction model.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.description","typeLabel":"string"},"source":{"type":"string","enum":["extraction","smart_lookup","lookup_if_missing"],"title":"Source","description":"How the field gets its value: extraction (from the document), smart_lookup (from the lookup file, always overwrites) or lookup_if_missing (extracted too; the lookup only fills it where extraction left no value).","default":"extraction","uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8.source","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX].oneOf.8","typeLabel":"ObjectField · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields.items.[INDEX]","typeLabel":"StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object | ObjectField · object"},"type":"array","minItems":1,"title":"Fields","description":"Field definitions making up this extract's output.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema.fields","typeLabel":"(StringField · object | IntegerField · object | FloatField · object | BooleanField · object | DateField · object | DatetimeField · object | EnumField · object | MultiSelectField · object | ObjectField · object)[]"}},"additionalProperties":false,"type":"object","required":["fields"],"title":"ExtractionSchema","description":"Beta. The fields of `Output`, in the extraction-schema format. Required.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.8.output_schema","typeLabel":"ExtractionSchema · object"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.8","typeLabel":"PublicCodeNode · object"},{"type":"object","title":"KnowledgeNode","description":"Terminal knowledge sink — its presence opts the workflow into the\nknowledge base (priced separately, so absent by default).\n\nThe backend reacts to parse callbacks by ingesting parsed markdown into\nthe workflow's navigable corpus; core never executes this node — the\nexecution builder keeps it and its edges off the worker message. Emits\nnothing downstream.","required":["id","type"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.9.id","typeLabel":"string"},"type":{"type":"string","const":"knowledge","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.9.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.9","typeLabel":"KnowledgeNode · object"},{"type":"object","title":"ReportGeneratorNode","description":"A terminal Markdown report over a direct ExtractNode's output.","required":["id","type"],"properties":{"id":{"type":"string","minLength":1,"title":"Id","description":"Stable identifier for this node within the graph.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.10.id","typeLabel":"string"},"type":{"type":"string","const":"report_generator","title":"Type","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.10.type","typeLabel":"string"},"instructions":{"type":"string","title":"Instructions","description":"Additional instructions for filling the Markdown template.","default":"","uniqueKey":"nodes.items.[INDEX].oneOf.10.instructions","typeLabel":"string"},"example_report":{"oneOf":[{"type":"string","title":"Example Report","description":"Markdown template to fill with extracted data. Capped at 65536 bytes.","uniqueKey":"nodes.items.[INDEX].oneOf.10.example_report.oneOf.0","typeLabel":"string"},{"type":"null","title":"Example Report","description":"Markdown template to fill with extracted data. Capped at 65536 bytes.","uniqueKey":"nodes.items.[INDEX].oneOf.10.example_report.oneOf.1","typeLabel":"null"}],"uniqueKey":"nodes.items.[INDEX].oneOf.10.example_report","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"nodes.items.[INDEX].oneOf.10","typeLabel":"ReportGeneratorNode · object"}],"uniqueKey":"nodes.items.[INDEX]","typeLabel":"PublicParseNode · object | ClassifyNode · object | SplitterNode · object | PublicExtractNode · object | PublicValidateNode · object | PublicIfElseNode · object | PublicSlackAlertNode · object | PublicEditNode · object | PublicCodeNode · object | KnowledgeNode · object | ReportGeneratorNode · object"},"type":"array","title":"Nodes","description":"Typed graph nodes (parse / classify / splitter / extract / validate / if_else).","isRequired":true,"uniqueKey":"nodes","typeLabel":"(PublicParseNode · object | ClassifyNode · object | SplitterNode · object | PublicExtractNode · object | PublicValidateNode · object | PublicIfElseNode · object | PublicSlackAlertNode · object | PublicEditNode · object | PublicCodeNode · object | KnowledgeNode · object | ReportGeneratorNode · object)[]"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Optional description of what this workflow extracts.","example":"A workflow for processing invoices and retrieving invoice details.","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Optional description of what this workflow extracts.","example":"A workflow for processing invoices and retrieving invoice details.","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"Timestamp when the workflow was created (ISO 8601).","format":"date-time","uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"Timestamp when the workflow was created (ISO 8601).","uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"Timestamp when the workflow was last modified (ISO 8601).","format":"date-time","uniqueKey":"updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"Timestamp when the workflow was last modified (ISO 8601).","uniqueKey":"updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time> | null"},"edges":{"items":{"properties":{"source":{"type":"string","minLength":1,"title":"Source","isRequired":true,"uniqueKey":"edges.items.[INDEX].source","typeLabel":"string"},"target":{"type":"string","minLength":1,"title":"Target","isRequired":true,"uniqueKey":"edges.items.[INDEX].target","typeLabel":"string"},"branch":{"oneOf":[{"type":"string","title":"Branch","description":"Source-port label for branch routing. Required when leaving a classify or splitter node by category/rule.","uniqueKey":"edges.items.[INDEX].branch.oneOf.0","typeLabel":"string"},{"type":"null","title":"Branch","description":"Source-port label for branch routing. Required when leaving a classify or splitter node by category/rule.","uniqueKey":"edges.items.[INDEX].branch.oneOf.1","typeLabel":"null"}],"uniqueKey":"edges.items.[INDEX].branch","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["source","target"],"title":"Edge","description":"A directed edge between two nodes. ``branch`` carries the source-port label\nused for routing out of ``classify`` (category id) or ``splitter`` (rule id) nodes.","uniqueKey":"edges.items.[INDEX]","typeLabel":"Edge · object"},"type":"array","title":"Edges","description":"Directed edges between the graph nodes.","uniqueKey":"edges","typeLabel":"Edge · object[]"},"workflow_version_id":{"oneOf":[{"type":"string","title":"Workflow Version Id","description":"The version of the graph: on GET the latest or the `?version=` one, on PATCH the one the write made. A `version_id` from `GET /v3/workflows/{workflow_id}/versions/`.","example":"FGaV4I2JAA","uniqueKey":"workflow_version_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Workflow Version Id","description":"The version of the graph: on GET the latest or the `?version=` one, on PATCH the one the write made. A `version_id` from `GET /v3/workflows/{workflow_id}/versions/`.","example":"FGaV4I2JAA","uniqueKey":"workflow_version_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"workflow_version_id","typeLabel":"string | null"}},"type":"object","required":["id","name","nodes"],"title":"WorkflowReadV3","description":"`GET` and `PATCH /v3/workflows/{workflow_id}/`: the graph, and the version it belongs to.","uniqueKey":"","typeLabel":"WorkflowReadV3 · object"},"examples":{"Example":{"title":"Example","value":{"id":"0686bb97-8c30-70f0-8000-97669e000eb8","name":"Invoice Processing","nodes":[{"id":"\u003cstring>","type":"parse","mode":"standard","prompt_hint":"\u003cstring>","figure_enhancement":false,"annotation_reading":false,"cache":true,"effort":"mid","ocr_effort":"high","scanned_pages":"ocr"}],"description":"A workflow for processing invoices and retrieving invoice details.","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","edges":[{"source":"\u003cstring>","target":"\u003cstring>","branch":"\u003cstring>"}],"workflow_version_id":"FGaV4I2JAA"}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window (60s).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"exampleType":"generated"},"bab64de2-ba15-416d-a460-78ff17883146":{"description":"Validation failed — the request body or query parameters are invalid.","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"VALIDATION_ERROR":{"title":"VALIDATION_ERROR","value":{"error":"The request failed validation.","detail":[{"type":"missing","loc":["body","name"],"msg":"Field required"}],"error_code":"VALIDATION_ERROR","retryable":false,"request_id":"req_abc123","recovery":"Read `detail` for what failed validation, correct the request, and send it again."}}},"exampleType":"examples"}},"exampleType":"examples"},"930b824c-7ebc-4068-bf9d-521a38b31cda":{"description":"Authentication failed — the API key is not valid (`INVALID_API_KEY`) or the request carries none (`MISSING_API_KEY`).","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"INVALID_API_KEY":{"title":"INVALID_API_KEY","value":{"error":"The API key is not valid.","detail":"The API key is not valid.","error_code":"INVALID_API_KEY","retryable":false,"request_id":"req_abc123","recovery":"Check that the key is complete and has not been revoked, or create a new key."}},"MISSING_API_KEY":{"title":"MISSING_API_KEY","value":{"error":"The request carries no API key.","detail":"The request carries no API key.","error_code":"MISSING_API_KEY","retryable":false,"request_id":"req_abc123","recovery":"Send your API key in the `Authorization: Bearer \u003ckey>` header."}}},"exampleType":"examples"}},"exampleType":"examples"},"b3fc2e52-132a-46fb-8b4d-d04f5c4dd642":{"description":"Access denied — the API key lacks access to this resource or the scope this call needs (`ACCESS_DENIED`, `insufficient_api_key_scope`).","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"ACCESS_DENIED":{"title":"ACCESS_DENIED","value":{"error":"You do not have access to this resource.","detail":"You do not have access to this resource.","error_code":"ACCESS_DENIED","retryable":false,"request_id":"req_abc123","recovery":"Use an API key from the organization that owns this resource, or ask one of its admins for access."}},"insufficient_api_key_scope":{"title":"insufficient_api_key_scope","value":{"error":"The API key does not carry the scope this call needs.","detail":"The API key does not carry the scope this call needs.","error_code":"insufficient_api_key_scope","retryable":false,"request_id":"req_abc123","recovery":"Create an API key with the scope `params.required_scope` names, and use it for this call."}}},"exampleType":"examples"}},"exampleType":"examples"},"f8a4bb98-3d59-43bb-953e-3e87e4c9ff74":{"description":"Resource not found — the workflow, document packet, or run ID does not exist or is not visible to this API key.","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"NOT_FOUND":{"title":"NOT_FOUND","value":{"error":"The resource does not exist.","detail":"The resource does not exist.","error_code":"NOT_FOUND","retryable":false,"request_id":"req_abc123","recovery":"Check the ID, and that it belongs to your API key's organization; `params.resource_type` names what is missing."}}},"exampleType":"examples"}},"exampleType":"examples"},"94283425-0307-4f89-a335-707795cbfc8f":{"description":"Rate limited — retry after the `Retry-After` header. Default windows: 60 requests/minute for extraction submission, 600 requests/minute for general endpoints.","headers":{"Retry-After":{"description":"Seconds until the next request is allowed.","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Requests allowed per window (60s).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"RATE_LIMITED":{"title":"RATE_LIMITED","value":{"error":"Too many requests.","detail":"Too many requests.","error_code":"RATE_LIMITED","retryable":true,"request_id":"req_abc123","recovery":"Wait the seconds the `Retry-After` header gives, or back off exponentially without one, then retry."}}},"exampleType":"examples"}},"exampleType":"examples"},"73e5733e-9d89-406f-83fb-360665371e37":{"description":"An internal error stopped the request — `retryable=true`. Retry with backoff.","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"INTERNAL_ERROR":{"title":"INTERNAL_ERROR","value":{"error":"An internal error stopped the request.","detail":"An internal error stopped the request.","error_code":"INTERNAL_ERROR","retryable":true,"request_id":"req_abc123","recovery":"Retry with exponential backoff, and contact support with the `request_id` if it keeps failing."}}},"exampleType":"examples"}},"exampleType":"examples"},"a19ff909-4c02-4c33-914d-3cba7309025c":{"description":"A backend service broke the connection before it answered, or failed. Retry with backoff when `retryable` is true.","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"INTERNAL_ERROR":{"title":"INTERNAL_ERROR","value":{"error":"An internal error stopped the request.","detail":"An internal error stopped the request.","error_code":"INTERNAL_ERROR","retryable":true,"request_id":"req_abc123","recovery":"Retry with exponential backoff, and contact support with the `request_id` if it keeps failing."}}},"exampleType":"examples"}},"exampleType":"examples"},"44e48d38-ad5e-4319-acf6-b7a85579a8de":{"description":"A backend service could not be reached or is unavailable (`SERVICE_UNAVAILABLE`). Retry with backoff when `retryable` is true.","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"SERVICE_UNAVAILABLE":{"title":"SERVICE_UNAVAILABLE","value":{"error":"The service is temporarily unavailable.","detail":"The service is temporarily unavailable.","error_code":"SERVICE_UNAVAILABLE","retryable":true,"request_id":"req_abc123","recovery":"Retry the request with exponential backoff."}}},"exampleType":"examples"}},"exampleType":"examples"},"d75bb356-4ee5-4413-bdbe-25c09b988e10":{"description":"A backend service did not answer in time. Retry with backoff when `retryable` is true.","content":{"application/json":{"schema":{"type":"object","title":"ErrorEnvelope","description":"Uniform error response. `retryable=true` means the same request may succeed on retry (with backoff); `retryable=false` means the caller must change the request before retrying.","required":["error","error_code","retryable","request_id"],"properties":{"error":{"type":"string","description":"Short human-readable summary.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["ACCESS_DENIED","AUTH_FAILED","CONCURRENT_EDIT","CONFLICT","DATASET_DOCUMENT_REJECTED","DATASET_GROUND_TRUTH_SAVE_FAILED","DATASET_INVALID_REQUEST","DATASET_UNSUPPORTED","EMPTY_EVAL","ENDPOINT_RETIRED","EXTRACT_MODE_FORBIDDEN","EXTRACT_NODE_UNRESOLVED","FILENAME_CONFLICT","FILE_TOO_LARGE","GATEWAY_TIMEOUT","GONE","GRAPH_READBACK_FAILED","GT_INVALID","IDEMPOTENCY_KEY_REUSED","IMMUTABLE_WORKFLOW","INSUFFICIENT_CREDIT","INTERNAL_ERROR","INTERNAL_INCONSISTENCY","INVALID_API_KEY","INVALID_JSON","INVALID_LOOKUP_FILE_ENCODING","INVALID_VALUE","INVALID_WORKFLOW_CONFIG","KNOWLEDGE_DOWNLOAD_UNAVAILABLE","KNOWLEDGE_NOT_ENABLED","KNOWLEDGE_NOT_READY","KNOWLEDGE_THREAD_MISMATCH","KNOWLEDGE_UNSUPPORTED_SNAPSHOT_FORMAT","LOOKUP_FIELD_WITHOUT_FILE","METHOD_NOT_ALLOWED","MISSING_API_KEY","MULTIFILE_UNSUPPORTED","NOT_ACCEPTABLE","NOT_ASSIGNED_VERIFIER","NOT_FOUND","NOT_IMPLEMENTED","NOT_IN_DATASET","OBJECT_STORAGE_UNAVAILABLE","ONESHOT_SIGNALS_MISSING","OPERATOR_DEPRECATED","OPERATOR_NOT_AVAILABLE","OPTIMIZATION_ALREADY_RUNNING","PARSE_MODE_FORBIDDEN","PAYMENT_REQUIRED","PRECONDITION_FAILED","RATE_LIMITED","REPARSE_REQUIRED","REQUEST_REJECTED","REQUEST_TOO_LARGE","RUN_IN_PROGRESS","SERVICE_UNAVAILABLE","SPLIT_HAS_NO_PAGES","SPLIT_SOURCE_NOT_PDF","TOPOLOGY_INVALID","UNSUPPORTED_FILE_TYPE","UNSUPPORTED_LOOKUP_FILE","UNSUPPORTED_MEDIA_TYPE","UPLOAD_SNIFF_BUDGET_EXCEEDED","URL_UNREACHABLE","VALIDATION_ERROR","WEBHOOK_SUBSCRIPTION_LIMIT","WORKFLOW_CONCURRENT_EDIT","WORKFLOW_NAME_CONFLICT","ZERO_DATA_RETENTION_REFUSES_DATASET","ZERO_DATA_RETENTION_REFUSES_KNOWLEDGE","ZERO_DATA_RETENTION_REFUSES_RESULTS_QUERY","deprecated_operator_ack_required","insufficient_api_key_scope","terms_acceptance_required"],"description":"Stable identifier for programmatic handling. New values can be added at any time, so a client must accept a code it does not know.","examples":["VALIDATION_ERROR","AUTH_FAILED","NOT_FOUND","PRECONDITION_FAILED","RATE_LIMITED","INTERNAL_ERROR","GATEWAY_TIMEOUT"],"isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"True when the caller should retry (with backoff for 429/412/5xx).","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","description":"Correlates this response with server logs.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"detail":{"description":"Machine-readable detail, any JSON value. A string for most errors, a list of `{type, loc, msg}` objects for `VALIDATION_ERROR`, whose `loc` starts with `body`, `query`, `path`, `header`, `form` or `tool`, and an object for a structured error such as `FILENAME_CONFLICT` (`detail.conflicts`).","uniqueKey":"detail","typeLabel":"any"},"params":{"type":"object","additionalProperties":true,"description":"Values specific to this occurrence of the error that a caller needs to recover, such as `node_ids` or `required_scope`, keyed by name. Absent when the code relays none.","uniqueKey":"params","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","description":"Link to the documentation of this `error_code`.","uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"recovery":{"type":"string","description":"One sentence that says what to do next. Absent when the `error_code` has none, or when `retryable` differs from the code's usual value.","uniqueKey":"recovery","typeLabel":"string"}},"uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"GATEWAY_TIMEOUT":{"title":"GATEWAY_TIMEOUT","value":{"error":"The upstream service did not answer in time.","detail":"The upstream service did not answer in time.","error_code":"GATEWAY_TIMEOUT","retryable":true,"request_id":"req_abc123","recovery":"Retry the request with exponential backoff."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"fe755017-e115-4c37-91d0-33c7f2fd5d44":{"ApiKeyAuth":{"type":"http","description":"API key issued from app.anyformat.ai/api-key. Send as `Authorization: Bearer \u003ckey>`.","scheme":"bearer","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"0397d3a9-791b-4ad0-bcb8-d413354e9814":{"url":"https://api.anyformat.ai","description":"API server"}},"schemas":{"3a513eb0-87cc-4efa-943d-723a7d21ef81":{"oneOf":[{"type":"object","title":"RangeCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"range","title":"Type","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The bounded numeric field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"min":{"oneOf":[{"type":"number","title":"Min"},{"type":"null","title":"Min"}]},"max":{"oneOf":[{"type":"number","title":"Max"},{"type":"null","title":"Max"}]}},"additionalProperties":false},{"type":"object","title":"DateCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"date","title":"Type","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The date field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"earliest":{"oneOf":[{"type":"string","title":"Earliest"},{"type":"null","title":"Earliest"}]},"latest":{"oneOf":[{"type":"string","title":"Latest"},{"type":"null","title":"Latest"}]}},"additionalProperties":false},{"type":"object","title":"ArithmeticCheck","required":["type","operands","equals"],"properties":{"type":{"type":"string","const":"arithmetic","title":"Type","isRequired":true},"operands":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Operands","description":"The fields combined by `operator`. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"equals":{"type":"string","minLength":1,"title":"Equals","description":"The field whose value the result must equal. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"operator":{"type":"string","enum":["sum","subtract","product"],"title":"Operator","default":"sum"},"tolerance":{"type":"number","minimum":0,"title":"Tolerance","description":"Absolute slack allowed around `equals`.","default":0}},"additionalProperties":false},{"type":"object","title":"ComparisonCheck","required":["type","left","op","right"],"properties":{"type":{"type":"string","const":"comparison","title":"Type","isRequired":true},"left":{"type":"string","minLength":1,"title":"Left","description":"The left-hand field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"op":{"type":"string","enum":["==","!=",">",">=","\u003c","\u003c="],"title":"Op","isRequired":true},"right":{"oneOf":[{"type":"object","title":"_FieldOperand","required":["source","field"],"properties":{"source":{"type":"string","const":"field","title":"Source","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The compared field. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true}},"additionalProperties":false,"isRequired":true},{"type":"object","title":"_LiteralOperand","required":["source","value"],"properties":{"source":{"type":"string","const":"literal","title":"Source","isRequired":true},"value":{"oneOf":[{"type":"number","title":"Value","isRequired":true},{"type":"string","title":"Value","isRequired":true},{"type":"boolean","title":"Value","isRequired":true}],"isRequired":true}},"additionalProperties":false,"isRequired":true}],"isRequired":true}},"additionalProperties":false},{"type":"object","title":"OneOfCheck","required":["type","field","allowed"],"properties":{"type":{"type":"string","const":"one_of","title":"Type","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to test. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"allowed":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Allowed","isRequired":true},"case_sensitive":{"type":"boolean","title":"Case Sensitive","default":false}},"additionalProperties":false},{"type":"object","title":"RegexCheck","required":["type","field","pattern"],"properties":{"type":{"type":"string","const":"regex","title":"Type","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The field to match. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"pattern":{"type":"string","minLength":1,"title":"Pattern","description":"Evaluated with google-re2 (linear time); never stdlib re.","isRequired":true}},"additionalProperties":false},{"type":"object","title":"RequiredCheck","required":["type","field"],"properties":{"type":{"type":"string","const":"required","title":"Type","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The field that must be present. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true}},"additionalProperties":false},{"type":"object","title":"ConfidenceCheck","required":["type","field","op","threshold"],"properties":{"type":{"type":"string","const":"confidence","title":"Type","isRequired":true},"field":{"type":"string","minLength":1,"title":"Field","description":"The field whose extraction confidence to compare. Either the field's ``persistent_id`` (Studio field-picker path) or its ``sanitized_name`` as it appears in the extraction response (SDK/API/assistant path) — the executor resolves both.","isRequired":true},"op":{"type":"string","enum":["\u003c","\u003c=",">",">=","==","!="],"title":"Op","isRequired":true},"threshold":{"type":"integer","maximum":100,"minimum":0,"title":"Threshold","description":"Confidence percentile 0..100.","isRequired":true}},"additionalProperties":false},{"type":"object","title":"ExpressionCheck","description":"A CEL expression over the whole extraction, evaluated in a sandbox.\n\nThe expression reads one root variable ``data`` and addresses fields by\nextracted name (``data.total``, ``data.lineas.map(l, l.importe)``), never by\n``persistent_id`` — so ``field_ids`` returns ``[]`` for it, and a field\nrename silently breaks the rule. An expression the evaluator cannot parse,\ncannot answer with a boolean, or prices above its evaluation budget reports\n``inconclusive``.\n\nADR platform/0036 records why the CEL parser stays out of this package, so\n``expression`` is unvalidated here.","required":["type","expression"],"properties":{"type":{"type":"string","const":"expression","title":"Type","isRequired":true},"expression":{"type":"string","maxLength":1000,"minLength":1,"title":"Expression","isRequired":true}},"additionalProperties":false},{"type":"object","title":"ValidationCheck","description":"Routes on the outcome of a named validation rule already run upstream.\n\nReads from ``state.validation_results`` (populated by an upstream\n``ValidateNode``), filtered to the current partition (``split_id``) so\nper-partition IfElse routing matches per-partition rule outcomes. The\n``status`` values mirror the worker enum\n(``anyformat_core.operations.validate_rules`` — ``pass`` / ``fail`` /\n``inconclusive``) verbatim: no translation layer, so template tokens\nlike ``${validation.\u003crule_id>.status}`` render the same three strings\nthe enum uses.\n\nUnlike every other ``Check`` variant this consumes no extracted fields\n(``field_ids`` returns ``[]``); the rule identity is the entire input.\nA ``rule_id`` with no matching entry evaluates to ``inconclusive`` — the\nrule didn't run for this partition, so the outcome is unknown.","required":["type","rule_id"],"properties":{"type":{"type":"string","const":"validation","title":"Type","isRequired":true},"rule_id":{"type":"string","minLength":1,"title":"Rule Id","description":"Stable id of the upstream ValidationRule to route on.","isRequired":true},"status":{"type":"string","enum":["fail","pass","inconclusive"],"title":"Status","description":"Outcome to match. ``fail`` (default) is the common case for routing to an alert branch.","default":"fail"}},"additionalProperties":false},{"type":"object","title":"AllOfCheck","description":"AND combinator — passes iff every sub-check passes.\n\nTri-state: FAIL if any child fails; else INCONCLUSIVE if any child is\ninconclusive; else PASS. Children are the same closed ``Check`` union\n(mutual recursion via forward ref) so combinators nest by construction —\nthe CheckBuilder UI restricts nesting to a single level for MVP.\n\n``max_length=32`` bounds runaway fan-out per combinator. Practical rules\nstay well below the cap; a legitimate use case wanting more should motivate\nthe raise rather than land silently. Nesting-depth is bounded by pydantic's\nown recursion during parse.","required":["type","checks"],"properties":{"type":{"type":"string","const":"all_of","title":"Type","isRequired":true},"checks":{"items":{"$circularRef":"3a513eb0-87cc-4efa-943d-723a7d21ef81"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true}},"additionalProperties":false},{"type":"object","title":"AnyOfCheck","description":"OR combinator — passes iff any sub-check passes.\n\nTri-state: PASS if any child passes; else INCONCLUSIVE if any child is\ninconclusive; else FAIL.\n\n``max_length=32`` — see :class:`AllOfCheck` for the rationale.","required":["type","checks"],"properties":{"type":{"type":"string","const":"any_of","title":"Type","isRequired":true},"checks":{"items":{"$circularRef":"3a513eb0-87cc-4efa-943d-723a7d21ef81"},"type":"array","maxItems":32,"minItems":1,"title":"Checks","isRequired":true}},"additionalProperties":false}]}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"API key issued from app.anyformat.ai/api-key. Send as `Authorization: Bearer \u003ckey>`.","scheme":"bearer","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key issued from app.anyformat.ai/api-key. Send as `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://api.anyformat.ai/schema/?format=json"},"subdomain":"anyformat","siteName":"anyformat","title":"Get Workflow - anyformat","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T12:03:27.109Z","originalFileLocation":"api-reference-v3/workflows/get.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a workflow with its complete typed graph inline\">\u003cmeta data-mint-head name=\"application-name\" content=\"anyformat\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_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/anyformat/NnPr2dkczBT_mIdW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Workflow - anyformat\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a workflow with its complete typed graph inline\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"anyformat\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anyformat.ai/api-reference-v3/workflows/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anyformat.mintlify.site/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Get+Workflow\u0026amp;description=Retrieve+a+workflow+with+its+complete+typed+graph+inline\u0026amp;theme=11be19307a5c25242edebe67\u0026amp;signature=f98ebfd88166047ad01f42cf9c989a3134c9c24e168f2fddd2642b90ef5116fe\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Workflow - anyformat\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a workflow with its complete typed graph inline\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anyformat.mintlify.site/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Get+Workflow\u0026amp;description=Retrieve+a+workflow+with+its+complete+typed+graph+inline\u0026amp;theme=11be19307a5c25242edebe67\u0026amp;signature=f98ebfd88166047ad01f42cf9c989a3134c9c24e168f2fddd2642b90ef5116fe\">\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/anyformat/NnPr2dkczBT_mIdW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"anyformat\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anyformat.ai/api-reference-v3/workflows/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference-v3/workflows/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anyformat.ai/#organization\",\"name\":\"anyformat\",\"url\":\"https://docs.anyformat.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anyformat/v2HRpcqi657iKMPg/logo/Logo-horizontal.png?fit=max\u0026auto=format\u0026n=v2HRpcqi657iKMPg\u0026q=85\u0026s=7fe1cfff76171b16c27aea272156c95c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anyformat.ai#website\",\"name\":\"anyformat\",\"url\":\"https://docs.anyformat.ai\",\"publisher\":{\"@id\":\"https://docs.anyformat.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get#webpage\",\"url\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get\",\"name\":\"Get Workflow\",\"description\":\"Retrieve a workflow with its complete typed graph inline\",\"dateModified\":\"2026-10-27T12:03:27.109Z\",\"isPartOf\":{\"@id\":\"https://docs.anyformat.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflows\",\"item\":\"https://docs.anyformat.ai/api-reference-v3/workflows/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Workflow\",\"item\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get#apireference\",\"headline\":\"Get Workflow\",\"name\":\"Get Workflow\",\"description\":\"Retrieve a workflow with its complete typed graph inline\",\"url\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anyformat.ai/api-reference-v3/workflows/get#webpage\"},\"dateModified\":\"2026-10-27T12:03:27.109Z\",\"publisher\":{\"@id\":\"https://docs.anyformat.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anyformat.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"anyformat\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"anyformat\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference-v3/workflows/get.md","siteName":"anyformat","nav":{"global":null,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"tab":"Guide","icon":"book-open","pages":[{"title":"Guide","href":"/introduction"}]},{"tab":"Examples","icon":"flask","pages":[{"title":"Examples","href":"/examples"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference-v3/introduction"},{"title":"Authentication","href":"/api-reference-v3/authentication"},{"title":"Error Handling","href":"/api-reference-v3/errors"},{"title":"Check API Key","openapi":"GET /key-check/","href":"/api-reference-v3/key-check"},{"title":"Node schemas","sidebarTitle":"Node schemas","href":"/api-reference-v3/node-schemas"}]},{"group":"Workflows","pages":[{"title":"List Workflows","description":"List your organization's workflows, newest first","openapi":"GET /v3/workflows/","href":"/api-reference-v3/workflows/list"},{"title":"Get Workflow","openapi":"GET /v3/workflows/{workflow_id}/","href":"/api-reference-v3/workflows/get"},{"title":"List Workflow Versions","description":"List a workflow's versions, newest first, for comparison and audit","openapi":"GET /v3/workflows/{workflow_id}/versions/","href":"/api-reference-v3/workflows/versions"},{"title":"Get Workflow Usage","openapi":"GET /v3/workflows/{workflow_id}/usage/","href":"/api-reference-v3/workflows/usage"},{"title":"Create Workflow","openapi":"POST /v3/workflows/","href":"/api-reference-v3/workflows/create"},{"title":"Update Workflow","openapi":"PATCH /v3/workflows/{workflow_id}/","href":"/api-reference-v3/workflows/update"},{"title":"Delete Workflow","openapi":"DELETE /v3/workflows/{workflow_id}/","href":"/api-reference-v3/workflows/delete"}]},{"group":"Upload","pages":[{"title":"Upload Document Packet","openapi":"POST /v3/workflows/{workflow_id}/upload/","href":"/api-reference-v3/workflows/upload"},{"title":"Upload and Run","openapi":"POST /v3/workflows/{workflow_id}/upload/run/","href":"/api-reference-v3/workflows/upload-and-run"},{"title":"Upload from URL","openapi":"POST /v3/workflows/{workflow_id}/upload/from-url/","href":"/api-reference-v3/workflows/upload-from-url"}]},{"group":"Document packets","pages":[{"title":"List Document Packets","openapi":"GET /v3/workflows/{workflow_id}/document-packets/","href":"/api-reference-v3/document-packets/list"},{"title":"Get Document Packet","openapi":"GET /v3/document-packets/{document_packet_id}/","href":"/api-reference-v3/document-packets/get"},{"title":"Run Document Packet","openapi":"POST /v3/document-packets/{document_packet_id}/run/","href":"/api-reference-v3/document-packets/run"},{"title":"Delete Document Packet","openapi":"DELETE /v3/document-packets/{document_packet_id}/","href":"/api-reference-v3/document-packets/delete"}]},{"group":"Runs","pages":[{"title":"List Workflow Runs","openapi":"GET /v3/workflows/{workflow_id}/runs/","href":"/api-reference-v3/runs/list"},{"title":"Get Run","openapi":"GET /v3/runs/{run_id}/","href":"/api-reference-v3/runs/get"}]},{"group":"Corrections","pages":[{"title":"Edit Field","openapi":"POST /v3/extractions/{extraction_id}/fields/edit/","href":"/api-reference-v3/extractions/edit-field"},{"title":"Add Row","openapi":"POST /v3/extractions/{extraction_id}/rows/add/","href":"/api-reference-v3/extractions/add-row"},{"title":"Delete Row","openapi":"POST /v3/extractions/{extraction_id}/rows/delete/","href":"/api-reference-v3/extractions/delete-row"},{"title":"Verify Extraction","openapi":"POST /v3/extractions/{extraction_id}/verify/","href":"/api-reference-v3/extractions/verify"}]},{"group":"Splits","pages":[{"title":"Download a split","openapi":"GET /v3/splits/{split_id}/pdf/","href":"/api-reference-v3/splits/download"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference-v3/webhooks/overview"},{"title":"Create Webhook","openapi":"POST /v3/webhooks/","href":"/api-reference-v3/webhooks/create"},{"title":"List Webhooks","openapi":"GET /v3/webhooks/","href":"/api-reference-v3/webhooks/list"},{"title":"Delete Webhook","openapi":"DELETE /v3/webhooks/{webhook_id}/","href":"/api-reference-v3/webhooks/delete"},{"title":"Ping Webhook","openapi":"POST /v3/webhooks/{webhook_id}/ping/","href":"/api-reference-v3/webhooks/ping"}]},{"group":"Deletion certificates","pages":[{"title":"Deletion Certificates","href":"/api-reference-v3/deletion-certificates/overview"},{"title":"List Deletion Certificates","openapi":"GET /v3/workflows/{workflow_id}/deletion-certificates/","href":"/api-reference-v3/deletion-certificates/list"},{"title":"Get Deletion Certificate","openapi":"GET /v3/deletion-certificates/{certificate_id}/","href":"/api-reference-v3/deletion-certificates/get"}]},{"group":"Parse","pages":[{"title":"Parse a Document","openapi":"POST /v3/parse/","href":"/api-reference-v3/parse/parse"},{"title":"Parse a Document from a URL","openapi":"POST /v3/parse/from-url/","href":"/api-reference-v3/parse/parse-from-url"}]},{"group":"Knowledge","pages":[{"title":"Ask","openapi":"POST /v3/workflows/{workflow_id}/knowledge/ask","href":"/api-reference-v3/knowledge/ask"},{"title":"List","openapi":"GET /v3/workflows/{workflow_id}/knowledge/entries","href":"/api-reference-v3/knowledge/list"},{"title":"Search","openapi":"GET /v3/workflows/{workflow_id}/knowledge/search","href":"/api-reference-v3/knowledge/search"},{"title":"Read","openapi":"GET /v3/workflows/{workflow_id}/knowledge/entry","href":"/api-reference-v3/knowledge/read"},{"title":"Download","openapi":"GET /v3/workflows/{workflow_id}/knowledge/snapshot","href":"/api-reference-v3/knowledge/download"}]},{"group":"Evals","pages":[{"title":"Upload to Dataset","openapi":"POST /v3/workflows/{workflow_id}/dataset/upload/","href":"/api-reference-v3/datasets/upload"},{"title":"Get Ground Truth","openapi":"GET /v3/document-packets/{document_packet_id}/ground-truth/","href":"/api-reference-v3/datasets/get-ground-truth"},{"title":"Set Ground Truth","openapi":"PUT /v3/document-packets/{document_packet_id}/ground-truth/","href":"/api-reference-v3/datasets/set-ground-truth"},{"title":"Launch Eval","openapi":"POST /v3/workflows/{workflow_id}/evals/","href":"/api-reference-v3/evals/launch"},{"title":"List Evals","openapi":"GET /v3/workflows/{workflow_id}/evals/","href":"/api-reference-v3/evals/list"},{"title":"Get Eval","openapi":"GET /v3/workflows/{workflow_id}/evals/{eval_id}/","href":"/api-reference-v3/evals/get"},{"title":"Get Eval Accuracy","openapi":"GET /v3/workflows/{workflow_id}/evals/{eval_id}/accuracy/","href":"/api-reference-v3/evals/accuracy"},{"title":"Get Eval Document Fields","openapi":"GET /v3/workflows/{workflow_id}/evals/{eval_id}/document-packets/{document_packet_id}/fields/","href":"/api-reference-v3/evals/document-packet-fields"},{"title":"List Dataset Tags","openapi":"GET /v3/workflows/{workflow_id}/dataset/tags/","href":"/api-reference-v3/datasets/tags"}]},{"group":"Optimizations","pages":[{"title":"Start Optimization","openapi":"POST /v3/workflows/{workflow_id}/optimizations/","href":"/api-reference-v3/optimizations/start"},{"title":"List Optimizations","openapi":"GET /v3/workflows/{workflow_id}/optimizations/","href":"/api-reference-v3/optimizations/list"},{"title":"Get Optimization","openapi":"GET /v3/workflows/{workflow_id}/optimizations/{optimization_id}/","href":"/api-reference-v3/optimizations/get"}]},{"group":"SDKs and tools","pages":[{"title":"SDKs and tools","sidebarTitle":"SDKs","href":"/api-reference-v3/sdks"},{"title":"Python SDK","sidebarTitle":"Python","href":"/api-reference-v3/sdks/python"},{"title":"TypeScript SDK","sidebarTitle":"TypeScript","href":"/api-reference-v3/sdks/typescript"},{"title":"Command line (afx)","sidebarTitle":"CLI (afx)","href":"/api-reference-v3/cli"},{"title":"MCP server","sidebarTitle":"MCP server","href":"/api-reference-v3/mcp"},{"title":"SDK migration: 0.x to 1.0","href":"/api-reference-v3/sdk-migration"},{"title":"Migrating from v2","href":"/api-reference-v3/migrating-from-v2"}]},{"group":"API v2 (retired)","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Check API Key","href":"/api-reference/key-check"},{"title":"Response Formats","href":"/api-reference/response-formats"},{"title":"Error Handling","href":"/api-reference/errors"},{"title":"v2 → v3 migration","href":"/api-reference/v2-migration"},{"group":"v2 SDKs","pages":[{"title":"SDKs","href":"/api-reference/sdks/overview"},{"title":"TypeScript SDK Guide","href":"/api-reference/sdks/typescript"},{"title":"Python SDK Guide","href":"/api-reference/sdks/python"}]},{"group":"v2 Workflows","pages":[{"title":"List Workflows","href":"/api-reference/workflows/list"},{"title":"Get Workflow","href":"/api-reference/workflows/get"},{"title":"Create Workflow","href":"/api-reference/workflows/create"},{"title":"Edit a Workflow","href":"/api-reference/workflows/update"},{"title":"Run Workflow","href":"/api-reference/workflows/run"},{"title":"Upload File","href":"/api-reference/workflows/upload"},{"title":"Run Uploaded File","href":"/api-reference/workflows/run-staged"},{"title":"List Workflow Runs","href":"/api-reference/workflows/runs"},{"title":"Delete Workflow","href":"/api-reference/workflows/delete"}]},{"group":"v2 Files","pages":[{"title":"List Files","href":"/api-reference/files/list"},{"title":"Upload File","href":"/api-reference/files/create"},{"title":"Upload File from URL","href":"/api-reference/files/create-from-url"},{"title":"Get File Results","href":"/api-reference/files/results"},{"title":"Delete File","href":"/api-reference/files/delete"}]},{"group":"v2 Webhooks","pages":[{"title":"Overview","href":"/api-reference/webhooks/overview"},{"title":"List Webhooks","href":"/api-reference/webhooks/list"},{"title":"Create Webhook","href":"/api-reference/webhooks/create"},{"title":"Delete Webhook","href":"/api-reference/webhooks/delete"}]}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Get Workflow - anyformat","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}