Async URL Predict Poll and Approve
A 3-step recipe with Nanonets. We can help you get access.
Recipe · 3 steps
Async URL Predict Poll and Approve
with Nanonets · Artificial Intelligence Management
Async predict by URL, poll for completion, and approve the resulting file.
- Submit the document URL(s) to the model in async mode.
- Poll the inference request for the file. Loop back while no page has been moderated or unmoderated yet, otherwise continue to approval.
- Approve the finished file once the prediction is available.
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.
- urls: Publicly accessible URL(s) of the document(s) to extract.
- requestMetadata: Free-form identifier echoed back in the prediction response.
For your developer
Arazzo workflow nanonets:async-url-predict-poll-approve, 3 operations: ocrModelLabelUrlsAsyncByModelIdPost → ocrModelGetPredictionFileByFileId → verifyFile. Specs on APIs.io.