Skip to content
Changelog

Report a bug

Nanonets integration: operations for AI agents

Nanonets connects to Type.com as an integration. This page lists the 21 operations documented for Claude and Codex in Type.com: 4 read, 15 write, 2 destructive.

About Nanonets

Nanonets provides an AI-driven Intelligent Document Processing API that transforms unstructured documents into structured data, enabling efficient data extraction and workflow automation.

Categories: Analytics & Data, Documents & Forms

How to connect Nanonets to Type.com

Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

21 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.

21 operations listed.

OCR Predict

  • Read

    Get All Prediction Files

    Nanonets API to get prediction results for all files uploaded to a model within a specified timeframe. This API delivers detailed outputs including the initial predictions, any modifications made to the files, and the final results for each file.

    GET /Inferences/Model/{model_id}/ImageLevelInferences

  • Read

    Get Prediction File By Page ID

    Nanonets API to get prediction results for a specific page by using its unique id. This API provides the initial prediction from the model, any subsequent modifications to the page, and the final processed result.

    GET /Inferences/Model/{model_id}/ImageLevelInferences/{id}

  • Read

    Get Prediction File By File ID

    Nanonets API to obtain the prediction results for a specific file using modelid and requestfileid. The response includes the initial model prediction, modifications applied to the file, and its final processed outcome.

    GET /Inferences/Model/{model_id}/InferenceRequestFiles/GetPredictions/{request_file_id}

  • Write

    Async Prediction for image file

    Nanonets API to upload files to your OCR model in async mode and to make predictions based on the uploaded images or documents using the file path hosted locally on your system. You can specify multiple file path, ideal for larger files with more than 3 pages.

    POST /OCR/Model/{model_id}/LabelFile

  • Write

    Async Prediction for image url

    Nanonets API to upload files to your OCR model in async mode and to make predictions based on the uploaded images or documents using a publicly available file link. You can specify multiple file urls, ideal for larger files with more than 3 pages.

    POST /OCR/Model/{model_id}/LabelUrls

  • Write

    Prediction for image url

    Nanonets API to upload files to your OCR model in sync mode and to make predictions based on the uploaded images or documents using a publicly available file link. You can specify multiple file urls, this endpoint is optimized for files containing 3 pages or fewer.

    POST /OCR/Model/{model_id}/LabelUrls/

  • Write

    Prediction for image file

    Nanonets API to upload files to your OCR model in sync mode and to make predictions based on the uploaded images or documents using the file path hosted locally on your system. You can specify multiple file path, this endpoint is optimized for files containing 3 pages or fewer.

    POST /OCR/Model/{model_id}/LabelFile/

OCR Upload

  • Write

    Upload training images by File

    You can use this endpoint to upload training images for a category (for the specified model) using locally stored files. You will receive model information along with total number of images per category on successful execution. Note: Filename in Data must be the same as that of the uploaded image name.

    POST /OCR/Model/{model_id}/UploadFile/

  • Write

    Upload training images by Url

    You can use this endpoint to upload training images for a category (for the specified model) by image urls. You can upload multiple images in the same request by adding an array of urls. You will receive model information along with total number of images per category on successful execution.

    POST /OCR/Model/{model_id}/UploadUrls/

OCR Train

  • Write

    Train Model

    You can use this endpoint to train a model after uploading images for each category. You can use the same endpoint to retrain a model after uploading more images to improve the model.

    POST /OCR/Model/{model_id}/Train/

Image Classification Model Predict

  • Write

    Prediction for image File

    The Nanonets API allows the uploading of files directly from your local system to the image classification model, using the path where the file is stored on your system.

    POST /ImageCategorization/LabelFile/

  • Write

    Prediction for image URLs

    The Nanonets API allows you to upload images via URLs to your image classification model. You have the option to specify multiple URLs in a single request, allowing for efficient batch processing of images.

    POST /ImageCategorization/LabelUrls/

External Integrations

  • Read

    Get list of external integrations

    Get list of external integrations.

    GET /api/v2/externalIntegrations

  • Write

    Execute a generic query

    Execute a generic query.

    POST /api/v2/externalIntegrations/{external_integration_id}/executequery

Other

  • Write

    Approve file

    Mark a file as approved when its workflow stage allows review. Rejected files cannot be approved.

    POST /api/v2/ImageLevelInferences/Model/{model_id}/Verify/{request_file_id}

  • Write

    Unapprove file

    Return a previously approved file to unapproved status; this does not reject it.

    POST /api/v2/ImageLevelInferences/Model/{model_id}/UnVerify/{request_file_id}

  • Write

    Update AI agent guidelines

    Set field and table instructions used during model prediction.

    PATCH /api/v2/ObjectDetection/Model/{model_id}

  • Write

    Assign files

    Assign selected model files to a team member identified by email.

    POST /api/v2/team/members/model/{model_id}/assign/files

  • Write

    Retry file exports

    Trigger another export attempt for selected model files.

    POST /api/v2/Inferences/Model/{model_id}/ImageLevelInferences/retryallexports

  • Destructive

    Delete file

    Remove a model file using its identifier.

    DELETE /api/v2/Inferences/Model/{model_id}/InferenceRequestFiles/{file_id}

  • Destructive

    Update file fields

    Replace the supplied field representation after reading existing values; omitting field entries can delete fields. Set use_ui_version to true.

    PATCH /api/v2/Inferences/Model/{model_id}/ImageLevelInference

See How connections work for access and permissions, or browse all integrations.