Skip to main content
Nanonets logo
  • Category: ai document extraction
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 11
  • Triggers: 0
  • Slug: NANO_NETS
  • Version: 20261101_00

Tools

Slug: NANO_NETS_CREATE_MODELCreate a new OCR model with a list of categories or fields to extract, before uploading training images.

Input Parameters

array
required
List of category/class names for the model to identify. For image classification, provide labels like [‘cat’, ‘dog’]. For OCR extraction, provide field names to extract like [‘invoice_number’, ‘date’, ‘total’].

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_DELETE_MODELPermanently deletes an OCR model from Nanonets. Use this action when you need to remove a trained model that is no longer needed. This action is irreversible - once deleted, the model and all its training data cannot be recovered. Prerequisites: Obtain the model_id from the ‘Get all OCR models’ action first.

Input Parameters

string
required
The unique identifier (UUID) of the OCR model to delete. Get this from the ‘Get all OCR models’ action.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_GET_ALL_MODELSRetrieve image classification models in the user’s NanoNets account, including available model details and categories.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_GET_ALL_PREDICTION_FILESRetrieve a page of OCR prediction files for a Nanonets model, with available prediction details such as extracted text and field values. Choose a page and page size from 1 to 500; a 404 response is presented as an empty result.

Input Parameters

integer
Page number for pagination (must be >= 1)
string
required
Unique identifier of the NanoNets OCR model to fetch prediction files from
integer
Number of prediction files per page (1-500)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_GET_MODEL_DETAILSTool to retrieve details of an OCR model. Use when you need full metadata of a model by its ID.

Input Parameters

string
required
Unique identifier of the OCR model to retrieve details.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_GET_TRAINING_IMAGESRetrieve a page of training images associated with an OCR model for inspection before training or analysis. Specify the page and page size; a 404 response is presented as an empty result.

Input Parameters

integer
Page number for pagination (1-indexed). Defaults to 1.
string
required
Unique identifier (UUID) of the OCR model. Obtain this from the GET_ALL_MODELS action or model creation response.
integer
Number of images to return per page. Defaults to 50.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_GET_WORKFLOWSRetrieve the workflows in a Nanonets account to inventory or inspect their configurations.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_LIST_DOCUMENTSRetrieve a paginated list of documents processed by a NanoNets workflow, with basic metadata, processing status, verification status, and page information.

Input Parameters

integer
Page number for pagination (1-indexed). Defaults to 1 if not specified.
integer
Number of documents per page. Defaults to 50 if not specified.
string
required
The unique identifier (UUID) for the NanoNets workflow. Obtain this from the GET_WORKFLOWS action or from the NanoNets dashboard.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_UPDATE_MODELUpdate AI Agent guidelines for an OCR model. Sets instructions for how the AI should handle field and table predictions. Only works for Instant Learning models. Use this to customize extraction behavior for specific document types.

Input Parameters

string
required
Unique identifier of the OCR model to update AI guidelines for.
string
required
Instructions for the AI model to follow during field predictions. Provide guidance on how to extract and validate field data.
string
required
Instructions for the AI model to follow during table predictions. Provide guidance on how to identify and extract tabular data.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_FILETool to upload a training image file to a specified OCR model. Use when adding a local image file to train the model. Supported file formats include PNG, JPEG, and PDF.

Input Parameters

object
required
The image file to upload for training. Supported formats: PNG, JPEG, PDF.
string
required
Unique identifier of the OCR model to which the image will be uploaded.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_URLUpload one or more publicly accessible image URLs to a specified Nanonets OCR model for training.

Input Parameters

array
required
List of publicly accessible image URLs to upload for training.
string
required
Unique identifier of the OCR model to which the images will be uploaded.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not