Skip to content
Changelog

Report a bug

BunnyCDN integration: operations for AI agents

BunnyCDN connects to Type.com as an integration. This page lists the 322 operations documented for Claude and Codex in Type.com: 153 read, 105 write, 64 destructive.

About BunnyCDN

BunnyCDN is a powerful content delivery network (CDN) offering an API to manage and deliver content globally with ease.

Categories: Developer Tools & IT

How to connect BunnyCDN to Type.com

Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

322 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.

322 operations listed.

Countries

  • Read

    Get Country List

    GET /country

DNS Zone

  • Read

    List DNS Zones

    GET /dnszone

  • Read

    Get DNS Zone

    GET /dnszone/{id}

  • Read

    Dns Zone Public Export

    GET /dnszone/{id}/export

  • Read

    Check the DNS zone availability

    POST /dnszone/checkavailability

  • Read

    List DNS Zone Records

    GET /dnszone/{zoneId}/records

  • Read

    Get DNS Query Statistics

    GET /dnszone/{id}/statistics

  • Read

    Get the latest DNS record scan result for a DNS Zone

    GET /dnszone/{zoneId}/records/scan

  • Write

    Add DNS Zone

    POST /dnszone

  • Write

    Update DNS Zones

    POST /dnszone/{id}

  • Write

    Update DNS Record

    POST /dnszone/{zoneId}/records/{id}

  • Write

    Import DNS Records

    POST /dnszone/{zoneId}/import

  • Write

    Issue new wildcard certificate

    POST /dnszone/{zoneId}/certificate/issue

  • Write

    Enable DNSSEC on a DNS Zone

    POST /dnszone/{id}/dnssec

  • Write

    Trigger a background scan for pre-existing DNS records. Can use ZoneId for existing zones or Domain for pre-zone creati…

    Trigger a background scan for pre-existing DNS records. Can use ZoneId for existing zones or Domain for pre-zone creation scenarios.

  • Destructive

    Delete DNS Zone

    DELETE /dnszone/{id}

  • Destructive

    Add DNS Record

    PUT /dnszone/{zoneId}/records

  • Destructive

    Delete DNS Record

    DELETE /dnszone/{zoneId}/records/{id}

  • Destructive

    Disable DNSSEC on a DNS Zone

    DELETE /dnszone/{id}/dnssec

Pull Zone

  • Read

    List Pull Zones

    GET /pullzone

  • Read

    Count Pull Zones

    GET /pullzone/count

  • Read

    Get Pull Zone

    GET /pullzone/{id}

  • Read

    Load Free Certificate

    GET /pullzone/loadFreeCertificate

  • Read

    Check the pull zone availability

    POST /pullzone/checkavailability

  • Write

    Add Pull Zone

    POST /pullzone

  • Write

    Update Pull Zone

    POST /pullzone/{id}

  • Write

    Add/Update Edge Rule

    POST /pullzone/{pullZoneId}/edgerules/addOrUpdate

  • Write

    Set Edge Rule Enabled

    POST /pullzone/{pullZoneId}/edgerules/{edgeRuleId}/setEdgeRuleEnabled

  • Write

    Change hostname private key type

    POST /pullzone/{id}/updatePrivateKeyType

  • Write

    Request External DNS Certificate

    POST /pullzone/requestExternalDnsCertificate

  • Write

    Complete External DNS Certificate

    POST /pullzone/completeExternalDnsCertificate

  • Write

    Request External HTTP Certificate

    POST /pullzone/requestExternalHttpCertificate

  • Write

    Complete External HTTP Certificate

    POST /pullzone/completeExternalHttpCertificate

  • Write

    Add Custom Certificate

    POST /pullzone/{id}/addCertificate

  • Write

    Add Custom Hostname

    POST /pullzone/{id}/addHostname

  • Write

    Set Force SSL

    POST /pullzone/{id}/setForceSSL

  • Write

    Reset Token Key

    POST /pullzone/{id}/resetSecurityKey

  • Write

    Add Allowed Referer

    POST /pullzone/{id}/addAllowedReferrer

  • Write

    Add Blocked Referer

    POST /pullzone/{id}/addBlockedReferrer

  • Write

    Add Blocked IP

    POST /pullzone/{id}/addBlockedIp

  • Destructive

    Delete Pull Zone

    DELETE /pullzone/{id}

  • Destructive

    Delete Edge Rule

    DELETE /pullzone/{pullZoneId}/edgerules/{edgeRuleId}

  • Destructive

    Purge Cache

    POST /pullzone/{id}/purgeCache

  • Destructive

    Remove Certificate

    DELETE /pullzone/{id}/removeCertificate

  • Destructive

    Remove Custom Hostname

    DELETE /pullzone/{id}/removeHostname

  • Destructive

    Remove Allowed Referer

    POST /pullzone/{id}/removeAllowedReferrer

  • Destructive

    Remove Blocked Referer

    POST /pullzone/{id}/removeBlockedReferrer

  • Destructive

    Remove Blocked IP

    POST /pullzone/{id}/removeBlockedIp

Purge

  • Destructive

    Purge URL

    POST /purge

Region

  • Read

    Region list

    GET /region

Storage Zone

  • Read

    Get Storage Zone Regions

    GET /storagezone/regions

  • Read

    List Storage Zones

    GET /storagezone

  • Read

    Check the storage zone availability

    POST /storagezone/checkavailability

  • Read

    Get Storage Zone

    GET /storagezone/{id}

  • Read

    Get Storage Zone Egress Statistics

    GET /storagezone/{id}/statistics/egress

  • Read

    Get Storage Zone Statistics

    GET /storagezone/{id}/statistics

  • Write

    Add Storage Zone

    POST /storagezone

  • Write

    Update Storage Zone

    POST /storagezone/{id}

  • Write

    Reset Password

    POST /storagezone/{id}/resetPassword

  • Write

    Reset Read-Only Password

    POST /storagezone/resetReadOnlyPassword

  • Destructive

    Delete Storage Zone

    DELETE /storagezone/{id}

Stream Video Library

  • Read

    List Video Libraries

    GET /videolibrary

  • Read

    Get Video Library

    GET /videolibrary/{id}

  • Read

    Get Languages

    GET /videolibrary/languages

  • Read

    Get Video Library Transcribing Statistics

    GET /videolibrary/{id}/transcribing/statistics

  • Read

    Get Video Library DRM Statistics

    GET /videolibrary/{id}/drm/statistics

  • Write

    Add Allowed Referer

    POST /videolibrary/{id}/addAllowedReferrer

  • Write

    Add Blocked Referer

    POST /videolibrary/{id}/addBlockedReferrer

  • Write

    Add Video Library

    POST /videolibrary

  • Write

    Update Video Library

    POST /videolibrary/{id}

  • Write

    Reset API Key

    POST /videolibrary/{id}/resetApiKey

  • Write

    Reset Read Only API Key

    POST /videolibrary/{id}/resetReadOnlyApiKey

  • Destructive

    Add Watermark

    PUT /videolibrary/{id}/watermark

  • Destructive

    Delete Watermark

    DELETE /videolibrary/{id}/watermark

  • Destructive

    Delete Video Library

    DELETE /videolibrary/{id}

  • Destructive

    Remove Allowed Referer

    POST /videolibrary/{id}/removeAllowedReferrer

  • Destructive

    Remove Blocked Referer

    POST /videolibrary/{id}/removeBlockedReferrer

  • Destructive

    Add Live Thumbnail

    PUT /videolibrary/{id}/live/thumbnail

  • Destructive

    Delete Live Thumbnail

    DELETE /videolibrary/{id}/live/thumbnail

  • Destructive

    Add Live Watermark

    PUT /videolibrary/{id}/live/watermark

  • Destructive

    Delete Live Watermark

    DELETE /videolibrary/{id}/live/watermark

User

  • Write

    Close the account

    Close the current user account

Audit Log

  • Read

    Get User Audit Log Endpoint Get User Audit Log

    GET /user/audit/{date}

Statistics

  • Read

    Get optimizer statistics

    GET /pullzone/{pullZoneId}/optimizer/statistics

  • Read

    Get Origin Shield Queue Statistics

    GET /pullzone/{pullZoneId}/originshield/queuestatistics

  • Read

    Get SafeHop Statistics

    GET /pullzone/{pullZoneId}/safehop/statistics

  • Read

    Get Statistics

    GET /statistics

Search

  • Read

    Global Search

    GET /search

Pricing

  • Read

    Get active price for a resource and optionally cost estimate if usage amount provided

    GET /v1/pricing/{source}/{resourceId}

Load Balancer

  • Read

    Get the list of Load Balancer profiles

    GET /loadbalancer

  • Read

    Get a Load Balancer profile

    GET /loadbalancer/{loadBalancerId}

  • Read

    Get Load Balancer statistics

    GET /loadbalancer/{loadBalancerId}/statistics

  • Read

    Get the pull zones attached to a Load Balancer

    GET /loadbalancer/{loadBalancerId}/pullzones

  • Read

    Get statistics roll-ups for all Load Balancers on the account

    GET /loadbalancer/statistics

  • Read

    Get current-period request usage and pricing for a Load Balancer

    GET /loadbalancer/{loadBalancerId}/usage

  • Write

    Add a new origin to an origin group

    POST /loadbalancer/{loadBalancerId}/origingroup/{originGroupId}/origin

  • Write

    Update an existing origin

    POST /loadbalancer/{loadBalancerId}/origingroup/{originGroupId}/origin/{originId}

  • Write

    Add a new origin group to a Load Balancer profile

    POST /loadbalancer/{loadBalancerId}/origingroup

  • Write

    Update an origin group in a Load Balancer profile

    POST /loadbalancer/{loadBalancerId}/origingroup/{id}

  • Write

    Create a new Load Balancer profile

    POST /loadbalancer

  • Write

    Update a Load Balancer profile

    POST /loadbalancer/{loadBalancerId}

  • Destructive

    Delete an origin from an origin group

    DELETE /loadbalancer/{loadBalancerId}/origingroup/{originGroupId}/origin/{originId}

  • Destructive

    Delete an origin group from a Load Balancer profile

    DELETE /loadbalancer/{loadBalancerId}/origingroup/{id}

  • Destructive

    Delete a Load Balancer profile

    DELETE /loadbalancer/{loadBalancerId}

Billing

  • Read

    Get Billing Details

    Get the billing status details

  • Read

    Download Payment Request Invoice PDF

    GET /billing/payment-request-invoice/{id}/pdf

  • Read

    Get Pending Payment Requests

    GET /billing/payment-requests

  • Read

    Get Billing Summary Document

    GET /billing/summary/{billingRecordId}/pdf

  • Read

    Get Billing Summary

    GET /billing/summary

API Keys

  • Read

    List API Keys

    GET /apikey

Affiliate

  • Read

    Get affiliate details

    GET /billing/affiliate

Manage Files

  • Read

    Download File

    Returns the stored file at the given path. If the file does not exist, a 404 response will be returned.

  • Destructive

    Upload File

    Upload a file to a storage zone based on the URL path. If the directory tree does not exist, it will be created automatically. The file content should be sent as the body of the request without any type of encoding.

  • Destructive

    Delete File

    Delete an object from the storage zone. In case the object is a directory all the data in it will be recursively deleted as well.

Browse Files

  • Read

    List Files

    Retrieve a list of files and directories located in the given directory.

Manage Collections

  • Read

    Get Collection

    Returns the details of a collection. Collections can group both videos and live streams, reflected separately in VideoCount and LiveStreamCount; PreviewImageUrls only reflects the videos in the collection.

  • Read

    Get Collection List

    Returns a paginated list of collections for the library. Collections can group both videos and live streams, reflected separately in VideoCount and LiveStreamCount; preview thumbnails only reflect the videos in each collection.

  • Write

    Update Collection

    POST /library/{libraryId}/collections/{collectionId}

  • Write

    Create Collection

    POST /library/{libraryId}/collections

  • Destructive

    Delete Collection

    Permanently deletes the collection together with every video and live stream it contains — nothing is moved out of the collection first, it is deleted along with it. Fails with 400 if the collection contains a currently running live stream; stop it before deleting the collection.

Encoding Statistics

  • Read

    Get Encoding Statistics

    Returns video encoding seconds for the library, split into premium and free tier. Each includes billable (normalized) and output seconds over time, plus totals by video codec, resolution, and JIT vs standard encoding. Data is available starting 2026-06-15.

Manage Videos

  • Read

    Get Video

    GET /library/{libraryId}/videos/{videoId}

  • Read

    Get Video Heatmap

    Returns the attention heatmap for a specific video, showing relative viewer interest across the timeline. May be unavailable if the feature is disabled or there isn't enough viewing data.

  • Read

    Get Video play data

    Returns playback URLs and metadata for the video. For libraries with token authentication enabled, token and expires must be a valid signed pair or the request is rejected. If the library also has CDN token authentication enabled, the returned CDN URLs are signed.

  • Read

    Get Video heatmap data

    Returns raw heatmap data for the video, used to render the attention heatmap on the player timeline. Returns an empty string if the library has heatmaps disabled or no heatmap data exists yet.

  • Read

    Get Video Statistics

    Returns time-series views and watch time, plus country-level aggregates, at the library level or for a specific video. Control the time window with dateFrom/dateTo and the granularity with hourly. Statistics are available for the last 1 year.

  • Read

    List Videos

    GET /library/{libraryId}/videos

  • Read

    Fetch Video

    POST /library/{libraryId}/videos/fetch

  • Read

    Video resolutions info

    GET /library/{libraryId}/videos/{videoId}/resolutions

  • Read

    Get video storage size info

    GET /library/{libraryId}/videos/{videoId}/storage

  • Write

    Update Video

    POST /library/{libraryId}/videos/{videoId}

  • Write

    Reencode Video

    Re-encodes the video from its stored original file. Requires the original file to still be present in storage. If the library has transcribing enabled, this also re-queues (and re-bills) transcription.

  • Write

    Repackage Video

    Repackages the video from its existing .ts/.m4s segments without re-transcoding, primarily used to apply Enterprise DRM.

  • Write

    Create Video

    POST /library/{libraryId}/videos

  • Write

    Set Thumbnail

    Sets the video's thumbnail. If thumbnailUrl is omitted, the thumbnail is read from the request body as a raw image upload. If thumbnailUrl is one of thumbnail1.jpg…thumbnail5.jpg, an existing auto-generated thumbnail for the video is used instead.

  • Write

    Add Caption

    POST /library/{libraryId}/videos/{videoId}/captions/{srclang}

  • Write

    Transcribe video

    Queues transcription for the video, generating captions. By default this is blocked if the video was already auto-transcribed; set force to true to re-queue (and re-bill) transcription anyway.

  • Write

    Trigger Smart actions

    Queues Smart Actions (title, description, chapters and/or moments generation) for a video that already has captions.

  • Destructive

    Upload Video

    PUT /library/{libraryId}/videos/{videoId}

  • Destructive

    Delete Video

    Deletes the video. This cannot be undone. The video stops appearing in lookups right away, but playback may still be possible for some time afterward before access is fully revoked.

  • Destructive

    Add output codec to video

    Encodes and adds an additional output codec to an already-encoded video. Requires Premium Encoding to be enabled for the library and the codec to already be enabled for the library, and fails if the original source file is missing or the codec was already processed.

  • Destructive

    Delete Caption

    DELETE /library/{libraryId}/videos/{videoId}/captions/{srclang}

  • Destructive

    Cleanup unconfigured resolutions

    Deletes stored resolution files that are no longer configured for the library, or the specific resolutions passed in resolutionsToDelete/allResolutions. This cannot be undone.

OEmbed

  • Read

    Get oEmbed data

    Implements the oEmbed specification (oembed.com) for bunny.net video embed URLs, allowing third-party sites and tools to auto-generate an embeddable player for a pasted video link. url must be a bunny.net player URL for an existing video — either the legacy player (e.g.

Access Lists

  • Read

    Get all Access Lists available for a Shield Zone

    GET /shield/shield-zone/{shieldZoneId}/access-lists

  • Read

    Get the specified Custom Access List associated with a Shield Zone

    GET /shield/shield-zone/{shieldZoneId}/access-lists/{id}

  • Read

    Get all Access Lists API enumeration types and their values

    GET /shield/shield-zone/{shieldZoneId}/access-lists/enums

  • Write

    Create a new Custom Access List associated with a Shield Zone

    POST /shield/shield-zone/{shieldZoneId}/access-lists

  • Write

    Update Access List Configuration for a Shield Zone

    PATCH /shield/shield-zone/{shieldZoneId}/access-lists/configurations/{id}

  • Write

    Update the specified Custom Access List associated with a Shield Zone

    PATCH /shield/shield-zone/{shieldZoneId}/access-lists/{id}

  • Destructive

    Delete the specified Custom Access List associated with a Shield Zone

    DELETE /shield/shield-zone/{shieldZoneId}/access-lists/{id}

API Guardian

  • Read

    Get the API Guardian configuration and endpoints.

    GET /shield/shield-zone/{shieldZoneId}/api-guardian

  • Read

    Get all API Guardian enumeration types and their values

    GET /shield/shield-zone/{shieldZoneId}/api-guardian/enums

  • Write

    Update the API Guardian configuration (enabled, execution mode, body limit action)

    PATCH /shield/shield-zone/{shieldZoneId}/api-guardian

  • Write

    Update your API Guardian Endpoint configuration

    PATCH /shield/shield-zone/{shieldZoneId}/api-guardian/endpoint/{endpointId}

  • Write

    Upload your OpenAPI specification

    POST /shield/shield-zone/{shieldZoneId}/api-guardian/spec

  • Write

    Update your OpenAPI specification

    PATCH /shield/shield-zone/{shieldZoneId}/api-guardian/spec

Bot Categorization

  • Read

    List bots available for explicit allow/block configuration on this Shield Zone, grouped by category.

    GET /shield/shield-zone/{shieldZoneId}/bot-categorization

  • Destructive

    Set or clear the action applied to a categorised bot for this Shield Zone.

    PUT /shield/shield-zone/{shieldZoneId}/bot-categorization/bots/{botId}

  • Destructive

    Set or clear the action applied to every bot in a category for this Shield Zone.

    PUT /shield/shield-zone/{shieldZoneId}/bot-categorization/categories/{category}

Bot Detection

  • Read

    Your current Bot Detection configuration

    GET /shield/shield-zone/{shieldZoneId}/bot-detection

  • Write

    Update your current Bot Detection configuration

    PATCH /shield/shield-zone/{shieldZoneId}/bot-detection

Custom Response Pages

  • Read

    Get a custom HTML response page for a Shield Zone

    GET /shield/shield-zone/{shieldZoneId}/custom-page/{pageType}

  • Destructive

    Upload a custom HTML response page for a Shield Zone

    PUT /shield/shield-zone/{shieldZoneId}/custom-page/{pageType}

  • Destructive

    Delete a custom HTML response page for a Shield Zone

    DELETE /shield/shield-zone/{shieldZoneId}/custom-page/{pageType}

DDo S

  • Read

    List of all DDoS Enum Mappings

    GET /shield/ddos/enums

Event Logs

  • Read

    Get Event Logs for Shield Zone

    GET /shield/event-logs/{shieldZoneId}/{date}/{continuationToken}

  • Read

    Search, filter and group Event Logs for a Shield Zone

    POST /shield/event-logs/{shieldZoneId}/search

  • Read

    Export the full filtered Event Logs set for a Shield Zone as CSV

    POST /shield/event-logs/{shieldZoneId}/export

Metrics

  • Read

    Get the overage breakdown for the specified Shield Zone for a given month, segmented by billing plan changes

    GET /shield/metrics/overages/{shieldZoneId}

  • Read

    Get an overview of metrics for the specified Shield Zone

    GET /shield/metrics/overview/{shieldZoneId}

  • Read

    Get a detailed metrics overview for the specified Shield Zone within the selected time range and resolution

    GET /shield/metrics/overview/{shieldZoneId}/detailed

  • Read

    Get aggregated rate limit metrics for the specified Shield Zone

    GET /shield/metrics/rate-limits/{shieldZoneId}

  • Read

    Get detailed metrics for the specified Rate Limit

    GET /shield/metrics/rate-limit/{id}

  • Read

    Get metrics for a specific WAF Rule within the specified Shield Zone

    GET /shield/metrics/shield-zone/{shieldZoneId}/waf-rule/{ruleId}

  • Read

    Get bot detection metrics for the specified Shield Zone

    GET /shield/metrics/shield-zone/{shieldZoneId}/bot-detection

  • Read

    Get upload scanning metrics for the specified Shield Zone

    GET /shield/metrics/shield-zone/{shieldZoneId}/upload-scanning

  • Read

    Get API Guardian metrics for the specified Shield Zone

    GET /shield/metrics/shield-zone/{shieldZoneId}/api-guardian

  • Read

    Get metrics for a specific API Guardian endpoint within the specified Shield Zone

    GET /shield/metrics/shield-zone/{shieldZoneId}/api-guardian/endpoint/{endpointId}

Promotions

  • Read

    Get the current Promotion State for your Account

    GET /shield/promo/state

Rate Limiting

  • Read

    Get Rate Limits for your Shield Zone

    GET /shield/rate-limits/{shieldZoneId}

  • Read

    Get Individual Rate Limit for your Shield Zone

    GET /shield/rate-limit/{id}

  • Write

    Update a Rate Limit configuration on your Shield Zone

    PATCH /shield/rate-limit/{id}

  • Write

    Create a Rate Limit for your Shield Zone

    POST /shield/rate-limit

  • Destructive

    Delete a Rate Limit on your Shield Zone

    DELETE /shield/rate-limit/{id}

Shield Zone

  • Read

    Get all of your Shield Zone Configurations

    GET /shield/shield-zones

  • Read

    Get Active Shield Zones for Pullzone Mapping

    GET /shield/shield-zones/pullzone-mapping

  • Read

    Get Singular Shield Zone Configuration

    GET /shield/shield-zone/{shieldZoneId}

  • Read

    Get Singular Shield Zone Configuration for PullZone

    GET /shield/shield-zone/get-by-pullzone/{pullZoneId}

  • Read

    Get the recommended defaults for creating a Shield Zone

    GET /shield/shield-zone/defaults

  • Write

    Create a Shield Zone in under-attack mode for your PullZone

    POST /shield/shield-zone/under-attack

  • Write

    Create a Shield Zone for your PullZone

    POST /shield/shield-zone

  • Write

    Update your Shield Zone configuration

    PATCH /shield/shield-zone

Upload Scanning

  • Read

    Get your Current Upload Scanning Configuration

    GET /shield/shield-zone/{shieldZoneId}/upload-scanning

  • Write

    Update your Upload Scanning Configuration

    PATCH /shield/shield-zone/{shieldZoneId}/upload-scanning

WAF

  • Read

    Retrieve all available WAF rules for a Shield Zone

    GET /shield/waf/rules/{shieldZoneId}

  • Read

    Retrieve WAF rules segmented by subscription plan

    GET /shield/waf/rules/plan-segmentation

  • Read

    Review all triggered WAF rules for the specified Shield Zone

    GET /shield/waf/rules/review-triggered/{shieldZoneId}

  • Read

    Retrieve an AI recommendation for a triggered WAF rule

    GET /shield/waf/rules/review-triggered/ai-recommendation/{shieldZoneId}/{ruleId}

  • Read

    Retrieve custom WAF rules configured for the specified Shield Zone

    GET /shield/waf/custom-rules/{shieldZoneId}

  • Read

    Retrieve a specific custom WAF rule

    GET /shield/waf/custom-rule/{id}

  • Read

    Retrieve all available WAF profiles

    GET /shield/waf/profiles

  • Read

    Retrieve all available WAF enum mappings

    GET /shield/waf/enums

  • Read

    Retrieve the default WAF engine configuration

    GET /shield/waf/engine-config

  • Write

    Review and update the action of a triggered WAF rule

    POST /shield/waf/rules/review-triggered/{shieldZoneId}

  • Write

    Update an existing custom WAF rule

    PATCH /shield/waf/custom-rule/{id}

  • Write

    Create a new custom WAF rule

    POST /shield/waf/custom-rule

  • Destructive

    Delete a custom WAF rule

    DELETE /shield/waf/custom-rule/{id}

Code

  • Read

    Get Code

    GET /compute/script/{id}/code

  • Write

    Set Code

    POST /compute/script/{id}/code

Edge Script

  • Read

    Get Edge Script

    GET /compute/script/{id}

  • Read

    Get Edge Script Statistics

    GET /compute/script/{id}/statistics

  • Read

    List Edge Scripts

    GET /compute/script

  • Write

    Update Edge Script

    POST /compute/script/{id}

  • Write

    Add Edge Script

    POST /compute/script

  • Write

    Rotate Deployment Key

    POST /compute/script/{id}/deploymentKey/rotate

  • Destructive

    Delete Edge Script

    DELETE /compute/script/{id}

Variable

  • Read

    Get Variable

    GET /compute/script/{id}/variables/{variableId}

  • Write

    Add Variable

    POST /compute/script/{id}/variables/add

  • Write

    Update Variable

    POST /compute/script/{id}/variables/{variableId}

  • Destructive

    Delete Variable

    DELETE /compute/script/{id}/variables/{variableId}

  • Destructive

    Upsert Variable

    PUT /compute/script/{id}/variables

Secret

  • Read

    List Secrets

    GET /compute/script/{id}/secrets

  • Write

    Add Secret

    POST /compute/script/{id}/secrets

  • Write

    Update Secret

    POST /compute/script/{id}/secrets/{secretId}

  • Destructive

    Upsert Secret

    PUT /compute/script/{id}/secrets

  • Destructive

    Delete Secret

    DELETE /compute/script/{id}/secrets/{secretId}

Release

  • Read

    Get Active Release

    GET /compute/script/{id}/releases/active

  • Read

    Get Releases

    GET /compute/script/{id}/releases

  • Write

    Publish Release

    POST /compute/script/{id}/publish

  • Write

    Publish Release

    POST /compute/script/{id}/publish/{uuid}

Database Group

  • Read

    List

    List database groups the user has access to.

  • Read

    Read

    Read a DatabaseGroup

  • Read

    Statistics

    Get the associated stats for a Database Group. The buckets are return by the starting hour.

  • Read

    Aggregated Usage

    Get the aggregated usage for the time period for a Database Group.

  • Write

    Create

    Create a new DatabaseGroup for the user.

  • Write

    Update

    Update a DatabaseGroup for the user.

  • Write

    Generate Token

    Generate a new token for the whole DatabaseGroup

  • Write

    Invalidate Tokens

    Invalidates all authorization tokens for the specified group.

  • Destructive

    Delete Group

    Delete a DatabaseGroup for an user.

Database

  • Read

    List

    Returns a list of every databases of the user.

  • Read

    Read Database

    Returns a database belonging to the user.

  • Write

    Create Database

    Create a new database in a DatabaseGroup.

  • Write

    (preview) List versions

    List versions for a Database

  • Write

    (preview) Destructive Restore

    Restore Database generation, this is a destructive restore

  • Write

    (preview) Fork

    Fork database

  • Write

    Generate Token

    Generate a Database Auth Token

  • Write

    Invalidate Tokens

    Invalidate Database auth tokens

  • Destructive

    Delete Database

    Delete a database in a DatabaseGroup.

Live Metrics

  • Write

    Live metrics DBs

    Get the live metrics for databases, you need to pass the database ids with the header: db-ids.

  • Write

    Live metrics Groups

    Get the live metrics for groups, you need to pass the database ids with the header: group-ids.

Configuration

  • Read

    List

    List the configuration for the current environment

  • Read

    Optimal

    Get the optimal configuration for setting up a database based on your location.

  • Read

    Optimal Single Region

    Get the optimal configuration for setting up a database based on your location for single region deployement

  • Read

    Get Limits

    Get current account limits and usage

Database (v2)

  • Read

    List

    List database the user has access to.

  • Read

    Read

    Read a Database

  • Read

    Aggregated Usage

    Get the aggregated usage for the time period for a Database.

  • Read

    Active stats

    Get active stats for Databases.

  • Read

    Statistics

    Get the associated stats for a Database. The buckets are return by the starting hour.

  • Write

    Create

    Create a new Database for a user

  • Write

    Update

    Update a Database for the user.

  • Write

    Invalidate Tokens

    Invalidates all authorization tokens for the specified group.

  • Destructive

    Delete Database

    Delete a Database for a user.

  • Destructive

    Generate Token

    Generate a new token for the whole Database

Applications

  • Read

    Get Application Statistics Charts

    Retrieves historical charts for an application over a specified time period: CPU, RAM and traffic per pod with the pod's region, latency, instances, active regions, and usage and capacity per volume with the volume's region.

  • Read

    Get Application Usage Summary

    Retrieves usage summary for an application including latency, volume size, monthly cost, and status information.

  • Read

    Get Application Overview

    Retrieves comprehensive status overview for an application including latency, CPU/RAM usage, active instances, regions, and cost information.

  • Read

    List Applications

    Lists all applications for the authenticated user with their current status.

  • Read

    Get application

    GET /apps/{appId}

  • Write

    Deploy Application

    Deploys an application, making it active and running.

  • Write

    Undeploy Application

    Undeploys an application, stopping all running instances.

  • Write

    Add Application

    Creates a new application with the specified configuration including containers, volumes, region settings, and autoscaling.

  • Write

    Patch Application

    Partially updates an existing application using JSON Merge Patch semantics. Only provided fields will be updated; existing fields not included in the request will remain unchanged.

  • Write

    Restart Application

    Triggers a restart of all pods for the specified application.

  • Destructive

    Update Application

    Updates an existing application with full replacement of all configuration fields.

  • Destructive

    Delete Application

    Marks the application for deletion and enqueues cleanup of all associated resources. Returns immediately; deletion is processed asynchronously.

Autoscaling Settings

  • Read

    Get Application Autoscaling

    Retrieves the current autoscaling settings for an application, including minimum and maximum replica counts.

  • Destructive

    Update Application Autoscaling

    Updates the autoscaling settings for an application, including minimum and maximum replica counts.

Container Registries

  • Read

    List Container Registries

    Lists all container registries configured for the authenticated user.

  • Read

    Search Public Container Images

    Searches for public container images in a registry by prefix.

  • Read

    List Container Images

    Lists all container images available in a private registry.

  • Read

    Get Container Registry

    Retrieves a specific container registry by its ID.

  • Read

    List Container Image Tags

    Lists all available tags for a specific container image.

  • Read

    List Container Image Tags Page

    Lists one page of the tags of a container image, in the order the registry returns them (newest first for Docker Hub images whose tags the registry can't list in time). The response cursor is the cursor of the next page; it is empty on the last page.

  • Read

    Get Image Config

    Retrieves endpoint and volume suggestions for a container image from a registry.

  • Read

    Get Container Image Digest

    Retrieves the digest information for a specific container image tag.

  • Read

    Get Container Config Suggestions

    Gets recommended configuration for a container image including endpoint configurations and environment variables.

  • Read

    Find Container Image

    Parses an image reference like "ghcr.io/owner/app:v1" or "owner/app" and checks whether the image tag exists in the selected registries of the user (only those of the reference's host when it has one).

  • Write

    Add container registry

    Add a container registry for user.

  • Destructive

    Update Container Registry

    Updates an existing container registry configuration including credentials.

  • Destructive

    Delete Container Registry

    Deletes a container registry. Returns an error if the registry is currently in use by any applications.

Containers

  • Read

    Get Container Template

    Gets a container template within an application.

  • Write

    Patch Container Template

    Partially updates a container template within an application. Only provided fields will be updated; existing fields not included in the request will remain unchanged.

  • Write

    Add Container Template

    Adds a new container template to an application.

  • Destructive

    Set Container Environment Variables

    Replaces all environment variables for a container template. All existing environment variables will be removed and replaced with the provided set.

  • Destructive

    Delete Container Template

    Deletes a container template from an application.

Endpoints

  • Read

    List application endpoints

    List endpoints from all containers for given application

  • Write

    Add application endpoint

    Add CDN or Anycast endpoint to a container of given application.

  • Destructive

    Update Application Endpoint

    Update an existing endpoint for given application

  • Destructive

    Delete application endpoint

    Delete endpoint of a container for given application.

Limits

  • Read

    Get User Limits

    Retrieves the current resource limits and usage for the authenticated user, including application counts and instance limits.

Nodes

  • Read

    List Nodes

    Lists all node IP addresses in the Magic Containers network.

  • Read

    List Node IPs (Plain)

    Lists all node IP addresses in the Magic Containers network as a flat list.

Pods

  • Write

    Recreate Pod

    Recreate a pod, deleting previous one.

Regions

  • Read

    List Regions

    Lists all available regions where applications can be deployed, including their anycast support and capacity status. Optionally filter by GPU type and required GPU count.

  • Read

    Get Optimal Base Region

    Returns the optimal base region for deployment based on the user's CDN server token location. Optionally filter by GPU type and required GPU count.

Region Settings

  • Read

    Get Application Region Settings

    Retrieves the current region settings for an application, including allowed regions, required regions, and maximum allowed regions.

  • Destructive

    Update Application Region Settings

    Updates the region settings for an application, including allowed regions, required regions, and maximum allowed regions.

Volumes

  • Read

    List Volumes

    Lists all volume templates and their instances for an application, including usage statistics.

  • Write

    Update Volume

    Partially updates a volume template's configuration including name and size. Only provided fields will be updated.

  • Write

    Detach Volume

    Detaches a volume template from all application containers.

  • Destructive

    Delete All Volume Instances

    Deletes all volume instances for a volume template. All instances must be detached before deletion.

  • Destructive

    Delete Volume Instance

    Deletes a specific volume instance. The volume must be detached before deletion.

Log Forwarding

  • Read

    List log-forwarding configurations

    Get a list of all log-forwarding configurations for the authenticated user.

  • Read

    Get log-forwarding configuration

    Get a specific log-forwarding configuration by ID.

  • Write

    Create log forwarding configuration

    Create a new log forwarding configuration.

  • Destructive

    Update log-forwarding configuration

    Update an existing log-forwarding configuration.

  • Destructive

    Delete log-forwarding configuration

    Delete a log-forwarding configuration.

Logging v1

  • Read

    Query logs (legacy)

    GET /{date}/{pullZoneId}.log

Logging v2

  • Read

    Query CDN access logs for a pull zone.

    Authenticate with either an Authorization bearer JWT or an AccessKey header. Filter pushdown happens in ClickHouse where possible; country and free-text search are applied in-process after fetch.

General

  • Read

    Get origin error logs for a specific Pull Zone and date

    Retrieves origin error logs for the given Pull Zone and date.

See How connections work for access and permissions, or browse all integrations.