Migrating to API Version 2025-04-21
Overview
The 2025-04-21 API version introduces a significant change to the structure of processor configuration objects. This new structure provides full control over all available options when configuring processors.
How to Use the New API Version
To use the new API version, set the Extend-Api-Version
header in your requests:
Key Changes
The main change is in the structure of the config
object used in various API endpoints. The new structure:
- Provides more granular control over processor behavior
- Exposes advanced options that were previously only available internally
- Standardizes option naming across different processor types
- Allows for more powerful configuration of processing behavior
For detailed specifications of the new configuration structure, refer to the Processor Configs documentation.
We’ve also updated the output shape of splitters to use the term "splits"
instead of "subDocumentClassifications"
. These changes affect most of our endpoints when using a Splitter. For more details, refer to the Splitter output types documentation.
Affected Endpoints
These API endpoints now use the new configuration structure:
- Run Processor
- Get Processor Run
- Get Processor Version
- List Processor Versions
- Publish Processor Version
- Update Processor
- Create Processor
Backward Compatibility
The config changes are breaking changes. If you do not send an API version header, you will be pinned to the previous 2024-12-23 API version to avoid breaking changes.
Example Comparison
Extraction Processor - Before:
Extraction Processor - After:
Classification Processor - Before:
Classification Processor - After:
Splitting Processor - Before:
Splitting Processor - After:
Example using the update_processor
endpoint:
Need Help?
If you encounter any issues while migrating, please contact our support team at support@extend.app.