Classify Runs Migration
What You Get
- Fully typed SDK responses —
classifyRun.outputis typed, no more casting - Run without a classifier — Pass your classifications inline with
config - Cleaner request/response format — Simpler property names, predictable nullable fields
- Better IDE experience — Autocomplete works out of the box
The old /processor_runs endpoint is still supported in this API version for backward compatibility. You can migrate incrementally.
Quick Start: Common Patterns
Running a Classification
TypeScript
Python
Java
Listing Classify Runs
TypeScript
Python
Java
Endpoint Changes Summary
Request Changes
File Properties (All Endpoints)
Creating a Classify Run
Breaking change: If you previously passed config alongside a processorId to override classifier settings, you must now pass it as classifier.overrideConfig inside the classifier object. The top-level config property is reserved for inline classification (without a classifier).
Additionally, config.parser has been renamed to parseConfig everywhere — use config.parseConfig for inline config or classifier.overrideConfig.parseConfig when overriding a classifier.
Example: Create Request
Example: Overriding Classifier Config
If you previously passed config alongside processorId to override the classifier’s settings, this now moves inside the classifier object as overrideConfig:
Response Changes
Response shape changes: Single object responses are now returned directly (no wrapper key), and list responses use { "object": "list", "data": [...] } format. See Simplified Response Shapes for details.
Key Differences
Example: Response
SDK Method Reference
Detailed Schema Changes
ClassifyRun Schema
ClassifyConfig Schema
Need Help?
If you encounter any issues while migrating, please contact our support team at support@extend.app.

