Create Processor

Create a new processor in Extend, optionally cloning from an existing processor

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-extend-api-version"2025-04-21"OptionalDefaults to 2025-04-21

API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.

Request

This endpoint expects an object.
namestringRequired
The name of the new processor
typeenumRequired
The type of processor: * `"EXTRACT"` - Extracts structured data from documents * `"CLASSIFY"` - Classifies documents into categories * `"SPLITTER"` - Splits documents into multiple parts
Allowed values:
cloneProcessorIdstringOptional

The ID of an existing processor to clone. One of cloneProcessorId or config must be provided.

Example: "dp_Xj8mK2pL9nR4vT7qY5wZ"

configobjectOptional

The configuration for the processor. The type of configuration must match the processor type. One of cloneProcessorId or config must be provided.

Response

Successfully created processor
successboolean
processorobject

Errors