capabilities.work

Page-Level Correct and Approve

A 3-step recipe with Nanonets. We can help you get access.

Recipe · 3 steps

Page-Level Correct and Approve

Get a page's prediction, correct fields on the file, and approve it.

  1. Retrieve the prediction for the specific page of the file.
  2. Patch the file with corrected field values. use_ui_version=true is required and the body mirrors the prediction response structure.
  3. Approve the file now that the page-level corrections are applied.
What you'll need to have ready
  • authorization: HTTP Basic credential header value (Basic <base64 of apiKey:>).
  • modelId: Unique identifier for the Nanonets OCR model.
  • requestFileId: Identifier of the already-processed file.
  • pageId: Unique page id within the file to inspect.
  • correctedFields: Corrected field payload mirroring the prediction response structure, used to update or add fields on the file.
For your developer

Arazzo workflow nanonets:page-level-correct-and-approve, 3 operations: ocrModelGetPredictionFileByPageId → updateFileFields → verifyFile. Specs on APIs.io.