pipeline.run()
Executes a custom pipeline synchronously on a document.Parameters
The URL of the document to be processed. You can provide one of the following:
- A publicly available URL
- A presigned S3 URL
- A
reducto://prefixed URL obtained from the /upload endpoint after directly uploading a document - A
jobid://prefixed URL obtained from a previous /parse invocation - A list of URLs (for multi-document pipelines, V3 API only)
The ID of the pipeline to use for the document.
Settings for pipeline execution that override pipeline defaults.
Response
Returns the result of the pipeline execution.
The processed document data according to the pipeline configuration.
pipeline.run_job()
Executes a custom pipeline asynchronously and returns a job ID immediately.Parameters
The URL of the document to be processed. You can provide one of the following:
- A publicly available URL
- A presigned S3 URL
- A
reducto://prefixed URL obtained from the /upload endpoint after directly uploading a document - A
jobid://prefixed URL obtained from a previous /parse invocation - A list of URLs (for multi-document pipelines, V3 API only)
The ID of the pipeline to use for the document.
The configuration options for asynchronous processing (default synchronous).
Settings for pipeline execution that override pipeline defaults.