pipeline.run() method executes a pipeline you’ve created in Reducto Studio. Pipelines bundle parse, extract, split, and edit operations into a single reusable workflow. You configure the pipeline in Studio, deploy it to get a pipeline_id, then call it from your code.
Basic Usage
Method Signature
Parameters
Creating Pipelines
Pipelines are created and configured in Reducto Studio:- Go to Studio and create a new pipeline
- Add and configure steps (Parse, Extract, Split, Edit)
- Test with sample documents
- Click Deploy and select Pipeline
- Copy the generated
pipeline_id
Response Structure
The response structure depends on what steps your pipeline includes:Parse Results
Extract Results
For Parse + Extract pipelines, extract is a single object:Multi-Document Pipelines
Pass multiple file IDs to process related documents together:Error Handling
Complete Example
Best Practices
Create Pipelines in Studio
Use Studio to configure and test pipelines before deploying to production.
Version Your Pipelines
Use version names when deploying to track configuration changes.
Next Steps
- Learn how to create pipelines in Studio
- Explore multi-document pipelines
- Check out the async client for concurrent processing