{
  "info": {
    "name": "Docmosis — mcp.ai",
    "description": "REST API for the Docmosis 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/docmosis",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "docmosis_delete_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "image"
          ]
        },
        "description": "Tool to delete one or more stored images. Use when you need to remove images; ensure imageName(s) are valid before use.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\",\n  \"imageName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_delete_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "template"
          ]
        },
        "description": "Tool to delete one or more templates from the environment. Use when you need to remove templates; multiple templates can be deleted in a single request.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\",\n  \"templateName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_environment_ready",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/environment/ready",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "environment",
            "ready"
          ]
        },
        "description": "Tool to verify environment readiness. Use when ensuring the environment is active and within quota before rendering documents.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_environment_summary",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/environment/summary",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "environment",
            "summary"
          ]
        },
        "description": "Tool to retrieve environment summary. Use when you need status, plan, and quota details of your Docmosis environment after authentication.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_api_key",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/api/key",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "api",
            "key"
          ]
        },
        "description": "Tool to extract the Docmosis API access key from connection metadata. Use before other Docmosis API calls to retrieve the Bearer token from the Authorization header.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_batch_upload_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/batch/upload/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "batch",
            "upload",
            "status"
          ]
        },
        "description": "Tool to check the status of a template batch upload job. Use when monitoring batch upload progress or checking if a batch upload has completed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"userJobId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "image"
          ]
        },
        "description": "Tool to download one or more images. Use when you need to retrieve stored image files by name. If multiple names provided, images are returned in a zip archive.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\",\n  \"imageName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_render_queue",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/render/queue",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "render",
            "queue"
          ]
        },
        "description": "Tool to get current render queue status and utilization. Use when monitoring queue capacity before scheduling rendering tasks.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_render_tags",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/render/tags",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "render",
            "tags"
          ]
        },
        "description": "Tool to retrieve statistics on renders tagged with user-defined phrases. Returns page counts and document counts aggregated monthly. Use when reporting activity of user groups or features.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"year\": 0,\n  \"month\": 0,\n  \"nMonths\": 0,\n  \"padBlanks\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_sample_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/sample/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "sample",
            "data"
          ]
        },
        "description": "Tool to generate sample data for a Docmosis template based on its structure. Creates placeholder values that can be used for testing renders. Returns data in JSON or XML format.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"format\": \"\",\n  \"stringify\": \"\",\n  \"template_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template"
          ]
        },
        "description": "Tool to retrieve originally uploaded templates. Use when you need to download template files by name. If multiple names provided (up to 100), templates are returned in a zip archive.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\",\n  \"templateName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_template_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template",
            "details"
          ]
        },
        "description": "Tool to retrieve metadata for an uploaded template. Returns name, size, MD5 hash, last modified date, and error status. Use after uploading a template to verify it was stored correctly or to check if ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"accessKey\": \"\",\n  \"stringify\": \"\",\n  \"templateName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_get_template_structure",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template/structure",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template",
            "structure"
          ]
        },
        "description": "Tool to retrieve a template's parsed structure: fields, repeats, conditions, images, and refs. Use after uploading a template to inspect its JSON structure.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"stringify\": false,\n  \"access_key\": \"\",\n  \"template_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_list_images",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/images",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "images"
          ]
        },
        "description": "Tool to list available stock images. Use when you need to retrieve image names optionally filtered by folder.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"folder\": \"\",\n  \"accessKey\": \"\",\n  \"includeSubFolders\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_list_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "templates"
          ]
        },
        "description": "Tool to list all templates available in the environment. Use when you need to retrieve template names, optionally filtered by folder with pagination support.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"folder\": \"\",\n  \"paging\": \"\",\n  \"pageSize\": \"\",\n  \"accessKey\": \"\",\n  \"pageToken\": \"\",\n  \"includeDetail\": \"\",\n  \"includeSubFolders\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_ping",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/ping",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "ping"
          ]
        },
        "description": "Tool to check connectivity to Docmosis Cloud services. Use when validating that the service endpoint is reachable before other operations.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docmosis_ping_docmosis_service",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/ping/docmosis/service",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "ping",
            "docmosis",
            "service"
          ]
        },
        "description": "Tool to check that Docmosis Cloud services are online and at least one server is listening. Use for diagnostics and monitoring to verify service availability.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}