Documentation Index
Fetch the complete documentation index at: https://mintlify.com/reductoai/reducto-python-sdk/llms.txt
Use this file to discover all available pages before exploring further.
split.run()
Splits a document into categorized sections synchronously.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 configuration options for processing the document. Define the categories and their descriptions for splitting.
The configuration options for parsing the document. If you are passing in a
jobid:// URL for the file, then this configuration will be ignored.The settings for split processing.
The prompt that describes rules for splitting the document.
Response
Returns the document split into categorized sections.
The categorized sections of the document.
split.run_job()
Splits a document into categorized sections 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 configuration options for processing the document. Define the categories and their descriptions for splitting.
The configuration options for asynchronous processing (default synchronous).
The configuration options for parsing the document. If you are passing in a
jobid:// URL for the file, then this configuration will be ignored.The settings for split processing.
The prompt that describes rules for splitting the document.