Nanonets · Arazzo Workflow

Nanonets Batch Review Pending Files

Version 1.0.0

List a model's recent predictions, then approve the first unmoderated file.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceOCRDocument AIIntelligent Document ProcessingData ExtractionWorkflow-AutomationComputer-VisionNo-CodeArazzoWorkflows

Provider

nanonets

Workflows

batch-review-pending-files
List recent predictions and approve the first unmoderated file.
Lists prediction files for a model within a time window and approves the first unmoderated file when one exists.
2 steps inputs: authorization, currentBatchDay, modelId, startDayInterval outputs: approveResponse, approvedFileId, unmoderatedCount
1
listPredictions
List all prediction files for the model within the requested window.
2
approvePending
Approve the first unmoderated file from the window.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Nanonets Batch Review Pending Files
  summary: List a model's recent predictions, then approve the first unmoderated file.
  description: >-
    Drives the moderation queue for a time window. The workflow lists all
    prediction files for a model across a day-based window, then branches: when
    unmoderated pages exist it approves the first pending file, and when none
    remain it ends. Every step spells out its request inline so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: fileReviewApi
  url: ../openapi/nanonets-file-review-api-openapi.yml
  type: openapi
- name: ocrRetrieveApi
  url: ../openapi/nanonets-ocr-retrieve-api-openapi.yml
  type: openapi
workflows:
- workflowId: batch-review-pending-files
  summary: List recent predictions and approve the first unmoderated file.
  description: >-
    Lists prediction files for a model within a time window and approves the
    first unmoderated file when one exists.
  inputs:
    type: object
    required:
    - authorization
    - modelId
    - startDayInterval
    - currentBatchDay
    properties:
      authorization:
        type: string
        description: HTTP Basic credential header value (Basic <base64 of apiKey:>).
      modelId:
        type: string
        description: Unique identifier for the Nanonets OCR model.
      startDayInterval:
        type: integer
        description: Number of days back from the current batch day (days since epoch).
      currentBatchDay:
        type: integer
        description: Most recent day-since-epoch boundary for the window.
  steps:
  - stepId: listPredictions
    description: List all prediction files for the model within the requested window.
    operationId: ocrModelListPredictionFiles
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: model_id
      in: path
      value: $inputs.modelId
    - name: start_day_interval
      in: query
      value: $inputs.startDayInterval
    - name: current_batch_day
      in: query
      value: $inputs.currentBatchDay
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      unmoderatedCount: $response.body#/unmoderated_images_count
      firstPendingId: $response.body#/unmoderated_images/0/id
    onSuccess:
    - name: hasPending
      type: goto
      stepId: approvePending
      criteria:
      - context: $response.body
        condition: $.unmoderated_images_count > 0
        type: jsonpath
    - name: nothingPending
      type: end
  - stepId: approvePending
    description: Approve the first unmoderated file from the window.
    operationId: verifyFile
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: model_id
      in: path
      value: $inputs.modelId
    - name: request_file_id
      in: path
      value: $steps.listPredictions.outputs.firstPendingId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      approveResponse: $response.body
  outputs:
    unmoderatedCount: $steps.listPredictions.outputs.unmoderatedCount
    approvedFileId: $steps.listPredictions.outputs.firstPendingId
    approveResponse: $steps.approvePending.outputs.approveResponse

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/nanonets-batch-review-pending-files-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.