{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "Edge REST API reference | Edge Docs",
  "headline": "Edge REST API reference | Edge Docs",
  "description": "Manage every Edge resource over HTTPS with the same REST API that powers the Edge console and CLI: base URL, API key authentication, errors and rate limits.",
  "url": "https://edge.network/docs/api",
  "image": "https://edge.network/og/docs__api.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Docs",
        "item": "https://edge.network/docs"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Api",
        "item": "https://edge.network/docs/api"
      }
    ]
  },
  "section": "documentation/api",
  "articleBody": "Docs CDN Deployments, domains, caching, purging and on-the-fly image optimisation. Getting started \n Deployments \n Domains & SSL \n Compute Virtual machines in seconds: networking, firewalls, backups and SSH keys. Getting started \n Creating VMs \n Managing VMs \n DNS Zones, records, geo-routing, backups and development domains. Getting started \n Zone management \n DNS records \n Storage S3-compatible buckets, access keys, presigned URLs and multipart uploads. Getting started \n Buckets \n Access keys \n Shield Privacy-first bot protection: widget modes, siteverify and verified agents. Getting started \n Widget modes \n JavaScript API \n Assist AI answers from your own content: widget, ingestion and the API. Getting started \n Widget & embedding \n Content ingestion \n Pulse Uptime monitoring from several locations: checks, incidents, alerts and status pages. Getting started \n Check types \n Locations & intervals \n REST API Manage every Edge resource over HTTPS with API keys. Authentication \n Errors \n Versioning \n Compute \n CDN \n DNS \n CLI One binary for macOS, Linux and Windows to script every product. Installation \n Authentication \n Compute commands \n CDN commands \n DNS commands \n Storage commands \n Dev tooling Command palette and keyboard shortcuts across the console. Command palette \n Agent tooling Let AI agents deploy and manage infrastructure: discovery, MCP and access codes. Start with the overview MCP server \n MCP tool reference \n Connect your tool \n Framework wrappers \n Self-signup \n Access codes \n Discovery endpoint \n Deploy a static site \n Deploy an app \n Projects \n Bot protection \n AI answers \n Uptime monitoring \n Account & support Teams, security, audit logs, alerts, billing tools and support. Start with the overview Teams \n Referral programme \n Cost Advisor \n Security \n Two-factor auth \n Audit log \n Alerts \n Support tickets \n Search the docs ⌘K Console Products\n\n CDN Compute DNS Storage Shield Assist Pulse Developer tools\n\n REST API Overview Authentication Errors Versioning Compute CDN DNS Storage Shield Pulse CLI Dev tooling Agents\n\n Agent tooling Account\n\n Account & support The REST API is also what the Edge CLI uses under the hood.\n\n Base URL Copy Anchor Link \n\n Output Copy Text https://edge.network/api All requests use HTTPS. Request and response bodies are JSON. Send Content-Type: application/json on POST , PUT and PATCH requests.\n\n Authentication Copy Anchor Link \n\n Authenticate with an API key passed as a Bearer token. Keys are created in the console and start with ek_live_ .\n\n Terminal Copy Text curl https://edge.network/api/compute/vms \\ \n -H \" Authorization: Bearer ek_live_... \" See Authentication for creating and managing keys.\n\n Quick start: create a VM Copy Anchor Link \n\n Terminal Copy Text curl -X POST https://edge.network/api/compute/vms \\ \n -H \" Authorization: Bearer ek_live_... \" \\ \n -H \" Content-Type: application/json \" \\ \n -d &#x27; { \n \"name\": \"web-01\", \n \"osTemplate\": \"ubuntu-24.04\", \n \"vcpu\": 2, \n \"ram\": 4, \n \"disk\": 80, \n \"region\": \"london\" \n } &#x27; The response includes the new VM object and, if no SSH key was attached, a generated root password. Full request and response details are on the Compute API page.\n\n API reference Copy Anchor Link \n\n Product Base path Covers Compute /api/compute VMs, SSH keys, firewall, startup scripts, backups CDN /api/cdn Deployments, domains, cache purging, analytics DNS /api/dns Zones, records, nameservers Storage /api/storage Buckets, S3 access keys, objects, presigned URLs Shield /api/shield Widget management and stats Pulse /api/pulse Checks, results, incidents, alert channels, status pages Errors Copy Anchor Link \n\n Errors return an appropriate HTTP status code and a JSON body with a message and a stable machine-readable code:\n\n JSON Copy Text { \n \" error \": \" VM not found \", \n \" code \": \" NOT_FOUND \" \n } See Errors for the full list of codes and rate-limit behaviour.\n\n Rate limits Copy Anchor Link \n\n Requests are rate limited to 600 requests per minute per IP across the API. Every response includes X-RateLimit-Limit and X-RateLimit-Remaining headers; exceeding the limit returns 429 with a Retry-After header.\n\n Other ways to integrate Copy Anchor Link \n\n Edge CLI : A command-line client for this API. Ideal for scripts and CI pipelines.\n Agent API : A self-describing API for AI agents, with scoped tokens, budgets and dry-run support.\n In this section\n\n Authentication\n\n Authenticate with the Edge REST API using API keys: create and revoke keys, send them as Bearer tokens, manage them via the API, and when to use agent codes.\n\n Errors\n\n Error format, HTTP status codes, machine-readable error codes and rate-limit behaviour and headers for the Edge REST API, with example responses.\n\n Versioning & deprecation\n\n Edge Network API versioning and deprecation policy: what counts as a breaking change, how deprecations are signalled, and how much notice integrations get.\n\n Compute API\n\n Create and manage VMs, SSH keys, security groups, snapshots, backups, private networks and startup scripts over the Edge REST API.\n\n CDN API\n\n Manage CDN deployments, domains, SSL, cache purging and analytics over the Edge REST API, with endpoint reference tables and curl examples.\n\n DNS API\n\n Manage DNS zones, records, zone backups and development domains over the Edge REST API, with endpoint reference tables and curl examples.\n\n Storage API\n\n Manage storage buckets, S3 access keys, objects, presigned URLs and bucket metrics over the Edge REST API, with endpoint tables and curl examples.\n\n Shield API\n\n Create and manage Edge Shield bot-protection widgets and view protection stats over the Edge REST API. Token verification runs on shield.edge.network.\n\n Pulse API\n\n Manage Edge Pulse checks, results, incidents, alert channels and status pages over the Edge REST API.\n\n Something unclear or out of date? Tell us , or read this page as Markdown .\n\n Limits & billing\n\n Previous\n\n Authentication\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "REST API"
    },
    {
      "level": 2,
      "text": "In this section"
    },
    {
      "level": 3,
      "text": "Authentication"
    },
    {
      "level": 3,
      "text": "Errors"
    },
    {
      "level": 3,
      "text": "Versioning &amp; deprecation"
    },
    {
      "level": 3,
      "text": "Compute API"
    },
    {
      "level": 3,
      "text": "CDN API"
    },
    {
      "level": 3,
      "text": "DNS API"
    },
    {
      "level": 3,
      "text": "Storage API"
    },
    {
      "level": 3,
      "text": "Shield API"
    },
    {
      "level": 3,
      "text": "Pulse API"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/cdn/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Deployments",
      "url": "https://edge.network/docs/cdn/deployments"
    },
    {
      "@type": "WebPage",
      "name": "Domains &amp; SSL",
      "url": "https://edge.network/docs/cdn/domains"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/compute/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Creating VMs",
      "url": "https://edge.network/docs/compute/creating-vms"
    },
    {
      "@type": "WebPage",
      "name": "Managing VMs",
      "url": "https://edge.network/docs/compute/managing-vms"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/dns/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Zone management",
      "url": "https://edge.network/docs/dns/zones"
    },
    {
      "@type": "WebPage",
      "name": "DNS records",
      "url": "https://edge.network/docs/dns/records"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/storage/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Buckets",
      "url": "https://edge.network/docs/storage/buckets"
    },
    {
      "@type": "WebPage",
      "name": "Access keys",
      "url": "https://edge.network/docs/storage/access-keys"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/shield/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget modes",
      "url": "https://edge.network/docs/shield/widget-modes"
    },
    {
      "@type": "WebPage",
      "name": "JavaScript API",
      "url": "https://edge.network/docs/shield/js-api"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/assist/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget &amp; embedding",
      "url": "https://edge.network/docs/assist/widget"
    },
    {
      "@type": "WebPage",
      "name": "Content ingestion",
      "url": "https://edge.network/docs/assist/ingestion"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/pulse/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Check types",
      "url": "https://edge.network/docs/pulse/check-types"
    },
    {
      "@type": "WebPage",
      "name": "Locations &amp; intervals",
      "url": "https://edge.network/docs/pulse/locations"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Versioning",
      "url": "https://edge.network/docs/api/versioning"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/docs/api/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/docs/api/cdn"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/api",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-28T22:16:38.741Z"
}