{
  "info": {
    "name": "Nutrient Document Web Services API — mcp.ai",
    "description": "REST API for the Nutrient Document Web Services API 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/nutrient_document_web_services_api",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "nutrient_document_web_services_api_analyze_build",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/analyze/build",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "analyze",
            "build"
          ]
        },
        "description": "Deprecated compatibility tool for the original ANALYZE_BUILD contract. Use ANALYZE_BUILD_COST for typed Build instructions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"parts\": \"\",\n  \"output\": {},\n  \"actions\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_analyze_build_cost",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/analyze/build/cost",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "analyze",
            "build",
            "cost"
          ]
        },
        "description": "Estimate the credits and Processor features required by Build API instructions without executing the document job or consuming credits.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"parts\": \"\",\n  \"output\": {},\n  \"actions\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_build_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/build/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "build",
            "document"
          ]
        },
        "description": "Synchronously create one document from remote files, remote HTML, new pages, and composable safe actions, returning its filename, media type, and Base64 content up to 4 MB. Use this for multi-part or ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"parts\": \"\",\n  \"output\": {},\n  \"actions\": \"\",\n  \"filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_convert_markdown_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/markdown/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "markdown",
            "to",
            "pdf"
          ]
        },
        "description": "Convert CommonMark or GitHub-Flavored Markdown text into a PDF using optional built-in styling, custom CSS, page layout, and syntax highlighting settings. Returns the filename, media type, and Base64 ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"css\": \"\",\n  \"layout\": {},\n  \"filename\": \"\",\n  \"markdown\": \"\",\n  \"template\": \"\",\n  \"markdown_options\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_create_jwt_token",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/jwt/token",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "jwt",
            "token"
          ]
        },
        "description": "Create a short-lived restricted Nutrient bearer token. This compatibility tool returns secret credential material; revoke it with REVOKE_JWT_TOKEN when it is no longer needed. Prefer the connected API",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"allowed_origins\": \"\",\n  \"expiration_time\": 0,\n  \"allowed_operations\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_create_pdf_from_web_page",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/pdf/from/web/page",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "pdf",
            "from",
            "web",
            "page"
          ]
        },
        "description": "Render an HTML web page at a public URL, with optional page layout settings, into a PDF. Returns the filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PRO",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"layout\": {},\n  \"filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_get_account_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "info"
          ]
        },
        "description": "Return the connected Nutrient account's subscription type, status, and estimated remaining credits.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_get_processor_usage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/processor/usage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "processor",
            "usage"
          ]
        },
        "description": "Return the connected account's Processor subscription status and credit usage counters.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_make_pdf_accessible",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/make/pdf/accessible",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "make",
            "pdf",
            "accessible"
          ]
        },
        "description": "Auto-tag a PDF at a remote URL for PDF/UA screen-reader accessibility and return the result's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"filename\": \"\",\n  \"password\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_ocr_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/ocr/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "ocr",
            "pdf"
          ]
        },
        "description": "Apply optical character recognition to a PDF at a remote URL and return a searchable PDF's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USA",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"filename\": \"\",\n  \"languages\": \"\",\n  \"skip_ocr_for_searchable_documents\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_revoke_jwt_token",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/revoke/jwt/token",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "revoke",
            "jwt",
            "token"
          ]
        },
        "description": "Immediately revoke a bearer token created by CREATE_JWT_TOKEN using its ID. Use this when a generated token is no longer needed or may be compromised.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"token_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_stage_pdf_redactions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/stage/pdf/redactions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "stage",
            "pdf",
            "redactions"
          ]
        },
        "description": "Find matching content in a remote PDF and return a review PDF's filename, media type, and Base64 content up to 4 MB with unapplied redaction marks. This action cannot permanently apply redactions. It ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"content\": \"\",\n  \"filename\": \"\",\n  \"password\": \"\",\n  \"strategy\": \"\",\n  \"strategy_options\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nutrient_document_web_services_api_watermark_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/watermark/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "watermark",
            "pdf"
          ]
        },
        "description": "Add a positioned text or image watermark to every page of a PDF at a public URL and return the copy's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PR",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"font\": {},\n  \"text\": \"\",\n  \"image\": {},\n  \"width\": \"\",\n  \"height\": \"\",\n  \"opacity\": 0,\n  \"filename\": \"\",\n  \"rotation\": 0,\n  \"vertical_offset\": \"\",\n  \"horizontal_offset\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}