{ "success": true, "processorVersion": { "object": "document_processor_version", "id": "processor_version_5678", "processorId": "processor_1234", "processorType": "EXTRACT", "description": "Updated extraction rules for invoice processing", "version": "1.2.0", "config": { "fields": [ { "id": "invoice_number", "name": "invoice_number", "description": "The invoice number", "type": "string", }, { "id": "invoice_date", "name": "invoice_date", "description": "The date of the invoice", "type": "date", } ] }, "createdAt": "2024-03-01T14:00:00Z", "updatedAt": "2024-03-01T14:00:00Z" }}
This endpoint allows you to publish a new version of an existing processor. Publishing a new version creates a snapshot of the processor’s current configuration and makes it available for use in workflows.
Publishing a new version does not automatically update existing workflows using this processor. You may need to manually update workflows to use the new version if desired.
Path Parameters
string
required
The ID of the processor to publish a new version for.
Body
string
required
The type of release for this version. The two options are: “major” and “minor”, which will increment the version number accordingly.
string
A description of the changes in this version. This helps track the evolution of the processor over time.
object
Optionally supply a config to be used in this published version. If not supplied, the config for your existing draft version will be used.
Extraction
Classification
Splitter
Show properties
string
required
Must be "EXTRACT" for extraction processors.
string
The base processor to use. For extractors, this is either "extraction_performance" or "extraction_light". See the base processor documentation for more details.
string
The version of the base processor to use (e.g. "4.0.0"). If this is provided, baseProcessor must be provided as well. See the processor changelog for available versions.
object
The schema that defines the structure of data to extract from documents. One of schema or fields must be provided. We recommend using schema as fields is deprecated. See the extraction processor schema documentation for more details.
array
deprecated
The schema that defines the structure of data to extract from documents. One of schema or fields must be provided. We recommend using schema as fields is deprecated. See the extraction processor schema documentation for more details on using the fields shape.
Show properties
string
required
Unique identifier for the field.
string
required
Human-readable name for the field.
string
required
Type of the field. Supported values:
string: Text values
number: Numeric values
currency: Monetary values
boolean: True/false values
date: Date values
array: Lists of values (requires schema)
enum: Values from a predefined list (requires enum)
object: Nested structure (requires schema)
signature: Signature information
string
required
Detailed description of the field, including expected content and format.
array
Required when type is “array” or “object”. Contains nested field definitions.
array
Required when type is “enum”. List of allowed values.
Show properties
string
required
The enum value.
string
required
Description of the enum value.
string
Custom rules to guide the extraction process in natural language.
object
Advanced configuration options.
Show properties
number
Limit processing to a specific number of pages from the beginning of the document.
string
Provide a hint about the document type (e.g. “invoice”, “receipt”, etc.).
string
Define specific key terms or concepts relevant to the document type.
boolean
Enable model reasoning insights in the extraction results.
boolean
Enable advanced multimodal processing for better handling of visual elements.
boolean
Enable citation information for extracted fields.
boolean
Enable advanced parsing of figures and diagrams in the document.
object
Options for controlling document chunking.
Show properties
string
Strategy for chunking the document. Supported values:
standard: Default chunking strategy
semantic: Content-aware chunking based on document structure
string
Custom rules for semantic chunking in natural language.
number
Number of pages per chunk.
string
Strategy for selecting chunks. Supported values:
intelligent: AI-based selection
confidence: Select based on confidence score
take_first: Always use first chunk
take_last: Always use last chunk
Show properties
string
required
Must be "CLASSIFY" for classification processors.
string
The base processor to use. For classifiers, must be "classification_performance" or "classification_light". See the base processor documentation for more details.
string
The version of the base processor to use (e.g. "3.2.0"). If this is provided, baseProcessor must be provided as well. See the processor changelog for available versions.
array
required
Array of possible classifications for the document.
Show properties
string
required
Unique identifier for the classification. We recommend lowercase, underscore-separated format.
string
required
Type identifier for the classification.
string
required
Detailed description of the classification.
string
Custom rules to guide the classification process in natural language.
object
Advanced configuration options.
Show properties
number
Limit processing to a specific number of pages from the beginning of the document.
string
The context to use for classification. Supported values:
defaultmax
boolean
Enable advanced multimodal processing for better handling of visual elements during classification.
Show properties
string
required
Must be "SPLITTER" for splitter processors.
string
The base processor to use. For splitters, this can currently only be "splitter_performance". See the base processor documentation for more details.
string
The version of the base processor to use (e.g. "1.0.0"). If this is provided, baseProcessor must be provided as well. See the processor changelog for available versions.
array
required
Array of classifications that define the possible types of document sections.
Show properties
string
required
Unique identifier for the split classification.
string
required
Type identifier for the split classification.
string
required
Detailed description of the document section type.
string
Custom rules to guide the document splitting process in natural language.
object
Advanced configuration options.
Show properties
number
Limit processing to a specific number of pages from the beginning of the document.
string
Method to use for splitting. Supported values:
high_precision: More accurate but potentially slower
low_latency: Faster but potentially less precise
string
boolean
For Excel documents, split by worksheet.
Response
boolean
A true or false value indicating whether the processor version was published successfully or not.
ProcessorVersion
A ProcessorVersion object representing the newly published version of the processor. See the ProcessorVersion object for more details.
Error Responses
boolean
Will be false if the request failed.
string
A description of the error that occurred.
Common Errors
400 Bad Request: If the request body fails schema validation or if there’s an issue with the provided configuration, particularly when it comes to the config which depends on the processor type.
{ "success": true, "processorVersion": { "object": "document_processor_version", "id": "processor_version_5678", "processorId": "processor_1234", "processorType": "EXTRACT", "description": "Updated extraction rules for invoice processing", "version": "1.2.0", "config": { "fields": [ { "id": "invoice_number", "name": "invoice_number", "description": "The invoice number", "type": "string", }, { "id": "invoice_date", "name": "invoice_date", "description": "The date of the invoice", "type": "date", } ] }, "createdAt": "2024-03-01T14:00:00Z", "updatedAt": "2024-03-01T14:00:00Z" }}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Extend","colors":{"primary":"#12A7D3","light":"#81D7F7","dark":"#004E7A"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/light.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d5b60497f53e7cb8865d11cf97636755","dark":"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/dark.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=2ba675637fc5f8ee673317eb7814ac38"},"api":{"playground":{"display":"none"},"mdx":{"server":null,"auth":{"method":"bearer","name":null}}},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/tryextend/background.png","decoration":null},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tryextend","hasAudioNarration":false,"actualSubdomain":"tryextend","customDomains":["docs.extend.app"],"gitSource":{"type":"github","owner":"extend-hq","repo":"documentation-legacy","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae921fd5bfa35cf904494a3:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Processor Endpoints","count":12},{"language":"default","tag":"Objects","count":11},{"language":"default","tag":"Workflow Endpoints","count":7},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Processor Changelog","count":5},{"language":"default","tag":"Studio","count":5},{"language":"default","tag":"Evaluation Set Endpoints","count":4},{"language":"default","tag":"File Endpoints","count":4}]},"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/publish_processor_version20250421","slug":"/api-reference/endpoint/publish_processor_version20250421","pageMetadata":{"title":"Publish Processor Version","api":"POST https://api-prod.extend.app/v1/processors/:id/publish","description":"Publish a new version of an existing processor in Extend.","href":"/api-reference/endpoint/publish_processor_version20250421"},"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: \"Publish a new version of an existing processor in Extend.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Tab,Tabs}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint allows you to publish a new version of an existing processor. Publishing a new version creates a snapshot of the processor’s current configuration and makes it available for use in workflows.\nPublishing a new version does not automatically update existing workflows using this processor. You may need to manually update workflows to use the new version if desired.`}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the processor to publish a new version for.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`releaseType`,type:`string`,required:true,id:`param-release-type`,children:_jsx(_components.p,{children:`The type of release for this version. The two options are: “major” and “minor”, which will increment the version number accordingly.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`A description of the changes in this version. This helps track the evolution of the processor over time.`})}),`\n`,_jsxs(ParamField,{body:`config`,type:`object`,optional:true,id:`param-config`,children:[_jsx(_components.p,{children:`Optionally supply a config to be used in this published version. If not supplied, the config for your existing draft version will be used.`}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`Extraction`,id:`extraction`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`\"EXTRACT\"`}),` for extraction processors.`]})}),_jsx(ParamField,{body:`baseProcessor`,type:`string`,optional:true,id:`param-base-processor`,children:_jsxs(_components.p,{children:[`The base processor to use. For extractors, this is either `,_jsx(_components.code,{children:`\"extraction_performance\"`}),` or `,_jsx(_components.code,{children:`\"extraction_light\"`}),`. See the `,_jsx(_components.a,{href:`/changelog/overview`,children:`base processor documentation`}),` for more details.`]})}),_jsx(ParamField,{body:`baseVersion`,type:`string`,optional:true,id:`param-base-version`,children:_jsxs(_components.p,{children:[`The version of the base processor to use (e.g. `,_jsx(_components.code,{children:`\"4.0.0\"`}),`). If this is provided, `,_jsx(_components.code,{children:`baseProcessor`}),` must be provided as well. See the `,_jsx(_components.a,{href:`/changelog/overview`,children:`processor changelog`}),` for available versions.`]})}),_jsx(ParamField,{body:`schema`,type:`object`,id:`param-schema`,children:_jsxs(_components.p,{children:[`The schema that defines the structure of data to extract from documents. One of `,_jsx(_components.code,{children:`schema`}),` or `,_jsx(_components.code,{children:`fields`}),` must be provided. We recommend using `,_jsx(_components.code,{children:`schema`}),` as `,_jsx(_components.code,{children:`fields`}),` is deprecated. See the `,_jsx(_components.a,{href:`/api-reference/guides/processor_configs20250421#extraction-processor-schema-json-schema`,children:`extraction processor schema documentation`}),` for more details.`]})}),_jsxs(ParamField,{body:`fields`,type:`array`,deprecated:true,defaultOpen:true,id:`param-fields`,children:[_jsxs(_components.p,{children:[`The schema that defines the structure of data to extract from documents. One of `,_jsx(_components.code,{children:`schema`}),` or `,_jsx(_components.code,{children:`fields`}),` must be provided. We recommend using `,_jsx(_components.code,{children:`schema`}),` as `,_jsx(_components.code,{children:`fields`}),` is deprecated. See the `,_jsx(_components.a,{href:`/api-reference/guides/processor_configs20250421#extraction-processor-configuration`,children:`extraction processor schema documentation`}),` for more details on using the `,_jsx(_components.code,{children:`fields`}),` shape.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the field.`})}),_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Human-readable name for the field.`})}),_jsxs(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-1`,children:[_jsx(_components.p,{children:`Type of the field. Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`string`}),`: Text values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`number`}),`: Numeric values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`currency`}),`: Monetary values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`boolean`}),`: True/false values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`date`}),`: Date values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`array`}),`: Lists of values (requires schema)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`enum`}),`: Values from a predefined list (requires enum)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`object`}),`: Nested structure (requires schema)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`signature`}),`: Signature information`]}),`\n`]})]}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-1`,children:_jsx(_components.p,{children:`Detailed description of the field, including expected content and format.`})}),_jsx(ParamField,{body:`schema`,type:`array`,optional:true,id:`param-schema-1`,children:_jsx(_components.p,{children:`Required when type is “array” or “object”. Contains nested field definitions.`})}),_jsxs(ParamField,{body:`enum`,type:`array`,optional:true,id:`param-enum`,children:[_jsx(_components.p,{children:`Required when type is “enum”. List of allowed values.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:_jsx(_components.p,{children:`The enum value.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-2`,children:_jsx(_components.p,{children:`Description of the enum value.`})})]})]})]})]}),_jsx(ParamField,{body:`extractionRules`,type:`string`,optional:true,id:`param-extraction-rules`,children:_jsx(_components.p,{children:`Custom rules to guide the extraction process in natural language.`})}),_jsxs(ParamField,{body:`advancedOptions`,type:`object`,optional:true,id:`param-advanced-options`,children:[_jsx(_components.p,{children:`Advanced configuration options.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`fixedPageLimit`,type:`number`,optional:true,id:`param-fixed-page-limit`,children:_jsx(_components.p,{children:`Limit processing to a specific number of pages from the beginning of the document.`})}),_jsx(ParamField,{body:`documentKind`,type:`string`,optional:true,id:`param-document-kind`,children:_jsx(_components.p,{children:`Provide a hint about the document type (e.g. “invoice”, “receipt”, etc.).`})}),_jsx(ParamField,{body:`keyDefinitions`,type:`string`,optional:true,id:`param-key-definitions`,children:_jsx(_components.p,{children:`Define specific key terms or concepts relevant to the document type.`})}),_jsx(ParamField,{body:`modelReasoningInsightsEnabled`,type:`boolean`,optional:true,id:`param-model-reasoning-insights-enabled`,children:_jsx(_components.p,{children:`Enable model reasoning insights in the extraction results.`})}),_jsx(ParamField,{body:`advancedMultimodalEnabled`,type:`boolean`,optional:true,id:`param-advanced-multimodal-enabled`,children:_jsx(_components.p,{children:`Enable advanced multimodal processing for better handling of visual elements.`})}),_jsx(ParamField,{body:`citationsEnabled`,type:`boolean`,optional:true,id:`param-citations-enabled`,children:_jsx(_components.p,{children:`Enable citation information for extracted fields.`})}),_jsx(ParamField,{body:`advancedFigureParsingEnabled`,type:`boolean`,optional:true,id:`param-advanced-figure-parsing-enabled`,children:_jsx(_components.p,{children:`Enable advanced parsing of figures and diagrams in the document.`})}),_jsxs(ParamField,{body:`chunkingOptions`,type:`object`,optional:true,id:`param-chunking-options`,children:[_jsx(_components.p,{children:`Options for controlling document chunking.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`chunkingStrategy`,type:`string`,optional:true,id:`param-chunking-strategy`,children:[_jsx(_components.p,{children:`Strategy for chunking the document. Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`standard`}),`: Default chunking strategy`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`semantic`}),`: Content-aware chunking based on document structure`]}),`\n`]})]}),_jsx(ParamField,{body:`customSemanticChunkingRules`,type:`string`,optional:true,id:`param-custom-semantic-chunking-rules`,children:_jsx(_components.p,{children:`Custom rules for semantic chunking in natural language.`})}),_jsx(ParamField,{body:`pageChunkSize`,type:`number`,optional:true,id:`param-page-chunk-size`,children:_jsx(_components.p,{children:`Number of pages per chunk.`})}),_jsxs(ParamField,{body:`chunkSelectionStrategy`,type:`string`,optional:true,id:`param-chunk-selection-strategy`,children:[_jsx(_components.p,{children:`Strategy for selecting chunks. Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`intelligent`}),`: AI-based selection`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`confidence`}),`: Select based on confidence score`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`take_first`}),`: Always use first chunk`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`take_last`}),`: Always use last chunk`]}),`\n`]})]})]})]})]})]})]})}),_jsx(Tab,{title:`Classification`,id:`classification`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-2`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`\"CLASSIFY\"`}),` for classification processors.`]})}),_jsx(ParamField,{body:`baseProcessor`,type:`string`,optional:true,id:`param-base-processor-1`,children:_jsxs(_components.p,{children:[`The base processor to use. For classifiers, must be `,_jsx(_components.code,{children:`\"classification_performance\"`}),` or `,_jsx(_components.code,{children:`\"classification_light\"`}),`. See the `,_jsx(_components.a,{href:`/changelog/overview`,children:`base processor documentation`}),` for more details.`]})}),_jsx(ParamField,{body:`baseVersion`,type:`string`,optional:true,id:`param-base-version-1`,children:_jsxs(_components.p,{children:[`The version of the base processor to use (e.g. `,_jsx(_components.code,{children:`\"3.2.0\"`}),`). If this is provided, `,_jsx(_components.code,{children:`baseProcessor`}),` must be provided as well. See the `,_jsx(_components.a,{href:`/changelog/overview`,children:`processor changelog`}),` for available versions.`]})}),_jsxs(ParamField,{body:`classifications`,type:`array`,required:true,id:`param-classifications`,children:[_jsx(_components.p,{children:`Array of possible classifications for the document.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id-2`,children:_jsx(_components.p,{children:`Unique identifier for the classification. We recommend lowercase, underscore-separated format.`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-3`,children:_jsx(_components.p,{children:`Type identifier for the classification.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-3`,children:_jsx(_components.p,{children:`Detailed description of the classification.`})})]})]}),_jsx(ParamField,{body:`classificationRules`,type:`string`,optional:true,id:`param-classification-rules`,children:_jsx(_components.p,{children:`Custom rules to guide the classification process in natural language.`})}),_jsxs(ParamField,{body:`advancedOptions`,type:`object`,optional:true,id:`param-advanced-options-1`,children:[_jsx(_components.p,{children:`Advanced configuration options.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`fixedPageLimit`,type:`number`,optional:true,id:`param-fixed-page-limit-1`,children:_jsx(_components.p,{children:`Limit processing to a specific number of pages from the beginning of the document.`})}),_jsx(ParamField,{body:`context`,type:`string`,optional:true,id:`param-context`,children:_jsxs(_components.p,{children:[`The context to use for classification. Supported values:\n`,_jsx(_components.code,{children:`default`}),` `,_jsx(_components.code,{children:`max`})]})}),_jsx(ParamField,{body:`advancedMultimodalEnabled`,type:`boolean`,optional:true,id:`param-advanced-multimodal-enabled-1`,children:_jsx(_components.p,{children:`Enable advanced multimodal processing for better handling of visual elements during classification.`})})]})]})]})}),_jsx(Tab,{title:`Splitter`,id:`splitter`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-4`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`\"SPLITTER\"`}),` for splitter processors.`]})}),_jsx(ParamField,{body:`baseProcessor`,type:`string`,optional:true,id:`param-base-processor-2`,children:_jsxs(_components.p,{children:[`The base processor to use. For splitters, this can currently only be `,_jsx(_components.code,{children:`\"splitter_performance\"`}),`. See the `,_jsx(_components.a,{href:`/changelog/overview`,children:`base processor documentation`}),` for more details.`]})}),_jsx(ParamField,{body:`baseVersion`,type:`string`,optional:true,id:`param-base-version-2`,children:_jsxs(_components.p,{children:[`The version of the base processor to use (e.g. `,_jsx(_components.code,{children:`\"1.0.0\"`}),`). If this is provided, `,_jsx(_components.code,{children:`baseProcessor`}),` must be provided as well. See the `,_jsx(_components.a,{href:`/changelog/overview`,children:`processor changelog`}),` for available versions.`]})}),_jsxs(ParamField,{body:`splitClassifications`,type:`array`,required:true,id:`param-split-classifications`,children:[_jsx(_components.p,{children:`Array of classifications that define the possible types of document sections.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id-3`,children:_jsx(_components.p,{children:`Unique identifier for the split classification.`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-5`,children:_jsx(_components.p,{children:`Type identifier for the split classification.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-4`,children:_jsx(_components.p,{children:`Detailed description of the document section type.`})})]})]}),_jsx(ParamField,{body:`splitRules`,type:`string`,optional:true,id:`param-split-rules`,children:_jsx(_components.p,{children:`Custom rules to guide the document splitting process in natural language.`})}),_jsxs(ParamField,{body:`advancedOptions`,type:`object`,optional:true,id:`param-advanced-options-2`,children:[_jsx(_components.p,{children:`Advanced configuration options.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`fixedPageLimit`,type:`number`,optional:true,id:`param-fixed-page-limit-2`,children:_jsx(_components.p,{children:`Limit processing to a specific number of pages from the beginning of the document.`})}),_jsxs(ParamField,{body:`splitMethod`,type:`string`,optional:true,id:`param-split-method`,children:[_jsx(_components.p,{children:`Method to use for splitting. Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`high_precision`}),`: More accurate but potentially slower`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`low_latency`}),`: Faster but potentially less precise`]}),`\n`]})]}),_jsx(ParamField,{body:`splitIdentifierRules`,type:`string`,optional:true,id:`param-split-identifier-rules`}),_jsx(ParamField,{body:`splitExcelDocumentsBySheetEnabled`,type:`boolean`,optional:true,id:`param-split-excel-documents-by-sheet-enabled`,children:_jsx(_components.p,{children:`For Excel documents, split by worksheet.`})})]})]})]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`A true or false value indicating whether the processor version was published successfully or not.`})}),`\n`,_jsx(ResponseField,{name:`processorVersion`,type:`ProcessorVersion`,id:`param-processor-version`,children:_jsxs(_components.p,{children:[`A ProcessorVersion object representing the newly published version of the processor. See the `,_jsx(_components.a,{href:`/api-reference/objects/processor_version`,children:`ProcessorVersion object`}),` for more details.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success-1`,children:_jsxs(_components.p,{children:[`Will be `,_jsx(_components.code,{children:`false`}),` if the request failed.`]})}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsx(_components.p,{children:`A description of the error that occurred.`})}),`\n`,_jsx(Heading,{level:`4`,id:`common-errors`,children:`Common Errors`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`400 Bad Request`}),`: If the request body fails schema validation or if there’s an issue with the provided configuration, particularly when it comes to the `,_jsx(_components.code,{children:`config`}),` which depends on the processor type.`]}),`\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":"Publish Processor Version","api":"POST https://api-prod.extend.app/v1/processors/:id/publish","description":"Publish a new version of an existing processor in Extend.","href":"/api-reference/endpoint/publish_processor_version20250421"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[213,231,"pre:`pre`,span:`span`,strong:`strong`,ul"],[283,364,"CodeBlock,Expandable,Heading,ParamField,ResponseExample,ResponseField,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)"],[520,535,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[19143,19571,",`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Example Success Response`,numberOfLines:`29`,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:`29`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"processorVersion\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"document_processor_version\"`}),_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:`\"processor_version_5678\"`}),_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:` \"processorId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processor_1234\"`}),_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:` \"processorType\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated extraction rules for 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:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.2.0\"`}),_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:` \"config\"`}),_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:` \"id\"`}),_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:` \"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 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:` \"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`,_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:`\"invoice_date\"`}),_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_date\"`}),_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 date of the invoice\"`}),_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:`\"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-03-01T14:00:00Z\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-03-01T14:00:00Z\"`})]}),`\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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"Common Errors","slug":"common-errors","depth":4,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Example Success Response","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=\"29\">\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\"> \"success\"\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\"> \"processorVersion\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"document_processor_version\"\u003c/span>\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\">\"processor_version_5678\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"processorId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"processor_1234\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"processorType\"\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\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Updated extraction rules for 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\"> \"version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"config\"\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\"> \"id\"\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\"> \"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 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\"> \"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:#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\">\"invoice_date\"\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_date\"\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 date of the invoice\"\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\">\"date\"\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\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\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-03-01T14:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-03-01T14:00:00Z\"\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":[]}},"endpoint":{"title":"Publish Processor Version","path":"/v1/processors/:id/publish","servers":[{"url":"https://api-prod.extend.app"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The ID of the processor to publish a new version for.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"releaseType":[{"type":"string","description":"The type of release for this version. The two options are: “major” and “minor”, which will increment the version number accordingly.","required":true}],"description":[{"type":"string","description":"A description of the changes in this version. This helps track the evolution of the processor over time."}],"config":[{"type":"object","properties":{"type":[{"type":"string","description":"Must be `\"SPLITTER\"` for splitter processors.","required":true}],"baseProcessor":[{"type":"string","description":"The base processor to use. For splitters, this can currently only be `\"splitter_performance\"` . See the base processor documentation for more details."}],"baseVersion":[{"type":"string","description":"The version of the base processor to use (e.g. `\"1.0.0\"` ). If this is provided, `baseProcessor` must be provided as well. See the processor changelog for available versions."}],"schema":[{"type":"object","properties":{},"description":"The schema that defines the structure of data to extract from documents. One of `schema` or `fields` must be provided. We recommend using `schema` as `fields` is deprecated. See the extraction processor schema documentation for more details."}],"fields":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the field.","required":true}],"name":[{"type":"string","description":"Human-readable name for the field.","required":true}],"type":[{"type":"string","description":"Type of the field. Supported values: `string` : Text values `number` : Numeric values `currency` : Monetary values `boolean` : True/false values `date` : Date values `array` : Lists of values (requires schema) `enum` : Values from a predefined list (requires enum) `object` : Nested structure (requires schema) `signature` : Signature information","required":true}],"description":[{"type":"string","description":"Detailed description of the field, including expected content and format.","required":true}],"schema":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Required when type is “array” or “object”. Contains nested field definitions."}],"enum":[{"type":"array","items":[{"type":"object","properties":{"value":[{"type":"string","description":"The enum value.","required":true}],"description":[{"type":"string","description":"Description of the enum value.","required":true}]}}],"description":"Required when type is “enum”. List of allowed values."}]}}],"description":"The schema that defines the structure of data to extract from documents. One of `schema` or `fields` must be provided. We recommend using `schema` as `fields` is deprecated. See the extraction processor schema documentation for more details on using the `fields` shape.","deprecated":true}],"extractionRules":[{"type":"string","description":"Custom rules to guide the extraction process in natural language."}],"advancedOptions":[{"type":"object","properties":{"fixedPageLimit":[{"type":"number","description":"Limit processing to a specific number of pages from the beginning of the document."}],"splitMethod":[{"type":"string","description":"Method to use for splitting. Supported values: `high_precision` : More accurate but potentially slower `low_latency` : Faster but potentially less precise"}],"splitIdentifierRules":[{"type":"string"}],"splitExcelDocumentsBySheetEnabled":[{"type":"boolean","description":"For Excel documents, split by worksheet."}]},"description":"Advanced configuration options."}],"classifications":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the classification. We recommend lowercase, underscore-separated format.","required":true}],"type":[{"type":"string","description":"Type identifier for the classification.","required":true}],"description":[{"type":"string","description":"Detailed description of the classification.","required":true}]}}],"description":"Array of possible classifications for the document.","required":true}],"classificationRules":[{"type":"string","description":"Custom rules to guide the classification process in natural language."}],"splitClassifications":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the split classification.","required":true}],"type":[{"type":"string","description":"Type identifier for the split classification.","required":true}],"description":[{"type":"string","description":"Detailed description of the document section type.","required":true}]}}],"description":"Array of classifications that define the possible types of document sections.","required":true}],"splitRules":[{"type":"string","description":"Custom rules to guide the document splitting process in natural language."}]},"description":"Optionally supply a config to be used in this published version. If not supplied, the config for your existing draft version will be used."}]}}],"examples":{"example":{"value":{"releaseType":"\u003cstring>","description":"\u003cstring>","config":{"type":"\u003cstring>","baseProcessor":"\u003cstring>","baseVersion":"\u003cstring>","schema":{},"fields":[{"id":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","description":"\u003cstring>","schema":[{}],"enum":[{"value":"\u003cstring>","description":"\u003cstring>"}]}],"extractionRules":"\u003cstring>","advancedOptions":{"fixedPageLimit":123,"splitMethod":"\u003cstring>","splitIdentifierRules":"\u003cstring>","splitExcelDocumentsBySheetEnabled":true},"classifications":[{"id":"\u003cstring>","type":"\u003cstring>","description":"\u003cstring>"}],"classificationRules":"\u003cstring>","splitClassifications":[{"id":"\u003cstring>","type":"\u003cstring>","description":"\u003cstring>"}],"splitRules":"\u003cstring>"}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Will be `false` if the request failed."}],"processorVersion":[{"type":"object","properties":{},"description":"A ProcessorVersion object representing the newly published version of the processor. See the ProcessorVersion object for more details."}],"error":[{"type":"string","description":"A description of the error that occurred."}]}}],"examples":{"example":{"value":{"success":true,"processorVersion":{},"error":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tryextend","siteName":"Extend","title":"Publish Processor Version - Extend","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2025-04-21":{"href":"/api-reference/endpoint/publish_processor_version20250421","matchLevel":0},"2024-12-23":{"href":"/api-reference/endpoint/run_processor","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:55:40.326Z","originalFileLocation":"api-reference/endpoint/publish_processor_version20250421.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=\"Publish a new version of an existing processor in Extend.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Extend\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Publish Processor Version - Extend\">\u003cmeta data-mint-head property=\"og:description\" content=\"Publish a new version of an existing processor in Extend.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Extend\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Processor+Endpoints\u0026amp;title=Publish+Processor+Version\u0026amp;description=Publish+a+new+version+of+an+existing+processor+in+Extend.\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=77476fcf195df1ebf1087c9c58ce30738588899e0640fd13ab8cb8936493f4bc\">\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=\"Publish Processor Version - Extend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Publish a new version of an existing processor in Extend.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Processor+Endpoints\u0026amp;title=Publish+Processor+Version\u0026amp;description=Publish+a+new+version+of+an+existing+processor+in+Extend.\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=77476fcf195df1ebf1087c9c58ce30738588899e0640fd13ab8cb8936493f4bc\">\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/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Extend\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#12A7D3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/publish_processor_version20250421.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.extend.app/#organization\",\"name\":\"Extend\",\"url\":\"https://docs.extend.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/light.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d5b60497f53e7cb8865d11cf97636755\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.extend.app#website\",\"name\":\"Extend\",\"url\":\"https://docs.extend.app\",\"publisher\":{\"@id\":\"https://docs.extend.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421#webpage\",\"url\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421\",\"name\":\"Publish Processor Version\",\"description\":\"Publish a new version of an existing processor in Extend.\",\"dateModified\":\"2026-01-07T03:55:40.326Z\",\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Processor Endpoints\",\"item\":\"https://docs.extend.app/api-reference/endpoint/run_processor20250421\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Publish Processor Version\",\"item\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421#apireference\",\"headline\":\"Publish Processor Version\",\"name\":\"Publish Processor Version\",\"description\":\"Publish a new version of an existing processor in Extend.\",\"url\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421\",\"mainEntityOfPage\":{\"@id\":\"https://docs.extend.app/api-reference/endpoint/publish_processor_version20250421#webpage\"},\"dateModified\":\"2026-01-07T03:55:40.326Z\",\"publisher\":{\"@id\":\"https://docs.extend.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Extend\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Extend\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/publish_processor_version20250421.md","siteName":"Extend","nav":{"global":null,"versions":[{"version":"2025-04-21","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"API Versioning","href":"/api-reference/api_versioning"}]},{"group":"Workflow Endpoints","pages":[{"title":"Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs","href":"/api-reference/endpoint/run_workflow"},{"title":"Batch Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs/batch","href":"/api-reference/endpoint/run_workflow_batch"},{"title":"Get Workflow Run","api":"GET https://api-prod.extend.app/workflow_runs/:workflowRunId","href":"/api-reference/endpoint/get_workflow_run"},{"title":"List Workflow Runs","api":"GET https://api-prod.extend.app/workflow_runs","href":"/api-reference/endpoint/list_workflow_runs"},{"title":"Update Workflow Run","api":"POST https://api-prod.extend.app/workflow_runs/:id","href":"/api-reference/endpoint/update_workflow_run"},{"title":"Correct Workflow Run Outputs","api":"POST https://api-prod.extend.app/workflow_runs/:workflowRunId/outputs/:outputId","href":"/api-reference/endpoint/correct_workflow_run"},{"title":"Create Workflow","api":"POST https://api-prod.extend.app/workflows","href":"/api-reference/endpoint/create_workflow"}]},{"group":"Processor Endpoints","pages":[{"title":"Run Processor","api":"POST https://api-prod.extend.app/v1/processor_runs","href":"/api-reference/endpoint/run_processor20250421"},{"title":"Get Processor Run","api":"GET https://api-prod.extend.app/processor_runs/{id}","href":"/api-reference/endpoint/get_processor_run"},{"title":"Get Batch Processor Run","api":"GET https://api-prod.extend.app/batch_processor_runs/{id}","href":"/api-reference/endpoint/get_batch_processor_run"},{"title":"Create Processor","api":"POST https://api-prod.extend.app/v1/processors","href":"/api-reference/endpoint/create_processor20250421"},{"title":"Update Processor","api":"POST https://api-prod.extend.app/v1/processors/:id","description":"Update an existing processor in Extend.","href":"/api-reference/endpoint/update_processor20250421"},{"title":"Publish Processor Version","api":"POST https://api-prod.extend.app/v1/processors/:id/publish","href":"/api-reference/endpoint/publish_processor_version20250421"},{"title":"Get Processor Version","api":"GET https://api-prod.extend.app/processors/:ProcessorId/versions/:processorVersionId","description":"Retrieve a specific version of a processor in Extend.","href":"/api-reference/endpoint/get_processor_version"},{"title":"List Processor Versions","api":"GET https://api-prod.extend.app/processors/:id/versions","href":"/api-reference/endpoint/get_processor_versions"}]},{"group":"Parse Endpoints","pages":[{"title":"Parse File","api":"POST https://api-prod.extend.app/parse","href":"/api-reference/endpoint/parse"}]},{"group":"File Endpoints","pages":[{"title":"Upload File","api":"POST https://api-prod.extend.app/files/upload","href":"/api-reference/endpoint/upload_file"},{"title":"Get File","api":"GET https://api-prod.extend.app/files/:id?rawText=true","href":"/api-reference/endpoint/get_file"},{"title":"List Files","api":"GET https://api-prod.extend.app/files","href":"/api-reference/endpoint/list_files"},{"title":"[DEPRECATED] Create File","api":"POST https://api-prod.extend.app/files","href":"/api-reference/endpoint/create_file"}]},{"group":"Evaluation Set Endpoints","pages":[{"title":"Create Evaluation Set","api":"POST https://api-prod.extend.app/evaluation_sets","href":"/api-reference/endpoint/create_eval_set"},{"title":"Create Evaluation Set Item","api":"POST https://api-prod.extend.app/evaluation_set_items","href":"/api-reference/endpoint/create_eval_set_item"},{"title":"Update Evaluation Set Item","api":"POST https://api-prod.extend.app/evaluation_set_items/:id","href":"/api-reference/endpoint/update_eval_set_item"},{"title":"Bulk Create Evaluation Set Items","api":"POST https://api-prod.extend.app/evaluation_set_items/bulk","href":"/api-reference/endpoint/bulk_create_eval_set_item"}]},{"group":"Objects","pages":[{"title":"The Block Object","href":"/api-reference/objects/block"},{"title":"The EvaluationSet object","href":"/api-reference/objects/evaluation_set"},{"title":"The EvaluationSetItem object","href":"/api-reference/objects/evaluation_set_item"},{"title":"The File object","href":"/api-reference/objects/file"},{"title":"The Processor object","href":"/api-reference/objects/processor"},{"title":"The ProcessorRun object","href":"/api-reference/objects/processor_run"},{"title":"The BatchProcessorRun object","href":"/api-reference/objects/batch_processor_run"},{"title":"The ProcessorVersion object","href":"/api-reference/objects/processor_version"},{"title":"The Workflow object","href":"/api-reference/objects/workflow"},{"title":"The WorkflowRun object","href":"/api-reference/objects/workflow_run"},{"title":"The WorkflowRun Summary object","href":"/api-reference/objects/workflow_run_summary"}]},{"group":"Guides","pages":[{"title":"Processor configs","href":"/api-reference/guides/processor_configs20250421"},{"title":"Processor output types","href":"/api-reference/guides/output_types20250421"},{"title":null,"href":"/api-reference/guides/bounding_boxes"},{"title":"Supported File Types","href":"/api-reference/supported_file_types"}]},{"group":"Webhooks","pages":[{"title":"Configuration","href":"/api-reference/webhooks/webhooks"},{"title":"Events","href":"/api-reference/webhooks/events"}]}]},{"tab":"Processor Changelog","pages":[{"title":"Processor Changelog","href":"/changelog/overview"}]}]},{"version":"2024-12-23","pages":[{"title":"2024-12-23","href":"/api-reference/endpoint/run_processor"}]}]},"basePath":"","title":"Publish Processor Version - Extend","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js"]}