Standardize V3

Standardize a single document using the V3 agentic engine. V3 uses an agentic architecture that automatically determines the optimal extraction strategy for each document - no manual configuration of display modes, split modes, or effort levels needed.

Unlike V2, this endpoint processes a single document per call. To standardize multiple documents, fire parallel requests.

If no schemaId is provided, a schema is first auto-generated from the document (same engine as /schema/autogenerate) and saved as a draft, then the document is standardized against it. The generated schema's ID is returned in the response's schemaId field. Schema generation costs schema credits in addition to the standardization credits.

Parameters
  • schemaId - Optional schema to standardize against. If omitted, a draft schema is auto-generated from the document.
  • pages - Optional list of 0-indexed page numbers to standardize. If not provided, the entire document is standardized.
  • guidelines - Optional extraction guidelines that override the schema's default guidelines.
  • useMetadata - Whether to include document metadata during extraction (default: false).
  • effortLevel - standard (default) uses faster models, high uses the best models for better results at +2 credits per page.

Note: The guidelines field has a maximum length of 50,000 characters.

Body Params
string
required

Unique identifier of the document to be standardized.

string

Schema to use for standardization. If omitted, a draft schema is auto-generated from the document (costs schema generation credits in addition to standardization credits).

string

Extraction guidelines. Overrides schema guidelines.

boolean
Defaults to false

Whether to use metadata during standardization.

pages
array of integers

Optional list of 0-indexed page numbers to standardize. If not provided, the entire document will be standardized.

Pages
number
enum
Defaults to 3

Version of the standardization job.

Allowed:
string
enum
Defaults to standard

Level of effort for extraction. 'standard' uses cheaper/faster models (default), 'high' uses the best models.

Allowed:
integer

The job timeout (in seconds) for webhook error reporting

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json