{
  "info": {
    "name": "Nanonets — mcp.ai",
    "description": "REST API for the Nanonets MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/nano_nets",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "nano_nets_create_model",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/model",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "model"
          ]
        },
        "description": "Tool to create a new image classification or OCR model. Use when you need to initialize a model before uploading training images. Provide a list of categories/classes that the model should learn to id",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"categories\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_delete_model",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/model",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "model"
          ]
        },
        "description": "Permanently 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 trai",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_get_all_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/all/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "all",
            "models"
          ]
        },
        "description": "Retrieves all models (OCR and Image Classification) in the user's NanoNets account. Returns model details including ID, type, status, accuracy, and extractable fields/categories. Use to discover avail",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_get_all_prediction_files",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/all/prediction/files",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "all",
            "prediction",
            "files"
          ]
        },
        "description": "Retrieve all prediction files (OCR results) for a NanoNets model. Use this tool to: - List all documents/images that have been processed by an OCR model - Get prediction results including extracted te",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"model_id\": \"\",\n  \"page_size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_get_model_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/model/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "model",
            "details"
          ]
        },
        "description": "Tool to retrieve details of an OCR model. Use when you need full metadata of a model by its ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_get_training_images",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/training/images",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "training",
            "images"
          ]
        },
        "description": "Tool to retrieve training images for an OCR model. Use when you need to page through images associated with a model before training or analysis.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"model_id\": \"\",\n  \"page_size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_get_workflows",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/workflows",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "workflows"
          ]
        },
        "description": "Tool to retrieve a list of all workflows in your Nanonets account. Use when you need to inventory or inspect all configured workflows.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_list_documents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/documents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "documents"
          ]
        },
        "description": "Retrieve a paginated list of documents processed by a NanoNets workflow. Returns document metadata including processing status, upload timestamp, verification status, and page details. Use this to mon",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"limit\": 0,\n  \"workflow_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_update_model",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/model",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "model"
          ]
        },
        "description": "Update 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 behavi",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model_id\": \"\",\n  \"field_instructions\": \"\",\n  \"table_instructions\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_upload_training_images_by_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/upload/training/images/by/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "upload",
            "training",
            "images",
            "by",
            "file"
          ]
        },
        "description": "Tool 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.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file\": {},\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nano_nets_upload_training_images_by_url",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/upload/training/images/by/url",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "upload",
            "training",
            "images",
            "by",
            "url"
          ]
        },
        "description": "Tool to upload training images by URL to a specified OCR model. Use when adding URLs of images to a model for training purposes.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"urls\": \"\",\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}