{
  "info": {
    "name": "Nanonets OCR — mcp.ai",
    "description": "REST API for the Nanonets OCR 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/nanonets_ocr",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "nanonets_ocr_extract_from_url",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/extract/from/url",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "extract",
            "from",
            "url"
          ]
        },
        "description": "Synchronously extract model-defined fields and tables from one publicly reachable document URL. Returns durable page and file IDs even when the model finds no matching fields.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"model_id\": \"\",\n  \"request_metadata\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nanonets_ocr_get_model",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/model",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "model"
          ]
        },
        "description": "Get readiness, accuracy, extraction fields, and table configuration for one Nanonets OCR model.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nanonets_ocr_get_prediction_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/prediction/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "prediction",
            "file"
          ]
        },
        "description": "Get normalized extraction results for every page of one previously processed Nanonets OCR file. A successful page can have no extracted fields.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model_id\": \"\",\n  \"request_file_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nanonets_ocr_get_prediction_page",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/prediction/page",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "prediction",
            "page"
          ]
        },
        "description": "Get normalized extracted fields and tables for one OCR prediction page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page_id\": \"\",\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nanonets_ocr_list_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "models"
          ]
        },
        "description": "List the OCR models available to the connected Nanonets account, including each model's ID, readiness state, and extraction categories.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nanonets_ocr_list_predictions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/predictions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "predictions"
          ]
        },
        "description": "List compact OCR prediction-page summaries for a model within an inclusive UTC date range. Nanonets returns the entire matching range without pagination, so prefer narrow ranges when a model has subst",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end_date\": \"\",\n  \"model_id\": \"\",\n  \"start_date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}