{
  "info": {
    "name": "Cloudlayer — mcp.ai",
    "description": "REST API for the Cloudlayer 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/cloudlayer",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "cloudlayer_add_storage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/storage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "storage"
          ]
        },
        "description": "Add a user-owned S3-compatible storage configuration for storing generated assets. This action allows Enterprise plan users to configure their own S3-compatible storage (AWS S3, DigitalOcean Spaces, W",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"path\": \"\",\n  \"region\": \"\",\n  \"provider\": \"\",\n  \"accessKey\": \"\",\n  \"container\": \"\",\n  \"secretAccessKey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_convert_html_to_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/html/to/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "html",
            "to",
            "image"
          ]
        },
        "description": "Convert HTML content to an image (PNG, JPG, or WebP) using the v2 API endpoint. Renders the provided HTML string using a headless browser and returns job details with the generated image asset. Suppor",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\",\n  \"trim\": false,\n  \"async\": false,\n  \"delay\": 0,\n  \"scale\": 0,\n  \"width\": 0,\n  \"height\": 0,\n  \"inline\": false,\n  \"storage\": \"\",\n  \"timeout\": 0,\n  \"webhook\": \"\",\n  \"filename\": \"\",\n  \"timeZone\": \"\",\n  \"viewPort\": {},\n  \"imageType\": \"\",\n  \"landscape\": false,\n  \"projectId\": \"\",\n  \"waitUntil\": \"\",\n  \"autoScroll\": false,\n  \"transparent\": false,\n  \"generatePreview\": {},\n  \"waitForSelector\": {},\n  \"preferCSSPageSize\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_convert_html_to_pdf_v2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/html/to/pdf/v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "html",
            "to",
            "pdf",
            "v2"
          ]
        },
        "description": "Tool to convert HTML content to PDF using CloudLayer v2 API. Use when you need to generate a PDF from raw HTML with advanced options like custom paper size, margins, headers/footers, and viewport sett",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\",\n  \"async\": false,\n  \"delay\": 0,\n  \"scale\": 0,\n  \"width\": \"\",\n  \"format\": \"\",\n  \"height\": \"\",\n  \"inline\": false,\n  \"margin\": {},\n  \"storage\": \"\",\n  \"timeout\": 0,\n  \"webhook\": \"\",\n  \"filename\": \"\",\n  \"timeZone\": \"\",\n  \"viewPort\": {},\n  \"landscape\": false,\n  \"projectId\": \"\",\n  \"waitUntil\": \"\",\n  \"autoScroll\": false,\n  \"pageRanges\": \"\",\n  \"footerTemplate\": {},\n  \"headerTemplate\": {},\n  \"generatePreview\": \"\",\n  \"printBackground\": false,\n  \"waitForSelector\": {},\n  \"preferCSSPageSize\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_convert_url_to_pdf_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/url/to/pdf/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "url",
            "to",
            "pdf",
            "get"
          ]
        },
        "description": "Tool to convert a URL to PDF using GET request. Use when you need quick PDF conversion with minimal parameters and immediate result.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"timeout\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_delete_storage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/storage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "storage"
          ]
        },
        "description": "Tool to delete a specific user storage configuration. Use when you need to remove an external bucket configuration by its ID after confirming the ID is correct.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_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": "Tool to retrieve Cloudlayer account usage, credits, and document counts. Use when monitoring account limits and subscription status.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_get_asset",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/asset",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "asset"
          ]
        },
        "description": "Tool to retrieve a specific asset by its ID. Use when you need to fetch metadata or download URL of an existing asset after its generation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_get_job_by_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/job/by/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "job",
            "by",
            "id"
          ]
        },
        "description": "Retrieve details of a specific Cloudlayer job by its ID. Use this to check the status of an async job, get the asset download URL after completion, or view job parameters. Returns 401 if the job ID do",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_get_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "status"
          ]
        },
        "description": "Tool to test API reachability. Use when checking if the Cloudlayer API is available.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_get_storage_by_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/storage/by/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "storage",
            "by",
            "id"
          ]
        },
        "description": "Tool to retrieve a specific storage configuration by its ID. Use when you need to inspect or validate details of a user storage configuration.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_list_assets",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/assets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "assets"
          ]
        },
        "description": "List assets in your CloudLayer account with cursor-based pagination. Returns PDFs and images generated via HTML/URL conversion jobs. Use this to find asset IDs for further operations like downloading ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"start_after_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_list_jobs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/jobs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "jobs"
          ]
        },
        "description": "List jobs in your CloudLayer account with cursor-based pagination. Use when you need to view your recent jobs and their statuses.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"start_after_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_list_storage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/storage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "storage"
          ]
        },
        "description": "Retrieves all user storage configurations (S3-compatible buckets) for the authenticated Cloudlayer account. Use this to view configured external storage destinations where generated documents can be s",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_template_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/template/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "template",
            "to",
            "pdf"
          ]
        },
        "description": "Generate a PDF document from an HTML/Nunjucks template with dynamic data. Provide either: - A `templateId` for predefined templates from CloudLayer's template library, OR - A base64-encoded `template`",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"async\": false,\n  \"delay\": 0,\n  \"format\": \"\",\n  \"inline\": false,\n  \"margin\": {},\n  \"storage\": \"\",\n  \"filename\": \"\",\n  \"template\": \"\",\n  \"landscape\": false,\n  \"autoScroll\": false,\n  \"pageRanges\": \"\",\n  \"templateId\": \"\",\n  \"footerTemplate\": \"\",\n  \"headerTemplate\": \"\",\n  \"generatePreview\": \"\",\n  \"printBackground\": false,\n  \"preferCSSPageSize\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_url_to_image_post",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/url/to/image/post",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "url",
            "to",
            "image",
            "post"
          ]
        },
        "description": "Converts a webpage URL to an image (PNG, JPG, or WebP). Supports custom viewport settings, wait conditions, transparency, auto-scroll, and thumbnail preview generation. The API is asynchronous - use t",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"clip\": {},\n  \"trim\": false,\n  \"delay\": 0,\n  \"scale\": 0,\n  \"inline\": false,\n  \"cookies\": \"\",\n  \"headers\": {},\n  \"quality\": 0,\n  \"timeout\": 0,\n  \"filename\": \"\",\n  \"timeZone\": \"\",\n  \"viewPort\": {},\n  \"imageType\": \"\",\n  \"userAgent\": \"\",\n  \"waitUntil\": \"\",\n  \"autoScroll\": false,\n  \"transparent\": false,\n  \"authentication\": {},\n  \"generatePreview\": {},\n  \"waitForSelector\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudlayer_url_to_pdf_post",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/url/to/pdf/post",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "url",
            "to",
            "pdf",
            "post"
          ]
        },
        "description": "Tool to convert a URL to PDF with full parameter support. Use when you need advanced control over paper size, margins, headers/footers, or webhook callbacks.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"delay\": 0,\n  \"scale\": 0,\n  \"width\": \"\",\n  \"format\": \"\",\n  \"height\": \"\",\n  \"inline\": false,\n  \"margin\": {},\n  \"cookies\": \"\",\n  \"timeout\": 0,\n  \"filename\": \"\",\n  \"viewPort\": {},\n  \"landscape\": false,\n  \"projectId\": \"\",\n  \"waitUntil\": \"\",\n  \"autoScroll\": false,\n  \"pageRanges\": \"\",\n  \"authentication\": {},\n  \"footerTemplate\": \"\",\n  \"headerTemplate\": \"\",\n  \"printBackground\": false,\n  \"preferCSSPageSize\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}