parse.run()
Parses a document synchronously and returns the result 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)
Enhancement options for the parsing process.
Formatting configuration for the output.
Retrieval configuration options.
General settings for the parsing process.
Spreadsheet-specific parsing options.
The configuration options for asynchronous processing (default synchronous). Only available when using async mode.
Response
Returns either a
ParseResponse with the parsed document content (sync mode) or an AsyncParseResponse containing a job_id (async mode).parse.run_job()
Parses a document 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 asynchronous processing (default synchronous).
Enhancement options for the parsing process.
Formatting configuration for the output.
Retrieval configuration options.
General settings for the parsing process.
Spreadsheet-specific parsing options.