{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "Storage API reference | Edge Docs",
  "headline": "Storage API reference | Edge Docs",
  "description": "Manage storage buckets, S3 access keys, objects, presigned URLs and bucket metrics over the Edge REST API, with endpoint tables and curl examples.",
  "url": "https://edge.network/docs/api/storage",
  "image": "https://edge.network/og/docs__api__storage.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"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Storage",
        "item": "https://edge.network/docs/api/storage"
      }
    ]
  },
  "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 All endpoints require authentication . For high-volume object traffic, use the S3-compatible endpoint at storage.edge.network with any S3 SDK. See SDK examples .\n\n Quick start Copy Anchor Link \n\n Terminal Copy Text # Create a bucket \n curl -X POST https://edge.network/api/storage/buckets \\ \n -H \" Authorization: Bearer ek_live_... \" \\ \n -H \" Content-Type: application/json \" \\ \n -d &#x27; { \"name\": \"my-assets\" } &#x27; \n \n # Create S3 credentials \n curl -X POST https://edge.network/api/storage/keys \\ \n -H \" Authorization: Bearer ek_live_... \" \\ \n -H \" Content-Type: application/json \" \\ \n -d &#x27; { \"name\": \"app-uploads\" } &#x27; Buckets Copy Anchor Link \n\n Endpoint Description GET | POST /api/storage/buckets List / create buckets. Body: { name, notes? } GET | PATCH | DELETE /api/storage/buckets/:name Get / update notes / delete (bucket must be empty) PATCH /api/storage/buckets/:name/public Toggle public access. Body: { \"is_public\": true } GET | POST /api/storage/buckets/:name/lifecycle List / add expiry rules. Body: { prefix?, expire_days } DELETE .../lifecycle/:ruleId Remove a lifecycle rule GET /api/storage/usage Total bytes, object counts and per-bucket breakdown S3 access keys Copy Anchor Link \n\n Endpoint Description GET | POST /api/storage/keys List / create S3 credentials. Body: { name?, permissions?, bucketScope? } DELETE /api/storage/keys/:id Delete credentials GET /api/storage/endpoint S3 connection details: { endpoint, port, region } These are separate from your account API keys. They authenticate S3 SDKs against storage.edge.network . See Access keys .\n\n Objects Copy Anchor Link \n\n Endpoint Description GET /api/storage/buckets/:name/objects?prefix=&marker= List objects, optionally under a prefix POST /api/storage/buckets/:name/upload Upload (multipart or raw body) GET /api/storage/buckets/:name/download/* Download an object (also accepts presigned ?token= ) DELETE /api/storage/buckets/:name/objects/* Delete an object POST /api/storage/buckets/:name/copy Copy within a bucket. Body: { source_key, dest_key } POST /api/storage/buckets/:name/folders Create a folder. Body: { path } POST /api/storage/buckets/:name/download-zip Download up to 100 objects as a ZIP. Body: { keys: [...] } Presigned URLs Copy Anchor Link \n\n Generate time-limited upload or download URLs to hand to browsers and untrusted clients:\n\n Terminal Copy Text curl -X POST https://edge.network/api/storage/buckets/my-assets/presign \\ \n -H \" Authorization: Bearer ek_live_... \" \\ \n -H \" Content-Type: application/json \" \\ \n -d &#x27; { \"key\": \"uploads/photo.jpg\", \"action\": \"upload\", \"expires\": \"1h\" } &#x27; Response:\n\n JSON Copy Text { \n \" url \": \" https://storage.edge.network/... \", \n \" method \": \" PUT \", \n \" expires \": \" 1h \" \n } expires accepts values like 30m , 1h , 7d (default 1h , max 7d ). See Presigned URLs .\n\n Activity and metrics Copy Anchor Link \n\n Endpoint Description GET /api/storage/buckets/:name/events?limit=50 Bucket activity log GET /api/storage/buckets/:name/metrics?hours=168 Hourly request and bandwidth metrics GET .../metrics/summary?hours=24 Aggregated metrics for a window GET .../metrics/top-objects?limit=10 Most-accessed objects GET .../metrics/file-types Storage broken down by file type Something unclear or out of date? Tell us , or read this page as Markdown .\n\n DNS\n\n Previous\n\n Shield\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "Storage 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/storage",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-28T22:16:38.738Z"
}