{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/docs/ai/document-ai/processing-configurations/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#choosing-a-configuration\" aria-label=\"choosing a configuration permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"choosing-a-configuration\"></div>Choosing a Configuration</h1>\n<p>A processing configuration defines what Document AI should do with a document and which structured values it should return.</p>\n<h2 style=\"position:relative;\"><a href=\"#configuration-choices\" aria-label=\"configuration choices permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"configuration-choices\"></div>Configuration choices</h2>\n<p>Document AI supports three ways to choose processing behavior:</p>\n<table>\n<thead>\n<tr>\n<th>Choice</th>\n<th>Best for</th>\n<th>Reusable</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Platform-managed configuration</td>\n<td>Common Shipwell document workflows</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Custom named configuration</td>\n<td>A repeatable workflow owned by your company</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>One-time custom settings</td>\n<td>Testing or a request-specific extraction</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n<p>For uploads, you can also choose <strong>Upload only</strong> to store files without creating a processing run.</p>\n<h2 style=\"position:relative;\"><a href=\"#what-a-configuration-controls\" aria-label=\"what a configuration controls permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"what-a-configuration-controls\"></div>What a configuration controls</h2>\n<p>A configuration can control:</p>\n<ul>\n<li>\n<strong>Extraction schemas</strong>\n — the structured values to extract\n</li>\n<li>\n<strong>Split</strong>\n — whether one PDF containing multiple logical documents should produce separate result slices\n</li>\n<li>\n<strong>Embeddings</strong>\n — whether processed content can be found through semantic search\n</li>\n<li>\n<strong>Auto-description</strong>\n — whether to generate a document description\n</li>\n<li>\n<strong>Key facts</strong>\n — whether the generated description should include high-signal facts\n</li>\n</ul>\n<!-- SCREENSHOT PLACEHOLDER\nFile: images/processing-config-detail-sections.png\nCapture: A synthetic custom configuration detail page showing General, Document enrichment, Document structure, and Extraction schemas. Avoid exposing real prompts.\nAlt: Sections of a Document AI processing configuration\n-->\n<h2 style=\"position:relative;\"><a href=\"#named-configurations\" aria-label=\"named configurations permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"named-configurations\"></div>Named configurations</h2>\n<p>Named configurations are selected with <code class=\"language-text\">processing_config_id</code>.</p>\n<p>The list visible to your account includes:</p>\n<ul>\n<li>\nPlatform-managed configurations available to all eligible accounts\n</li>\n<li>\nCustom configurations owned by your company\n</li>\n</ul>\n<p>Only enabled configurations can be selected for uploads or manual processing.</p>\n<p>The selected configuration is used as a complete snapshot for the new run. Document AI does not merge it with another configuration or automatically add extraction schemas.</p>\n<p>Use <code class=\"language-text\">GET /document-store/configs/processing-configs</code> to list the configurations visible to your account.</p>\n<p>The <code class=\"language-text\">is_platform_managed</code> field distinguishes read-only Shipwell configurations from company-owned configurations.</p>\n<h2 style=\"position:relative;\"><a href=\"#one-time-custom-settings\" aria-label=\"one time custom settings permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"one-time-custom-settings\"></div>One-time custom settings</h2>\n<p>One-time settings are supplied as <code class=\"language-text\">pipeline_config</code> on an upload or reprocessing request. They are useful while testing an extraction schema, but they are not saved for later selection.</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"21192671552810880000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`{\n  &quot;pipeline_config&quot;: {\n    &quot;schemas&quot;: [\n      {\n        &quot;name&quot;: &quot;purchase_order_number&quot;,\n        &quot;prompt&quot;: &quot;Extract the purchase order number.&quot;,\n        &quot;json_schema&quot;: {&quot;type&quot;: &quot;string&quot;},\n        &quot;scope&quot;: &quot;document&quot;,\n        &quot;result_cardinality&quot;: &quot;single&quot;,\n        &quot;include_source_regions&quot;: true\n      }\n    ],\n    &quot;split&quot;: false,\n    &quot;embed&quot;: true,\n    &quot;describe&quot;: {\n      &quot;enabled&quot;: true,\n      &quot;key_facts&quot;: true\n    }\n  }\n}`, `21192671552810880000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-21192671552810880000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\"><span class=\"token punctuation\">{</span>\n  <span class=\"token property\">\"pipeline_config\"</span><span class=\"token operator\">:</span> <span class=\"token punctuation\">{</span>\n    <span class=\"token property\">\"schemas\"</span><span class=\"token operator\">:</span> <span class=\"token punctuation\">[</span>\n      <span class=\"token punctuation\">{</span>\n        <span class=\"token property\">\"name\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"purchase_order_number\"</span><span class=\"token punctuation\">,</span>\n        <span class=\"token property\">\"prompt\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"Extract the purchase order number.\"</span><span class=\"token punctuation\">,</span>\n        <span class=\"token property\">\"json_schema\"</span><span class=\"token operator\">:</span> <span class=\"token punctuation\">{</span><span class=\"token property\">\"type\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"string\"</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n        <span class=\"token property\">\"scope\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"document\"</span><span class=\"token punctuation\">,</span>\n        <span class=\"token property\">\"result_cardinality\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"single\"</span><span class=\"token punctuation\">,</span>\n        <span class=\"token property\">\"include_source_regions\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">true</span>\n      <span class=\"token punctuation\">}</span>\n    <span class=\"token punctuation\">]</span><span class=\"token punctuation\">,</span>\n    <span class=\"token property\">\"split\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">false</span><span class=\"token punctuation\">,</span>\n    <span class=\"token property\">\"embed\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n    <span class=\"token property\">\"describe\"</span><span class=\"token operator\">:</span> <span class=\"token punctuation\">{</span>\n      <span class=\"token property\">\"enabled\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">true</span><span class=\"token punctuation\">,</span>\n      <span class=\"token property\">\"key_facts\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">true</span>\n    <span class=\"token punctuation\">}</span>\n  <span class=\"token punctuation\">}</span>\n<span class=\"token punctuation\">}</span></code></pre></div>\n      </div>\n<p>Do not provide <code class=\"language-text\">pipeline_config</code> and <code class=\"language-text\">processing_config_id</code> in the same request.</p>\n<h2 style=\"position:relative;\"><a href=\"#which-option-should-i-use\" aria-label=\"which option should i use permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"which-option-should-i-use\"></div>Which option should I use?</h2>\n<p>Use a platform-managed configuration when its documented purpose matches the documents you process.</p>\n<p>Create a custom named configuration when:</p>\n<ul>\n<li>\nMultiple users or integrations need the same extraction behavior\n</li>\n<li>\nYou want to manage the workflow in Shipwell\n</li>\n<li>\nYou need an enabled/disabled lifecycle for the configuration\n</li>\n</ul>\n<p>Use one-time custom settings when:</p>\n<ul>\n<li>\nPrototyping a schema\n</li>\n<li>\nRunning a request-specific extraction\n</li>\n<li>\nTesting changes before updating a named configuration\n</li>\n</ul>\n<h2 style=\"position:relative;\"><a href=\"#learn-more\" aria-label=\"learn more permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"learn-more\"></div>Learn more</h2>\n<ul>\n<li>\n<a href=\"/docs/ai/document-ai/platform-managed-configurations/\">Platform-Managed Configurations</a>\n</li>\n<li>\n<a href=\"/docs/ai/document-ai/custom-configurations/\">Custom Configurations</a>\n</li>\n<li>\n<a href=\"/docs/ai/document-ai/extraction-schemas/\">Extraction Schemas</a>\n</li>\n<li>\n<a href=\"/docs/ai/document-ai/configuration-reference/\">Configuration Reference</a>\n</li>\n</ul>","headings":[{"value":"Choosing a Configuration","depth":1},{"value":"Configuration choices","depth":2},{"value":"What a configuration controls","depth":2},{"value":"Named configurations","depth":2},{"value":"One-time custom settings","depth":2},{"value":"Which option should I use?","depth":2},{"value":"Learn more","depth":2}]},"contentItem":{"data":{"lastModified":"2026-07-17T16:00:10.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":true,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"88b7fc2b-e0fb-5899-879e-f70d18690a0f__redocly content/docs/ai/document-ai/processing-configurations/","seo":{"title":"Choosing a Configuration","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"docs/ai/document-ai/processing-configurations.md","pageBaseUrl":"/docs/ai/document-ai/processing-configurations","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Choosing a Configuration","id":"choosing-a-configuration"},{"depth":2,"value":"Configuration choices","id":"configuration-choices"},{"depth":2,"value":"What a configuration controls","id":"what-a-configuration-controls"},{"depth":2,"value":"Named configurations","id":"named-configurations"},{"depth":2,"value":"One-time custom settings","id":"one-time-custom-settings"},{"depth":2,"value":"Which option should I use?","id":"which-option-should-i-use"},{"depth":2,"value":"Learn more","id":"learn-more"}]},"data":{"title":"Choosing a Configuration"},"catalogInfo":null,"link":"/docs/ai/document-ai/processing-configurations/","sidebarName":"developerPortal","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}