{
  "info": {
    "name": "Drop to CDN — mcp.ai",
    "description": "REST API for the Drop to CDN 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/drop_to_cdn",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "drop_to_cdn_delete_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "file"
          ]
        },
        "description": "Permanently and irreversibly delete a file or hosted page owned by the connected account. This cannot restore monthly upload quota already consumed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "drop_to_cdn_get_account_usage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/usage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "usage"
          ]
        },
        "description": "Return the connected account's plan and current upload/storage usage context for deciding whether an upload is appropriate.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "drop_to_cdn_get_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "file"
          ]
        },
        "description": "Get metadata and the public CDN URL for one file or hosted page owned by the connected account.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "drop_to_cdn_list_files",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/files",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "files"
          ]
        },
        "description": "Return one newest-first page of files and hosted pages owned by the connected account, with a cursor for the next page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "drop_to_cdn_publish_page",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/publish/page",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "publish",
            "page"
          ]
        },
        "description": "Publish HTML as a publicly hosted page and return its CDN URL. Each successful publish consumes monthly upload quota.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\",\n  \"never_expire\": false,\n  \"retention_days\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "drop_to_cdn_upload_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/upload/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "upload",
            "file"
          ]
        },
        "description": "Upload a file and return its public CDN URL and expiration metadata. Each successful upload consumes monthly upload quota even if the file is later deleted.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file\": {},\n  \"never_expire\": false,\n  \"retention_days\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}