This endpoint allows you to create a new processor or clone an existing one. Typically processors are created and configured in the Extend Studio, but this endpoint can be used to create processors programmatically in order to sync ID’s across systems.
Body
string
required
The name of the new processor.
string
required
The type of the processor.
string
The ID of an existing processor to clone. If provided, a new processor will be created that clones the config of this processor.
object
Optionally supply a config to be used when creating a processor. Any fields not supplied will use the listed defaults.
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 was created successfully or not.
DocumentProcessor
A Processor object representing the newly created processor. See the DocumentProcessor object for more details.
Error Responses
boolean
Will be false if the request failed.
string
A description of the error that occurred.
Possible Common Errors
400 Bad Request: If the request body fails schema validation.
404 Not Found: If the processor to clone (cloneProcessorId) is not found.
{"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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/create_processor20250421","slug":"/api-reference/endpoint/create_processor20250421","pageMetadata":{"title":"Create Processor","api":"POST https://api-prod.extend.app/v1/processors","description":"Create a new processor in Extend, optionally cloning from an existing processor.","href":"/api-reference/endpoint/create_processor20250421"},"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: \"Create a new processor in Extend, optionally cloning from an existing processor.\"\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:[_jsxs(_components.p,{children:[`This endpoint allows you to create a new processor or clone an existing one. Typically processors are created and configured in the `,_jsx(_components.a,{href:`/product-reference/studio/overview`,children:`Extend Studio`}),`, but this endpoint can be used to create processors programmatically in order to sync ID’s across systems.`]}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the new processor.`})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsx(_components.p,{children:`The type of the processor.`})}),`\n`,_jsx(ParamField,{body:`cloneProcessorId`,type:`string`,id:`param-clone-processor-id`,children:_jsx(_components.p,{children:`The ID of an existing processor to clone. If provided, a new processor will be created that clones the config of this processor.`})}),`\n`,_jsxs(ParamField,{body:`config`,type:`object`,optional:true,id:`param-config`,children:[_jsx(_components.p,{children:`Optionally supply a config to be used when creating a processor. Any fields not supplied will use the listed defaults.`}),_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-1`,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`,children:_jsx(_components.p,{children:`Unique identifier for the field.`})}),_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Human-readable name for the field.`})}),_jsxs(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-2`,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`,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-1`,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-3`,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-1`,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-4`,children:_jsx(_components.p,{children:`Type identifier for the classification.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-2`,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-5`,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-2`,children:_jsx(_components.p,{children:`Unique identifier for the split classification.`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-6`,children:_jsx(_components.p,{children:`Type identifier for the split classification.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-3`,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 was created successfully or not.`})}),`\n`,_jsx(ResponseField,{name:`processor`,type:`DocumentProcessor`,id:`param-processor`,children:_jsxs(_components.p,{children:[`A Processor object representing the newly created processor. See the `,_jsx(_components.a,{href:`/api-reference/objects/processor`,children:`DocumentProcessor 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:`possible-common-errors`,children:`Possible 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.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`404 Not Found`}),`: If the processor to clone (cloneProcessorId) is not found.`]}),`\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":"Create Processor","api":"POST https://api-prod.extend.app/v1/processors","description":"Create a new processor in Extend, optionally cloning from an existing processor.","href":"/api-reference/endpoint/create_processor20250421"}}},"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"],[18841,18841,",`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Example Success Response`,numberOfLines:`11`,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:`11`,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:` \"processor\"`}),_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\"`}),_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_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"New Invoice Processor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EXTRACT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-03-01T12: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-01T12: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`]})})})})"]]},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"Possible Common Errors","slug":"possible-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=\"11\">\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\"> \"processor\"\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\"\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_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\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"New Invoice Processor\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"EXTRACT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-03-01T12: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-01T12: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":"Create Processor","path":"/v1/processors","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":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the new processor.","required":true}],"type":[{"type":"string","description":"The type of the processor.","required":true}],"cloneProcessorId":[{"type":"string","description":"The ID of an existing processor to clone. If provided, a new processor will be created that clones the config of this processor."}],"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 when creating a processor. Any fields not supplied will use the listed defaults."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","type":"\u003cstring>","cloneProcessorId":"\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."}],"processor":[{"type":"object","properties":{},"description":"A Processor object representing the newly created processor. See the DocumentProcessor object for more details."}],"error":[{"type":"string","description":"A description of the error that occurred."}]}}],"examples":{"example":{"value":{"success":true,"processor":{},"error":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tryextend","siteName":"Extend","title":"Create Processor - Extend","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2025-04-21":{"href":"/api-reference/endpoint/create_processor20250421","matchLevel":0},"2024-12-23":{"href":"/api-reference/endpoint/run_processor","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:55:37.704Z","originalFileLocation":"api-reference/endpoint/create_processor20250421.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=\"Create a new processor in Extend, optionally cloning from an existing processor.\">\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=\"Create Processor - Extend\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new processor in Extend, optionally cloning from an existing processor.\">\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/create_processor20250421\">\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=Create+Processor\u0026amp;description=Create+a+new+processor+in+Extend%2C+optionally+cloning+from+an+existing+processor.\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=6da0b676c5ae01dd1d31d4e76a4f6e10c2a37a8816f8b5c9e8f4cab0e8b089a4\">\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=\"Create Processor - Extend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new processor in Extend, optionally cloning from an existing processor.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Processor+Endpoints\u0026amp;title=Create+Processor\u0026amp;description=Create+a+new+processor+in+Extend%2C+optionally+cloning+from+an+existing+processor.\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=6da0b676c5ae01dd1d31d4e76a4f6e10c2a37a8816f8b5c9e8f4cab0e8b089a4\">\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/create_processor20250421\">\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/create_processor20250421.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/create_processor20250421#webpage\",\"url\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421\",\"name\":\"Create Processor\",\"description\":\"Create a new processor in Extend, optionally cloning from an existing processor.\",\"dateModified\":\"2026-01-07T03:55:37.704Z\",\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Processor Endpoints\",\"item\":\"https://docs.extend.app/api-reference/endpoint/run_processor20250421\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Processor\",\"item\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421#apireference\",\"headline\":\"Create Processor\",\"name\":\"Create Processor\",\"description\":\"Create a new processor in Extend, optionally cloning from an existing processor.\",\"url\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421\",\"mainEntityOfPage\":{\"@id\":\"https://docs.extend.app/api-reference/endpoint/create_processor20250421#webpage\"},\"dateModified\":\"2026-01-07T03:55:37.704Z\",\"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/create_processor20250421.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}","description":"Retrieve details about a batch processor run.","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","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":"Create Processor - 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"]}