Skip to main content
Reducto endpoints can be chained together to build multi-step document processing workflows. A common pattern is Classify first to determine document type, then Parse and Extract with the right configuration for that type. When you call Parse, Reducto returns a job_id that represents the parsed document. You can pass this job ID to subsequent Extract or Split calls using the jobid:// prefix, which skips re-parsing and uses the cached result. This saves both time and credits when you need to run multiple operations on the same document.

The jobid:// protocol

After parsing a document, the response includes a job_id:
To reuse this parsed content in Extract or Split, prefix the job ID with jobid://:
When Reducto sees jobid://, it retrieves the cached parse result instead of processing the document again. Any parsing options you include in the request are ignored since the document was already parsed.

Common chaining patterns

Parse → Extract

The most common pattern. Parse once, then run one or more extractions with different schemas:
Without chaining, each Extract call would re-parse the document. With chaining, you parse once and pay for parsing credits once.

Parse → Split → Extract

For documents with distinct sections that need different extraction schemas:

Classify → Parse → Extract

When you need to determine document type before choosing an extraction schema, use Classify first.
This pattern is useful when processing mixed document types from a single upload queue. Classify is purpose-built for document routing and costs only 0.5 credits per page of context, compared to using Extract as a workaround.

Multiple job IDs

Extract also accepts a list of job IDs, which combines the parsed content from multiple documents into a single extraction context:
This behaves like multi-document pipelines: the extraction sees all documents together and returns a single result. Design your schema accordingly if you want data from each document.

Supported endpoints

Credit savings

When you use jobid://, you only pay parse credits once regardless of how many subsequent calls you make: The savings scale with document size and number of operations.

Job ID retention

Parse job IDs are retained for 12 hours by default. If you need to chain calls after this window, you’ll need to re-parse the document. For workflows that span longer periods, consider storing the parsed content or using pipelines which handle this automatically.

Classify

Categorize documents by type before processing.

Pipeline Basics

Bundle multi-step workflows into a single API call.

Split

Divide documents into sections for targeted extraction.

Extract

Pull structured data from parsed documents.