{
  "__export_date": "2026-10-19T00:00:00.000Z",
  "__export_format": 4,
  "__export_source": "api-docs",
  "_type": "export",
  "resources": [
    {
      "_id": "wrk_1863c6e256b03ef7",
      "_type": "workspace",
      "description": "REST API for ONIE cloud services",
      "name": "ONIE API v1",
      "parentId": null,
      "scope": "collection"
    },
    {
      "_id": "env_57c75a84c8a59fe9",
      "_type": "environment",
      "color": null,
      "data": {
        "apiKey": "vk_YOUR_API_KEY",
        "baseUrl": "https://api.onie.net"
      },
      "dataPropertyOrder": {
        "&": [
          "baseUrl",
          "apiKey"
        ]
      },
      "isPrivate": false,
      "metaSortKey": 1,
      "name": "Base Environment",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "fld_23a9498ffe1c4a8f",
      "_type": "request_group",
      "description": "Plans, regions, operating systems and prices you can order from. These calls are read-only and cost nothing. Prices are the retail prices of the site you call, in USD.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -10000,
      "name": "Catalog",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_48609f790e650ae1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything needed to order a server: the plans on sale with their prices for each billing cycle, the operating system images, the regions, and the account-independent rules (minimum balance, snapshot limits). Call this before [Create a VM](#tag/Virtual-Machines).\n\nOnly plans and images that can actually be provisioned in a region you can use are listed.\n\nThe response carries an `ETag`: send it back in `If-None-Match` and an unchanged catalog answers `304 Not Modified` with no body. With `view=shell` you get only `cycles`, `settings` and `account` (a few KB) — enough for the rules, feature flags and maintenance notice, without the plans, images and regions.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog vm`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999999,
      "method": "GET",
      "name": "Plans, regions and OS images",
      "parameters": [
        {
          "description": "`shell` returns only `cycles`, `settings` and `account`; `plans`, `templates`, `zones` and `default_zone_id` are left out. Omit it for the full catalog.",
          "disabled": true,
          "name": "view",
          "value": ""
        }
      ],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/catalog"
    },
    {
      "_id": "req_74156714516378aa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of the site: fixed plans and the unit prices of custom configurations. It is the same information as the pricing page, with no account data, and is cached for up to a minute.\n\nUse [Get the VM catalog](#operation/catalog_vm) when you also need images and regions.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog plans`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999998,
      "method": "GET",
      "name": "Public price list of the site",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/plans"
    },
    {
      "_id": "req_8cb4a86bafe3b8c0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the price of every plan on sale for each billing cycle, plus the unit prices used for custom configurations. A compact alternative to the catalog when you only need prices (for example to display a cost estimate).\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog prices`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999997,
      "method": "GET",
      "name": "Unit prices per component (vCPU, RAM, disk)",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/prices"
    },
    {
      "_id": "req_4c77a0c963a52ed8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices a custom configuration (any vCPU / RAM / disk combination within the site limits) without creating anything and without charging. The response includes the cost per billing cycle, the cost of the first charge, a per-resource breakdown, the cheapest fixed plan that is at least as large, and your current balance, so you can check you can afford it before calling Create a VM with `custom`.\n\nThe site must sell custom configurations; otherwise the call fails with `feature_disabled`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog custom-quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999996,
      "method": "GET",
      "name": "Quote a custom configuration",
      "parameters": [
        {
          "description": "Number of vCPU cores.",
          "disabled": false,
          "name": "cpu",
          "value": ""
        },
        {
          "description": "Memory in MiB.",
          "disabled": false,
          "name": "ram_mb",
          "value": ""
        },
        {
          "description": "System disk in GiB.",
          "disabled": false,
          "name": "disk_gb",
          "value": ""
        },
        {
          "description": "Billing cycle slug (see the catalog).",
          "disabled": true,
          "name": "cycle",
          "value": ""
        },
        {
          "description": "OS image the disk must fit; the quote reports the minimum disk it needs.",
          "disabled": true,
          "name": "template_id",
          "value": ""
        }
      ],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/custom-quote"
    },
    {
      "_id": "req_d5e2d283418cb767",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices a custom size (CPU type, cores, memory, disk) in a region that offers several CPU types, without creating anything and without charging. Only values listed in that region's `custom` block of the catalog are accepted. Use it to show the price while the customer moves the sliders, then send the same values as `custom` (with `cpu_type`) and the region as `zone_id` to Create a VM.\n\nA stopped server in these regions is still charged, at `off_hourly_uusd` per hour. Traffic is billed per gigabyte used (`traffic`). Limited to 60 calls per minute per account.\n\n**Required scope:** `vm:read`.\n\nCLI command: `catalog region-quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999995,
      "method": "GET",
      "name": "Quote a custom configuration in a region (CPU type, cores, RAM, disk)",
      "parameters": [
        {
          "description": "Region from the catalog `zones` that has a `custom` block.",
          "disabled": false,
          "name": "zone_id",
          "value": ""
        },
        {
          "description": "CPU type: `A` Availability (shared cores, best value), `B` General Purpose (consistent performance), `D` Dedicated (dedicated cores).",
          "disabled": false,
          "name": "cpu_type",
          "value": ""
        },
        {
          "description": "Number of cores, one of the values listed for the CPU type.",
          "disabled": false,
          "name": "cores",
          "value": ""
        },
        {
          "description": "Memory in MiB, one of the values listed for the CPU type.",
          "disabled": false,
          "name": "ram_mb",
          "value": ""
        },
        {
          "description": "System disk in GiB, one of the listed values.",
          "disabled": false,
          "name": "disk_gb",
          "value": ""
        },
        {
          "description": "OS image you intend to install; when given, the size must reach that image's minimum (`min` in the catalog `templates`).",
          "disabled": true,
          "name": "template_id",
          "value": ""
        }
      ],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/px-quote"
    },
    {
      "_id": "req_645268af83eebf6b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the regions where servers are on sale to everyone, with the monthly price of the cheapest fixed plan and the CPU types on offer. It needs no account, is the same for every visitor and is cached for up to five minutes. Use [Get the VM catalog](#operation/catalog_vm) for the full plan list of a signed-in account.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog regions`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999994,
      "method": "GET",
      "name": "Regions open for sale and starting prices",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/vm-regions"
    },
    {
      "_id": "req_963a65b14dcc6689",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Describes one region that is on sale to everyone: its CPU types (with a one-line description), every fixed plan with its hourly and monthly price, the custom sizes you can build (same `custom` block as the catalog), the price of traffic and the billing cycles sold there. It needs no account and is cached for up to five minutes.\n\nUse [Quote a custom size (public)](#operation/catalog_region-price) to price a custom size, and [List regions](#operation/catalog_regions) to find the `slug`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog region`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999993,
      "method": "GET",
      "name": "One region in detail: CPU types, plans, custom sizes, traffic, cycles",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [
        {
          "name": "slug",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/vm-regions/:slug"
    },
    {
      "_id": "req_36b9ef82ed793532",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices a custom size in a region without an account: the same answer as [Quote a custom size in a region](#operation/catalog_region-quote) but for visitors. Only values listed in the region's `custom` block are accepted. Limited to 30 calls per minute per IP address.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog region-price`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999992,
      "method": "GET",
      "name": "Quote a custom size in a region (public)",
      "parameters": [
        {
          "description": "Region `slug` from List regions.",
          "disabled": false,
          "name": "region",
          "value": ""
        },
        {
          "description": "CPU type: `A` Availability, `B` General Purpose, `D` Dedicated.",
          "disabled": false,
          "name": "cpu_type",
          "value": ""
        },
        {
          "description": "Number of cores, one of the values listed for the CPU type.",
          "disabled": false,
          "name": "cores",
          "value": ""
        },
        {
          "description": "Memory in MiB, one of the values listed for the CPU type.",
          "disabled": false,
          "name": "ram_mb",
          "value": ""
        },
        {
          "description": "System disk in GiB, one of the listed values.",
          "disabled": false,
          "name": "disk_gb",
          "value": ""
        },
        {
          "description": "OS image you intend to install; when given, the size must reach that image's minimum.",
          "disabled": true,
          "name": "template_id",
          "value": ""
        }
      ],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/vm-quote"
    },
    {
      "_id": "req_351212ce266c993b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the regions your site sells from, with the availability of each service in each region: virtual machines (`vm`), VPN IPs (`vpn`, with the number of free IPs) and object storage (`s3`). Use a region `id` as `zone_id` when ordering. Add `service` to keep only the regions where that service is on sale.\n\n`default_zone_id` is the region used when an order omits `zone_id`; it is always one of the listed regions, or null when the list is empty. The response may be cached for 15 seconds.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog zones`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999991,
      "method": "GET",
      "name": "Sale zones and per-service availability",
      "parameters": [
        {
          "description": "Only return regions where this service is sold. For `vm` and `s3` the region must also be ready to take orders; for `vpn` every region that sells VPN is returned, so check `vpn.available`. Omit to return every region.",
          "disabled": true,
          "name": "service",
          "value": ""
        }
      ],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/zones"
    },
    {
      "_id": "req_4651366115439d50",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the complete retail price list of the site in one call: every fixed plan with the price of each billing cycle, the unit prices of custom configurations, the unit prices of the optional storage services, and the list of optional features switched on for the site. It is the data behind a public pricing page and contains no account information. Hourly prices are in millionths of a US dollar (`hourly_uusd`) and cycle prices are in US cents. The response may be cached for 60 seconds.\n\nPlans here have no identifiers; use [Get the VM catalog](#operation/catalog_vm) to get the `plan_id` and image identifiers needed to create a server.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog pricing`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999990,
      "method": "GET",
      "name": "Consolidated site pricing (VMs, storage, enabled features)",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/pricing"
    },
    {
      "_id": "req_56f594b443879003",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the retail prices and limits of the storage services: block storage volumes, backups, snapshots and uploaded images. Each service appears as an object with `enabled`; when a service is not on sale at your site only `{\"enabled\": false}` is returned for it. Prices per GB-hour are in millionths of a US dollar. The response may be cached for 60 seconds.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog storage`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999989,
      "method": "GET",
      "name": "Block Storage, Backup, Snapshot and Images pricing",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/storage"
    },
    {
      "_id": "req_7e35d2bb911d8544",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of pay-as-you-go object storage: the price per GB of storage and per GB downloaded, the free allowance, and the regions where it can be ordered. Uploads are free.\n\nUnlike the rest of the catalog, **object storage prices are in Vietnamese dong (VND)**, not US dollars. Use `fx.usd_vnd` to convert. Usage is metered per hour (the monthly storage price divided by 730 per GB-hour) and charged to the wallet in US cents at the exchange rate of the day. Object storage is not sold on every site: when your site does not sell it the call returns `404 service_unavailable`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog s3`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999988,
      "method": "GET",
      "name": "Public S3 price list",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/s3"
    },
    {
      "_id": "req_682191b77d05fc7a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of VPN IPs: the price per IP at each order size, the bandwidth tiers, the add-ons, the billing cycles and the regions. Only the `dedicated` tier is on sale; `shared` and `private` stay in the response for compatibility but have empty `ip_breaks`. All prices are in millionths of a US dollar. The response may be cached for 60 seconds.\n\nTo price a specific order call [Quote a VPN order](#operation/catalog_vpn_quote). When your site does not sell VPN the call returns `404 service_unavailable`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog vpn`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999987,
      "method": "GET",
      "name": "Public VPN IPv4 price list",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/vpn"
    },
    {
      "_id": "req_d39e835287f4e3e9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"addons\": [\n    \"concurrency\"\n  ],\n  \"bandwidth_gb\": 1000,\n  \"cycle\": \"monthly\",\n  \"ip_count\": 10,\n  \"tier\": \"dedicated\"\n}"
      },
      "description": "Prices a VPN order without creating anything and without charging. The body describes the order (tier, number of IPs, bandwidth tier, billing cycle, add-ons) and the response is the price breakdown in millionths of a US dollar; `total_uusd` is what one cycle costs.\n\nWhen the order is not valid (for example too many IPs or an unknown cycle) the call returns **422 with the same quote object**, whose `errors` array lists the problems. Orders for the retired `shared` and `private` tiers or for retired add-ons fail with `tier_retired` or `addon_retired` in the usual error format. A body that cannot be parsed at all gets a plain-text 400 or 422 from the server rather than the usual error object. When your site does not sell VPN the call returns `404 service_unavailable`.\n\nThe account-level call [Quote a VPN order for your account](#operation/vpn_quote) also returns the wallet amount in cents.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog vpn-quote`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999986,
      "method": "POST",
      "name": "Quote a VPN IPv4 order (nothing is purchased)",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/vpn/quote"
    },
    {
      "_id": "req_02404a1940a0a232",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of the worldwide proxy products: Datacenter, Static Residential (fixed IPs, priced per IP per month with a 250 GB traffic allowance) and Rotating Residential (priced per GB of traffic). For each product it lists the countries with stock, the price a customer pays from, and sample price tiers. All prices are in millionths of a US dollar and already include every fee. Stock numbers are rounded down. The response may be cached for 10 minutes.\n\nWhen the products are not on sale `enabled` is false and nothing else is returned. Place an order from your account with the VPN order flow.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog proxy intl`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999985,
      "method": "GET",
      "name": "Public worldwide proxy price list (Datacenter, Static/Rotating Residential)",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/proxy"
    },
    {
      "_id": "req_73dfece8d0f34ccc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of IPv6 proxies: the fixed plans with the price of each billing period, the bandwidth and device add-ons, and the regions with their availability. All prices are in millionths of a US dollar. The response may be cached for 60 seconds.\n\nWhen your site does not sell IPv6 proxies the call returns `200` with just `{\"enabled\": false}`. When it does not sell VPN products at all it returns `404 service_unavailable`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog proxy6`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999984,
      "method": "GET",
      "name": "Public Proxy IPv6 price list",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/proxy6"
    },
    {
      "_id": "req_fc3c41b7d126b894",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of GPU servers: the available configurations with their hourly and monthly prices and current stock, and the software templates that can be started on them. Prices are the retail prices for the default disk size (`disk_gb`) in millionths of a US dollar per hour. The list follows the live market, so prices and stock change; it is refreshed at most once a minute.\n\nGPU servers are not sold on every site: when your site does not sell them the call returns `404 service_unavailable`. Right after a restart the first call can return `503 catalog_unavailable`; retry in a few seconds. Use [Get the GPU catalog](#operation/gpu_catalog) for the full catalog needed to order.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog gpu`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999983,
      "method": "GET",
      "name": "Public GPU price list",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/gpu"
    },
    {
      "_id": "req_629633b80aac29fa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of managed clusters: the worker plans with their hourly, monthly and per-cycle prices, the billing cycles, the versions on sale, the regions, the free control plane and the account limits. Prices are in US cents or millionths of a US dollar as named. The response may be cached for 60 seconds.\n\nWhen your site does not sell managed clusters the call returns `200` with just `{\"enabled\": false}`. The same minimal answer is returned while no region is ready to create clusters.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog k8s`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999982,
      "method": "GET",
      "name": "Public Kubernetes price list",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/k8s"
    },
    {
      "_id": "req_682186b77d05e9c9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public price list of private cloud networks: the plans (dedicated unmetered bandwidth in Mbps) with their hourly, monthly and per-cycle prices, the billing cycles, the region, the account limits and the network features. Prices are in US cents or millionths of a US dollar as named. The response may be cached for 60 seconds.\n\nWhen your site does not sell private cloud networks the call returns `200` with just `{\"enabled\": false}`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog vpc`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999981,
      "method": "GET",
      "name": "Public Private Cloud price list",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/vpc"
    },
    {
      "_id": "req_c1a811e82958c12f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the public list of Dedicated Server (Bare Metal) plans: a physical Dell PowerEdge server for your exclusive use, with the hardware of each plan. Prices are in whole Vietnamese dong (VND) per month; `fx` gives the exchange rate for showing them in US dollars. The response may be cached for 60 seconds.\n\nPrices are only shown while the service is on sale at your site (`available` is true) and only for the plans that are on sale. While it is not on sale `available` is false and every plan lists its specifications only: no `monthly_vnd`, `setup_fee_vnd` or `cycles`. Stock, addresses and host names are never part of this list. Sites run by resellers do not sell Dedicated Servers and answer `404 service_unavailable`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `catalog dedicated`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999980,
      "method": "GET",
      "name": "Public Dedicated Server (Bare Metal) plans: specifications; prices only while on sale",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/dedicated"
    },
    {
      "_id": "req_af56dfab084cadca",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the live GPU catalog: the configurations that can be ordered with their prices and stock, the software templates, and which configurations each template can run on. The list follows the live market, so prices and stock change; the server keeps a snapshot that is refreshed in the background (at most about once every 45 seconds), and `stale` is true when the market could not be reached recently. The price you pay is fixed by the quote you take when ordering, not by this list.\n\nPrices are computed for the disk size in `disk_gb` (default 32 GB, never below a template minimum). `sales_enabled` is false when your site does not take new GPU orders.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `gpu catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999979,
      "method": "GET",
      "name": "GPU catalog: configurations, templates and sale prices",
      "parameters": [
        {
          "description": "Disk size in GB to compute prices for. Clamped to 8-2000.",
          "disabled": true,
          "name": "disk_gb",
          "value": ""
        },
        {
          "description": "Set to 1 to ask for a fresh snapshot instead of the cached one. Honoured only when the cached snapshot is more than 20 seconds old, and at most 6 times a minute per account; otherwise ignored.",
          "disabled": true,
          "name": "refresh",
          "value": ""
        }
      ],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/catalog"
    },
    {
      "_id": "req_a084e5b97859e4e2",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the object storage catalog for your account: the price policy, the regions where an account can be created, whether your account currently qualifies for the free storage allowance, and the account limits. Create an account with a region `id` from `zones`.\n\n**Prices are in Vietnamese dong (VND)**, not US dollars; `fx_usd_vnd` is the conversion rate. Usage is metered per hour and charged to the wallet in US cents at the exchange rate of the day. Unlike the session-based dashboard, API keys do not receive your wallet balance in this response; read it from the billing endpoints with a key that has the billing scope.\n\nObject storage is not sold on every site; when your site does not sell it the call fails with `404 s3_error`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `s3 catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999978,
      "method": "GET",
      "name": "S3 catalog: price policy and zones",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/catalog"
    },
    {
      "_id": "req_c87a9d9f1379d2d4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the VPN price book for your site: the price per IP at each order size, the bandwidth tiers, the add-ons and billing cycles, plus the regions with the number of free IPs. Only the `dedicated` tier can be ordered; `shared` and `private` stay in the response for compatibility but have empty `ip_breaks`. All prices are in millionths of a US dollar (1 USD = 1 000 000).\n\nPrice a concrete order with [Quote a VPN order for your account](#operation/vpn_quote). The same price book without account context is at [Get VPN prices](#operation/catalog_vpn).\n\n**Required scope:** `catalog:read`.\n\nCLI command: `vpn catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999977,
      "method": "GET",
      "name": "VPN IPv4 catalog: plans, cycles, zones and free IPs",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/catalog"
    },
    {
      "_id": "req_137075583eed1673",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"addons\": [\n    \"concurrency\"\n  ],\n  \"bandwidth_gb\": 1000,\n  \"cycle\": \"monthly\",\n  \"ip_count\": 10,\n  \"tier\": \"dedicated\",\n  \"zone_id\": 1\n}"
      },
      "description": "Prices a VPN order at your site's price without creating anything and without charging. The response is the price breakdown in millionths of a US dollar plus `amount_cents`, the amount an order would take from your wallet. If the order is not valid (for example too many IPs, or a bandwidth tier or cycle that does not exist) the call still returns `200`: `errors` lists the problems and `amount_cents` is null.\n\nThe region is checked as it would be for an order: when your site has several VPN regions and no default, `zone_id` is required. Orders for the retired `shared` and `private` tiers or for retired add-ons are refused with `tier_retired` or `addon_retired`. You can send up to 240 quotes a minute per account.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `vpn quote`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999976,
      "method": "POST",
      "name": "Quote a VPN IPv4 order at your site's price (nothing is purchased)",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/quote"
    },
    {
      "_id": "req_d0bf78808b69bf3e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the IPv6 proxy catalog for your site: the fixed plans with the price of each billing period, the bandwidth and device add-ons, the regions with their availability, and the connection details (gateway host, ports, rotation interval limits, blocked ports). All prices are in millionths of a US dollar.\n\nThe call works even when your site does not sell IPv6 proxies; `enabled` tells you whether ordering is possible. Price an order with [Quote an IPv6 proxy order](#operation/proxy6_quote).\n\n**Required scope:** `catalog:read`.\n\nCLI command: `proxy6 catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999975,
      "method": "GET",
      "name": "Proxy IPv6 catalog: plans, cycles and zones",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/catalog"
    },
    {
      "_id": "req_63bd2b0aef9d3d25",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"weekly\",\n  \"mbps_addons\": 1,\n  \"plan\": \"static-100\"\n}"
      },
      "description": "Prices an IPv6 proxy order at your site's price without creating anything and without charging. The response lists the price lines (plan and add-ons) in millionths of a US dollar and `amount_cents`, the amount an order would take from your wallet. If the order is not valid (unknown or disabled plan, unknown period, add-on count out of range, device add-on on a plan that does not take it) the call still returns `200`: `errors` lists the problems and `amount_cents` is null.\n\nThe quote works even when your site does not currently sell IPv6 proxies (see `enabled` in [Get the IPv6 proxy catalog](#operation/proxy6_catalog)); ordering is what is blocked then.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `proxy6 quote`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999974,
      "method": "POST",
      "name": "Quote a Proxy IPv6 order at your site's price (nothing is purchased)",
      "parameters": [],
      "parentId": "fld_23a9498ffe1c4a8f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/quote"
    },
    {
      "_id": "fld_3b9b88b4a45306fb",
      "_type": "request_group",
      "description": "Create, inspect and operate virtual servers: power actions, plan changes, metrics, billing of a single server, and deletion. Creating a server, changing its plan and deleting it are destructive or charge the wallet and require an `Idempotency-Key`.\n\n**Lifecycle.** A new server starts in `provisioning`, becomes `active` when it is ready, and moves to `deleting` and `deleted` when you delete it. A server that cannot be paid for (or that an administrator suspended) becomes `locked`: it keeps its data for a grace period (`destroy_after`) but refuses every action except top-ups and deletion-related reads. If deployment fails the server becomes `failed` and the order is refunded. Power state (`Running`, `Stopped`...) is reported separately in `cs_state` and is only meaningful while the server is `active`.\n\n**Asynchronous actions.** Start, stop, reboot, password reset, SSH-key change, plan change and deletion return a `job_id` immediately. Follow it with List a VM's jobs, or poll Get a VM until `job_running` is `false`. Only one job can run on a server at a time; a second action meanwhile fails with `409 job_running`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9999,
      "name": "Virtual Machines",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_d19f8f7d989ec129",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the servers of your account, newest first by default, 25 per page (maximum 100). Servers in the `deleted` state are hidden unless you ask for them with `state=deleted`.\n\n`counts` always covers all of your servers that are not deleted, whatever the filters and the page, so you can show tab badges without extra requests. Each item is a summary; call Get a VM for the full record.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999973,
      "method": "GET",
      "name": "List VMs",
      "parameters": [
        {
          "description": "Search text. Matches host name, display name, public IP address or server ID (substring, case-insensitive).",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Lifecycle state to keep: `provisioning`, `active`, `locked`, `failed`, `deleting` or `deleted`. Several states can be given separated by commas, for example `locked,failed`. Without this filter every state except `deleted` is returned.",
          "disabled": true,
          "name": "state",
          "value": ""
        },
        {
          "description": "Power state to keep. `Running` keeps running servers; `Stopped` keeps every server that is not running (including those whose power state is not known yet). Any other value is compared with the reported power state, ignoring case.",
          "disabled": true,
          "name": "cs_state",
          "value": ""
        },
        {
          "description": "Keep only your servers in this region (`zones[].id` from the catalog). A region where you have no server gives an empty list. `total` and the paging apply after the filter; `counts` still covers all of your servers.",
          "disabled": true,
          "name": "zone_id",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm"
    },
    {
      "_id": "req_590577beaae10801",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one server with its plan, image, network placement, billing cycle and lock details.\n\n`live` is included only when the power state was synced during the last two minutes. Pass `refresh=1` to read the current state from the infrastructure first; this is limited to one refresh every 10 seconds per server, and a faster call simply returns the stored data without an error. `job_running` tells you whether an action is still in flight.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999972,
      "method": "GET",
      "name": "Get one VM",
      "parameters": [
        {
          "description": "Set to `1` or `true` to refresh the power state and addresses from the infrastructure before answering.",
          "disabled": true,
          "name": "refresh",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id"
    },
    {
      "_id": "req_bb4c038cfcbe5f67",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns CPU, memory, disk and network time series for the last 30 minutes up to 12 hours, one sample per minute, plus the current reading in `now`. Rates are in KB/s; CPU and memory are percentages. Results are cached for 60 seconds per server and range.\n\nFails with `409 vm_not_ready` while the server has not been created on the infrastructure yet.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm metrics`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999971,
      "method": "GET",
      "name": "CPU/RAM/disk/network over time",
      "parameters": [
        {
          "description": "Length of the window ending now. Unknown values fall back to the default.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/metrics"
    },
    {
      "_id": "req_1360420b6570785b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic of the server as a time series (bytes) together with the monthly bandwidth quota. `in` is traffic into the server, `out` is traffic leaving it.\n\nWith `range=1h` the points are 5-second live samples (`source` is `edge_live`); longer ranges are hourly (`6h`, `12h`, `24h`) or daily (`7d`, `30d`) totals. Pass both `from` and `to` to choose an exact window of at most 31 days. `quota` and `period` describe the current quota month, which is anchored on the hour the server was created; they are null when the server has no quota record. `bw` is the same object as Get a service's bandwidth.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm bandwidth`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999970,
      "method": "GET",
      "name": "Bandwidth usage",
      "parameters": [
        {
          "description": "Window ending now. Unknown values fall back to the default.",
          "disabled": true,
          "name": "range",
          "value": ""
        },
        {
          "description": "Start of an explicit window, Unix seconds. Used only together with `to`, and only when `to` is later than `from` and the window is at most 31 days; otherwise `range` applies.",
          "disabled": true,
          "name": "from",
          "value": ""
        },
        {
          "description": "End of an explicit window, Unix seconds. See `from`.",
          "disabled": true,
          "name": "to",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/bandwidth"
    },
    {
      "_id": "req_6c9b2fe7523e573d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the disks attached to the server: the system disk and any data disks, with size and state. Results are cached for 20 seconds. Fails with `409 vm_not_ready` while the server has not been created on the infrastructure yet.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm volumes`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999969,
      "method": "GET",
      "name": "Volumes of the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/volumes"
    },
    {
      "_id": "req_4c065c53b5c48c25",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the network interfaces of the server with their IPv4 and IPv6 addressing. `public_ip` is the address the server is reached on from the internet; it is mapped 1:1 to the private address of the default interface. Results are cached for 20 seconds. Fails with `409 vm_not_ready` while the server has not been created on the infrastructure yet.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm nics`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999968,
      "method": "GET",
      "name": "Network interfaces and IPs",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/nics"
    },
    {
      "_id": "req_cb2a97caf8b26c4f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the activity log of the server, newest first: power actions, plan changes, renewals, locks, failures. `msg` is display text in English (older entries can be in Vietnamese); to show the message in your own language use `key` and `args`, and rely on `kind` and `status` for logic. Use `exclude=billing` to hide renewals, refunds, charges and lock events.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999967,
      "method": "GET",
      "name": "VM event log",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Keep only events of this exact kind (letters, digits and underscores, at most 40 characters).",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Search text matched against the message and the actor (substring).",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Optional, used together with `q`: comma-separated event `key` values (at most 200; each made of lowercase letters, digits, `_` and `.`, up to 80 characters). Events whose `key` is in the list match as well, so a client can search in its own language by sending the keys whose translated text contains the search text. Invalid entries are ignored.",
          "disabled": true,
          "name": "keys",
          "value": ""
        },
        {
          "description": "Set to `billing` to hide billing-related kinds (`renewal`, `refund`, `extend`, `billing_edit`, `change_cycle`, `lock`, `unlock`, `charge`, `reminder`, `invoice`). Several values can be separated by commas.",
          "disabled": true,
          "name": "exclude",
          "value": ""
        },
        {
          "description": "Keep only events with this outcome. Other values are ignored.",
          "disabled": true,
          "name": "status",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/events"
    },
    {
      "_id": "req_344d1a30537ba21a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the 50 most recent background jobs of the server, newest first: creation, power actions, plan changes, SSH-key changes and deletion. Every action endpoint returns a `job_id`; poll this list until that job's `state` is `done`, `failed` or `cancelled`. `last_error` is a short customer-safe message and `error_code` a stable short code; internal diagnostics are never exposed.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm jobs`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999966,
      "method": "GET",
      "name": "Running jobs of the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/jobs"
    },
    {
      "_id": "req_cb09e0b1c2b22335",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the billing state of one server: price, billing cycle, how far it is paid, your wallet balance, and the wallet charges and invoices that belong to this server. `charges` holds up to the 200 latest wallet entries linked to the server (newest first) and `invoices` up to the 100 latest invoices. If the server was transferred to you, invoices of earlier owners are included with `previous_owner: true` and their personal fields redacted.\n\nFor the account-wide wallet and invoices use the Billing endpoints.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm billing`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999965,
      "method": "GET",
      "name": "Billing of this VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/billing"
    },
    {
      "_id": "req_f6b9d7b1b7458370",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Dry run of Change plan: tells you what moving the server to another fixed plan would cost or refund, without changing or charging anything. For prepaid servers the amount is the prorated price difference for the time left in the paid period; for hourly servers the new price simply applies from the next hour (`hourly_note` is `true`). `allowed` says whether Change plan would accept the change right now.\n\n`cycle` lets you preview the price for another billing cycle; it does not change the cycle of the server.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm plan-quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999964,
      "method": "GET",
      "name": "Quote before changing plan",
      "parameters": [
        {
          "description": "Plan to move to, from the catalog.",
          "disabled": false,
          "name": "plan_id",
          "value": ""
        },
        {
          "description": "Billing cycle slug to quote for. Defaults to the cycle of the server.",
          "disabled": true,
          "name": "cycle",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/plan-quote"
    },
    {
      "_id": "req_04d604c8433e3b67",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the operating-system templates this server can be reinstalled with (Change OS): templates available in the server's region for its source, in display order. Pass an `id` from this list as `template_id` to the reinstall action; any other value is rejected.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm template-options`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999963,
      "method": "GET",
      "name": "Available templates for this VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/template-options"
    },
    {
      "_id": "req_d2667bbaaa731daa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the fixed plans this server can switch to: plans in the same region that are on sale to you, have a disk at least as large as the current one and differ from the current plan, cheapest first. Each option carries a ready-made `quote` (the same object Get plan quote returns), whether the change needs the server to be stopped (`requires_stop`), and what kind of change it is.\n\n`blocked` is non-null when plan changes are impossible at the moment, for example because the server runs a custom configuration (use Change custom configuration instead) or is not `active`.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm plan-options`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999962,
      "method": "GET",
      "name": "Plans this VM can switch to (same zone)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/plan-options"
    },
    {
      "_id": "req_36439937c2c5f84c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what deleting the server would do, without deleting anything: the estimated refund, how the refund is computed, and the resources that will be destroyed with it (data disks, backups, IP addresses, VM snapshots). Call it before Delete a VM and show it to the user.\n\n`formula` explains the refund: `prorated` (prepaid servers get the unused part of the paid period back), `hourly_no_refund` (hourly servers are billed up to the hour already started) or `cancel_full` (a server still being created is refunded in full). `can_delete` is `false` for locked servers.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm delete-preview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999961,
      "method": "GET",
      "name": "Preview before delete",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/delete-preview"
    },
    {
      "_id": "req_1fb5effacc93ebc4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the name and fingerprint of the platform's maintenance SSH key. When `attach` is `true`, this key is installed on new servers next to your own key so that support can help you; use the fingerprint to recognise it in your server's authorized keys. The value is public information and the same for every customer of the site; it is cached for 15 minutes.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm ops-key`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999960,
      "method": "GET",
      "name": "The pre-attached ops SSH key (name + fingerprint, not a secret)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/ops-key"
    },
    {
      "_id": "req_170006cf2cb2d762",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Powers the server on. The call returns immediately with a `job_id`; the server is running once the job is `done` and `cs_state` is `Running`. Starting a server that is already running succeeds without effect. Powering on is refused while the server is locked.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm start`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999959,
      "method": "POST",
      "name": "Start the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/start"
    },
    {
      "_id": "req_5efce3f38758a362",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shuts the server down gracefully (an ACPI power-button signal, so the operating system can close files and services). If the guest does not shut down in time, it is powered off forcibly. The call returns immediately with a `job_id`. A stopped prepaid server stays billed; a stopped hourly server is still billed hourly because its resources remain reserved.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm stop`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999958,
      "method": "POST",
      "name": "Stop the VM (graceful)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/stop"
    },
    {
      "_id": "req_f4d38de27eedb06c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Powers the server off immediately, like pulling the power cable. Unsaved data in memory is lost and file systems may need a repair on the next boot, so use Stop first and keep this for servers that do not respond. The call returns immediately with a `job_id`.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm force-stop`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999957,
      "method": "POST",
      "name": "Force stop the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/force-stop"
    },
    {
      "_id": "req_434d5427d802d35b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Restarts the server (a soft reboot signalled to the operating system). A stopped server is started instead. The call returns immediately with a `job_id`.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm reboot`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999956,
      "method": "POST",
      "name": "Reboot the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/reboot"
    },
    {
      "_id": "req_c0ddcbf536021c79",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Generates a new administrator password for the server. A running server is stopped, the password is reset, and the server is started again, so expect a short downtime. The new password is never returned by the API: it is e-mailed to the account holder once the job is `done`. Keep a copy of your SSH key as the alternative way in.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm reset-password`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999955,
      "method": "POST",
      "name": "Reset the admin password",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/reset-password"
    },
    {
      "_id": "req_893c1375bc497d6e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"ssh_key_id\": 7\n}"
      },
      "description": "Replaces the SSH key installed on the server with one of your saved keys (see List SSH keys). A running server is stopped, the key is installed, and the server is started again, so expect a short downtime; the previous key stops working. The server is recorded as using the new key once the job is `done`.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm ssh-key attach`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999954,
      "method": "POST",
      "name": "Attach an SSH key to the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/ssh-key"
    },
    {
      "_id": "req_3af7c3181579b733",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"display_name\": \"Production web server\"\n}"
      },
      "description": "Changes the display name of the server. The host name cannot be changed. Works in any state except `locked`; it does not need the server to be idle. The updated server is returned (without the network and lock details that Get a VM adds).\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm update`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999953,
      "method": "PATCH",
      "name": "Rename / notes",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id"
    },
    {
      "_id": "req_0c4ca4071d139959",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"monthly\",\n  \"display_name\": \"Web server 01\",\n  \"enable_ipv6\": true,\n  \"hostname\": \"web-01\",\n  \"plan_id\": 3,\n  \"ssh_key_id\": 7,\n  \"template_id\": 11,\n  \"zone_id\": 1\n}"
      },
      "description": "Orders a new server and returns it at once in the `provisioning` state; it becomes `active` (usually within a couple of minutes) when the operating system is installed. The first charge is taken from your wallet in the same request: the first hour for `hourly` servers, or the whole price of the cycle for prepaid cycles. Nothing is charged if the request fails, and a deployment that fails later is refunded automatically (the server becomes `failed`).\n\nChoose the size with either `plan_id` (a fixed plan, see the catalog) or `custom` (your own vCPU, RAM and disk, only on sites that sell custom configurations; if both are sent, `custom` wins). `template_id` selects the operating system image; it must be available in the chosen region. Use `zone_id` to pick a region when the site has several; leave it out to use the default one.\n\nThe initial administrator password is never returned by the API: it is e-mailed to the account holder when the server is ready. Pass `ssh_key_id` to log in with an SSH key instead. Follow the deployment with List a VM's jobs or poll Get a VM.\n\nYour wallet must cover the first charge and the site's minimum balance, your e-mail address must be verified, and new accounts can run only a few servers (2 by default) until a first payment of at least US$10 has completed. Use Get the VM catalog for plans, images, cycles and regions, and Quote a custom configuration to price a custom size.\n\n**Required scope:** `vm:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999952,
      "method": "POST",
      "name": "Create a VM (charges the wallet)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm"
    },
    {
      "_id": "req_b58d7c5c5ef70f48",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the regions where this server can be cloned: those that sell the same size as the server. Each region carries the price of the new server (hourly rate and monthly equivalent). Servers that cannot be cloned answer `409 not_supported_in_zone`.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm clone options`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999951,
      "method": "GET",
      "name": "Regions this VM can be cloned to",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/clone-options"
    },
    {
      "_id": "req_190269997db6265f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"hostname\": \"web-01-copy\",\n  \"zone_id\": 3\n}"
      },
      "description": "Creates a copy of this server as a **new server that is ordered and charged like any other**: the first charge is taken from your wallet in the same request at the current price of the same plan in the chosen region, quotas apply, and nothing is charged if the request fails. The copy gets the disk contents of the original, a new IP address and a new administrator password (e-mailed when it is ready). The original is not changed. The call answers at once with the new server in the `provisioning` state; a failed copy is refunded automatically. Use Clone options to see the regions you can choose.\n\n**Required scope:** `vm:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm clone`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999950,
      "method": "POST",
      "name": "Clone a VM (new server, charges the wallet)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/clone"
    },
    {
      "_id": "req_c1801c0f5511ae26",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"plan_id\": 4\n}"
      },
      "description": "Moves the server to another fixed plan of the same region. The server is stopped, resized and started again, so expect a short downtime (`requires_stop` in Get plan options says whether the change needs it). The disk can stay the same or grow, never shrink.\n\nMoney: prepaid servers are charged (or credited) the prorated price difference for the rest of the paid period immediately; the response carries `charged_cents` or `refunded_cents`, never both. Hourly servers are billed at the new hourly price from the next hour on; moving to a dearer plan prepays the first hour at the new price. If the resize job fails, the money is returned automatically. Hourly servers can be resized at most once an hour (`429 change_cooldown`).\n\nThe server must have no VM snapshots. Use Get plan quote first to show the price. For servers on a custom configuration use Change custom configuration.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm change-plan`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999949,
      "method": "POST",
      "name": "Change plan (prorated)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/change-plan"
    },
    {
      "_id": "req_4a9786844e8ea472",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cpu\": 4,\n  \"disk_gb\": 90,\n  \"ram_mb\": 8192\n}"
      },
      "description": "Resizes a server that runs a custom configuration: change its vCPU count, memory and disk. CPU and memory can go up or down; the disk can only grow, in steps of the site's disk step. Only the values you change are checked against the site limits. The server is stopped, resized and started again, so expect a short downtime.\n\nMoney works as in Change plan: prepaid servers are charged or credited the prorated difference immediately (`charged_cents` or `refunded_cents`, never both), hourly servers pay the new hourly price from the next hour, with the first hour prepaid when the price goes up. Hourly servers can be resized at most once an hour. Only available where custom configurations are sold, and the server must have no VM snapshots.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm change-custom`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999948,
      "method": "POST",
      "name": "Custom resize",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/change-custom"
    },
    {
      "_id": "req_76c1b9aca76788fc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm_hostname\": \"web-01\"\n}"
      },
      "description": "Permanently deletes the server. This cannot be undone: the system disk, data disks, backups and VM snapshots of the server are destroyed and its public addresses are released. Call Get delete preview first and show the user what will be lost.\n\nThe call returns at once: the server moves to `deleting` and the `job_id` job removes it within a few minutes. For prepaid servers the unused part of the paid period is credited to the wallet when the job completes; `refund_cents` is the estimate. Hourly servers are not refunded for the hour already started. A server that is still `provisioning` can be cancelled this way and is refunded in full. Locked servers cannot be deleted until they are unlocked.\n\nTo guard against mistakes you must send the server's host name as `confirm_hostname`.\n\n**Required scope:** `vm:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999947,
      "method": "DELETE",
      "name": "Delete the VM (data is lost)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id"
    },
    {
      "_id": "req_945240534573522b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the price this server is billed at right now and the price its next renewal will cost. Prices are exact integers: `hourly_uusd` is in millionths of a US dollar and the `*_cents` fields are in US cents. A prepaid server keeps the price it paid for until the period ends, so after the site lowers its list price `renewal_cents` can be lower than `cycle_cents`.\n\nNothing is charged. Use [Quote a plan change](#operation/vm_change_quote) and [Quote a billing-cycle change](#operation/vm_cycle_quote) to price a change.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm price`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999946,
      "method": "GET",
      "name": "Current price of the VM (hourly, cycle, renewal)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/price"
    },
    {
      "_id": "req_41a47841dd439353",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Previews what changing the server's plan or custom size would cost, without changing anything. Pass either `plan_id` (a fixed plan from the catalog) or all three of `cpu`, `ram_mb` and `disk_gb` (a custom size). The arithmetic is the one the change itself uses, so `amount_due_cents` is what would be taken from the wallet and `refund_cents` what would be returned for the unused part of the current period.\n\nCheck `allowed` before offering the change: it is false when the change cannot be made right now, and `reason` says why (`vm_locked`, `vm_not_active`, `job_running`, `disk_shrink`, `feature_disabled` or `custom_switch_unsupported`). `same` is true when the target equals the current size. For hourly servers the new price applies from the next billing hour; moving to a dearer size charges one hour at the new price up front.\n\nPass `scale=1` to price a live resize through the Scaling endpoints instead: it also allows moving from a fixed plan to a custom size, and for hourly servers `amount_due_cents` is the one hour charged up front.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm change-quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999945,
      "method": "GET",
      "name": "Quote a plan change or custom resize",
      "parameters": [
        {
          "description": "Fixed plan to move to, from the catalog. When given, `cpu`, `ram_mb` and `disk_gb` are ignored.",
          "disabled": true,
          "name": "plan_id",
          "value": ""
        },
        {
          "description": "Custom size: vCPU cores. Send together with `ram_mb` and `disk_gb`.",
          "disabled": true,
          "name": "cpu",
          "value": ""
        },
        {
          "description": "Custom size: memory in MiB. Send together with `cpu` and `disk_gb`.",
          "disabled": true,
          "name": "ram_mb",
          "value": ""
        },
        {
          "description": "Custom size: system disk in GiB; it can only grow. Send together with `cpu` and `ram_mb`.",
          "disabled": true,
          "name": "disk_gb",
          "value": ""
        },
        {
          "description": "Billing cycle slug to price the target for. Defaults to the server's current cycle, which gives the real amount of a change; another cycle is for information only.",
          "disabled": true,
          "name": "cycle",
          "value": ""
        },
        {
          "description": "Send `1` or `true` to price a live resize (Scaling endpoints) instead of a plan change.",
          "disabled": true,
          "name": "scale",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/change-quote"
    },
    {
      "_id": "req_f39aec83bacc2f9d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Previews switching the server to another billing cycle, without changing anything. The unused part of the current prepaid period is refunded and the first period of the new cycle is charged, so the result is either `net_due_cents` (to pay) or `net_refund_cents` (to receive), never both. Prices are today's prices for the server.\n\nIt works on a server in any state, but `allowed` is false unless the server is `active` and has no operation running. `sufficient` tells whether the wallet covers `net_due_cents`. Make the change with [Change the billing cycle](#operation/vm_change_cycle).\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm cycle-quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999944,
      "method": "GET",
      "name": "Quote a billing-cycle change",
      "parameters": [
        {
          "description": "Slug of the cycle to switch to, from the `cycles` of the catalog (for example `monthly`, `yearly`, `2y`, `3y`, or `hourly`).",
          "disabled": false,
          "name": "cycle",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/cycle-quote"
    },
    {
      "_id": "req_97a5829ae0f6a44e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Takes a picture of the server's screen (what its console shows) as a PNG data URL. It always answers 200: when no picture can be taken the body is `{available: false, reason}` instead of an error, so you can poll it safely. `reason` is `vm_not_running` (the server is not powered on), `vm_locked`, `capture_failed` (try again shortly) or `not_configured` (screenshots are not offered on this site).\n\nThe picture is scaled to the requested width and cached for about 15 seconds. At most 10 new captures per minute are allowed per client address; beyond that the call fails with `429 rate_limited`. Taking a screenshot is recorded in the server's event log, at most once per hour.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm screenshot`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999943,
      "method": "GET",
      "name": "Screenshot of the running VM",
      "parameters": [
        {
          "description": "Width of the picture in pixels: 340, 680 or 1024. Any other value gives 680.",
          "disabled": true,
          "name": "w",
          "value": ""
        }
      ],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/screenshot"
    },
    {
      "_id": "req_1331268d7f8c2875",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns how full the server's main disk is, measured from inside the server (root filesystem, or the `C:` drive on Windows). The three disk values are null when the server is not running, is locked, has no guest agent installed, or the measurement is not available on this site, so treat null as \"unknown\", not as an error. The result is cached for about 60 seconds; at most 30 uncached measurements per minute are allowed per client address.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm fsinfo`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999942,
      "method": "GET",
      "name": "Disk used/total measured inside the VM",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/fsinfo"
    },
    {
      "_id": "req_f32700fdd15e4867",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"periods\": 1\n}"
      },
      "description": "Renews a prepaid server for one or more periods of its billing cycle. The price of all periods (the price of one period, times `periods`; a site price cut since the last renewal is applied) is taken from the wallet immediately and a paid invoice is created; `paid_until` moves forward from the current end date, or from now if the server has already expired. The wallet is checked first, so a failed renewal charges nothing.\n\nIt does not create a job: the new date is in the response. Total prepaid time is capped at 36 months, so `periods` can be at most 12 for a monthly cycle, 3 for a yearly one and 1 for the 2-year and 3-year cycles. Hourly servers have nothing to renew (`409 hourly_no_renew`); switch them to a prepaid cycle with [Change the billing cycle](#operation/vm_change_cycle). The body is optional and defaults to one period. At most 10 renewals per minute are accepted per client address.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm renew`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999941,
      "method": "POST",
      "name": "Renew a prepaid VM (charges the wallet)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/renew"
    },
    {
      "_id": "req_e5250761d6d1aa3d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"yearly\"\n}"
      },
      "description": "Moves the server to another billing cycle, for example from hourly to monthly or from monthly to yearly. The unused part of a current prepaid period is refunded to the wallet and the first period of the new cycle is charged, both in one transaction: if the wallet cannot cover the difference nothing changes (`402 insufficient_funds`). Switching to `hourly` refunds the unused part and starts billing by the hour. Exception — servers in regions with calendar-month billing (international regions): switching a prepaid server to `hourly` is not immediate and refunds nothing; it is scheduled for the end of the paid period (`next_cycle` + `effective_at`) and sending the current cycle again cancels the schedule. Hourly servers there pay bandwidth per GB, monthly or longer cycles have unlimited bandwidth. Preview the amounts with [Quote a billing-cycle change](#operation/vm_cycle_quote).\n\nThe change is immediate and does not create a job. The invoices for the refund and the charge appear under Billing.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm change-cycle`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999940,
      "method": "POST",
      "name": "Change the billing cycle (prorated)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/change-cycle"
    },
    {
      "_id": "req_e4e3e5d64961709e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"template_id\": 11\n}"
      },
      "description": "**Erases the server's system disk** and installs the operating system again, either the one it already runs or, when `template_id` is given, a different image from the catalog. Everything on the system disk is lost and cannot be recovered; additional data volumes are not touched. The server keeps its plan, IP address and billing, and nothing is charged or refunded.\n\nThe call returns as soon as the job is queued (`job_id`); follow it with [List VM jobs](#operation/vm_jobs). While it runs the server is restarted and unreachable. When the installation finishes a new administrator password is sent to the account's e-mail address; if none could be produced, use Reset password. A server that still has snapshots cannot be reinstalled (`409 has_snapshots`): delete them first.\n\n**Required scope:** `vm:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm reinstall`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999939,
      "method": "POST",
      "name": "Reinstall the OS (WIPES the disk)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/reinstall"
    },
    {
      "_id": "req_60ecddb947934dc0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Gives the server a new public IPv4 address and releases the old one. Firewall rules of the old address are copied to the new one. The old address is not reused for a few days, so you cannot cycle through addresses. Expect a short loss of connectivity while the address is switched; update DNS records and allow-lists that point at the old address.\n\nOnly one change is allowed per cooldown window (24 hours by default, set by the site); inside it the call fails with `429 ip_change_cooldown` and `retry_after_hours`. The call returns as soon as the job is queued (`job_id`); follow it with [List VM jobs](#operation/vm_jobs). The new address shows in [Get a VM](#operation/vm_get) when the job is done. The body is ignored.\n\n**Required scope:** `vm:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm change-ip`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999938,
      "method": "POST",
      "name": "Change the public IP (cooldown between changes)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/change-ip"
    },
    {
      "_id": "req_ec127d606fdffad0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"enable\": true\n}"
      },
      "description": "Switches the server between dual-stack (IPv4 and IPv6) and IPv4 only. The server is moved to the other network, which interrupts its public connectivity for a few minutes; it may be restarted at the end, and its public IPv4 address can change. Firewall rules are kept. If the server is already in the requested mode the job finishes without changing anything, but still counts for the cooldown. A server inside a Private Cloud always has IPv6 and cannot be switched (`409 vpc_managed`).\n\nOnly one switch is allowed per cooldown window (60 minutes by default, set by the site); inside it the call fails with `429 ipv6_toggle_cooldown`. A server that still has snapshots cannot be switched (`409 has_snapshots`). The call returns as soon as the job is queued (`job_id`); follow it with [List VM jobs](#operation/vm_jobs). The result shows in the server's `enable_ipv6` and `ipv6` fields.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm toggle-ipv6`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999937,
      "method": "POST",
      "name": "Enable/disable IPv6 (dual-stack or IPv4 only)",
      "parameters": [],
      "parentId": "fld_3b9b88b4a45306fb",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/toggle-ipv6"
    },
    {
      "_id": "fld_ce8c905a2ca32fa9",
      "_type": "request_group",
      "description": "Firewall rules and port forwarding rules of a virtual server. Changes are applied in the background: the write operations answer immediately with a `job_id`, which you follow with [List VM jobs](#operation/vm_jobs). Rules are read live from the network and cached for about 20 seconds, so a list can lag slightly behind a change you have just made.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9998,
      "name": "VM Networking",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_996bf7ec434b6cde",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the inbound firewall rules of the server: IPv4 rules on its public address and, when IPv6 is enabled for the server, its IPv6 rules. Each rule lets one protocol and port range in from one source range. The result is cached for about 20 seconds.\n\n`pending_job` is true while a rule you added or deleted is still being applied. A server that is still being provisioned has no public address yet and answers `409 vm_not_ready`.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm firewall list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999936,
      "method": "GET",
      "name": "Firewall rules",
      "parameters": [],
      "parentId": "fld_ce8c905a2ca32fa9",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/firewall"
    },
    {
      "_id": "req_c7654db681e2d1bb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the port forwarding rules of the server's public address. Servers normally use a dedicated public address that is mapped 1:1 to the server (static NAT): every port already reaches the server, `static_nat` is true and `items` is empty. Control which traffic is allowed with [firewall rules](#operation/vm_firewall_list) instead. The result is cached for about 20 seconds.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm port-forward list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999935,
      "method": "GET",
      "name": "Port forwarding rules",
      "parameters": [],
      "parentId": "fld_ce8c905a2ca32fa9",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/port-forwarding"
    },
    {
      "_id": "req_a07e1fb8b3f3144e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cidr_list\": \"203.0.113.0/24\",\n  \"protocol\": \"tcp\",\n  \"start_port\": 443\n}"
      },
      "description": "Adds an inbound rule that lets one protocol and port range reach the server from one source range. The call returns as soon as the change is queued (`job_id`); the rule appears in [List firewall rules](#operation/vm_firewall_list) with state `Active` once the job is done.\n\nFor `tcp` and `udp` give `start_port` (and `end_port` for a range). `icmp` rules take no ports. `cidr_list` takes one CIDR block or one address (a single address becomes `/32`, or `/128` for IPv6) and defaults to everywhere. With `family` set to `ipv6` the rule applies to the server's IPv6 address, which must have been enabled for the server first. A server can have at most 50 rules per address family.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm firewall add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999934,
      "method": "POST",
      "name": "Add a firewall rule",
      "parameters": [],
      "parentId": "fld_ce8c905a2ca32fa9",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/firewall"
    },
    {
      "_id": "req_cf898fe57d343806",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes one firewall rule of the server, IPv4 or IPv6. The call returns as soon as the removal is queued (`job_id`). Only rules that belong to this server can be removed; any other `rule_id` answers `404`.\n\nGet the `rule_id` from [List firewall rules](#operation/vm_firewall_list).\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm firewall delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999933,
      "method": "DELETE",
      "name": "Delete a firewall rule",
      "parameters": [],
      "parentId": "fld_ce8c905a2ca32fa9",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "rule_id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/firewall/:rule_id"
    },
    {
      "_id": "req_0a0f9d08c90fde0b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"private_start\": 80,\n  \"protocol\": \"tcp\",\n  \"public_start\": 8080\n}"
      },
      "description": "Forwards a public port (or port range) to a port of the server. The public and private ranges must have the same length. The call returns as soon as the change is queued (`job_id`).\n\nWhen the public address is mapped 1:1 to the server (`static_nat` is true in [List port forwarding rules](#operation/vm_port_forward_list)) every port already reaches the server and the call fails with `409 static_nat_enabled`. A server can have at most 50 rules.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm port-forward add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999932,
      "method": "POST",
      "name": "Add a port-forwarding rule",
      "parameters": [],
      "parentId": "fld_ce8c905a2ca32fa9",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/port-forwarding"
    },
    {
      "_id": "req_b95dbc1b945b76b9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes one port forwarding rule of the server. The call returns as soon as the removal is queued (`job_id`). Get the `rule_id` from [List port forwarding rules](#operation/vm_port_forward_list).\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm port-forward delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999931,
      "method": "DELETE",
      "name": "Delete a port-forwarding rule",
      "parameters": [],
      "parentId": "fld_ce8c905a2ca32fa9",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "rule_id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/port-forwarding/:rule_id"
    },
    {
      "_id": "fld_6ee21a645c19cd35",
      "_type": "request_group",
      "description": "Point-in-time snapshots of a whole virtual server. Each server can hold a limited number of snapshots (`meta.limit`, 3 by default). Taking or deleting a snapshot runs in the background: the write operations answer immediately with a `job_id`, which you follow with [List VM jobs](#operation/vm_jobs). While a server has snapshots, changing its plan, reinstalling it or resizing its disk is refused with `409 has_snapshots`, so delete them first. Snapshots can be switched off for a site; every operation then answers `501 feature_disabled`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9997,
      "name": "Snapshots",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_3e00872ae0dde7cf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the snapshots of the server, with how many more you may take. `meta.can_create` is true only when the limit is not reached, no snapshot job is queued or running, and the server is active and not locked. The result is cached for about 20 seconds.\n\n`pending_job` is true while a snapshot is being taken, deleted or restored.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm snapshot list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999930,
      "method": "GET",
      "name": "List snapshots",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshots"
    },
    {
      "_id": "req_b74acee26f9546bf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"description\": \"Before the 24.04 upgrade\",\n  \"name\": \"before-upgrade\"\n}"
      },
      "description": "Takes a snapshot of the whole server. The call returns as soon as the job is queued (`job_id`); the snapshot shows up in [List snapshots](#operation/vm_snapshot_list) with state `Creating` and becomes `Ready` when the job is done. Taking a snapshot can take a minute or more depending on the disk size.\n\nBoth fields are optional. `name` keeps only letters, digits, spaces, `-`, `_` and `.` (at most 60 characters); when empty it defaults to the server's hostname plus the current UTC time. Once the server holds `meta.limit` snapshots the call fails with `409 snapshot_limit`.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm snapshot create`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999929,
      "method": "POST",
      "name": "Create a snapshot",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshots"
    },
    {
      "_id": "req_d205ffc3dfff884b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes one snapshot of the server. The call returns as soon as the deletion is queued (`job_id`). A snapshot that does not belong to this server answers `404`.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm snapshot delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999928,
      "method": "DELETE",
      "name": "Delete a snapshot",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshots/:sid"
    },
    {
      "_id": "req_2bcb04fbcdb4b911",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the snapshots of all your servers in one paged list, newest first by default. Snapshots of deleted servers are not shown. To list or manage the snapshots of one server use the per-server operations. The list is cached for about 20 seconds, so a snapshot you just took or deleted can take a moment to appear or disappear.\n\n`meta.limit` is the number of snapshots one server may hold.\n\n**Required scope:** `vm:read`.\n\nCLI command: `snapshot list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999927,
      "method": "GET",
      "name": "Snapshots of all VMs in the account (paged, sortable)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Alias of `dir`, used only when `dir` is absent.",
          "disabled": true,
          "name": "order",
          "value": ""
        },
        {
          "description": "Only list snapshots of this server (UUID). A server that is not yours gives an empty list.",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        }
      ],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/snapshots"
    },
    {
      "_id": "req_07c305a00bea8afd",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the automatic snapshot schedules of all your servers in one paged list. To see the schedules of one server, or to add or remove one, use the per-server operations.\n\n`meta.max_per_vm` is how many schedules one server may have and `meta.keep_max` the largest `keep` allowed.\n\n**Required scope:** `vm:read`.\n\nCLI command: `snapshot schedule list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999926,
      "method": "GET",
      "name": "Automatic snapshot schedules of all VMs (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Alias of `dir`, used only when `dir` is absent.",
          "disabled": true,
          "name": "order",
          "value": ""
        },
        {
          "description": "Only list schedules of this server (UUID). A server that is not yours gives an empty list.",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        }
      ],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/snapshot-policies"
    },
    {
      "_id": "req_8514fca1042eedab",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the automatic snapshot schedules of one server, oldest first, with the limits that apply. At each due time the server takes a snapshot; before that the oldest automatic snapshots beyond `keep` are deleted. A run is skipped, and the reason recorded in `last_error`, when the server cannot take a snapshot or already holds the maximum number of snapshots. Add a schedule with [Add a snapshot schedule](#operation/vm_snapshot_schedule_add).\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm snapshot schedule list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999925,
      "method": "GET",
      "name": "Automatic snapshot schedules of one VM",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshot-policies"
    },
    {
      "_id": "req_6566309999557bfb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"dow\": 1,\n  \"hour\": 3,\n  \"keep\": 2,\n  \"kind\": \"weekly\",\n  \"minute\": 30\n}"
      },
      "description": "Adds an automatic snapshot schedule to a server and answers 201 with the new schedule. Describe the time either with `kind`, `hour`, `minute` (and `dow` for weekly), or with a single `cron` string such as `daily 03:00` or `weekly 1 03:30`; when `cron` is present the other time fields are ignored. All times are UTC. A `kind` other than `weekly` means daily.\n\nA server may have a limited number of schedules (`max` in [List snapshot schedules of a VM](#operation/vm_snapshot_schedule_list)), and `keep` cannot exceed the number of snapshots a server may hold. Adding a schedule does not take a snapshot now; use the snapshot create operation for that. Works on a server in any state except a locked one.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm snapshot schedule add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999924,
      "method": "POST",
      "name": "Add an automatic snapshot schedule (daily/weekly)",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshot-policies"
    },
    {
      "_id": "req_01e16d37f4dd8858",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes an automatic snapshot schedule. Snapshots it already took are kept; delete them separately if you no longer need them. A schedule that does not exist, or belongs to another server or account, answers 404.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm snapshot schedule delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999923,
      "method": "DELETE",
      "name": "Delete an automatic snapshot schedule",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "pid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshot-policies/:pid"
    },
    {
      "_id": "req_83be683f828aa1cf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "**Overwrites the server's disk with a snapshot.** The server is stopped, its disk goes back to the state it had when the snapshot was taken, and the server is started again. Everything written since the snapshot was taken is lost and cannot be recovered. Use a backup or take a fresh snapshot first if you may need the current state.\n\nThe call returns as soon as the job is queued (`job_id`); follow it with [List VM jobs](#operation/vm_jobs). While the job runs the server is unreachable. The body is ignored.\n\n**Required scope:** `vm:restore`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm snapshot restore`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999922,
      "method": "POST",
      "name": "Restore the VM to a snapshot (stops, overwrites the disk, restarts)",
      "parameters": [],
      "parentId": "fld_6ee21a645c19cd35",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/snapshots/:sid/restore"
    },
    {
      "_id": "fld_bcb496d60beca6c3",
      "_type": "request_group",
      "description": "One-time tickets for the graphical (VNC) console and the SSH web terminal, shareable terminal links, and the AI SSH agent that runs commands on a server for you. Tickets and share tokens are secrets: anyone who holds one can open the console until it expires, so never log them or put them in a URL you share publicly.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9996,
      "name": "Console and AI Agent",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_e5b948394d510413",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Issues a one-time link to the graphical (VNC) console of a running server. Open `url` in a browser, or embed it in a page, within `expires_in` seconds (60). The link works for one console session; asking again issues a new one. Requests are limited to 10 per minute per client address.\n\nThe server must be active and running. For a text terminal use [Get an SSH ticket](#operation/vm_ssh_token) instead.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm console`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999921,
      "method": "GET",
      "name": "Get a one-time VNC console ticket",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/console"
    },
    {
      "_id": "req_60b3fd3cc2b57dcc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Issues a one-time ticket for the SSH web terminal of a running Linux server. Open a WebSocket to `websocket_url` with the ticket as the `token` query parameter (`<websocket_url>?token=<token>`) within `expires_in` seconds (300). The ticket can be used for one connection only; reconnecting needs a new ticket. Over the socket, send JSON text frames such as `{\"type\":\"input\",\"data\":\"ls\\n\"}`, `{\"type\":\"resize\",\"cols\":120,\"rows\":30}` and, when the gateway asks for credentials (`auth_required`), `{\"type\":\"auth\",\"username\":\"...\",\"password\":\"...\"}`; output arrives as `{\"type\":\"output\",\"data\":\"...\"}` frames.\n\nThe server must be active, running and have an address. Requests are limited to 20 per minute per client address. `has_credentials` tells you whether a saved password or key will be used automatically; if not, the gateway asks for the password.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm ssh-token`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999920,
      "method": "POST",
      "name": "Get a one-time SSH WebSocket token",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/ssh-token"
    },
    {
      "_id": "req_993e3ab885a01893",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns whether the AI agent is enabled, the model it uses, and the most recent conversation you had with it about this server (up to the last 40 messages, oldest first). `session_id` is null and `messages` is empty when there is no conversation yet. Use `session_id` in [Run the AI agent](#operation/vm_ai_agent_run) to continue the conversation.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm ai-agent status`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999919,
      "method": "GET",
      "name": "AI SSH Agent status and history",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/ai-agent/status"
    },
    {
      "_id": "req_4ba3ac1a85cc1216",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Starts a new, empty AI agent conversation for this server. The earlier conversation is kept but is no longer the one [Get AI agent status](#operation/vm_ai_agent_status) returns, so the agent forgets the previous context. Pass the returned `session_id` to [Run the AI agent](#operation/vm_ai_agent_run), or omit `session_id` there to start a fresh conversation automatically. No body is needed.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm ai-agent clear`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999918,
      "method": "POST",
      "name": "Start a new AI SSH Agent session",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/ai-agent/clear"
    },
    {
      "_id": "req_37515e368fcd9b14",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_execute\": false,\n  \"messages\": [\n    {\n      \"content\": \"How much disk space is left?\",\n      \"role\": \"user\"\n    }\n  ],\n  \"session_id\": \"ais_9b1d4c0a7e3f5a21c6d8\",\n  \"vm_context\": {\n    \"os\": \"Ubuntu 24.04\"\n  }\n}"
      },
      "description": "Sends a message to the AI agent, which can run shell commands on the server over SSH to answer. The response is a stream of server-sent events (`text/event-stream`): each `data:` line is one JSON object (see the schema), separated by a blank line. The `X-AI-Session-Id` response header carries the conversation identifier.\n\nA typical stream is `hello`, then `assistant_turn` (the agent's text), then one of two paths:\n\n- **Needs your approval** (the default): `tool_request` with the proposed `command`, then `done` with `awaiting_confirm: true`. Show the command to the user and, if approved, call this operation again with the same `session_id` and `confirmed_cmd` set to that exact command. The server runs it as given, without re-checking it, so only send commands the user approved.\n- **Runs by itself** (`auto_execute: true`, the command is on the read-only allowlist (checking status, reading logs/configuration, network diagnostics), and is not flagged as risky): `tool_start`, `tool_result` (output and exit code), then the agent continues with more `assistant_turn` / `tool_*` events, up to 10 steps, and ends with `done`. All commands that modify the server (installing packages, editing files, restarting services) stop at `tool_request` with `auto_blocked: true` and `read_only: false`; commands that look dangerous (deleting or overwriting files, changing accounts or keys, piping downloads into a shell, shutting down or rebooting) also include a `risk_reason`.\n\nAn `error` event ends the stream early. The server must be active and running. Limits: 20 requests per minute per account, 2 conversations streaming at once, and a daily quota of AI calls per account (300 by default, resets at 00:00 UTC); when exceeded the call fails with `429 rate_limited` (the daily case carries `limit`, `used` and `retry_after`).\n\n```\ndata: {\"type\":\"hello\",\"session_id\":\"ais_9b1d4c0a7e3f5a21c6d8\"}\n\ndata: {\"type\":\"assistant_turn\",\"content\":\"I will check the free disk space.\",\"model\":\"example-model-1\"}\n\ndata: {\"type\":\"tool_request\",\"id\":\"call_1\",\"command\":\"df -h /\",\"reason\":\"Check free disk space\",\"risk_reason\":null,\"auto_blocked\":false,\"read_only\":true}\n\ndata: {\"type\":\"done\",\"session_id\":\"ais_9b1d4c0a7e3f5a21c6d8\",\"model\":\"example-model-1\",\"awaiting_confirm\":true}\n```\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm ai-agent run`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999917,
      "method": "POST",
      "name": "Run AI SSH Agent (SSE stream)",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/ai-agent"
    },
    {
      "_id": "req_e153354b09208f11",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your servers (VMs first, at most 500, by name; then your Bare Metal servers) with whether the AI SSH agent can work on each one right now. `kind` tells them apart: `vm` or `dedicated` (a Bare Metal server, identified by `ds_…`). A server is `ready` when it is active, running, not locked, runs Linux and has an address; a Bare Metal server must also have an active subscription and no operating system install in progress. Otherwise `reason` says why: `locked` (billing or admin lock), `not_active` (still being created or being deleted), `stopped`, `windows` (the agent needs a Linux shell), `no_ip`, `suspended` (Bare Metal subscription suspended), `installing` (Bare Metal operating system install in progress), `impersonated` (Bare Metal server seen in a session a reseller opened on your behalf; the agent cannot run there) or `unavailable` (managed by another provider for now). Bare Metal servers are only listed on the main site (not on reseller sites) and, when you use an API key, only with the `dedicated:console` scope; in a session a reseller opened on your behalf they are listed but never ready. `last_session_at` is the time of your latest conversation with the agent on that server. The response also carries whether the agent is switched on, the model it uses and your daily quota.\n\n**Required scope:** `vm:read`.\n\nCLI command: `agent vms`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999916,
      "method": "GET",
      "name": "VMs usable by the AI SSH Agent + daily quota",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/vms"
    },
    {
      "_id": "req_93000ae89c6d64f0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Checks that the agent can log in to the server over SSH, using the saved credentials (for a Bare Metal server, the login of its current operating system install unless you saved another one in its SSH tab) or the platform's operations key — you never send or receive a password. The platform runs a fixed, read-only command (login name, hostname, kernel and OS name) and does not use your AI quota. `connected: false` comes with `error_code`: `auth_failed` (log in once in the SSH console so the password is saved), `timeout`, `unreachable` (SSH not listening or blocked by a firewall) or `proxy_unavailable`. Limited to 10 checks per minute per account. The result is remembered for 60 seconds (300 seconds after a failure) so that opening the page repeatedly does not log in again and again (a wrong saved password could get the gateway banned by fail2ban); pass `force=1` to check again now. No body is needed.\n\n**Required scope:** `vm:console`.\n\nCLI command: `agent connect`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999915,
      "method": "POST",
      "name": "Check the agent SSH login (fixed command)",
      "parameters": [
        {
          "description": "Check again now instead of returning the remembered result.",
          "disabled": true,
          "name": "force",
          "value": ""
        }
      ],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/vms/:id/connect"
    },
    {
      "_id": "req_aa5b47a294563e00",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your AI agent conversations that have at least one message, most recently active first. Filter by server with `vm_id`, and search titles and server names with `q`.\n\n**Required scope:** `vm:read`.\n\nCLI command: `agent session list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999914,
      "method": "GET",
      "name": "List AI SSH Agent conversations",
      "parameters": [
        {
          "description": "Only conversations about this server.",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        },
        {
          "description": "Text to look for in the title or the server name.",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/sessions"
    },
    {
      "_id": "req_9654be4cca3e43b0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"vm_id\": \"3f6c1d0e-8a52-4b57-9a41-0c2f6e9d7b10\"\n}"
      },
      "description": "Starts a new, empty conversation with the AI agent about one of your servers (a VM, or a Bare Metal server by its `ds_…` identifier). The conversation stays bound to that server. It is listed once it has a message; send one with [Send to the AI agent](#operation/agent_session_send). Limited to 30 per minute per account.\n\n**Required scope:** `vm:write`.\n\nCLI command: `agent session create`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999913,
      "method": "POST",
      "name": "Start an AI SSH Agent conversation for a VM",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/sessions"
    },
    {
      "_id": "req_c53ce24efd72c139",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one conversation with its latest 100 messages, oldest first. Command output is stored cut to 16000 characters (stderr 8000). Limited to 120 requests per minute per account. Each answer lists the commands the agent proposed or ran in `meta.steps`; a step with `status: pending` waits for your decision (see [Send to the AI agent](#operation/agent_session_send)). `running` is true while an answer is being produced.\n\n**Required scope:** `vm:read`.\n\nCLI command: `agent session get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999912,
      "method": "GET",
      "name": "Get an AI SSH Agent conversation with messages",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/sessions/:sid"
    },
    {
      "_id": "req_da5c076ebecffcd7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"title\": \"Nginx setup\"\n}"
      },
      "description": "Renames a conversation. Control characters are removed and the title is cut to 80 characters; an empty title fails with `422 invalid_argument`.\n\n**Required scope:** `vm:write`.\n\nCLI command: `agent session rename`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999911,
      "method": "PATCH",
      "name": "Rename an AI SSH Agent conversation",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/sessions/:sid"
    },
    {
      "_id": "req_0cc9aba47416f3e4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes a conversation and all its messages, including the record of the commands it ran — so it needs the same `vm:console` scope that runs commands. This cannot be undone. A conversation that is answering right now cannot be deleted (`409 session_busy`).\n\n**Required scope:** `vm:console`.\n\nCLI command: `agent session delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999910,
      "method": "DELETE",
      "name": "Delete an AI SSH Agent conversation (with its command history)",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/sessions/:sid"
    },
    {
      "_id": "req_027caab417eb269e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_execute\": false,\n  \"content\": \"How much disk space is left?\"\n}"
      },
      "description": "Sends a request to the AI agent in a conversation, or answers a command that waits for your confirmation. The agent works on the conversation's server over SSH and the conversation history is taken from the server side, so you only send the new message. The response is a stream of server-sent events (`text/event-stream`), the same events as [Run the AI agent](#operation/vm_ai_agent_run), plus `step_skipped`.\n\nSend exactly one of:\n\n- `content`: your request (at most 4000 characters).\n- `confirm`: `{\"step_id\": \"…\", \"action\": \"run\"}` runs the command of that pending step exactly as it was proposed (you cannot change it), then the agent continues; `\"action\": \"skip\"` declines it. Only a pending step of the latest answer can be confirmed; otherwise the call fails with `409 step_not_pending`. Declining (`skip`) works even when the server is stopped or locked.\n\nWith `auto_execute: true` the agent only runs read-only commands by itself (checking status, reading logs/configuration, network diagnostics), up to 10 steps per request; all commands that modify the server stop for confirmation (`tool_request` has `read_only: false`); commands that look dangerous (deleting or overwriting files, changing accounts or keys, piping downloads into a shell, shutting down or rebooting, connecting to other machines) also carry `risk_code` (`destructive`, `files`, `exfil`, `raw_net`, `auth`, `obfuscated`, `remote_script`, `power_fw`, `pivot`) next to the human-readable `risk_reason`. The pivot check is a warning, not an isolation boundary: the agent can only ever reach this server, but commands it runs there can open connections like any shell. One request at a time per conversation (`409 session_busy`), 2 streaming conversations per account, 20 requests per minute and a daily AI call quota per account (`429 rate_limited`; the quota is shared by VMs and Bare Metal servers). The server must be active and running.\n\n**Bare Metal servers** use the same operation. Their eligibility is checked again on every request and before every command the agent runs (subscription active, server not locked, no operating system install in progress, Linux, powered on, public address valid), including for conversations created earlier; the Bare Metal errors listed below carry the reason. Commands that shut down, reboot, delete data or repartition disks always wait for your confirmation. Output is cleaned of the server's password before it is stored or shown to the AI.\n\n**Required scope:** `vm:console`.\n\nCLI command: `agent session send`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999909,
      "method": "POST",
      "name": "Send to the AI SSH Agent / confirm a command (SSE stream)",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/chat/agent/sessions/:sid/messages"
    },
    {
      "_id": "req_e018d025c2533826",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the share links of the server that are still active (not revoked and not expired), newest first, at most 20. A share link lets someone else open the server's SSH terminal without an account. Each link carries its `token` and `websocket_url` only when the caller may use the terminal, which is the case for a signed-in session and for keys with the `vm:console` scope; keys with only `vm:read` see the links without tokens.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm console-share list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999908,
      "method": "GET",
      "name": "List active SSH session share links",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/console-shares"
    },
    {
      "_id": "req_35b85a382ada7b16",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"label\": \"Support session\",\n  \"mode\": \"ro\",\n  \"ttl_minutes\": 60,\n  \"variant\": \"shared\"\n}"
      },
      "description": "Creates a share link for the server's SSH terminal. The viewer connects to the returned `websocket_url` with `?mode=share&token=<token>` appended, with no account or password. Anyone holding the token can use the link until it expires or you revoke it with [Revoke a share link](#operation/vm_console_share_revoke), so share it only with people you trust, and use `ro` unless the viewer must type.\n\nSend a JSON body (`{}` is enough). Unknown `mode` or `variant` values fall back to `ro` and `shared`; `ttl_minutes` is clamped to 15 through 1440 (default 60). A server can have at most 5 active links. The link is created even if the server is not running; it only works while the server is.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm console-share create`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999907,
      "method": "POST",
      "name": "Create an SSH session share link",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/console-shares"
    },
    {
      "_id": "req_15b21a8737c89624",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Revokes a share link immediately: its token stops working for new connections. A link that is unknown, already revoked or belongs to another server answers `404`. Links also stop working on their own when they expire.\n\n**Required scope:** `vm:console`.\n\nCLI command: `vm console-share revoke`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999906,
      "method": "DELETE",
      "name": "Revoke an SSH session share link",
      "parameters": [],
      "parentId": "fld_bcb496d60beca6c3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/console-shares/:sid"
    },
    {
      "_id": "fld_cc5f25472b00eeca",
      "_type": "request_group",
      "description": "SSH public keys stored in your account. Only the public half is stored here, so nothing secret is ever returned. Attach a stored key to a server with [Attach an SSH key to the VM](#operation/vm_ssh_key_attach), or choose one when you create a server. An account can store at most 20 keys.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9995,
      "name": "SSH Keys",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_d6a80ca4cfac55fc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the SSH public keys stored in your account, oldest first. The list is not paginated because an account holds at most 20 keys.\n\n**Required scope:** `sshkey:read`.\n\nCLI command: `ssh-key list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999905,
      "method": "GET",
      "name": "List SSH keys",
      "parameters": [],
      "parentId": "fld_cc5f25472b00eeca",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/sshkeys"
    },
    {
      "_id": "req_478fa350de9ee56c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"laptop\",\n  \"public_key\": \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOrJvc3RhcmV4YW1wbGVrZXlvbmx5MDEyMzQ1Njc4OQ laptop\"\n}"
      },
      "description": "Stores an SSH public key in your account so you can attach it to servers. Paste the contents of the `.pub` file as `public_key`. Only `ssh-ed25519` and `ssh-rsa` keys are accepted; other types (for example `ecdsa-sha2-nistp256`) are rejected. The key is checked structurally, and its fingerprint must be new to your account.\n\nThe key is only stored; it is not installed on any server until you attach it. Returns `201` with the stored key.\n\n**Required scope:** `sshkey:write`.\n\nCLI command: `ssh-key add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999904,
      "method": "POST",
      "name": "Add an SSH key",
      "parameters": [],
      "parentId": "fld_cc5f25472b00eeca",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/sshkeys"
    },
    {
      "_id": "req_a71e2bcb64d2d0cb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes a stored SSH key. Servers that already use the key keep working and keep the key installed; only the stored copy is removed, so you can no longer attach it to other servers. Deleting a key that does not exist, or was already deleted, answers `404`.\n\n**Required scope:** `sshkey:write`.\n\nCLI command: `ssh-key delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999903,
      "method": "DELETE",
      "name": "Delete an SSH key",
      "parameters": [],
      "parentId": "fld_cc5f25472b00eeca",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/sshkeys/:id"
    },
    {
      "_id": "fld_ff8e6a72c00a3fb3",
      "_type": "request_group",
      "description": "Read-only access to your wallet, invoices, payments, orders and current usage. Money can only be added, and payment methods only be changed, from the dashboard; no API key can do it. Unless a field says otherwise, amounts are integers in US cents (`*_cents`). Prices per hour are given in millionths of a dollar (`*_uusd*`) or thousandths of a dollar (`*_mills*`).",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9994,
      "name": "Billing",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_36672c91bdc0abbd",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns your wallet balance and its transaction history, newest first by default. The wallet is a prepaid balance in US cents: top-ups and refunds add to it, server charges take from it. The balance can be negative after an overdraft or a correction by support.\n\nThe top-up limits and the stored-card label are informational; money can only be added from the dashboard.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing wallet`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999902,
      "method": "GET",
      "name": "Wallet balance",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Entries per page. Values above 100 are clamped to 100.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only money added (`in`, positive `delta_cents`) or only money spent (`out`, negative). Omit for both.",
          "disabled": true,
          "name": "sign",
          "value": ""
        }
      ],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/wallet"
    },
    {
      "_id": "req_7980d9ab57987a20",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns an overview of your spending: balance, what has been charged this month, what is overdue, and how fast running hourly servers burn through the wallet. It also carries the site's top-up limits, fee schedule and exchange rate, which the dashboard uses to render the top-up form; they are informational here.\n\n\"This month\" is the calendar month in UTC+7. `accruing_cents` counts wallet charges since its start; `outstanding_cents` adds unpaid invoices and any negative balance. The burn rate only counts hourly servers that are running.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing summary`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999901,
      "method": "GET",
      "name": "Billing overview",
      "parameters": [],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/summary"
    },
    {
      "_id": "req_cd5bf30fe7bfea44",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the trial credit of your account. New accounts get one trial credit that starts as `pending` and becomes `active` when the first real top-up of at least `min_deposit_cents` is credited and the email is verified. While `active` it pays, before the wallet, for exactly one Cloud VM billed hourly in a Vietnam zone (a plan whose 30-day (720 h) price is covered by your real top-ups; the credit never pays more per hour than that plan), one VPN / Proxy IPv4 order and one IPv6 Proxy order on the 1-day plan; any other cycle (monthly or longer) and every other service is paid from the wallet — orders are never blocked, they simply do not use the credit. If the top-up that activated it is refunded or disputed, the remaining credit is revoked. It cannot be withdrawn or transferred and expires after `days`. `status` is `none` (not claimed yet), `pending`, `active`, `used_up`, `expired`. Sites run by a reseller always return `enabled: false`.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing trial get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999900,
      "method": "GET",
      "name": "Trial credit of your account",
      "parameters": [],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/trial"
    },
    {
      "_id": "req_8de42fa8700420f2",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Public description of the trial credit program shown on the website: amount, validity, the top-up that activates it and the services it covers. No sign-in needed. Sites run by a reseller return `enabled: false`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `public trial`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999899,
      "method": "GET",
      "name": "Trial program (public)",
      "parameters": [],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/trial"
    },
    {
      "_id": "req_3120c51ffa31ddb8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your invoices: receipts for purchases, renewals, top-ups, refunds and manual invoices. The list also includes invoices issued to the previous owner of a server that was transferred to you; those are marked `previous_owner` and have their buyer details hidden. Use [Get an invoice](#operation/billing_invoice_get) for the line items.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing invoice list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999898,
      "method": "GET",
      "name": "List invoices",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Invoices per page. Values above 100 are clamped to 100.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only invoices with this status.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/invoices"
    },
    {
      "_id": "req_1aea24368419882e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one invoice with its line items and the seller and buyer details parsed into objects. An invoice that belongs to another account answers `404`, except invoices issued to the previous owner of a server that was transferred to you, which are returned with the buyer details hidden and `previous_owner` set to true.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing invoice get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999897,
      "method": "GET",
      "name": "Get one invoice",
      "parameters": [],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/invoices/:id"
    },
    {
      "_id": "req_b5e7c9a5f1b012bf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the payments made into your wallet: top-ups (started by you or automatic) and refunds, newest first by default. A payment adds to the wallet only once its status is `completed`; `pending` ones are still waiting for the payment channel. To see what was spent, use [Get the wallet](#operation/billing_wallet) or [List orders](#operation/billing_order_list).\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing payment list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999896,
      "method": "GET",
      "name": "Payment history",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Payments per page. Values above 100 are clamped to 100.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only payments with this status.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Only payments handled by this payment channel. Other values are ignored.",
          "disabled": true,
          "name": "gateway",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/payments"
    },
    {
      "_id": "req_0db26a2e687792a9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your orders: every invoice that is about a server (purchases, plan and cycle changes, renewals, refunds), newest first by default. Each order carries the first line of its invoice as `description` and a short summary of the server (`vm`, null once the server has been deleted). Top-ups are not orders; see [List payments](#operation/billing_payment_list).\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing order list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999895,
      "method": "GET",
      "name": "Order history",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Orders per page. Values above 100 are clamped to 100.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only orders with this status.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Only orders of this kind.",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Search text, matched against the invoice number, the server identifier and the note. At most 80 characters are used.",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/orders"
    },
    {
      "_id": "req_1ba9e2a851b64c85",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your orders across every service in one place: purchases, renewals, upgrades, add-ons, top-ups, refunds and usage. Orders come from your invoices, from wallet charges that have no invoice, and from metered hourly usage grouped per service and UTC day. Filtering, sorting and paging run on the server over the whole list. Invalid parameters are rejected with 422 and `field` naming the parameter.\n\n**Required scope:** `billing:read`.\n\nCLI command: `order list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999894,
      "method": "GET",
      "name": "Orders across all services",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Orders per page, 1 to 100.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only orders of this product line.",
          "disabled": true,
          "name": "service",
          "value": ""
        },
        {
          "description": "Only orders of this type.",
          "disabled": true,
          "name": "type",
          "value": ""
        },
        {
          "description": "Only orders with this status.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Search text (at most 80 characters), matched against the invoice number, the server identifier and the description.",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Only orders created at or after this Unix time (seconds).",
          "disabled": true,
          "name": "from",
          "value": ""
        },
        {
          "description": "Only orders created at or before this Unix time (seconds). Must not be before `from`.",
          "disabled": true,
          "name": "to",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/orders"
    },
    {
      "_id": "req_9720869f0bb09433",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the resources your account uses right now: the total vCPU, memory and disk of all servers that are active, locked or being provisioned, the number of public addresses and servers, and how many attacks were blocked against your addresses in the last 30 days. `limits` holds the account limits for each resource, or null where there is no limit. The burn rate counts only running hourly servers.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing usage`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999893,
      "method": "GET",
      "name": "Current usage",
      "parameters": [],
      "parentId": "fld_ff8e6a72c00a3fb3",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/client/usage"
    },
    {
      "_id": "fld_f8311cc8448766cb",
      "_type": "request_group",
      "description": "Inspect and manage the DDoS Shield of your account: protected IPs, blocking rules, attack events, edge traffic, blackholes, web protection and AI analysis, and the agent installed on your own server. Reading needs the `shield:read` scope, changing rules and settings needs `shield:write`, and controlling the agent needs `shield:agent`. Every path contains your tenant identifier, which is shown on the Account page of the dashboard; a key can only reach the tenant of the account that owns it. Protected IPs are managed for you and cannot be added or removed through the API. Rules created by automatic attack mitigation are visible but read-only.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9993,
      "name": "DDoS Shield",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_1ee813addf9bf14c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the overview shown on the DDoS Shield page of the dashboard: every protected IP with its current inbound and outbound rate, status, number of blocking rules and the attack in progress (if any), plus totals. Rates are measured at the network edge and refresh every few seconds; `spark` and `spark_out` hold up to 30 recent samples per direction for drawing a chart.\n\n`status` is `attack` while an attack event is open, `high` when the inbound packet rate is well above the normal level of the IP, `idle` when no inbound traffic is measured and `ok` otherwise. For details about attacks use [List attack events](#operation/shield_event_list).\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield summary`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999892,
      "method": "GET",
      "name": "DDoS Shield overview",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/summary"
    },
    {
      "_id": "req_c83617f432e01807",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything the DDoS Shield dashboard shows on one page, for ALL IPs of your account together: totals (current rate, protected IPs, attacks in progress, blocking rules, blackholes), one row per IP, the combined edge traffic stacked by IP, the attack events of the last 24 hours and the countries attacks and traffic come from. Only IPs of your own account are included, and every total is the sum of those IPs.\n\n`range` chooses the traffic window: `30m` (default) is the live window sampled every 5 seconds; `6h` and `24h` are stored history with one point per 5 minutes (the highest rate of each 5 minutes), kept across restarts of the edge service; history starts when it was first recorded, so a young account or a new IP may show fewer points than the window. Nothing is kept for longer than 48 hours. `events.peak_bits_24h` is the highest inbound bit rate of the attacks of the last 24 hours, left at 0 (and counted in `events.peak_bits_unsure_24h`) when the measurement is not plausible. Attack countries (`events.attack_cc`, `events.attack_ev`) are only known for attacks detected by an agent installed on your server. `geo.cc` lists the countries inbound traffic comes from, sampled over the last 15 minutes from the busiest IPs; it is refreshed in the background, so `geo.at` is 0 until the first sample is ready. Data is cached for 2 seconds. For the rules of one IP use [List blocking rules](#operation/shield_rule_list); for the attacks of one IP use [List attack events](#operation/shield_event_list).\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield overview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999891,
      "method": "GET",
      "name": "DDoS Shield center: all IPs, traffic, 24-hour attacks",
      "parameters": [
        {
          "description": "Traffic window of `traffic`. Any other value is treated as `30m`.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/overview"
    },
    {
      "_id": "req_c96b0ca7d6bc7f1a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the IP addresses protected by DDoS Shield on your account, each with its blocking rules, web protection settings and cumulative edge counters. The list is not paginated.\n\nRules created from an AS number or a country carry the expanded `prefixes`, which can be very long; if you only need rule details use [List blocking rules](#operation/shield_rule_list). `counters.targets` is keyed by IP and counts packets and bytes since the edge started, so subtract two readings to get a rate (or use [Get edge traffic](#operation/shield_traffic)). Protected IPs are managed for you and cannot be added or removed here.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999890,
      "method": "GET",
      "name": "Protected IPs",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets"
    },
    {
      "_id": "req_cb5dcc0c054e283c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the blocking rules of one protected IP, newest first, with the number of packets and bytes each rule matched and the limits that apply when you add more. `:id` is the target `id` from [List protected IPs](#operation/shield_target_list); the IP address itself is accepted too.\n\nRules whose `actor` is `you` were created by your account (dashboard or API) and can be deleted with [Delete a blocking rule](#operation/shield_rule_delete); rules created by an integration, intrusion prevention, AI analysis, automatic mitigation or an operator are read-only. `total` counts all rules of the IP, whatever the filters. In `caps`, `max_rules` is 0 when the account uses the default limit (500 rules and 20,000 networks in total).\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield rule list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999889,
      "method": "GET",
      "name": "Rules of one IP",
      "parameters": [
        {
          "description": "Only return rules in this mode. Any other value matches nothing.",
          "disabled": true,
          "name": "mode",
          "value": ""
        },
        {
          "description": "Case-insensitive text; only rules whose value or note contains it are returned.",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rules"
    },
    {
      "_id": "req_b2c11e7784a14748",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the attacks detected on one protected IP in the chosen period, newest first, and the attack in progress (`open`) if there is one. `:id` is the target `id`; the IP address itself is accepted too. Events from before the IP was assigned to your account are not shown.\n\nBy default events are brief: the raw `samples` are left out and `peak_bits`, `duration_s` and `open` are added. Pass `brief=0` to get the full event with its samples. Only the most recent 300 events of the whole system are searched, so a very old event can be missing from a long range.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield event list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999888,
      "method": "GET",
      "name": "Attack events of one IP",
      "parameters": [
        {
          "description": "Only return events that started within this period. Any other value is treated as `30d`.",
          "disabled": true,
          "name": "range",
          "value": ""
        },
        {
          "description": "`1` returns brief events (no `samples`); `0` returns full events.",
          "disabled": true,
          "name": "brief",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/events"
    },
    {
      "_id": "req_f93fd76d2502175d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns, for each protected IP, the cumulative edge counters and the learned traffic baseline. `counters` holds packets and bytes per direction since the edge started (`in` is traffic toward your IP, `out` is traffic from it). `baseline` holds the normal inbound packet rate (`baseline_pps`), its standard deviation (`sigma`) and up to 60 recent samples (about the last five minutes) in `history`.\n\nEach `history` sample is `[unix_time, inbound_packets_per_s, inbound_bytes_per_s, outbound_packets_per_s, outbound_bytes_per_s]`; note that the byte columns are bytes, not bits, per second. For the same figures in bits per second use [Get the overview](#operation/shield_summary). An IP without measurements has empty `counters` or `baseline` objects.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield traffic`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999887,
      "method": "GET",
      "name": "Edge traffic",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/traffic"
    },
    {
      "_id": "req_7353468dc67be32c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"mode\": \"block\",\n  \"note\": \"scanner traffic\",\n  \"ttl_min\": 1440,\n  \"values\": [\n    \"198.51.100.7\",\n    \"203.0.113.0/24\",\n    \"AS64500\"\n  ]\n}"
      },
      "description": "Adds one or more blocking rules to a protected IP. A rule drops (`block`) or only counts (`count`) traffic from a source: an IPv4 address or network (`/8` to `/32`), an IPv6 address or network (`/32` to `/128`), an AS number such as `AS64500`, or a two-letter country code. Private, loopback and multicast ranges are refused. A country is only accepted when it is repeated in `confirm_country`, because it blocks a whole country. AS and country values are expanded to their networks, which needs a lookup and takes longer.\n\nPass the values in `values` (an array, or one string separated by spaces, commas, semicolons or new lines) or a single one in `value`. At most 50 values are processed per call; the rest are returned in `rejected`, as are duplicates and invalid values, so a call can succeed with `added` equal to 0. `:id` must be the target `id` (the IP address is not accepted here). Rules are limited per account (500 rules and 20,000 networks by default), and an account can make 60 calls per minute to this operation (10 per minute for calls that contain an AS number or a country). New rules take effect shortly after the call returns.\n\n**Required scope:** `shield:write`.\n\nCLI command: `shield rule add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999886,
      "method": "POST",
      "name": "Add a blocking rule",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rules"
    },
    {
      "_id": "req_54255041a38731eb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes a blocking rule that was created by your account (`actor` is `you` in [List blocking rules](#operation/shield_rule_list)); the rule stops applying shortly after the call returns. Rules created by an integration, intrusion prevention, AI analysis, automatic mitigation or an operator are read-only and cannot be deleted: the call fails with `403 readonly_rule`. `:id` is the target `id`; the IP address itself is accepted too.\n\n**Required scope:** `shield:write`.\n\nCLI command: `shield rule delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999885,
      "method": "DELETE",
      "name": "Delete a blocking rule",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "rid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rules/:rid"
    },
    {
      "_id": "req_af4ef09922516783",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns your DDoS Shield account: status, limits, current usage and every protected IP with its blocking rules. Rules created by the protection system or by staff appear with an actor label instead of a name.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield tenant get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999884,
      "method": "GET",
      "name": "Tenant overview: quota, usage and protected IPs",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid"
    },
    {
      "_id": "req_d891e3aff5c3b32a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists every blocking rule of the tenant across all protected IPs in one flat list, newest first, with cursor paging. To list the rules of one IP with their hit counters use the target rule list instead.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield block list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999883,
      "method": "GET",
      "name": "All blocking rules of the tenant, flat and paged",
      "parameters": [
        {
          "description": "Only rules of this protected IP (identifier or address).",
          "disabled": true,
          "name": "target",
          "value": ""
        },
        {
          "description": "Rules per page.",
          "disabled": true,
          "name": "limit",
          "value": ""
        },
        {
          "description": "Offset to continue from: pass the `next_cursor` of the previous page.",
          "disabled": true,
          "name": "cursor",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/blocks"
    },
    {
      "_id": "req_f29c13e038a4266d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Downloads every blocking rule of the tenant as a CSV file with the columns `id,target_ip,kind,value,prefixes,note,by,at`.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield block export`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999882,
      "method": "GET",
      "name": "Download the tenant's blocking rules as CSV",
      "parameters": [
        {
          "description": "Only rules of this protected IP (identifier or address).",
          "disabled": true,
          "name": "target",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/blocks/export"
    },
    {
      "_id": "req_e9bd918ec7190a5e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the countries seen in recent traffic, for building country rules. Each entry has the ISO country code and its name. The call needs the traffic analyzer to be running and returns 503 `unavailable` otherwise.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield country list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999881,
      "method": "GET",
      "name": "Country code table used by country rules",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/countries"
    },
    {
      "_id": "req_dfdb6b605f62dd7d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists attack events against the tenant's IPs, newest first (at most 300). Events from before an IP was assigned to you are never shown. Use `brief=1` to drop the bulky sample arrays.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield tenant events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999880,
      "method": "GET",
      "name": "Attack events against the tenant's IPs",
      "parameters": [
        {
          "description": "Only events that started within this range.",
          "disabled": true,
          "name": "range",
          "value": ""
        },
        {
          "description": "Pass `1` for the short form without `samples`, with `severity`, `peak_bits`, `duration_s` and `open` added.",
          "disabled": true,
          "name": "brief",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/events"
    },
    {
      "_id": "req_a7e00c20e6370fa2",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one attack event with the captured packet sample (top sources, protocols and ports) and a link to the text report.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield event get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999879,
      "method": "GET",
      "name": "One attack event with packet sample",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "eid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/events/:eid"
    },
    {
      "_id": "req_522ce9667d51a349",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Downloads the incident report of an attack event as a plain-text file: target, type, times, peak rates, top sources and protocol mix. The text is written in Vietnamese.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield event report`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999878,
      "method": "GET",
      "name": "Plain-text incident report of an attack event",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "eid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/events/:eid/report"
    },
    {
      "_id": "req_af3f3fef02494e98",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the upstream blackhole (RTBH) entries that currently cover the tenant's IPs, including entries created by the protection system. Use the target blackhole calls for the full detail of one IP.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield rtbh list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999877,
      "method": "GET",
      "name": "Upstream blackhole (RTBH) entries of the tenant's IPs",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/rtbh"
    },
    {
      "_id": "req_aaf0d3d1ceb9ab39",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic shaping (rate limiting) state of every protected IP of the tenant: whether a shaper applies, its limits and the live rates. Read-only.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield shape list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999876,
      "method": "GET",
      "name": "Traffic shaping state of all the tenant's IPs (read-only)",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/shape"
    },
    {
      "_id": "req_cf3acb7e38fc5e44",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the current packet and bit rate of every protected IP, computed from the last two counter readings. `stale` is true when no earlier reading was available to compare with.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield traffic live`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999875,
      "method": "GET",
      "name": "Live packet and bit rate of each protected IP",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/traffic/live"
    },
    {
      "_id": "req_23a8f44856f22b36",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the 50 source addresses that sent the most packets to your IPs across the recorded attack events. Useful for building block rules; the numbers come from packet samples, not from full counting.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield traffic sources`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999874,
      "method": "GET",
      "name": "Top attacking source IPs seen in the tenant's events",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/traffic/top-sources"
    },
    {
      "_id": "req_7a988fd89fcec900",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything about one protected IP in a single call: protection status, current and baseline rates, the last 5 and 30 minutes of history, counters, up to 10 recent events, all blocking rules with their hit counters, the web protection policy, blackhole entries and the server that holds the IP.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999873,
      "method": "GET",
      "name": "Everything about one protected IP: status, history, rules, events, RTBH",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/detail"
    },
    {
      "_id": "req_ffe8163a509e543f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Downloads the blocking rules of one protected IP as a CSV file with the columns `id,kind,value,mode,source,note,created_at,expires_at,hits_packets,hits_bytes,prefixes`.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield rule export`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999872,
      "method": "GET",
      "name": "Download one IP's blocking rules as CSV",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rules/export"
    },
    {
      "_id": "req_09f2ceeb539447e6",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the live connections of one protected IP, the busiest first: peer address, ports, protocol, bytes, packets and duration, refreshed every few seconds. Returns 503 `unavailable` when the traffic analyzer is not running.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target flows`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999871,
      "method": "GET",
      "name": "Live connections of one protected IP",
      "parameters": [
        {
          "description": "Direction of the connections.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Address family.",
          "disabled": true,
          "name": "fam",
          "value": ""
        },
        {
          "description": "Window in seconds the byte counts cover; 0 = the whole session.",
          "disabled": true,
          "name": "win",
          "value": ""
        },
        {
          "description": "Maximum rows.",
          "disabled": true,
          "name": "n",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/flows"
    },
    {
      "_id": "req_b161f8ddd39cb5e0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic of one protected IP broken down by source country, source network, protocol and port over a time range, with a rate series for charting. The series columns are named in `series_cols`. Returns 503 `unavailable` when the traffic analyzer is not running.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target top`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999870,
      "method": "GET",
      "name": "Top traffic sources of one protected IP over a range",
      "parameters": [
        {
          "description": "Time range.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/top"
    },
    {
      "_id": "req_132c6cb34a87875a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the action log of one protected IP for the last 24 hours at most: rules added and removed, blackholes, web protection changes, AI requests and agent commands, each with the actor that did it.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target logs`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999869,
      "method": "GET",
      "name": "Action log of one protected IP (last 24 hours)",
      "parameters": [
        {
          "description": "Only entries after this Unix time. Cannot go back further than 24 hours.",
          "disabled": true,
          "name": "since",
          "value": ""
        },
        {
          "description": "Maximum entries.",
          "disabled": true,
          "name": "n",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/logs"
    },
    {
      "_id": "req_53d316de2f03fb41",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the most recent intrusion-prevention (IPS) alerts aimed at one protected IP: source, ports, protocol, signature, category and severity (1 = highest). Alerts of other IPs are never shown.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target ips`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999868,
      "method": "GET",
      "name": "Intrusion-prevention (IPS) alerts aimed at one protected IP",
      "parameters": [
        {
          "description": "Maximum alerts.",
          "disabled": true,
          "name": "n",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/ips"
    },
    {
      "_id": "req_b89c3dddd74c9115",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the web protection policy of one protected IP: per-source SYN and packet rate limits applied to the web ports, plus the allowed ranges and how often the policy may change.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target web`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999867,
      "method": "GET",
      "name": "Web protection policy of one protected IP",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/web"
    },
    {
      "_id": "req_b60805dcbbbee585",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the blackhole (RTBH) entries of one protected IP, the active one if any, and the allowed scopes and lifetimes for [Blackhole an IP](#operation/shield_target_blackhole).\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target rtbh`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999866,
      "method": "GET",
      "name": "Blackhole (RTBH) entries of one protected IP",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rtbh"
    },
    {
      "_id": "req_6ec1aea3a59a45e2",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic shaping state of one protected IP: the shaper in effect with its limits, live rates in both directions and a history series. Read-only.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target shape`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999865,
      "method": "GET",
      "name": "Traffic shaping state and history of one protected IP (read-only)",
      "parameters": [
        {
          "description": "History range.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/shape"
    },
    {
      "_id": "req_f7729fbadd13736e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the AI analysis tasks of one protected IP, newest first, with the analyses still waiting and your quota for today. The analyzer states whether the traffic looks like an attack, why, and which blocking actions it proposes or applied. Start one with [Ask the AI to analyze](#operation/shield_target_analyze).\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target ai-tasks`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999864,
      "method": "GET",
      "name": "AI analysis tasks of one protected IP and today's quota",
      "parameters": [
        {
          "description": "Maximum tasks.",
          "disabled": true,
          "name": "n",
          "value": ""
        }
      ],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/ai/tasks"
    },
    {
      "_id": "req_22a36490731c69a0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one AI analysis task of a protected IP.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target ai-task`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999863,
      "method": "GET",
      "name": "One AI analysis task",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "task",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/ai/tasks/:task"
    },
    {
      "_id": "req_4f6eedc2f1c5790a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the monitoring agent installed on the server that holds this IP: its settings, the last 60 samples, the addresses it currently blocks and its baseline. `agent` is null when none is installed. This call only reads: it never starts an installation, whatever the credential (`installing` is always false). Installing the agent is done from the dashboard.\n\n**Required scope:** `shield:read`.\n\nCLI command: `shield target agent`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999862,
      "method": "GET",
      "name": "Monitoring agent installed on the VM that holds this IP",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/agent"
    },
    {
      "_id": "req_f57506ae9d32dc0f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"ids\": [\n    \"r-x1760000000a\",\n    \"r-x1760000000b\"\n  ]\n}"
      },
      "description": "Deletes up to 100 blocking rules of one protected IP in a single call. Only rules you created are deleted; rules made by the protection system or by staff are skipped and listed in `skipped` with the reason. Unknown identifiers are skipped too.\n\n**Required scope:** `shield:write`.\n\nCLI command: `shield rule bulk-delete`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999861,
      "method": "POST",
      "name": "Delete up to 100 of your own blocking rules at once",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rules/bulk-delete"
    },
    {
      "_id": "req_b0b32681c063c58a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"enabled\": true,\n  \"pkt_rate\": 1000,\n  \"ports\": [\n    80,\n    443\n  ],\n  \"syn_rate\": 100\n}"
      },
      "description": "Changes the web protection of one protected IPv4: per-source SYN and packet rate limits on the web ports. Values above the allowed maximum are clamped. Sending the policy that is already in effect succeeds with `unchanged: true`. A policy can change at most once every 10 minutes per IP.\n\n**Required scope:** `shield:write`.\n\nCLI command: `shield target set-web`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999860,
      "method": "PUT",
      "name": "Change web protection (per-source SYN / packet rate limits) of one IPv4",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/web"
    },
    {
      "_id": "req_512713efdf4f5935",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": \"203.0.113.10\",\n  \"note\": \"UDP flood\",\n  \"scope\": \"international\",\n  \"ttl_s\": 3600\n}"
      },
      "description": "Blackholes one of your IPs at the upstream network (RTBH): traffic to the IP is dropped before it reaches you, which stops a volumetric attack but takes the IP offline for the chosen scope. `international` drops traffic from abroad, `domestic` drops domestic traffic; dropping everything is not available to customers. To prevent accidents you must repeat the IP in `confirm`. Only one active entry per IP, and the entry expires after `ttl_s`. Withdraw it early with [Withdraw a blackhole](#operation/shield_rtbh_delete). Send an `Idempotency-Key` to retry safely.\n\n**Required scope:** `shield:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `shield target blackhole`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999859,
      "method": "POST",
      "name": "Blackhole one of your IPs upstream (RTBH) — the IP goes offline for the chosen scope",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/rtbh"
    },
    {
      "_id": "req_67a0819e14e83507",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Withdraws a blackhole entry that you created, so traffic to the IP flows again. Entries created by the protection system or by staff cannot be withdrawn this way.\n\n**Required scope:** `shield:write`.\n\nCLI command: `shield rtbh delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999858,
      "method": "DELETE",
      "name": "Withdraw a blackhole entry you created",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "bid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/rtbh/:bid"
    },
    {
      "_id": "req_8b1fb36c0163bd19",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"ttl_s\": 1800\n}"
      },
      "description": "Restarts the lifetime of a blackhole entry that you created: it now expires `ttl_s` seconds from now (it does not add to the old remaining time).\n\n**Required scope:** `shield:write`.\n\nCLI command: `shield rtbh extend`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999857,
      "method": "POST",
      "name": "Reset the lifetime of a blackhole entry you created",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "bid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/rtbh/:bid/extend"
    },
    {
      "_id": "req_b4b01534e8323770",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"event_id\": \"ev-1760000000-1\",\n  \"note\": \"UDP to port 53\"\n}"
      },
      "description": "Asks the AI to analyze one protected IP, either one of its attack events or its last 30 minutes of traffic. The request is queued and the result appears in the AI task list within a minute or two. Each IP allows 3 analyses per day and the tenant 10 per day (UTC); the call is rejected with `quota_exceeded` after that. Send an `Idempotency-Key` so that a retried call does not use a second analysis.\n\n**Required scope:** `shield:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `shield target analyze`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999856,
      "method": "POST",
      "name": "Ask the AI to analyze one protected IP (uses a daily quota)",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/ai/analyze"
    },
    {
      "_id": "req_a17d4b987579291c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"enforce\": true,\n  \"thr_pps\": 50000\n}"
      },
      "description": "Changes the settings of the monitoring agent on the server that holds this IP. Turning `enforce` on lets the agent block, by itself, any source that exceeds the thresholds, which can cut off real users if the thresholds are too low. Send at least one field. The agent must already be installed.\n\n**Required scope:** `shield:agent`.\n\nCLI command: `shield target update-agent`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999855,
      "method": "PATCH",
      "name": "Change agent note, auto-block switch and thresholds",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/agent"
    },
    {
      "_id": "req_5cc0a13b2005845d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cmd\": \"block\",\n  \"ip\": \"198.51.100.72\"\n}"
      },
      "description": "Sends a command to the agent on your server. `block` and `unblock` add or remove one source address in the agent's block list; `acct` asks the agent to refresh its accounting. The agent picks the command up at its next heartbeat. Only single public addresses are accepted: your own IPs, the agent's own address and private ranges are refused. This acts directly on your server, so keep the key that has this scope tightly guarded.\n\n**Required scope:** `shield:agent`.\n\nCLI command: `shield target agent-command`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999854,
      "method": "POST",
      "name": "Send a block, unblock or acct command to the agent",
      "parameters": [],
      "parentId": "fld_f8311cc8448766cb",
      "pathParameters": [
        {
          "name": "tid",
          "value": ""
        },
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/tenants/:tid/targets/:id/agent/cmd"
    },
    {
      "_id": "fld_068d1264b29d2904",
      "_type": "request_group",
      "description": "Managed Kubernetes clusters: a free, fully managed control plane plus worker nodes that you pick from a fixed list of worker plans. Workers are billed like servers (by the hour while they run, or up front for monthly and longer billing cycles) and the control plane costs nothing. Creating, scaling, starting, stopping and deleting a cluster are asynchronous: the call answers `202 Accepted` with an operation, and the cluster reports `state` and `op` while the work runs. Creating, scaling and deleting charge or release wallet money, so they require an `Idempotency-Key`. A cluster is `provisioning` until it is built, then `active` or `stopped`; it becomes `locked` when the wallet or the site blocks it, and `deleting` then `deleted` when removed. Kubernetes is hidden on sites that do not sell it. On such a site the catalog, quote, create and scale calls answer `403 k8s_disabled`, while existing clusters can still be listed, started, stopped, deleted and their kubeconfig downloaded.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9992,
      "name": "Kubernetes",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_213c5689de06f362",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic allowance and usage of the cluster for the current monthly period: the included quota (which grows with the average number of workers over the period), Add-ons bought for the period, traffic used so far, what happens when the allowance runs out, and a usage series. It is the cluster view of the Bandwidth tag: use that tag to compare services or to buy an Add-on (`kind` is `k8s` and `ref` is the cluster `id`). Deleted or failed clusters answer `404`.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster bandwidth`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999853,
      "method": "GET",
      "name": "Cluster Bandwidth (per-worker quota, Add-ons, usage)",
      "parameters": [
        {
          "description": "Time range of the usage series: hourly points for `24h`, daily points otherwise. Other values behave as `period`, the current monthly period.",
          "disabled": true,
          "name": "series",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/bandwidth"
    },
    {
      "_id": "req_74077e38351baaf4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything needed to order a cluster: the regions that offer Kubernetes, the versions you can choose, the fixed worker plans with their price per hour and for each billing cycle, the billing cycles, the specification of the free control plane and the limits that apply to your account. Call it before [Get a quote](#operation/k8s_quote) or [Create a cluster](#operation/k8s_cluster_create).\n\nPass `zone_id` to see the versions of one region; without it the default region of the site is used. `enabled` is false when no region currently sells Kubernetes. When Kubernetes is switched off for the site the call fails with `403 k8s_disabled`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `k8s catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999852,
      "method": "GET",
      "name": "Kubernetes catalog: zones, versions, worker plans, cycles",
      "parameters": [
        {
          "description": "Region whose versions to list, taken from `zones[].id`. Defaults to the default region of the site.",
          "disabled": true,
          "name": "zone_id",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/catalog"
    },
    {
      "_id": "req_ca252738005e2a30",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the Kubernetes versions that can be ordered, one entry per region and version, with the smallest worker size each version accepts. Versions that are disabled, withdrawn or past their end-of-life date are not listed. Use an entry's `id` as `version_id` when creating a cluster, or omit `version_id` to get the default version.\n\nResults are sorted by the order the site chose (default version first) unless you pass `sort`. When Kubernetes is switched off for the site the call fails with `403 k8s_disabled`.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `k8s versions`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999851,
      "method": "GET",
      "name": "Kubernetes images (sellable versions)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. `sort` is the order chosen by the site.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only versions offered in this region, taken from the catalog `zones[].id`.",
          "disabled": true,
          "name": "zone_id",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/versions"
    },
    {
      "_id": "req_650d89a56236db43",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices a cluster and checks whether you could create it right now, without creating anything and without charging. The response gives the price per hour and per month, the amount charged up front for a prepaid cycle, the wallet balance you need (`funds.need_cents`) next to your current balance, and every pre-flight check that [Create a cluster](#operation/k8s_cluster_create) applies: resource quota, cluster count limits, e-mail verification and whether the site takes orders. `can_create` is true only when all of them pass. A failed check does not fail the call: the status stays `200` and the failing item says why. Mistakes in the parameters (unknown plan, worker count out of range) are errors.\n\nAll money is in US cents, except prices per hour, which are in millionths of a US dollar. The control plane is free. When Kubernetes is switched off for the site the call fails with `403 k8s_disabled`.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999850,
      "method": "GET",
      "name": "Quote a cluster + required balance (no charge)",
      "parameters": [
        {
          "description": "Worker plan code from the catalog, e.g. `K8S-3`.",
          "disabled": false,
          "name": "worker_plan",
          "value": ""
        },
        {
          "description": "Number of workers. Must be within `limits.workers_min` and `limits.workers_max` of the catalog.",
          "disabled": false,
          "name": "worker_count",
          "value": ""
        },
        {
          "description": "Region to build the cluster in. Defaults to the default region of the site.",
          "disabled": true,
          "name": "zone_id",
          "value": ""
        },
        {
          "description": "Kubernetes version, from List versions. Defaults to the default version.",
          "disabled": true,
          "name": "version_id",
          "value": ""
        },
        {
          "description": "Billing cycle identifier from the catalog: `hourly`, or a prepaid cycle such as `monthly`.",
          "disabled": true,
          "name": "cycle",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/quote"
    },
    {
      "_id": "req_8a68dca7a7d9579e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your clusters with the state, size and price of each. By default deleted clusters are hidden; filter with `state=deleted` to see the ones deleted in the last 30 days. The items do not include `note`; fetch a single cluster to read it. `counts` always describes your live clusters, whatever the filter. Clusters are sorted by creation time, oldest first, unless you pass `sort` and `dir`.\n\nThis call works even when the site no longer sells Kubernetes, so existing clusters stay visible.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999849,
      "method": "GET",
      "name": "List clusters",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. `workers` is the worker count, `hourly` and `hourly_uusd` the price per hour, `version` and `semver` the Kubernetes version, `zone` the region name.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only clusters in this state. `running` and `active` are the same. Omit or use `all` for every live cluster.",
          "disabled": true,
          "name": "state",
          "value": ""
        },
        {
          "description": "Only clusters whose name or public IP contains this text (case-insensitive).",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Only your clusters in this region (`zones[].id` from the catalog). A region where you have no cluster gives an empty list; `total` and the paging apply after the filter.",
          "disabled": true,
          "name": "zone_id",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters"
    },
    {
      "_id": "req_06e44be8294ae238",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one cluster with its configuration, state, price, billing terms, any lock and any operation in progress. `can` tells which actions are possible right now. A deleted cluster stays readable for 30 days after deletion; after that it answers `404`.\n\nThis call works even when the site no longer sells Kubernetes.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999848,
      "method": "GET",
      "name": "Get one cluster",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id"
    },
    {
      "_id": "req_72526801c177c0ea",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"prod-cluster\",\n  \"note\": \"Production workloads\"\n}"
      },
      "description": "Changes the display name, the note or the auto-renew setting of a cluster. Only the fields you send change; an empty object changes nothing. Renaming only changes the label: the cluster keeps running and existing kubeconfig files stay valid. `auto_renew` applies to prepaid cycles: when it is off, the cluster is locked at the end of the paid period instead of being renewed, so turn it back on before then. Hourly clusters have no renewal and reject `auto_renew`.\n\nThe cluster must not be locked, being deleted, deleted or failed. Costs nothing.\n\n**Required scope:** `k8s:write`.\n\nCLI command: `k8s cluster update`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999847,
      "method": "PATCH",
      "name": "Rename / notes / auto-renew",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id"
    },
    {
      "_id": "req_1be46b661e0903aa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the nodes that currently make up the cluster: the free control plane node first, then the workers, with their size, status and hourly price. Nodes that were removed are not listed. The list is not paginated.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster nodes`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999846,
      "method": "GET",
      "name": "Cluster nodes (free control + workers)",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/nodes"
    },
    {
      "_id": "req_946039a9b07f0dbf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Starts a stopped cluster. The call returns `202 Accepted` and an operation starts the nodes in the background; the cluster becomes `active` and `can.kubeconfig` turns true when it is running. Workers of an hourly cluster are billed again once they run; a prepaid cluster simply continues its paid period. The cluster must be `stopped` with no operation in progress; at most 12 start and stop operations per hour are allowed per cluster. Costs nothing by itself. This call works even when the site no longer sells Kubernetes.\n\n**Required scope:** `k8s:write`.\n\nCLI command: `k8s cluster start`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999845,
      "method": "POST",
      "name": "Start the cluster",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/start"
    },
    {
      "_id": "req_240742a786b2a1e5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Stops a running cluster: the nodes are shut down, workloads stop and the Kubernetes API becomes unreachable until you start the cluster again. The call returns `202 Accepted` and an operation stops the nodes in the background. Workers of an hourly cluster are not billed while they are stopped; a prepaid period is not refunded by stopping. Disks and the public IP address are kept. A cluster left stopped for a long time (30 days by default) is deleted automatically after warnings by e-mail.\n\nThe cluster must be `active` with no operation in progress; at most 12 start and stop operations per hour are allowed per cluster. This call works even when the site no longer sells Kubernetes.\n\n**Required scope:** `k8s:write`.\n\nCLI command: `k8s cluster stop`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999844,
      "method": "POST",
      "name": "Stop the cluster",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/stop"
    },
    {
      "_id": "req_066227cd687f9d76",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Downloads the kubeconfig file (YAML) of the cluster. **It grants cluster-admin rights**: anyone holding the file has full control of the cluster and everything running in it, so treat it like a root password and give the dedicated `k8s:kubeconfig` scope only to keys that need it. The file is generated on every request, is never stored by the API and is not written to logs; the response carries `Cache-Control: no-store` and a `Content-Disposition` header with the file name `<cluster name>-kubeconfig.yaml`. Every download is recorded in the cluster's events, and downloads are limited per account (10 per hour by default).\n\nThe cluster must be running (`can.kubeconfig` is true). Save the response body to a file and point `KUBECONFIG` at it. This call works even when the site no longer sells Kubernetes.\n\n**Required scope:** `k8s:kubeconfig`.\n\nCLI command: `k8s cluster kubeconfig`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999843,
      "method": "GET",
      "name": "Download kubeconfig (cluster-admin)",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/kubeconfig"
    },
    {
      "_id": "req_5c58ac00d98ee6ab",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the background operations of the cluster (creation, scaling, start, stop, deletion and maintenance), newest first by default. Use it to follow a `202 Accepted` call: find the operation by the `op.id` you received and wait until `state` is `done`, or `failed` with a `public_error` reason code.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster ops`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999842,
      "method": "GET",
      "name": "Cluster operations",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. `created_at` and `id` give the same order.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/ops"
    },
    {
      "_id": "req_48dbe88f249e1394",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the event log of the cluster, newest first by default: what was ordered, started, scaled, renamed, locked or deleted, when the cluster became ready, and every kubeconfig download. `actor` tells who caused the event: `you`, `admin` (the site operator) or `system` (automatic action). `msg` is a short human-readable sentence in English; branch on `kind`, not on the text.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999841,
      "method": "GET",
      "name": "Cluster event log",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/events"
    },
    {
      "_id": "req_3b5b8964f32ca3ec",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what the cluster costs and has cost: its current price and billing terms, what it spent this calendar month (UTC) and in total, and the wallet entries that belong to it, newest first by default. Entries have a `kind`: `hour` (hourly charge of a worker), `new` (up-front charge at creation), `cycle` (renewal of a prepaid period), `scale` (prorated charge for added workers) and `refund`. `amount_cents` is in US cents and is negative for charges and positive for refunds, while `spent_month_cents` and `spent_total_cents` are positive totals of the charges net of refunds. The control plane never appears because it is free.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster billing`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999840,
      "method": "GET",
      "name": "Cluster billing",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/billing"
    },
    {
      "_id": "req_36039039b3b99e6b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows how to reach the cluster: the API server endpoint, the public IP address, and the ports that are open on that address. Port 6443 is the Kubernetes API; ports 80 and 443 reach the cluster's ingress (node ports 30080 and 30443) once `ingress_ready` is true; the SSH ports starting at 2222 map to port 22 of each node in order. `cidrs` lists the source ranges allowed on a rule; an empty list means any address.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster networking`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999839,
      "method": "GET",
      "name": "Endpoint, IP, open ports",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/networking"
    },
    {
      "_id": "req_699c4d846499e5e7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what [Delete a cluster](#operation/k8s_cluster_delete) would remove and refund, without deleting anything: the number of nodes, the data that would be lost, the expected refund of the unused prepaid period and the exact text to send as `confirm`. `data_loss` is a list of human-readable sentences in the language of the account. Costs nothing.\n\n**Required scope:** `k8s:read`.\n\nCLI command: `k8s cluster delete-preview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999838,
      "method": "GET",
      "name": "Preview before deleting the cluster",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/delete-preview"
    },
    {
      "_id": "req_c4c5280a3990bc0e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"hourly\",\n  \"name\": \"prod-cluster\",\n  \"version_id\": 2,\n  \"worker_count\": 3,\n  \"worker_plan\": \"K8S-3\",\n  \"zone_id\": 1\n}"
      },
      "description": "Orders a new cluster. The request is validated and priced at once; the cluster itself is built in the background, so the call returns `202 Accepted` with the cluster in state `provisioning` and the queued operation. Poll [Get a cluster](#operation/k8s_cluster_get) (or follow the operation with [List operations](#operation/k8s_cluster_ops)) until `state` is `active`; this normally takes a few minutes.\n\n**Billing.** The control plane is free. With `cycle` set to `hourly` (the default) nothing is charged now and running workers are billed every hour. With a monthly or longer cycle the first cycle for all workers is charged to the wallet immediately and refunded in full if the build fails. Your wallet balance must reach `funds.need_cents` as reported by [Get a quote](#operation/k8s_quote) (at least the up-front charge, and enough to run the new workers for the minimum number of hours).\n\n**Limits.** The name must be unique among your live clusters. A limit on clusters per account, a daily creation limit and a cool-down after deleting a cluster apply, and your account's resource quota covers the workers and the control plane. Call the quote first to see them all. When Kubernetes is switched off for the site the call fails with `403 k8s_disabled`. Retry safely with the same `Idempotency-Key`.\n\n**Required scope:** `k8s:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `k8s cluster create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999837,
      "method": "POST",
      "name": "Create a cluster (prepaid cycles charge the wallet)",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters"
    },
    {
      "_id": "req_ba2a5bfd09eab131",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"worker_count\": 5\n}"
      },
      "description": "Changes the number of workers. The call returns `202 Accepted` and an operation adds or removes workers in the background; `workers.desired` keeps the old number until it finishes. Only a running cluster (`state` `active`, `cs_state` `Running`) with no operation in progress can be scaled, and at most 6 scale operations per hour are allowed per cluster.\n\n**Adding workers** charges money. On an hourly cluster nothing is charged now, but your balance must cover the minimum number of hours of the added workers. On a prepaid cluster the added workers are charged immediately for the rest of the paid period (`charged_cents`), and refunded if the operation fails; a prepaid cluster whose paid period has ended cannot be scaled until it renews. Your resource quota and the site limits also apply. **Removing workers** deletes nodes (and anything stored only on them); for a prepaid cluster the unused part of the paid period is refunded when the operation finishes.\n\nWhen Kubernetes is switched off for the site the call fails with `403 k8s_disabled`. Retry safely with the same `Idempotency-Key`.\n\n**Required scope:** `k8s:scale`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `k8s cluster scale`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999836,
      "method": "POST",
      "name": "Change worker count (costs money)",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id/scale"
    },
    {
      "_id": "req_7a02b42178b919f1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": \"prod-cluster\"\n}"
      },
      "description": "Deletes the cluster with all its nodes and disks, its stored data and its public IP address. **This cannot be undone.** Send the exact cluster name in `confirm`; call [Preview a deletion](#operation/k8s_cluster_delete_preview) first to see what will be lost and the expected refund.\n\nThe call returns `202 Accepted`: the cluster goes to `deleting` and an operation removes it in the background, after which it becomes `deleted`. For a prepaid cluster the unused part of the paid period is refunded to the wallet when the operation finishes; `refund_cents` is that amount as estimated now. Hourly clusters have nothing to refund and stop being billed. Clusters locked for a policy violation are not refunded.\n\nAllowed while the cluster is `active`, `stopped`, `locked` or `failed` and no other operation is running. This call works even when the site no longer sells Kubernetes. Retry safely with the same `Idempotency-Key`.\n\n**Required scope:** `k8s:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `k8s cluster delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999835,
      "method": "DELETE",
      "name": "Delete the cluster (data is lost)",
      "parameters": [],
      "parentId": "fld_068d1264b29d2904",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/k8s/clusters/:id"
    },
    {
      "_id": "fld_6790acb38a94d6f2",
      "_type": "request_group",
      "description": "Private Cloud networks with their own dedicated, unmetered bandwidth plan. A Private Cloud is a private network (a /16 range) split into tiers (/24 subnets, each with its own IPv6 /64), protected by Network ACL rules, with one virtual router and one public IP address for outbound traffic. Servers are placed in a tier when you create them.\n\nCreating, changing the plan, adding or removing tiers, editing ACL rules and deleting are asynchronous: the call answers `202` with an `op` and the Private Cloud settles in the background, so poll [Get a Private Cloud](#operation/vpc_get) or [List operations](#operation/vpc_ops). Only one operation runs at a time; a second change meanwhile fails with `409 vpc_busy`.\n\nOrdering calls (catalog, quote, create, change plan, add tier) answer `403 vpc_disabled` while Private Cloud is not enabled for your account. Existing Private Clouds stay readable, their ACL can be edited and they can be deleted. Amounts ending in `_cents` are US cents; amounts ending in `_uusd` are millionths of a US dollar per hour; timestamps are Unix seconds. Hidden on sites that do not sell Private Cloud.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9991,
      "name": "Private Cloud",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_1e16ff8cac7580b3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns what you can order: the bandwidth plans (dedicated, unmetered Mbps) with their price for every billing cycle, the billing cycles, the region where Private Clouds are built, and the limits that apply to your account (`limits.used` of `limits.max_per_account` Private Clouds already created). Prices are the retail prices of the site you call, in US dollars. Nothing is created or charged.\n\nUse [Quote a Private Cloud](#operation/vpc_quote) to price one plan and check your balance before ordering. Fails with `403 vpc_disabled` while Private Cloud is not enabled for your account.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `vpc catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999834,
      "method": "GET",
      "name": "Private Cloud catalog: bandwidth plans, cycles, limits",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/catalog"
    },
    {
      "_id": "req_80fec2df973f3d88",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices one plan for one billing cycle and tells you whether you can order it right now, without creating or charging anything. `quote` holds the prices; `funds` compares your wallet with the balance an order needs (`need_cents`: the first charge, or `min_hours` hours of the plan price for hourly billing, whichever is larger); `checks` lists the other ordering conditions; `can_create` is `true` only when every condition passes.\n\nOrder with [Create a Private Cloud](#operation/vpc_create) using the same `plan` and `cycle`. Fails with `403 vpc_disabled` while Private Cloud is not enabled for your account.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999833,
      "method": "GET",
      "name": "Quote a Private Cloud + required balance (no charge)",
      "parameters": [
        {
          "description": "Plan to price: the plan `slug` (e.g. `100m`) or its numeric `id`, both from the catalog.",
          "disabled": false,
          "name": "plan",
          "value": ""
        },
        {
          "description": "Billing cycle slug from the catalog, e.g. `hourly`, `monthly`, `yearly`.",
          "disabled": true,
          "name": "cycle",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/quote"
    },
    {
      "_id": "req_d0d11c6a55b3fd8b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your Private Clouds, oldest first by default. Deleted Private Clouds are hidden unless you filter with `state=deleted`, which shows those deleted in the last 30 days. Besides the page, the response tells you whether Private Cloud is enabled for you (`enabled`) and whether you may create another one now (`can_create`: enabled and below your limit).\n\nThe list items omit `note` and `tiers`; use [Get a Private Cloud](#operation/vpc_get) for the full object.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999832,
      "method": "GET",
      "name": "List Private Clouds",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. `plan` and `mbps` both sort by bandwidth.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only Private Clouds in this state. `all` (the default) lists every state except `deleted`.",
          "disabled": true,
          "name": "state",
          "value": ""
        },
        {
          "description": "Case-insensitive search in the name, the public IP address and the CIDR.",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc"
    },
    {
      "_id": "req_cb6d8a4e047b4157",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one Private Cloud with its tiers, billing, current operation and what you can do with it now (`can`). A Private Cloud you deleted stays readable, with state `deleted`, for 30 days. Use the list calls for the parts that grow: [tiers](#operation/vpc_tier_list), [ACL rules](#operation/vpc_acl_list), [servers](#operation/vpc_vms) and [public IPs](#operation/vpc_ips).\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999831,
      "method": "GET",
      "name": "Get one Private Cloud",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id"
    },
    {
      "_id": "req_59431f3f47c36c51",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_renew\": false,\n  \"name\": \"prod-net-2\",\n  \"note\": \"Production network\"\n}"
      },
      "description": "Changes the name, the note or the automatic renewal of a Private Cloud. Nothing is charged and the network is not touched. Send only the fields you want to change. It works in every state except `deleting`, `deleted` and `failed`.\n\nTurning `auto_renew` on also retries unlocking a Private Cloud that was locked because its prepaid period ended or its bill was unpaid; when your balance covers it, the charge is taken from the wallet and the Private Cloud is unlocked.\n\n**Required scope:** `vpc:write`.\n\nCLI command: `vpc update`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999830,
      "method": "PATCH",
      "name": "Rename / notes / auto-renew",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id"
    },
    {
      "_id": "req_422a16be861793de",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what changing the bandwidth plan of this Private Cloud to `plan` would cost, without changing anything. For a prepaid cycle the difference for the rest of the paid period is charged (`charge_cents`) or refunded (`refund_cents`); for hourly billing nothing is charged now and the new hourly price applies from the next billed hour, but moving to a more expensive plan needs a balance covering 24 hours of the new price. `enough` tells whether your balance covers `need_cents`.\n\nApply it with [Change the bandwidth plan](#operation/vpc_plan_change).\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc plan-quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999829,
      "method": "GET",
      "name": "Quote a bandwidth plan change",
      "parameters": [
        {
          "description": "Target plan: the plan `slug` (e.g. `500m`) or numeric `id`, from the catalog.",
          "disabled": false,
          "name": "plan",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/plan-quote"
    },
    {
      "_id": "req_61da9eb7460e2ffd",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the tiers (subnets) of a Private Cloud, the default tier first, with the number of servers in each. `max` is the most tiers a Private Cloud may have, the default tier included. Deleted and failed tiers are not listed.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc tier list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999828,
      "method": "GET",
      "name": "List tiers (subnets)",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/tiers"
    },
    {
      "_id": "req_c9799ebe0e84042d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"index\": 2,\n  \"name\": \"web\"\n}"
      },
      "description": "Adds a tier (a /24 IPv4 subnet with its own IPv6 /64) to the Private Cloud. The tier is created in the background: the call returns `202` with the new tier in state `provisioning`; it can host servers once it is `active`. Adding a tier costs nothing. A Private Cloud holds at most `max` tiers (see List tiers); beyond that the call fails with `403 tier_limit`.\n\nThe Private Cloud must be `active` with no other operation running, you can add or remove at most 10 tiers per Private Cloud in 24 hours, and the call fails with `403 vpc_disabled` while Private Cloud is not enabled for your account.\n\n**Required scope:** `vpc:write`.\n\nCLI command: `vpc tier add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999827,
      "method": "POST",
      "name": "Add a tier",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/tiers"
    },
    {
      "_id": "req_2d39e1cf68537f4b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes a tier that has no servers left. The tier moves to `deleting` and is removed in the background (`202` with an `op`). A tier that never became ready (state `failed`, not listed) is discarded at once and answered with `200` and `{\"deleted\": true}`. The default tier cannot be deleted.\n\n**Required scope:** `vpc:write`.\n\nCLI command: `vpc tier delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999826,
      "method": "DELETE",
      "name": "Delete a tier (no VMs left)",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "tier",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/tiers/:tier"
    },
    {
      "_id": "req_b5efa7bc193efafc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the Network ACL rules of a Private Cloud in ascending order of `number`. The ACL applies to all tiers. A new Private Cloud starts with rules that allow SSH (22), RDP (3389) and ICMP in and everything out for IPv4 and IPv6, plus platform rules (numbers 1-8, `system: true`): rule 1 allows traffic to the Private Cloud's own range and rules 2-6 block outbound traffic to other private address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 and 169.254.0.0/16). Traffic that matches no rule is denied in both directions (`default_policy`). `max` is the number of rules you may add; platform rules do not count.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc acl list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999825,
      "method": "GET",
      "name": "Network ACL rules",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/acl"
    },
    {
      "_id": "req_2477bb7ce0a7f70c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"action\": \"allow\",\n  \"cidr\": \"0.0.0.0/0\",\n  \"direction\": \"ingress\",\n  \"end_port\": 443,\n  \"note\": \"HTTPS\",\n  \"number\": 100,\n  \"protocol\": \"tcp\",\n  \"start_port\": 443\n}"
      },
      "description": "Adds a Network ACL rule. The rule is applied in the background: the call returns `202` with the rule in state `pending`, and it filters traffic once its state is `active`. Rules are evaluated in ascending order of `number` and the first match decides, so give a `deny` a lower number than the `allow` it must override. Without `number` the rule is numbered after your last rule below 900 in steps of 10; numbers 1-8 are reserved for platform rules and numbers 900-901 hold the default \"allow all outbound\" rules.\n\nValidation: `direction` `ingress` or `egress`; `protocol` `tcp`, `udp`, `icmp` or `all`; for `tcp` and `udp` a `start_port` of 1-65535 and an `end_port` not below it (ports are ignored for `icmp` and `all`); `cidr` an IPv4 or IPv6 CIDR with prefix length; `action` `allow` or `deny`. Values are case-insensitive. An invalid rule answers `422 acl_invalid` with `field` naming the first wrong field. A Private Cloud holds at most `max` rules (`403 acl_limit`) and you can add at most 60 rules per hour (`429 rate_limited`).\n\n**Required scope:** `vpc:write`.\n\nCLI command: `vpc acl add`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999824,
      "method": "POST",
      "name": "Add a Network ACL rule",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/acl"
    },
    {
      "_id": "req_9b15aa9fdd3400ea",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes a Network ACL rule, including the default rules created with the Private Cloud. The rule stops filtering traffic within a few seconds; the call returns `202` while it is removed in the background. Platform rules (`system: true`) cannot be deleted (`403 acl_system_rule`). Deleting is never rate limited, so you can always remove a dangerous rule at once.\n\n**Required scope:** `vpc:write`.\n\nCLI command: `vpc acl delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999823,
      "method": "DELETE",
      "name": "Delete a Network ACL rule",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "rule",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/acl/:rule"
    },
    {
      "_id": "req_6afdf3bc7f8f4852",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the servers that are in the Private Cloud, newest first, with the tier each one is in. Servers you deleted are not listed. To put a server in a Private Cloud, choose the network and tier when you create it.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc vms`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999822,
      "method": "GET",
      "name": "VMs in the Private Cloud",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/vms"
    },
    {
      "_id": "req_715156bbf292a0de",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the public IPv4 addresses that belong to the Private Cloud: the address of the virtual router, used for outbound traffic of servers without their own address (`kind` `snat`), and the public address of each server that has one (`kind` `vm`). Traffic of all these addresses counts toward the plan bandwidth shown by [Get bandwidth](#operation/vpc_bandwidth).\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc ips`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999821,
      "method": "GET",
      "name": "Public IPs of the Private Cloud",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/ips"
    },
    {
      "_id": "req_d8894cd4e7fbd189",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns inbound and outbound traffic of all public addresses of the Private Cloud (router address, server addresses and the IPv6 prefixes of the tiers) as a time series in Mbit/s, with the bandwidth cap of the plan and utilisation statistics. Traffic is not metered or billed; the chart only helps you choose a plan. `series` holds one `[time, inbound_mbps, outbound_mbps]` point every `step` seconds; \"inbound\" is traffic towards your addresses, \"outbound\" traffic from them.\n\nIf measurements are temporarily unavailable `available` is `false` and the series is zero. The `1h` window is cached for about 20 seconds and limited to 20 calls per minute per account.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc bandwidth`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999820,
      "method": "GET",
      "name": "Bandwidth chart (Mbps, plan limit)",
      "parameters": [
        {
          "description": "Time window ending now. Points are 60 s apart for `1h`, 300 s for `24h`, 1800 s for `7d` and 3600 s for `30d`.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/bandwidth"
    },
    {
      "_id": "req_a40454bc0eee05d4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the operations of a Private Cloud (creation, plan changes, tier and ACL changes, deletion), newest first. Use it to follow an `op` returned by a write call: it is finished when `state` is `done`, `failed` or `cancelled`. At most one operation is open at a time.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc ops`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999819,
      "method": "GET",
      "name": "Private Cloud operations",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/ops"
    },
    {
      "_id": "req_e6164ca452d14ab9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the activity log of a Private Cloud, newest first by default: who did what and when (orders, renames, plan changes, tier and ACL changes, locks and unlocks, deletion). `actor` is `you` for changes made with your account or API keys, `admin` for support staff and `system` for automatic actions such as billing.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999818,
      "method": "GET",
      "name": "Private Cloud event log",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/events"
    },
    {
      "_id": "req_949a9483e92c9a6b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns what this Private Cloud costs and the wallet entries it caused: the creation charge, hourly charges or renewals, plan-change charges and refunds. `spent_month_cents` and `spent_total_cents` are net amounts (charges minus refunds) for the current calendar month and for the whole life of the Private Cloud. Each item's `amount_cents` is signed: negative when money left your wallet, positive for a refund. Newest first by default.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc billing`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999817,
      "method": "GET",
      "name": "Private Cloud billing",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. `at` orders by time.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/billing"
    },
    {
      "_id": "req_463a5be9a2eac276",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what [Delete a Private Cloud](#operation/vpc_delete) would do, without changing anything: how many servers and tiers are inside, the public IP that would be released, the wallet refund for unused prepaid time, and whether the deletion is allowed now. `confirm` is the exact text to send as the `confirm` field.\n\n**Required scope:** `vpc:read`.\n\nCLI command: `vpc delete-preview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999816,
      "method": "GET",
      "name": "Preview before deleting",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/delete-preview"
    },
    {
      "_id": "req_fa2ff216689bbc3b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"monthly\",\n  \"name\": \"prod-net\",\n  \"plan\": \"100m\"\n}"
      },
      "description": "Orders a new Private Cloud: a private /16 network with a default tier, a virtual router with one public IP address for outbound traffic, default Network ACL rules (SSH, RDP and ICMP in, everything out) and a dedicated unmetered bandwidth plan. The call returns `202` at once with the Private Cloud in state `provisioning` and an `op`; poll [Get a Private Cloud](#operation/vpc_get) until `state` is `active` (normally a few minutes) or `failed`.\n\nA prepaid `cycle` (e.g. `monthly`) is charged from your wallet immediately. Hourly billing (the default) starts when the Private Cloud becomes active, but the order needs a balance that covers at least `min_hours` hours of the plan price. A creation that fails is refunded in full. Each account may own `limits.max_per_account` Private Clouds (default 1; more fail with `403 vpc_limit`) and may place at most 3 orders in 24 hours (`429 rate_limited`). Check conditions and price first with [Quote a Private Cloud](#operation/vpc_quote). Fails with `403 vpc_disabled` while Private Cloud is not enabled for your account.\n\n**Required scope:** `vpc:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpc create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999815,
      "method": "POST",
      "name": "Create a Private Cloud (prepaid cycles charge the wallet)",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc"
    },
    {
      "_id": "req_cb1ad9a2c38c42ab",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"plan\": \"500m\"\n}"
      },
      "description": "Changes the dedicated bandwidth plan of the Private Cloud. The new bandwidth is applied to every tier in the background (the Private Cloud shows an open `change_plan` operation until it is done). On a prepaid cycle the price difference for the remaining paid period is charged from your wallet (upgrade) or refunded to it (downgrade) at once; on hourly billing the new price applies from the next billed hour. The response reports `charged_cents` and `refunded_cents`.\n\nPreview the amounts with [Quote a plan change](#operation/vpc_plan_quote). The Private Cloud must be `active` with no other operation running, you may change plan at most 6 times in 24 hours, and the call fails with `403 vpc_disabled` while Private Cloud is not enabled for your account.\n\n**Required scope:** `vpc:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpc plan-change`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999814,
      "method": "POST",
      "name": "Change bandwidth plan (costs money)",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id/plan"
    },
    {
      "_id": "req_6d8b38a51f989340",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": \"prod-net\"\n}"
      },
      "description": "Deletes a Private Cloud with its tiers and ACL rules, and releases its public IP address. Every server in it must be deleted first (`409 vpc_has_vms`), and you confirm by sending the exact name of the Private Cloud. The call returns `202` and the Private Cloud moves to `deleting`, then `deleted`.\n\nUnused time of a prepaid period is refunded to your wallet when the deletion finishes; `refund_cents_estimate` is the amount calculated now (always 0 for hourly billing). Use [Preview before deleting](#operation/vpc_delete_preview) to see what will be removed. A Private Cloud locked by support (`lock.reason` of `admin` or `abuse`) cannot be deleted.\n\n**Required scope:** `vpc:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpc delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999813,
      "method": "DELETE",
      "name": "Delete the Private Cloud (no VMs left)",
      "parameters": [],
      "parentId": "fld_6790acb38a94d6f2",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpc/:id"
    },
    {
      "_id": "fld_3517814c26790bd1",
      "_type": "request_group",
      "description": "Monthly traffic quota of your services and the Add-ons that raise it. Every server, container cluster, object-storage account and VPN plan has a quota per billing period; unmetered services (for example servers inside a Private Cloud network) have none. Reading is free. Buying an Add-on adds terabytes to the current billing period of one service, charges your wallet and requires an `Idempotency-Key`. In this section 1 TB means 2^40 bytes and 1 GB means 2^30 bytes.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9990,
      "name": "Bandwidth",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_8d2fd25c89913532",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic totals of all your services for their current billing periods, together with the Add-on price and the policy applied when a service runs out of quota. Use it for a dashboard header; call List bandwidth objects for the breakdown per service. `limit_bytes` only adds up services that have a limit, while unmetered or unlimited services still contribute to `used_bytes`. The call is free and always reflects the current period of each service.\n\n**Required scope:** `billing:read`.\n\nCLI command: `bandwidth summary`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999812,
      "method": "GET",
      "name": "Bandwidth totals across services",
      "parameters": [],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/summary"
    },
    {
      "_id": "req_4f57eaa065b0b632",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists every service of your account that has a bandwidth quota (servers, container clusters, your object storage and VPN plans) with its usage in the current billing period. The list is filtered, sorted and paged on the server. `totals` always covers all your services, whatever the filters, so it can be shown next to a filtered list. Use the `kind` and `ref` of an item to call the per-service endpoints.\n\n**Required scope:** `billing:read`.\n\nCLI command: `bandwidth list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999811,
      "method": "GET",
      "name": "Bandwidth per service (paged, sortable)",
      "parameters": [
        {
          "description": "Return only services of this kind. Unknown values are ignored.",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Case-insensitive text to look for in the service name, its secondary label (for example the public IP address) and its `ref`.",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Sort key: `used` bytes used, `pct` percentage of the limit used (services without a limit sort last), `remaining` bytes left (services without a limit sort first), `name`, `reset` end of the current period, `kind`. Unknown values behave like `used`.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction. Defaults to `desc`, except `asc` for `sort=name` and `sort=reset`. `dir` is accepted as an alias.",
          "disabled": true,
          "name": "order",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/objects"
    },
    {
      "_id": "req_40105d77aa722633",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the bandwidth of one service: quota, Add-ons of the current period, usage, the Add-on price and the policy that applies when the quota is used up. Pass `series` to get the traffic chart data in the same call instead of calling Get the traffic series. `kind` and `ref` come from List bandwidth objects. A service that does not exist, is not active or belongs to another account answers 404.\n\n**Required scope:** `billing:read`.\n\nCLI command: `bandwidth get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999810,
      "method": "GET",
      "name": "Bandwidth of one service",
      "parameters": [
        {
          "description": "Also return the traffic series for this range in the `series` field. `24h` gives hourly points, the others daily points.",
          "disabled": true,
          "name": "series",
          "value": ""
        }
      ],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [
        {
          "name": "kind",
          "value": ""
        },
        {
          "name": "ref",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/objects/:kind/:ref"
    },
    {
      "_id": "req_1be9d6aacf497a71",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic of one service over time, ready for a chart. `24h` gives hourly points for the last 24 hours; `7d` and `30d` give daily points (days start at midnight UTC+7); `period` (the default) gives daily points from the start of the current billing period. Server and cluster traffic is measured at the network edge, object storage reports uploads (`in`) and downloads (`out`), and VPN plans have no series (`points` is empty). Buckets without traffic are not returned.\n\n**Required scope:** `billing:read`.\n\nCLI command: `bandwidth series`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999809,
      "method": "GET",
      "name": "Hourly/daily traffic of one service",
      "parameters": [
        {
          "description": "Window to return. Unrecognised values behave like `period`.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [
        {
          "name": "kind",
          "value": ""
        },
        {
          "name": "ref",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/objects/:kind/:ref/series"
    },
    {
      "_id": "req_aa3c5c9389a5b9f0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices an Add-on of `tb` terabytes for one service without buying anything. The Add-on is valid for the current billing period only (`period_end`) and the price is flat per terabyte. Take `amount_cents` from the response and send it as `expect_cents` when you buy, so a price change between the two calls cannot surprise you. Quotes are refused for services that cannot buy Add-ons: VPN plans, unmetered services and services that are not active.\n\n**Required scope:** `billing:read`.\n\nCLI command: `bandwidth quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999808,
      "method": "GET",
      "name": "Quote a Bandwidth Add-on",
      "parameters": [
        {
          "description": "Number of terabytes to price, from 1 up to the site maximum (`price.max_tb`). Defaults to 1; a value that is not an integer is replaced by 1.",
          "disabled": true,
          "name": "tb",
          "value": ""
        }
      ],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [
        {
          "name": "kind",
          "value": ""
        },
        {
          "name": "ref",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/objects/:kind/:ref/quote"
    },
    {
      "_id": "req_062c0083334b670b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"expect_cents\": 768,\n  \"tb\": 2\n}"
      },
      "description": "Buys an Add-on of `tb` terabytes for one service and charges your wallet immediately. The Add-on raises the limit of the current billing period only and expires at `period_end`; it is not refunded and does not carry over. Send `expect_cents` from Quote an Add-on: if the price or the billing period changed since, nothing is charged and the call fails with 409 `bw_price_changed`. A server or cluster that was locked because it used up its quota is unlocked automatically after the purchase. The `Idempotency-Key` for this call must be 8 to 80 characters of letters, digits, `-`, `_` and `:`; repeating a purchase with the same key and body returns the original Add-on (status 200, `replay` true) without charging again, while the same key with a different body fails with 409 `idempotency_key_reused`. Servers whose billing is still handled by another provider cannot buy Add-ons here (409). At most 10 purchases per minute are accepted.\n\n**Required scope:** `bandwidth:buy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `bandwidth buy`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999807,
      "method": "POST",
      "name": "Buy a Bandwidth Add-on (charges the wallet)",
      "parameters": [],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [
        {
          "name": "kind",
          "value": ""
        },
        {
          "name": "ref",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/objects/:kind/:ref/addons"
    },
    {
      "_id": "req_d624599dc785c519",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the Add-ons you bought or were granted, for all services and all periods, newest first. Each entry shows the service it belongs to, the period it was valid for, the terabytes added and the amount charged. It is a purchase history: to see what is in force now, read `addons` in Get bandwidth of a service.\n\n**Required scope:** `billing:read`.\n\nCLI command: `bandwidth addons`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999806,
      "method": "GET",
      "name": "Bandwidth Add-on purchase history",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_3517814c26790bd1",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/bandwidth/addons"
    },
    {
      "_id": "fld_a262f82979ccc19a",
      "_type": "request_group",
      "description": "Operating system images and ISO images of your account. Import an image from a URL, create one from a stopped server, rename it, delete it, or attach and detach an ISO. A template image that is `Ready` can be used as the operating system when you create a server. Stored images are billed per GB-hour from the moment they are ready. Image management can be switched off on a site; every call in this section then fails with 501 `feature_disabled`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9989,
      "name": "Images",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_3b4db9060c9ac2ae",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the operating system images that the site provides to everybody, with the regions where each one is available. They are the same images as `templates` in the VM catalog, in a lighter form meant for pickers shown next to your own images. Your private images are not included; see List images. The list is not paged: `total` is the number of entries returned.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `image public`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999805,
      "method": "GET",
      "name": "Public OS images on sale",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/public"
    },
    {
      "_id": "req_f0c94ec327c05c69",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the operating system types you can choose when importing an image. Pass the `id` of one entry as `os_type_id` to Import an image; it selects the virtual hardware profile used for the image, so pick the closest match to the guest system. The list is sorted by name and cached for up to an hour. If it cannot be fetched right now the call fails with 502 and can be retried.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `image os-types`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999804,
      "method": "GET",
      "name": "OS types",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/os-types"
    },
    {
      "_id": "req_c18708f255743ba5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prices the storage of an image of a given size without creating anything. Images are billed hourly from the moment they are `Ready`: the size is rounded up to whole GB (1 GB = 2^30 bytes) and multiplied by the hourly rate. Rates are given in millionths of a US dollar so that small amounts stay exact; `cents_per_hour` and `cents_per_month` are the same prices rounded to whole cents for display. ISO images and templates are priced the same way.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `image quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999803,
      "method": "GET",
      "name": "Image storage price per GB",
      "parameters": [
        {
          "description": "Size to price in GB, from 1 to 1024. Defaults to 1; values outside the range are clamped.",
          "disabled": true,
          "name": "size_gb",
          "value": ""
        }
      ],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/quote"
    },
    {
      "_id": "req_d4211f86256cff3e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the OS images and ISO images stored in your account, newest first by default. A new image moves from `Queued` through `Downloading` (or `Creating` when made from a server) to `Ready`; `Error` means it failed and `error_code` tells why, and `Deleting` is shown while removal is in progress. Besides the page of items the response returns your limits and the unit price, so one call is enough to show usage bars and cost estimates. Note that the pagination fields are inside `meta`, not at the top level.\n\n**Required scope:** `image:read`.\n\nCLI command: `image list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999802,
      "method": "GET",
      "name": "List your images and ISOs (paged, sortable)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Return only images of this kind. Other values are ignored.",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Return only images in this state. Other values are ignored.",
          "disabled": true,
          "name": "state",
          "value": ""
        },
        {
          "description": "Text to look for in the image name (case-insensitive substring, first 64 characters used).",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images"
    },
    {
      "_id": "req_0fdc862b9f082c79",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one image with its state, progress, size, cost, region, the number of servers using it and, for images made from a server, the name of the source server. Use it to follow an image after Import an image or Create an image from a server: poll until `state` is `Ready` or `Error`. An image that does not exist or belongs to another account answers 404.\n\n**Required scope:** `image:read`.\n\nCLI command: `image get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999801,
      "method": "GET",
      "name": "Get one image",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [
        {
          "name": "iid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/:iid"
    },
    {
      "_id": "req_374a1742ab1d47c3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows which ISO is attached to a server and which of your ISO images can be attached to it. `attached` is the ISO currently inserted, or null when there is none; its `image_id` is null when that ISO is not one of yours (for example a system ISO attached by support). `images` lists your `Ready`, unlocked ISO images that are in the same region as the server. If the current attachment cannot be read right now, `live` is false and `attached` is null while `images` is still returned.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm iso get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999800,
      "method": "GET",
      "name": "ISO attached to the VM + attachable ISOs",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/iso"
    },
    {
      "_id": "req_c43c1c24933a7f6e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"checksum\": \"sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\n  \"description\": \"Hardened base image\",\n  \"kind\": \"template\",\n  \"name\": \"Ubuntu 24.04 golden\",\n  \"os_type_id\": \"5a3f6ae4-bf73-11f0-8c3a-00163eb1d097\",\n  \"url\": \"https://images.example.com/ubuntu-24.04.qcow2\"\n}"
      },
      "description": "Imports an operating system image (a QCOW2 disk) or an ISO from a public URL into your account. The call returns 202 at once with the image in state `Queued` and a `job_id`; the file is then downloaded and checked in the background. Poll Get an image until `state` is `Ready` or `Error` (see `error_code`). Nothing is charged while the file downloads; storage billing per GB-hour starts when the image is `Ready`. You need a positive wallet balance to start an import.\n\nThe URL must be a direct download link: `http` or `https`, port 80 or 443, no credentials or fragment, at most 2048 ASCII characters, a full domain name or a public IP address, and a path ending in `.iso` for ISOs or `.qcow2` / `.img` for templates. Compressed files are rejected. The server resolves and checks the address before anything is fetched: private, internal and provider addresses fail with `blocked_url`, redirects are never followed (`url_redirect`, use the final link), and the first bytes of the file must be a QCOW2 header or an ISO 9660 / UDF descriptor (`invalid_image`).\n\nSize limits are set per site (by default 50 GB for templates and 10 GB for ISOs; see `limits` in List images): a larger file fails with `too_large`, and when the source does not announce its size the maximum is reserved against your limits until the real size is known. An account can have at most 2 images downloading or being created at a time. Repeating the call with the same `Idempotency-Key` (8 to 80 characters of letters, digits, `-`, `_` and `:`) returns the original image with status 200 and `idempotent_replay` true instead of importing it twice.\n\n**Required scope:** `image:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `image import`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999799,
      "method": "POST",
      "name": "Import an image/ISO from URL (storage billed hourly)",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images"
    },
    {
      "_id": "req_8065ee8b538b02c7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"description\": \"Before the Ubuntu upgrade\",\n  \"name\": \"web-1 golden\",\n  \"vm_id\": \"3f6c1d0e-8a52-4b57-9a41-0c2f6e9d7b10\"\n}"
      },
      "description": "Creates a template image from the system disk of one of your servers. The server must be stopped (power state `Stopped`) and not locked or busy with another operation; it is not modified. The call returns 202 with the new image in state `Queued` and a `job_id`; follow it with Get an image until it is `Ready`. The image is stored in the region of the server and inherits its login user name. Its real size is measured when the copy completes and billing per GB-hour starts then; until that moment your limits reserve the disk size of the server. You need a positive wallet balance to start. At most 2 images per account can be downloading or being created at a time, and the whole site runs only a few copies at once (503 `image_capacity` when it is busy). Repeating the call with the same `Idempotency-Key` returns the original image with status 200 and `idempotent_replay` true.\n\n**Required scope:** `image:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `image from-vm`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999798,
      "method": "POST",
      "name": "Create an image from a stopped instance",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/from-vm"
    },
    {
      "_id": "req_bb2bbd139ca26903",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"description\": \"Hardened, patched in October\",\n  \"name\": \"Ubuntu 24.04 golden v2\"\n}"
      },
      "description": "Renames an image and/or changes its description. Only these display fields change; the image itself, its billing and the servers using it are not affected, and the call works in any state. Omit a field to keep it; send an empty `description` to clear it. Names are limited to 64 characters of letters, digits, spaces and `-`, `_`, `.`, `(`, `)`: other characters are silently dropped, and a name that ends up empty is rejected.\n\n**Required scope:** `image:write`.\n\nCLI command: `image update`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999797,
      "method": "PATCH",
      "name": "Rename / describe an image",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [
        {
          "name": "iid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/:iid"
    },
    {
      "_id": "req_d835457bbfa3abb6",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes an image. The request is accepted with 202 and the image moves to `Deleting`; it disappears from List images when the removal finishes, and billing stops. An image cannot be deleted while it is being processed (409 `image_busy`) or while it is in use (409 `image_in_use`): a template that existing servers were created from, or an ISO attached to a server. Delete those servers or detach the ISO first. An image that never reached storage, for example a failed import, is removed immediately: the response then has `deleted` true and no `job_id`. At most 10 deletions per minute are accepted.\n\n**Required scope:** `image:write`.\n\nCLI command: `image delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999796,
      "method": "DELETE",
      "name": "Delete an image (not in use)",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [
        {
          "name": "iid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/:iid"
    },
    {
      "_id": "req_302288a555050e4b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"vm_id\": \"3f6c1d0e-8a52-4b57-9a41-0c2f6e9d7b10\"\n}"
      },
      "description": "Attaches one of your ISO images to a server so that it can boot from it. The server can be running or stopped; reboot it to boot from the ISO. The ISO must be `Ready`, not locked, and in the same region as the server, and a server can have only one ISO attached at a time. The call returns 200 with the `job_id` of the background operation; follow it with the jobs of the server (`GET /v1/vm/{id}/jobs`). At most 10 attach calls per minute are accepted.\n\n**Required scope:** `image:write`.\n\nCLI command: `image attach`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999795,
      "method": "POST",
      "name": "Attach an ISO to an instance",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [
        {
          "name": "iid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/:iid/attach"
    },
    {
      "_id": "req_0548374dc99d45d5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"vm_id\": \"3f6c1d0e-8a52-4b57-9a41-0c2f6e9d7b10\"\n}"
      },
      "description": "Detaches the ISO that is currently attached to a server. `iid` must be one of your ISO images, but it is not compared with the ISO that is actually attached: whatever ISO is attached is removed, and the call succeeds without effect when there is none. It works on running and stopped servers and returns the `job_id` of the background operation (see `GET /v1/vm/{id}/jobs`). At most 10 detach calls per minute are accepted.\n\n**Required scope:** `image:write`.\n\nCLI command: `image detach`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999794,
      "method": "POST",
      "name": "Detach an ISO from an instance",
      "parameters": [],
      "parentId": "fld_a262f82979ccc19a",
      "pathParameters": [
        {
          "name": "iid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/images/:iid/detach"
    },
    {
      "_id": "fld_4d83a1bbe19a1ccd",
      "_type": "request_group",
      "description": "VPN IPv4 and Proxy IPv6 plans. The `vpn:read` scope gives an app or script what it needs to connect: the plans, IP addresses, ports, user names and passwords. Separate scopes cover plan details such as traffic and configuration files (`vpn:detail`), changing settings (`vpn:write`), buying, renewing and upgrading (`vpn:create`, costs money) and cancelling (`vpn:destroy`). The responses contain live proxy credentials, so treat them as secrets and give each key only the scopes it needs. Hidden on sites that do not sell VPN or proxies.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9988,
      "name": "VPN and Proxy",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_ec3b4b818d5c1f81",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your VPN IPv4 plans, newest first, with status, expiry and the number of endpoints of each plan. The list is not paginated. Plans you removed from your list and orders that were rejected before any payment are left out.\n\nEndpoint addresses, ports and passwords are not part of this list; call [Get a VPN plan](#operation/vpn_subscription_get) or [List VPN endpoints](#operation/vpn_endpoint_list) for them. Proxy IPv6 plans are listed by [List Proxy IPv6 plans](#operation/proxy6_subscription_list).\n\n**Required scope:** `vpn:read`.\n\nCLI command: `vpn subscription list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999793,
      "method": "GET",
      "name": "List VPN IPv4 plans",
      "parameters": [
        {
          "description": "Set to `true` (or `1`) to also list plans that you removed from your list in the dashboard.",
          "disabled": true,
          "name": "include_hidden",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions"
    },
    {
      "_id": "req_ba0bae596e481049",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one VPN IPv4 plan with its endpoints. Each endpoint carries the IP address, the SOCKS5 and HTTP ports (and the UDP port when that IP offers UDP — see `capabilities`), and the user name and **password** to connect with, so this response is sensitive. `subscription.capabilities` summarises what the plan's IPs support. The renewal history and the bandwidth-upgrade history are included (the 50 most recent entries of each, newest first).\n\nOnly endpoints of an `active` plan accept connections. When a plan is canceled or its IP addresses are released, `endpoints` is empty. An id that belongs to another account, or to a Proxy IPv6 plan, returns `404`.\n\n**Required scope:** `vpn:read`.\n\nCLI command: `vpn subscription get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999792,
      "method": "GET",
      "name": "Get one VPN IPv4 plan + endpoints (with passwords)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id"
    },
    {
      "_id": "req_57eee2a1df7f2319",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the endpoints of all your `active` VPN IPv4 plans in one flat list, ready to feed an app that lets the user pick an IP. The response contains the proxy passwords.\n\nConnect to `ip:port_socks` with a SOCKS5 client, or to `ip:port_http` with an HTTP proxy client, and authenticate with `username` and `password`; traffic leaves from the endpoint IP. Endpoints in state `provisioning` are still being set up and may not accept connections yet. Plans that are not `active` contribute no endpoints. The list is not paginated.\n\n**Required scope:** `vpn:read`.\n\nCLI command: `vpn endpoint list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999791,
      "method": "GET",
      "name": "All endpoints of active plans (IP, ports, user/pass)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/endpoints"
    },
    {
      "_id": "req_f1eee4ad6d60b71f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your Proxy IPv6 plans, newest first. Each plan shows its type and size, the host and ports to connect to, the user name and the rotation state. The password is **not** included in the list (`proxy6.password` is `null`); fetch it with [Get a Proxy IPv6 plan](#operation/proxy6_subscription_get). The list is not paginated.\n\nPlans you removed from your list and orders that were rejected before any payment are left out. VPN IPv4 plans are listed by [List VPN plans](#operation/vpn_subscription_list).\n\n**Required scope:** `vpn:read`.\n\nCLI command: `proxy6 subscription list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999790,
      "method": "GET",
      "name": "List Proxy IPv6 plans",
      "parameters": [
        {
          "description": "Set to `true` (or `1`) to also list plans that you removed from your list in the dashboard.",
          "disabled": true,
          "name": "include_hidden",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions"
    },
    {
      "_id": "req_36f5877c7aeb2c3b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one Proxy IPv6 plan including the connection **password** (`proxy6.password`), so this response is sensitive. With `proxy6.host`, `proxy6.ports`, `proxy6.username` and the password you can configure any HTTP or SOCKS5 client; traffic leaves over IPv6 only, destinations must have an IPv6 address and outgoing connections to the mail ports 25, 465, 587 and 2525 are refused. The 50 most recent renewals are included.\n\nA static plan gives a fixed set of addresses, listed by [List Proxy IPv6 addresses](#operation/proxy6_ip_list). A rotating plan exposes its current address in `proxy6.current_addr`. `proxy6.rotate_path` is always `null` in responses to API keys. An id that belongs to another account, or to a VPN IPv4 plan, returns `404`.\n\n**Required scope:** `vpn:read`.\n\nCLI command: `proxy6 subscription get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999789,
      "method": "GET",
      "name": "Get one Proxy IPv6 plan (with password)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id"
    },
    {
      "_id": "req_2392bfe332e941fa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the IPv6 addresses currently assigned to a Proxy IPv6 plan, ordered by `slot`, together with the user name (and, on static plans, the dedicated port) that selects each address. A static plan has one address per slot; a rotating plan has a single address in slot 1.\n\n`history` lists the latest address changes of a rotating plan (up to 50, newest first) and is empty for static plans. A page number beyond the last page returns an empty `items` array.\n\n**Required scope:** `vpn:read`.\n\nCLI command: `proxy6 ip list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999788,
      "method": "GET",
      "name": "IPv6 addresses of the plan (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/ips"
    },
    {
      "_id": "req_196baa5981755c31",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Revokes the API key that makes the call, immediately and permanently. Apps use it as a \"log out\" button: the next request with the same key fails with `401`. Only the calling key is affected; other keys and dashboard sessions stay valid, and the revoked key stays listed as revoked on the API Keys page.\n\nCall it with an API key. A dashboard session is refused with `403 key_required`.\n\n**Required scope:** `vpn:read`.\n\nCLI command: `vpn session revoke`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999787,
      "method": "DELETE",
      "name": "The key revokes itself (app log out)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/ext/session"
    },
    {
      "_id": "req_4f2c95851cfe09e3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "For the VPN app for iPhone. Returns the fixed `app_account_token` of your account and the wallet top-up products sold through Apple In-App Purchase. Pass the token to StoreKit (`purchase(options: [.appAccountToken(uuid)])`) so the signed transaction is bound to your account; it never changes and does not reveal your account id.\n\n`credit_cents` is what one unit of the product adds to the wallet (US cents). `enabled` tells the app whether to offer purchases; transactions already paid are still credited when it is `false`. Only available on the main site (`403 iap_unavailable` on reseller sites).\n\n**Required scope:** `wallet:iap`.\n\nCLI command: `vpn iap token`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999786,
      "method": "GET",
      "name": "Account token (appAccountToken) + Apple In-App Purchase top-up products",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/ext/iap/apple/token"
    },
    {
      "_id": "req_2ea7f0134cc765e3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"signed_transaction\": \"eyJhbGciOiJFUzI1NiIsIng1YyI6WyJNSUlF...In0.eyJ0cmFuc2FjdGlvbklkIjoi...In0.MEUCIQ...\"\n}"
      },
      "description": "For the VPN app for iPhone. Submit a StoreKit 2 transaction (`Transaction.jwsRepresentation`) after an Apple In-App Purchase to credit the wallet. The server verifies the Apple signature offline (certificate chain up to Apple Root CA - G3), the bundle id, the product, the `appAccountToken` (must be yours) and that the transaction was not refunded. Call `finish()` on the transaction after a `200`.\n\nIdempotent per Apple `transactionId`: submitting the same transaction again returns `200` with `replayed: true` and `credited_cents: 0`. A real top-up runs exactly like a card top-up (invoice, receipt e-mail, and it activates the trial credit when it qualifies — see `trial`). Sandbox transactions (TestFlight, App Review) are credited only for accounts the site owner allowed and never count as a real top-up.\n\n**Required scope:** `wallet:iap`.\n\nCLI command: `vpn iap submit`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999785,
      "method": "POST",
      "name": "Submit a signed Apple In-App Purchase transaction to credit the wallet (idempotent per transactionId)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/ext/iap/apple/transactions"
    },
    {
      "_id": "req_72a1974ed541307c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Downloads the connection list of the plan as a plain-text file in the chosen format. The file contains the user name and password of every active endpoint, so treat it like a secret. Formats: `socks` / `http` (URL lines), `socks_plain` / `http_plain` (`host:port:user:pass` lines for scraping and anti-detect tools), `json`, `clash`, `singbox` and `v2rayn` (base64 subscription).\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription config`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999784,
      "method": "GET",
      "name": "Download the connection list (SOCKS5/HTTP, plain, Clash, sing-box, v2rayN)",
      "parameters": [
        {
          "description": "Output format.",
          "disabled": true,
          "name": "format",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/config"
    },
    {
      "_id": "req_8f1be712c690ec1f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns real traffic of the plan: a time series for charting, the latest rate, the usage of the current billing period against the quota, and the busiest endpoints. Minute buckets are available for `1h` and `6h`, hourly buckets for `24h`, `7d` and `30d`, daily buckets for `month` (last 30 days) and monthly buckets for `all` (all time, with the usage of each past billing period in `periods`). Minute data is kept for 48 hours and hourly data for 40 days; `data_from` tells where the series really starts. The `live` rate is an average over the last stored minute. Limited to 30 calls per minute per account.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription traffic`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999783,
      "method": "GET",
      "name": "Real traffic chart and usage of a VPN IPv4 plan",
      "parameters": [
        {
          "description": "Time range of the series.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/traffic"
    },
    {
      "_id": "req_dc3f4468224ddf23",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the bandwidth tiers you can upgrade this plan to, with the amount that would be charged now (prorated for the days left) and the renewal price afterwards. `can_upgrade` is false, with a `reason`, when the plan cannot be upgraded right now. Use [Upgrade bandwidth](#operation/vpn_subscription_upgrade_bandwidth) to buy a tier.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription bandwidth`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999782,
      "method": "GET",
      "name": "Bandwidth tiers you can upgrade to, with prices",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/bandwidth"
    },
    {
      "_id": "req_1b34ab2d7bd13a85",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the add-ons currently active on the plan and the add-ons you can still buy, with the prorated price of adding each one now. `can_add` is false, with a `reason`, when add-ons cannot be bought right now.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription addons`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999781,
      "method": "GET",
      "name": "Active add-ons and add-ons you can still buy, with mid-term prices",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/addons"
    },
    {
      "_id": "req_6c92def544aaa18f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the IP addresses and networks that may use the plan without a user name and password. The limit is 3 entries, or 1000 with the `ipauth` add-on.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription auth-ips`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999780,
      "method": "GET",
      "name": "IPs authorized to use the plan without user and password",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/auth-ips"
    },
    {
      "_id": "req_483ac023f1ea27d9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the blacklist reports you filed for the IP addresses of the plan, newest first (up to 100). Use [Report IPs](#operation/vpn_subscription_report_ip) to file one.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription reports`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999779,
      "method": "GET",
      "name": "Blacklist reports you filed for the plan's IPs",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/ip-reports"
    },
    {
      "_id": "req_65bcffe81f5c1941",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what canceling the plan would do, without changing anything: whether it can be canceled, how many IPs would be released, and that no refund is given.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `vpn subscription cancel-preview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999778,
      "method": "GET",
      "name": "Preview of canceling a VPN IPv4 plan",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/cancel-preview"
    },
    {
      "_id": "req_9640bbdfa9e42a3d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists every invoice that belongs to the plan: purchase, renewals, bandwidth upgrades and add-ons, newest first. Invoices issued to a previous owner (after a transfer) are marked `previous_owner` and their buyer details are redacted.\n\n**Required scope:** `billing:read`.\n\nCLI command: `vpn subscription billing`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999777,
      "method": "GET",
      "name": "Invoices that belong to a VPN IPv4 plan",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/billing"
    },
    {
      "_id": "req_575acc5fefd81842",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cidrs\": [\n    \"203.0.113.5\",\n    \"198.51.100.0/24\"\n  ]\n}"
      },
      "description": "Replaces the whole list of authorized IPs. Addresses and networks must be valid CIDR; networks wider than /16 (IPv4) or /32 (IPv6) are rejected, and so is a list longer than the limit (3, or 1000 with the `ipauth` add-on). Nothing is saved when any entry is invalid. Anyone connecting from an authorized address can use the proxies without credentials, so keep the list short. Which protocols work without a password depends on the IP: see `capabilities.ip_auth_protocols` of each endpoint (an IP that lists only `http` still needs the username and password for SOCKS5).\n\n**Required scope:** `vpn:write`.\n\nCLI command: `vpn subscription set-auth-ips`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999776,
      "method": "PUT",
      "name": "Replace the list of authorized IPs of a plan",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/auth-ips"
    },
    {
      "_id": "req_23a72069dc77f7f4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"enabled\": true\n}"
      },
      "description": "Turns auto-renew on or off. When on, the plan renews itself from the wallet shortly before it expires (and during the grace period after expiry). Turning it on for a plan that is already due renews it immediately; `renew` then reports what happened. Turning it off always works.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `vpn subscription set-auto-renew`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999775,
      "method": "PUT",
      "name": "Turn auto-renew on or off (turning it on can renew from the wallet at once)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/auto-renew"
    },
    {
      "_id": "req_f49f1d13fde4cc6a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"remove\": [\n    \"concurrency\"\n  ]\n}"
      },
      "description": "Schedules add-ons for removal at the next renewal. Nothing is refunded and the add-ons keep working until the plan renews. Send an empty list to cancel a scheduled removal.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `vpn subscription remove-addons`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999774,
      "method": "POST",
      "name": "Schedule removal of add-ons at the next renewal (no refund)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/addons/remove"
    },
    {
      "_id": "req_9a88805548899da9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"endpoint_ids\": [\n    31\n  ],\n  \"note\": \"Mail rejected by a blocklist\",\n  \"reason\": \"dnsbl\"\n}"
      },
      "description": "Reports IP addresses of the plan that are blacklisted or blocked by a site, asking for replacements. Each IP is checked against public blacklists immediately and the result is attached to the report. A reviewer then replaces the IP with a clean one in the same location (no charge) or rejects the report with a reason. Limits: one open report per IP and at most 10 open reports per plan. The call can take several seconds because the blacklist lookup runs live. Send an `Idempotency-Key` to retry safely.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `vpn subscription report-ip`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999773,
      "method": "POST",
      "name": "Report blacklisted IPs of a plan for replacement",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/ip-reports"
    },
    {
      "_id": "req_a3854937439a4bec",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Issues a new subscription-feed link and invalidates the previous one. The feed is a public URL (no API key needed) that VPN apps download to get the plan's proxies, so anyone holding it can use the plan: treat the token as a secret and rotate it if it leaks.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `vpn subscription rotate-feed`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999772,
      "method": "POST",
      "name": "Issue a new subscription-feed link (the old link dies)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/feed/rotate"
    },
    {
      "_id": "req_be02e36be053c8d1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"addons\": [],\n  \"bandwidth_gb\": 250,\n  \"cycle\": \"monthly\",\n  \"ip_count\": 2,\n  \"tier\": \"dedicated\"\n}"
      },
      "description": "Buys a VPN IPv4 plan. The price is charged to the wallet and the IP addresses are allocated and activated at once. If activation fails after payment the amount is refunded automatically. Only `dedicated` IPs are on sale. Get valid tiers, quotas and cycles from the VPN catalog first. On sites run by resellers the charge is the site's retail price. Needs the wallet to cover the price (otherwise 402).\n\nSend an `Idempotency-Key` header: calling again with the same key returns the original purchase instead of buying twice. A `202 Accepted` answer means the payment is still being finalized; the plan appears in your list when done.\n\n**Required scope:** `vpn:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpn subscription buy`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999771,
      "method": "POST",
      "name": "Buy a VPN IPv4 plan (charges the wallet)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions"
    },
    {
      "_id": "req_004f7b2d88411d6f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"periods\": 1\n}"
      },
      "description": "Renews the plan for one or more periods at the price fixed when it was bought (not the current catalog price). The amount is charged to the wallet and the expiry moves forward. Active plans, and expired plans that still hold their IPs, can be renewed. Only one renewal or upgrade can be in progress at a time.\n\n**Required scope:** `vpn:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpn subscription renew`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999770,
      "method": "POST",
      "name": "Renew a VPN IPv4 plan (charges the wallet)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/renew"
    },
    {
      "_id": "req_e691a353254a5dd3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"gb\": 1000\n}"
      },
      "description": "Upgrades the monthly bandwidth quota to a higher tier in the middle of a period. The difference is charged now, prorated for the days left, and the renewal price rises accordingly. Only higher tiers are accepted. See [List bandwidth options](#operation/vpn_subscription_bandwidth) for the available tiers and prices.\n\n**Required scope:** `vpn:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpn subscription upgrade-bandwidth`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999769,
      "method": "POST",
      "name": "Upgrade the bandwidth tier mid-term (charges the wallet)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/bandwidth"
    },
    {
      "_id": "req_ea7e8191c331c2b5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"add\": [\n    \"concurrency\"\n  ]\n}"
      },
      "description": "Adds add-ons to the plan in the middle of a period. The price is prorated for the days left and charged now; the add-ons are included in later renewals. Retired add-ons are rejected. See [List add-ons](#operation/vpn_subscription_addons) for the keys and prices.\n\n**Required scope:** `vpn:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpn subscription add-addons`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999768,
      "method": "POST",
      "name": "Add features to a plan mid-term (charges the wallet)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/addons"
    },
    {
      "_id": "req_8bae81fe94c856b0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": 12\n}"
      },
      "description": "Cancels the plan immediately. The proxies stop working and the IP addresses go back to the pool. **Nothing is refunded**, even if time remains. To prevent accidents you must repeat the plan id in `confirm`. Canceling an already canceled plan succeeds and reports `already: true`. Look at [Preview cancellation](#operation/vpn_subscription_cancel_preview) first.\n\n**Required scope:** `vpn:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpn subscription cancel`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999767,
      "method": "POST",
      "name": "Cancel a VPN IPv4 plan now (no refund; IPs are released)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id/cancel"
    },
    {
      "_id": "req_cf6e8977ccfdc8ae",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes a finished plan from your list. Only plans that are canceled, expired or failed and whose IP addresses have been released can be removed. The plan and its invoices are kept for the records; it just stops appearing in the list unless you pass `include_hidden=1`. Repeating the call succeeds with `already: true`.\n\n**Required scope:** `vpn:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vpn subscription delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999766,
      "method": "DELETE",
      "name": "Remove a canceled or expired VPN IPv4 plan from your list",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vpn/subscriptions/:id"
    },
    {
      "_id": "req_80da65ddef64562a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Downloads the proxies of the plan as a text file in the chosen format. Every line carries the proxy password, so treat the file as a secret. For static plans there is one line per address (the user name carries the address number); rotating plans export their single current entry. Every format connects on the shared ports 80 (HTTP) and 443 (HTTPS and SOCKS5) and selects the address through the user name (`user-N`). Formats: `hostport` and `userpass` (`host:80:user:pass`), `socks5` and `http` (URL lines), `ips` (the IPv6 addresses only), `clash` and `singbox`, and the advanced `perport` (static plans only, one dedicated port per address, `host:port:user:pass`).\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `proxy6 subscription export`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999765,
      "method": "GET",
      "name": "Download the proxy list of a Proxy IPv6 plan (with password)",
      "parameters": [
        {
          "description": "Output format.",
          "disabled": true,
          "name": "format",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/export"
    },
    {
      "_id": "req_32cac8e5ce2bef17",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the connection log of the plan, newest first: which client address connected to which destination through which outgoing IPv6 address, with the transferred bytes and whether the connection was denied. Without `q` the last 30 days are searched; with `q` the search is limited to the last 7 days. Limited to 30 calls per minute per account.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `proxy6 subscription logs`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999764,
      "method": "GET",
      "name": "Connection log of a Proxy IPv6 plan (paged, searchable)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Search text (at least 2 characters), matched against client address, destination host and outgoing address.",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/logs"
    },
    {
      "_id": "req_2fb54331e2048ff5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns real traffic of the plan: a time series for charting, the latest rate, the usage of the current billing period and the busiest endpoints. Minute buckets are available for `1h` and `6h`, hourly buckets for `24h`, `7d` and `30d`, daily buckets for `month` and monthly buckets for `all`. Limited to 30 calls per minute per account.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `proxy6 subscription traffic`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999763,
      "method": "GET",
      "name": "Real traffic chart and usage of a Proxy IPv6 plan",
      "parameters": [
        {
          "description": "Time range of the series.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/traffic"
    },
    {
      "_id": "req_88e1495876169363",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Shows what canceling the plan would do, without changing anything: whether it can be canceled, how many addresses would be released, and that no refund is given.\n\n**Required scope:** `vpn:detail`.\n\nCLI command: `proxy6 subscription cancel-preview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999762,
      "method": "GET",
      "name": "Preview of canceling a Proxy IPv6 plan",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/cancel-preview"
    },
    {
      "_id": "req_38684fdef9e90e57",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists every invoice that belongs to the plan (purchase and renewals), newest first. Invoices issued to a previous owner (after a transfer) are marked `previous_owner` and their buyer details are redacted.\n\n**Required scope:** `billing:read`.\n\nCLI command: `proxy6 subscription billing`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999761,
      "method": "GET",
      "name": "Invoices that belong to a Proxy IPv6 plan",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/billing"
    },
    {
      "_id": "req_ee802716801790fc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"enabled\": false\n}"
      },
      "description": "Turns auto-renew on or off. When on, the plan renews itself from the wallet shortly before it expires. Turning it on for a plan that is already due renews it immediately; `renew` then reports what happened. Turning it off always works.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `proxy6 subscription set-auto-renew`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999760,
      "method": "PUT",
      "name": "Turn auto-renew on or off (turning it on can renew from the wallet at once)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/auto-renew"
    },
    {
      "_id": "req_bf933ddd910aa991",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"interval_s\": 60\n}"
      },
      "description": "Sets the automatic rotation interval of a rotating plan. Every automatic rotation uses one of the plan's rotations. Static plans cannot rotate.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `proxy6 subscription set-rotation`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999759,
      "method": "PUT",
      "name": "Set the automatic IP rotation interval (0 = off)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/rotation"
    },
    {
      "_id": "req_0d6308e7904db954",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Issues a new public rotation link and invalidates the previous one. Calling the link (GET or POST, no API key needed) rotates the address once, which is handy for scripts and phones. Anyone who holds the link can use up the plan's rotations, so treat it as a secret and issue a new one if it leaks.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `proxy6 subscription rotation-token`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999758,
      "method": "POST",
      "name": "Issue a new public rotation link (anyone holding it can burn rotations)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/rotation/token"
    },
    {
      "_id": "req_ca8900a9a3f2366e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Releases the devices (client source IPs) locked to the plan. The plan allows a limited number of devices; the first devices that connect are locked in. After a release, the next devices that connect are locked instead.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `proxy6 subscription release-device`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999757,
      "method": "POST",
      "name": "Release the devices locked to the plan",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/release-device"
    },
    {
      "_id": "req_ff0538f5524e29cf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Generates a new proxy password and returns it. The old password stops working at once, so update your clients. At most 5 resets per plan every 5 minutes.\n\n**Required scope:** `vpn:write`.\n\nCLI command: `proxy6 subscription reset-password`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999756,
      "method": "POST",
      "name": "Generate a new proxy password (returned once)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/reset-password"
    },
    {
      "_id": "req_2a435ba09f16d5bb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Rotates the IPv6 address of a rotating plan now and returns the new one. Each call uses one of the plan's rotations; when none are left the call fails with `turns_exhausted` until you renew. Send an `Idempotency-Key` so that a retried call does not use a second rotation. At most one rotation every 3 seconds per plan.\n\n**Required scope:** `vpn:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `proxy6 subscription rotate`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999755,
      "method": "POST",
      "name": "Rotate the IPv6 address now (uses one rotation of the plan)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/rotate"
    },
    {
      "_id": "req_47135d18541162af",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_renew\": false,\n  \"cycle\": \"daily\",\n  \"plan\": \"rotate-5\"\n}"
      },
      "description": "Buys a Proxy IPv6 plan. The price is charged to the wallet and the proxy is set up at once; if setup fails after payment the amount is refunded automatically. Get plans, speeds and cycles from the Proxy IPv6 catalog first. Send an `Idempotency-Key` header: calling again with the same key returns the original purchase instead of buying twice. A `202 Accepted` answer means the payment is still being finalized; the plan appears in your list when done. When called with an API key, the answer carries no secrets (`password` and `rotate_path` are null): read the connection details with `GET /v1/proxy6/subscriptions/{id}` or `GET /v1/proxy6/subscriptions/{id}/export`.\n\n**Required scope:** `vpn:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `proxy6 subscription buy`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999754,
      "method": "POST",
      "name": "Buy a Proxy IPv6 plan (charges the wallet)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions"
    },
    {
      "_id": "req_c557eab0e28c1979",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"periods\": 1\n}"
      },
      "description": "Renews the plan for one or more periods at the price fixed when it was bought. The amount is charged to the wallet and the expiry moves forward; for rotating plans more rotations are added to the plan. Send an `Idempotency-Key` so that a retried call does not charge twice.\n\n**Required scope:** `vpn:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `proxy6 subscription renew`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999753,
      "method": "POST",
      "name": "Renew a Proxy IPv6 plan (charges the wallet)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/renew"
    },
    {
      "_id": "req_88c04bdaba98982e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": 21\n}"
      },
      "description": "Cancels the plan immediately. The proxy stops working and the addresses are released. **Nothing is refunded**, even if time remains. To prevent accidents you must repeat the plan id in `confirm`. Canceling an already canceled plan succeeds and reports `already: true`.\n\n**Required scope:** `vpn:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `proxy6 subscription cancel`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999752,
      "method": "POST",
      "name": "Cancel a Proxy IPv6 plan now (no refund; addresses are released)",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id/cancel"
    },
    {
      "_id": "req_f969d236c4b9dd9e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes a finished plan from your list. Only plans that are canceled, expired or failed and whose addresses have been released can be removed. The plan and its invoices are kept for the records. Repeating the call succeeds with `already: true`.\n\n**Required scope:** `vpn:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `proxy6 subscription delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999751,
      "method": "DELETE",
      "name": "Remove a canceled or expired Proxy IPv6 plan from your list",
      "parameters": [],
      "parentId": "fld_4d83a1bbe19a1ccd",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/proxy6/subscriptions/:id"
    },
    {
      "_id": "fld_bad45c4c388ef2f5",
      "_type": "request_group",
      "description": "Change the size of a server (vCPU, RAM, disk) now or on a schedule, and let Auto Scaling grow it when the load is high. Resizing is charged or refunded for the price difference, and every operation that costs money requires an `Idempotency-Key`. Available only on sites that sell resizing; when it is switched off the write operations fail with `403 feature_disabled`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9987,
      "name": "Scaling",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_a00474c6022d6200",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything needed to build a resize form for one server in a single call: its current size and price, the limits and unit prices of your site, what it can do without a restart, the reasons a resize is not possible right now, and your wallet balance. It changes nothing and costs nothing.\n\n`feature` is false when the site does not sell resizing; the write operations of this section then fail with `403 feature_disabled`. A resize also needs the site to sell custom configurations, because the new size is priced like a custom configuration.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm scale get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999750,
      "method": "GET",
      "name": "Scaling status: limits, capabilities, blockers",
      "parameters": [],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/scale"
    },
    {
      "_id": "req_f3baeb10b227a8b0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cpu\": 2,\n  \"disk_gb\": 50,\n  \"ram_mb\": 8192\n}"
      },
      "description": "Resizes a server to the vCPU, RAM and disk you give, now or at a scheduled time. **This operation costs money.** The price of the new size is always computed by the server. For a server billed by the hour, one hour at the new price is charged to your wallet up front and the hourly price changes from then on. For a server on a prepaid billing cycle, the price difference for the rest of the cycle is charged, or refunded (never more than you paid for the cycle) when the new size is cheaper. If the resize fails in the background, the charge is refunded automatically.\n\nThe call returns as soon as the change is accepted; the resize runs as a background job (`job_id`, see [List VM jobs](#operation/vm_jobs)). `live` tells you whether the server keeps running: it is `true` only for an increase of RAM or vCPUs on a running server that has been restarted since live resizing became available, whose image supports hot-plugging and whose disk does not change. Every other change, including any decrease and any disk enlargement, stops and starts the server again, which is a short interruption. A disk can only grow, in steps.\n\nPass `at` to schedule a **decrease**: nothing is charged now, the schedule is stored (one schedule per server; a new one replaces the old) and the resize and its payment or refund happen at that time. Increases cannot be scheduled, and `at` may be at most 7 days ahead. A scheduled call answers `{\"scheduled\": true, \"at\": ...}`.\n\nThe server must be `active`, unlocked, with no other operation running, and the new size must be within the `limits` returned by [Get scaling status](#operation/vm_scale_get). Requests are limited to 1 per minute per server and 5 per minute per account (`429 rate_limited` with `retry_after`). Repeating a request with the same `Idempotency-Key` returns the original response with the header `Idempotency-Replayed: 1` instead of charging again.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm scale apply`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999749,
      "method": "POST",
      "name": "Resize CPU/RAM/disk now or scheduled (charges or refunds)",
      "parameters": [],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/scale"
    },
    {
      "_id": "req_201f878c682a17c0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"at\": 1790090000\n}"
      },
      "description": "Restarts the server immediately, or at a time you choose. A server that was last started before live resizing became available needs one restart before CPU and RAM can be changed without interrupting it, and a restart also resets the counter of live RAM additions (a server accepts 16 between restarts). The call does not change the size and has no charge of its own.\n\nOmit `at`, or give a time that is not in the future, to restart now: the call answers `{\"job_id\": ..., \"at\": ...}` and the restart runs as a background job. Give a future `at` (at most 7 days ahead) to schedule it: the call answers `{\"scheduled\": true, \"at\": ...}`; a server has one scheduled restart and a new one replaces the old. A body that is not valid JSON is treated as empty, that is, as an immediate restart.\n\nThe site must sell resizing. The server must be `active` and unlocked. Limited to 2 requests per 5 minutes per server.\n\n**Required scope:** `vm:write`.\n\nCLI command: `vm scale reboot`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999748,
      "method": "POST",
      "name": "Reboot (now or scheduled) to unlock CPU/RAM hot-plug",
      "parameters": [],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/scale/reboot"
    },
    {
      "_id": "req_0f1033277987dd4b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns a server that Auto Scaling has grown to its base size. The server is stopped, resized back to the base configuration and started again automatically in the background, which is a short interruption; the price falls back to the base price and any difference is settled automatically. The call only records your request and answers `202` with the current Auto Scaling state, in which `revert_manual` is `true`; follow progress with [Get Auto Scaling](#operation/vm_autoscale_get) (`revert_phase`).\n\nOnly a server that is larger than its base size because of Auto Scaling can be returned (`revert_available` is `true` in the Auto Scaling state). Auto Scaling does not have to be enabled. The site must sell resizing. Limited to 2 requests per 5 minutes per server.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm scale revert`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999747,
      "method": "POST",
      "name": "Return the VM to its base size after Auto Scaling (reboots)",
      "parameters": [],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/scale/revert"
    },
    {
      "_id": "req_537733d233615591",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the Auto Scaling rule of one server and its live state. Auto Scaling watches the CPU and RAM load of a server billed by the hour or on a prepaid cycle (a prepaid server keeps its plan and expiry; only the extra capacity is billed separately by the hour, see `extra`; a trial Black Friday server cannot use it): when the load stays above `rule.up_pct` for `rule.up_secs` seconds, the server grows to the `target` size and is billed at the target price; when the load stays below `rule.down_pct` for `rule.down_secs` seconds, billing falls back to the base price (`cooling`) while the larger size remains until the server is returned to its base size (see [Return to base size](#operation/vm_scale_revert)).\n\nWhen no rule was ever saved the defaults are returned with `enabled: false`. `blocked` lists what currently prevents Auto Scaling from working, and `feature` is false when the site does not sell it.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm autoscale get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999746,
      "method": "GET",
      "name": "Auto Scaling rule and state of the VM",
      "parameters": [],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/autoscale"
    },
    {
      "_id": "req_c69a441e32172afc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"down_pct\": 30,\n  \"down_secs\": 900,\n  \"enabled\": true,\n  \"target_cpu\": 4,\n  \"target_ram_mb\": 8192,\n  \"up_pct\": 80,\n  \"up_secs\": 300\n}"
      },
      "description": "Switches Auto Scaling on or off for a server and saves its rule. The call replaces the whole rule: tuning fields you leave out go back to their defaults (not to the previous values), and an omitted `enabled` means `false`. Saving a rule charges nothing; money is only charged when the server actually grows, at the price of the target size.\n\nTo enable, send `enabled: true` with `target_cpu` and `target_ram_mb`: the size to grow to, larger than the current size in at least one of the two and within the site ceiling (`caps.max_cpu`, `caps.max_ram_mb`). `up_pct`, `up_secs`, `down_pct` and `down_secs` are optional and are clamped into their allowed ranges (`caps`); `down_pct` must end up lower than `up_pct`. With `enabled: false` the other fields are ignored.\n\nAuto Scaling works only for servers billed by the hour, not running Windows, that have been restarted since live resizing became available and whose image can bring vCPUs online. The call answers with the new [Auto Scaling state](#operation/vm_autoscale_get). Limited to 20 requests per minute per account.\n\n**Required scope:** `vm:plan`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm autoscale set`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999745,
      "method": "PUT",
      "name": "Enable/disable and set the Auto Scaling rule (grows the VM with load)",
      "parameters": [],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/autoscale"
    },
    {
      "_id": "req_75262183d59493a3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the Auto Scaling configuration of all servers of your account in one call. A server is listed when its rule is enabled, when a target size was saved for it, or when it currently is not in the `base` state. Deleted servers are not listed. Read-only; use [Set Auto Scaling](#operation/vm_autoscale_set) to change a rule.\n\n**Required scope:** `vm:read`.\n\nCLI command: `autoscale list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999744,
      "method": "GET",
      "name": "Auto Scaling of all VMs in the account (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page, at most 100. Larger values are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by: server name, rule switch, state, current vCPUs, target vCPUs or last update. Unknown values fall back to `updated_at`.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction. Anything other than `asc` means `desc`.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/autoscale"
    },
    {
      "_id": "req_d349f8852b48226a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the size changes of the servers of your account, newest first: resizes you requested, scheduled ones, automatic growth by Auto Scaling, returns to base size, and automatic growth that was held back (`kind: blocked`, with the `reason`). Each entry shows the size before and after, the hourly prices, what was charged or refunded and whether the change was applied without a restart.\n\nThe filters narrow the list; `vm_id` is only a filter, so another account's server id simply matches nothing. Limited to 60 requests per minute per account.\n\n**Required scope:** `vm:read`.\n\nCLI command: `scale events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999743,
      "method": "GET",
      "name": "Scaling history of the account (paged, filterable)",
      "parameters": [
        {
          "description": "Only events of this server (UUID).",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        },
        {
          "description": "Only events with this source, for example `manual`, `autoscale` or `revert`. Exact match.",
          "disabled": true,
          "name": "source",
          "value": ""
        },
        {
          "description": "Only events of this kind, for example `up`, `down`, `revert` or `blocked`. Exact match.",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Only events at or after this time (Unix seconds). A value that is not a number is ignored.",
          "disabled": true,
          "name": "from",
          "value": ""
        },
        {
          "description": "Only events at or before this time (Unix seconds). A value that is not a number is ignored.",
          "disabled": true,
          "name": "to",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page, at most 100. Larger values are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. Unknown values fall back to `at`.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction. Anything other than `asc` means `desc`.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_bad45c4c388ef2f5",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/scale-events"
    },
    {
      "_id": "fld_6886eedd265499e0",
      "_type": "request_group",
      "description": "Extra data volumes you can attach to a server. A volume is billed per GB-hour from the moment it is ready until it is deleted, also while it is detached, and keeps its data when detached. Creating and enlarging a volume costs money and, like deleting one, requires an `Idempotency-Key`. Available only on sites that sell Block Storage; when it is switched off every operation fails with `501 feature_disabled`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9986,
      "name": "Block Storage",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_08fa00c1cf52f684",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the data volumes attached to one server, with how many more it can take and the total size attached. These are the extra volumes you bought; the system disk of the server is not included. Use [List volumes](#operation/volume_list) for all volumes of the account, attached or not.\n\n**Required scope:** `vm:read`.\n\nCLI command: `vm data-volumes`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999742,
      "method": "GET",
      "name": "Data volumes attached to the VM",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/data-volumes"
    },
    {
      "_id": "req_93ac4258fd655957",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the data volumes of your account, attached or not, with the limits and the price of the smallest volume. Deleted volumes are not listed.\n\nThe answer has the shape `{items, meta, price}`: `items` are the volumes of the requested page, `meta` carries the paging details and the site limits (smallest and largest size, size step, volumes allowed per account and per server) and `price` is the unit price of your site, computed for the smallest allowed volume. Use [Quote a volume](#operation/volume_quote) for another size.\n\n**Required scope:** `volume:read`.\n\nCLI command: `volume list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999741,
      "method": "GET",
      "name": "List data volumes (paged, sortable)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page, at most 100. Larger values are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by. Unknown values fall back to `created_at`.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction. Anything other than `asc` means `desc`.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only volumes attached to this server (UUID).",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        }
      ],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes"
    },
    {
      "_id": "req_4d34ddd00a3b529c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the price of a volume of the given size at your site, per hour and per month, without creating anything and without charging. The price is per GB-hour, so the monthly figure is only an estimate for a volume kept for a whole month. Omit `size_gb` to quote the smallest allowed size.\n\n**Required scope:** `volume:read`.\n\nCLI command: `volume quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999740,
      "method": "GET",
      "name": "Quote a data volume by size",
      "parameters": [
        {
          "description": "Volume size in GB: between the smallest and largest size of the site, in steps of the size step (see `meta` of List volumes). Defaults to the smallest size.",
          "disabled": true,
          "name": "size_gb",
          "value": ""
        }
      ],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes/quote"
    },
    {
      "_id": "req_1080700cd0fb5e1f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one volume with its state, the server it is attached to, its price and what it has cost so far. Poll this operation after a create, attach, detach, resize or delete call until `busy` is false; a deleted volume answers `404`.\n\n**Required scope:** `volume:read`.\n\nCLI command: `volume get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999739,
      "method": "GET",
      "name": "Get one data volume",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [
        {
          "name": "vid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes/:vid"
    },
    {
      "_id": "req_44f472626dec85a7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"data-1\",\n  \"size_gb\": 100,\n  \"vm_id\": \"3f6c1d0e-8a52-4b57-9a41-0c2f6e9d7b10\"\n}"
      },
      "description": "Creates an empty data volume, and optionally attaches it to one of your servers when it is ready. **This operation costs money, but nothing is charged at creation.** Billing starts when the volume becomes `Ready` and runs per GB-hour until the volume is deleted (also while it is detached); whole cents are taken from your wallet as they accrue. You need a positive wallet balance to create a volume.\n\nThe call answers `202` with the new volume (state `Creating`) and the background `job_id`; poll [Get a volume](#operation/volume_get) until it is `Ready` (or `Attached`). The volume is empty and unformatted: after attaching, create a file system on it inside the server. The size must be between the smallest and largest size of the site, on the size step (see [List volumes](#operation/volume_list)).\n\n`name` keeps only letters, digits, `-`, `_` and `.` (at most 40 characters); without a name the volume is called `data-N`. When `vm_id` is given the server must be yours, active, unlocked and without another operation running; it must not already hold the maximum number of volumes, and when it has backups the site may not allow attaching (`409 has_backups`).\n\nRepeating a request with the same `Idempotency-Key` returns the original response with the header `Idempotency-Replayed: 1` instead of creating a second volume. A repeat that reaches the service by another route (for example with another API key of the same account) is answered `200` with `idempotent_replay: true` and `job_id: null`.\n\n**Required scope:** `volume:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `volume create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999738,
      "method": "POST",
      "name": "Create a data volume (billed per GB-hour)",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes"
    },
    {
      "_id": "req_af92020c76f50bd8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"size_gb\": 200\n}"
      },
      "description": "Enlarges a volume. **This operation costs money**: from the moment the resize is done the volume is billed per GB-hour at the new size. A volume can only grow, never shrink; a new size equal to or below the current one is rejected. The data on the volume is kept, but the file system has to be extended inside the server afterwards.\n\nThe call answers `202` with the background `job_id`; poll [Get a volume](#operation/volume_get) until `busy` is false. The volume must not be busy with another operation. When it is attached, its server must be active, unlocked and without another operation running. The new size must lie within the site limits and on the size step, and the added space must fit your account resource quota.\n\n**Required scope:** `volume:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `volume resize`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999737,
      "method": "POST",
      "name": "Enlarge a data volume (grow only, costs money)",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [
        {
          "name": "vid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes/:vid/resize"
    },
    {
      "_id": "req_8217d0384177b895",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"vm_id\": \"3f6c1d0e-8a52-4b57-9a41-0c2f6e9d7b10\"\n}"
      },
      "description": "Attaches a detached volume to one of your servers. The call answers `202` with the background `job_id`; poll [Get a volume](#operation/volume_get) until its state is `Attached`, then format and mount it inside the server. Attaching costs nothing; the volume is billed the same attached or not.\n\nThe volume must be `Ready` (not attached, not busy) and the server must belong to your account and to the same site as the volume. The server must be active, unlocked, without another operation running, must not already hold the maximum number of volumes, and when it has backups the site may not allow attaching. A missing or unknown `vm_id` is answered `404 not_found`.\n\n**Required scope:** `volume:write`.\n\nCLI command: `volume attach`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999736,
      "method": "POST",
      "name": "Attach a volume to a VM",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [
        {
          "name": "vid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes/:vid/attach"
    },
    {
      "_id": "req_637f617295d2e2d7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Detaches a volume from its server. The data on the volume is kept and **the volume is still billed per GB-hour** while detached; delete it to stop the charges. Unmount the volume inside the server first so no data is lost. The call answers `202` with the background `job_id`; poll [Get a volume](#operation/volume_get) until its state is `Ready`.\n\nThe volume must be attached and not busy; the server it is attached to must be active, unlocked and without another operation running, and when it has backups the site may not allow detaching.\n\n**Required scope:** `volume:write`.\n\nCLI command: `volume detach`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999735,
      "method": "POST",
      "name": "Detach a volume from its VM (data kept, still billed)",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [
        {
          "name": "vid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes/:vid/detach"
    },
    {
      "_id": "req_4c28ebd4043b514e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes a volume and **destroys its data permanently**. If the volume is attached it is detached first. Billing stops when the deletion is done.\n\nThe call normally answers `202` with the background `job_id`; poll [Get a volume](#operation/volume_get) until it answers `404`. A volume that was never actually created on the platform is removed on the spot and the call answers `200` with `{\"deleted\": true, \"job_id\": null}`. The volume must not be busy with another operation; when it is attached, its server must be active, unlocked and without another operation running.\n\n**Required scope:** `volume:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `volume delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999734,
      "method": "DELETE",
      "name": "Delete a data volume (data is lost permanently)",
      "parameters": [],
      "parentId": "fld_6886eedd265499e0",
      "pathParameters": [
        {
          "name": "vid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/volumes/:vid"
    },
    {
      "_id": "fld_bc9357e48b812c77",
      "_type": "request_group",
      "description": "Backups of a virtual server disk, taken on demand or automatically on a schedule and kept on separate backup storage. Backup is switched on per server. Storage is billed per GB-hour of the space a backup really uses, taken from the wallet balance; deleting a backup stops its charge. If the account falls into debt (a negative wallet balance, or servers locked for lack of funds) its backups are deleted automatically and its schedules are switched off, so keep the balance positive. Restoring a backup overwrites the server disk. Destroying a server also deletes its backups. Operations that change something run in the background and return a `job_id` (follow it with the VM jobs call). When the site does not sell Backup, every operation fails with `501 feature_disabled`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9985,
      "name": "Backups",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_64e7ca06171c39e3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the backups of all your servers in one paged list. Each item includes the server it belongs to. Backups that were deleted are not shown. Use `vm_id` to narrow the list to one server, or [List the backups of a VM](#operation/vm_backup_list) for the per-server variant.\n\nThe list is limited to your own servers; a `vm_id` that is not yours simply returns an empty list.\n\n**Required scope:** `backup:read`.\n\nCLI command: `backup list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999733,
      "method": "GET",
      "name": "Backups of all VMs in the account (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction. `order` is accepted as an alias.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only return backups of this server (UUID).",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        }
      ],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/backups"
    },
    {
      "_id": "req_9f0fffa6003e2475",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the servers that have Backup switched on, with the automatic schedule (if one is set) and the number of backups kept. A server with Backup on but no schedule has `has_schedule` false and null schedule fields. Servers without Backup are not listed. Use [Get the backup status of a VM](#operation/vm_backup_get) for one server.\n\n**Required scope:** `backup:read`.\n\nCLI command: `backup schedule list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999732,
      "method": "GET",
      "name": "VMs with backup enabled and their schedule (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction. `order` is accepted as an alias.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Only return this server (UUID).",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        }
      ],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/backup-schedules"
    },
    {
      "_id": "req_458c17d483761edc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the backup status of one server in a single call: whether Backup is enabled, the automatic schedule, every backup that is kept, the price and what you can do right now. Use `meta.can_create` before asking for a new backup. `pending_job` is true while an enable, disable, create, delete or restore operation is still running on the server.\n\nFor a paged and sortable list of the backups only, use [List the backups of a VM](#operation/vm_backup_list).\n\n**Required scope:** `backup:read`.\n\nCLI command: `vm backup get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999731,
      "method": "GET",
      "name": "Backup status of one VM: schedule, kept backups, price",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backup"
    },
    {
      "_id": "req_a32b2d1b61b6235d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the backups of one server with paging and sorting. Backups that were deleted are not shown. The paging details are in `meta` (this list has no top-level `total`, `page` or `per_page`). For an overview that also includes the schedule and the price, use [Get the backup status of a VM](#operation/vm_backup_get).\n\n**Required scope:** `backup:read`.\n\nCLI command: `vm backup list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999730,
      "method": "GET",
      "name": "Backups of one VM (paged, sortable)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backups"
    },
    {
      "_id": "req_855d778af6a02542",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Switches Backup on for the server, which is required before any backup or schedule can be created. Switching it on costs nothing by itself; you are billed only for backups that exist, per GB-hour of the space they use. The change runs in the background and returns a `job_id`; follow it with the VM jobs call or poll [Get the backup status of a VM](#operation/vm_backup_get) until `enabled` is true.\n\nThis operation requires an `Idempotency-Key` header so a retry never queues it twice.\n\n**Required scope:** `backup:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup enable`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999729,
      "method": "POST",
      "name": "Enable backup for the VM (storage is billed)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backup/enable"
    },
    {
      "_id": "req_675f3752945ddb67",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Switches Backup off for the server. All backups of the server must be deleted first (see [Delete a backup](#operation/vm_backup_delete)); otherwise the call fails with `backups_exist`. Switching it off also stops the schedule. The change runs in the background and returns a `job_id`.\n\nThis operation requires an `Idempotency-Key` header.\n\n**Required scope:** `backup:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup disable`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999728,
      "method": "POST",
      "name": "Disable backup (only when no backups remain)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backup/disable"
    },
    {
      "_id": "req_7fc023a4f71268e5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"hour\": 2,\n  \"interval_type\": \"DAILY\",\n  \"max_backups\": 5,\n  \"minute\": 0\n}"
      },
      "description": "Sets the automatic backup schedule of the server, replacing the previous one (a server has at most one schedule). The call is synchronous and returns the new schedule. Scheduled backups are billed like manual ones; the oldest scheduled backups are removed automatically so that no more than `max_backups` are kept.\n\n`minute` is always used (0 to 59). `hour` (0 to 23) is used by DAILY, WEEKLY and MONTHLY and has no effect on HOURLY, but a value outside 0 to 23 is rejected for every interval. `day` is required for WEEKLY (1 to 7, 1 = Monday) and MONTHLY (1 to 28) and ignored otherwise. Times are in the `timezone` reported by [Get the backup status of a VM](#operation/vm_backup_get). Backup must be enabled first.\n\n**Required scope:** `backup:write`.\n\nCLI command: `vm backup schedule set`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999727,
      "method": "PUT",
      "name": "Set the automatic backup schedule",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backup/schedule"
    },
    {
      "_id": "req_74a49db26cbc6f21",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes the automatic schedule of the server. Backups that already exist are kept (and keep being billed until you delete them), and Backup stays enabled so you can still create backups by hand. Removing a schedule that is not set succeeds and returns `schedule: null`.\n\n**Required scope:** `backup:write`.\n\nCLI command: `vm backup schedule delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999726,
      "method": "DELETE",
      "name": "Remove the backup schedule (existing backups are kept)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backup/schedule"
    },
    {
      "_id": "req_3992bf81951d4dcd",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"before-upgrade\"\n}"
      },
      "description": "Creates a backup of the server now. The server must be running and Backup must be enabled. The backup is created in the background: the call returns a `job_id` immediately and the backup appears in the list with status `BackingUp`, then `BackedUp` when it is ready. Find it with [List the backups of a VM](#operation/vm_backup_list); the response does not contain its id.\n\n**Costs money.** From the moment the backup is ready you are billed per GB-hour of the space it really uses (see `rate_uusd`), taken from the wallet balance until you delete it. If the wallet balance is zero or negative the call fails with `insufficient_funds`. This operation requires an `Idempotency-Key` header so a retry never creates two backups.\n\n**Required scope:** `backup:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999725,
      "method": "POST",
      "name": "Create a backup now (storage is billed)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backups"
    },
    {
      "_id": "req_3dcec83206596928",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes one backup permanently. It cannot be undone. Billing for the backup stops as soon as the deletion starts. The deletion runs in the background and returns a `job_id`; a backup that never finished being created is removed immediately and the response is `deleted: true` with a null `job_id`. A backup that is being restored or deleted cannot be deleted again.\n\n**Required scope:** `backup:write`.\n\nCLI command: `vm backup delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999724,
      "method": "DELETE",
      "name": "Delete one backup",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backups/:bid"
    },
    {
      "_id": "req_b40a4ed67731f25d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Keeps a backup: the nightly rotation never deletes a pinned backup, and it is billed per GB-hour like any other backup. Pinning a backup that is already pinned succeeds with `changed: false`. Only a backup with status `BackedUp` can be pinned. The nightly backup must be switched on by the site, otherwise the call fails with `501 feature_disabled`.\n\n**Costs money.** The free copy is the newest backup that is not pinned; pinning it starts billing. If the wallet balance is zero or negative the call fails with `insufficient_funds`. This operation requires an `Idempotency-Key` header.\n\n**Required scope:** `backup:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup pin`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999723,
      "method": "POST",
      "name": "Pin a backup (never rotated away, billed)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backups/:bid/pin"
    },
    {
      "_id": "req_4954e6a8132db3c4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Puts a backup back into the nightly rotation. It is deleted automatically once newer nightly backups exceed the number you keep (see [Set how many backups to keep](#operation/vm_backup_auto_set)). The newest unpinned backup is the free copy. Unpinning a backup that is not pinned succeeds with `changed: false`. This operation requires an `Idempotency-Key` header.\n\n**Required scope:** `backup:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup unpin`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999722,
      "method": "POST",
      "name": "Unpin a backup (back into the nightly rotation)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backups/:bid/unpin"
    },
    {
      "_id": "req_48f01fbe0e0b4b8f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"keep\": 2\n}"
      },
      "description": "Sets how many rotating (not pinned) nightly backups are kept for the server. `keep` 1 is the default: one free copy. Every copy beyond the first is billed per GB-hour. Lowering `keep` deletes the oldest rotating backups at the next nightly cycle. The maximum is the per-server limit minus your pinned backups minus one. Fails with `501 feature_disabled` until the site switches nightly backups on.\n\n**Costs money** when you raise `keep`: the wallet balance must be positive. This operation requires an `Idempotency-Key` header.\n\n**Required scope:** `backup:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup auto set`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999721,
      "method": "PUT",
      "name": "Set how many nightly backups are kept (extra copies are billed)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backup/auto"
    },
    {
      "_id": "req_369a8effdfe3e7a4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Restores the server from a backup, in place. **This overwrites the server disk**: everything written after the backup was taken is lost. A running server is stopped, its disk is replaced with the contents of the backup and it is started again; a server that was already stopped stays stopped. It takes roughly 11 minutes for a 20 GB disk and longer for bigger disks, and the call returns a `job_id` straight away. The backup itself is kept.\n\nOnly a backup with status `BackedUp` can be restored. This operation needs the separate scope `backup:restore` and an `Idempotency-Key` header. Take a fresh backup first if you may need the current state.\n\n**Required scope:** `backup:restore`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm backup restore`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999720,
      "method": "POST",
      "name": "Restore the VM from a backup (stops, overwrites the disk, restarts)",
      "parameters": [],
      "parentId": "fld_bc9357e48b812c77",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/backups/:bid/restore"
    },
    {
      "_id": "fld_98becfe9c03a63cf",
      "_type": "request_group",
      "description": "Your account at a glance and read-only access to your API keys: profile, dashboard overview, activity timeline, bandwidth, notifications, resource quota, printable invoices and DDoS analyses. The only call here that changes anything is marking notifications as read. Editing the profile, password, e-mail or two-factor settings, and creating, editing or revoking API keys, are not available through the API and can only be done from the dashboard.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9984,
      "name": "Account",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_7f3bfb9d6e5c7572",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one of your invoices as a self-contained HTML page ready to print or save as PDF from a browser. The page contains the seller, buyer, line items and totals, in your account language. Amounts are shown in US dollars or Vietnamese dong according to `cur`; dong amounts use the exchange rate recorded when the invoice was issued. The response is HTML, not JSON.\n\nAn invoice that does not exist or belongs to another account returns `404 not_found`.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing invoice-print`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999719,
      "method": "GET",
      "name": "Printable HTML invoice (?cur=usd|vnd)",
      "parameters": [
        {
          "description": "Currency of the printed amounts. `auto` picks dong for Vietnamese-language accounts and dollars otherwise. When omitted (or any other value) your account's display currency preference is used.",
          "disabled": true,
          "name": "cur",
          "value": ""
        }
      ],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/invoices/:id/print"
    },
    {
      "_id": "req_208cbffecfaed704",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the resource limits of your account and how much you use. When quota is switched on for the site, limits follow the money you have really deposited (`deposited_cents`): your tier `level` (L0..L5, one scale for every service) caps the number of servers and the TOTAL vCPU, memory and disk (`caps`, `limit`), and `tier` is the largest single machine your deposits cover (`cost_hours` of running cost, default 720). Bonuses, vouchers, promotions, affiliate commission and admin credits marked as gifts do not count; refunds lower it; manual admin credits count by default. Servers you already run above a cap are never stopped or downsized: only new servers, resizes and scale-ups are refused. `max_vms_24h`, `max_vms_30d`, `is_30d_achieved` and `need_for_10_cents` are deprecated and only kept for old clients. `next` tells how much more to deposit to reach the next largest machine; `levels` and `services.table` give the tier scale.\n\n`applies` is false when quota is off for the site or lifted for your account; `limit` is then `null`, which means no limit. Also reports the OS image limits of the Images service under `images`.\n\n**Required scope:** `billing:read`.\n\nCLI command: `billing quota`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999718,
      "method": "GET",
      "name": "Resource quota of the account",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/client/quota"
    },
    {
      "_id": "req_92191f3a18a2ade9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the profile of the account the API key belongs to: identity, status, preferred language and display currency, whether a password is set, and the DDoS protection workspace. It is read-only; changing the profile, password, e-mail or two-factor settings is only possible from the dashboard.\n\n**Required scope:** `account:read`.\n\nCLI command: `account get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999717,
      "method": "GET",
      "name": "Account profile (read-only)",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/me"
    },
    {
      "_id": "req_82bcfe4b8c082ab8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything the dashboard home page shows, in one call: the wallet balance, how long it will last at the current spend (`runway`), spend this month with a forecast, your servers, a getting-started checklist, the current announcement and the number of attacks blocked in the last 7 days. Money is in US cents unless a field name says otherwise (`*_uusd` is millionths of a dollar).\n\nOnly the 6 most urgent servers are included (`vms.shown` of `vms.total`): servers being built first, then locked or failed ones, then busy ones, then the newest; use the VM list call for all of them. `runway` is `null` when nothing is billed by the hour or due for renewal.\n\n**Required scope:** `account:read`.\n\nCLI command: `account overview`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999716,
      "method": "GET",
      "name": "Overview: balance, burn rate, VMs, checklist",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/overview"
    },
    {
      "_id": "req_76abd305a454f2d3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns, in ONE call, the data an app needs when it opens: the profile, the catalog rules and prices, notifications, how many services of each kind the account has and, optionally, the dashboard overview. Instead of 15 or more separate requests you make one.\n\nEvery entry of `parts` is **exactly the body** of the call named in the table below, so you can reuse the same parsing code. Each part is checked on its own with the rules of that call: a part you may not read with your API key (the call is not public, or the key lacks its scope) is simply **absent**, as is a service that is switched off for the site. A part that fails on the server does not fail the response; it is listed in `errors` with its HTTP status and error code and the other parts are still returned. Only the data of your own account is ever returned.\n\n| Part | Same as | Group |\n|---|---|---|\n| `me` | `GET /v1/portal/me` | `shell` |\n| `catalog_lite` | `GET /v1/vm/catalog?view=shell` (the rules and feature flags only: `cycles`, `settings`, `account`) | `shell` |\n| `catalog` | `GET /v1/vm/catalog` (every plan, operating system and region — about 340 KB, so it is only returned when you ask for it) | `catalog` |\n| `prices` | `GET /v1/vm/prices` | `shell` |\n| `notifications` | `GET /v1/billing/notifications` | `shell` |\n| `promos` | `GET /v1/portal/promos` (dashboard only) | `shell` |\n| `nav_counts` | `GET /v1/portal/nav-counts` (how many services of each kind; used for the menu badges) | `shell` |\n| `vm`, `gpu`, `s3`, `vpn`, `k8s`, `dedicated`, `ai_keys` | the first page of the matching service list, exactly as that service's own list call returns it (used for the counters). A service that is switched off for the site is absent. | `shell` |\n| `overview` | `GET /v1/portal/overview` | `dashboard` |\n| `bandwidth_live` | `GET /v1/portal/bandwidth?live=1` | `dashboard` |\n| `bandwidth_range` | `GET /v1/portal/bandwidth?range=<bw_range>` | `dashboard` |\n| `activity` | `GET /v1/portal/activity?page=1&per_page=8` | `dashboard` |\n| `ai_analyses` | `GET /v1/portal/ai-analyses?limit=5` | `dashboard` |\n\nThe time each part took is in the `Server-Timing` response header. With an API key every part counts as one request for the rate limit.\n\n**Required scope:** `account:read`.\n\nCLI command: `account bootstrap`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999715,
      "method": "GET",
      "name": "One call for profile, catalog, notifications, service counts and overview (each part follows the key's own scopes)",
      "parameters": [
        {
          "description": "Comma-separated groups of parts to return: `shell` (default), `dashboard` and/or `catalog` (the full catalog of plans, operating systems and regions). An unknown group is rejected with `400`.",
          "disabled": true,
          "name": "include",
          "value": ""
        },
        {
          "description": "Range of the `bandwidth_range` part (default `24h`).",
          "disabled": true,
          "name": "bw_range",
          "value": ""
        }
      ],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/bootstrap"
    },
    {
      "_id": "req_a706e2c76018625e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one timeline of what happened on your account, newest first: server events (create, start, stop, reboot, reinstall, destroy, lock, plan change, renewal), wallet deposits and refunds, important notifications and blocked attacks. Paging is done by the server. Entries carry a translation key in `i18n` and its values in `params` instead of a finished sentence, so render the text on your side.\n\nPages above 100 are rejected. `total`, `pages` and `unread` (unread notifications of the account) describe the filtered result; `group` narrows the timeline to one category.\n\n**Required scope:** `account:read`.\n\nCLI command: `account activity`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999714,
      "method": "GET",
      "name": "Account activity timeline (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only return one category: server events, billing (wallet, renewals, price changes, balance warnings), security (blocked attacks) or account (support replies, e-mail and password events). An unknown value is ignored.",
          "disabled": true,
          "name": "group",
          "value": ""
        },
        {
          "description": "Only return events of this server (UUID). Wallet entries and notifications are left out when it is set.",
          "disabled": true,
          "name": "vm_id",
          "value": ""
        }
      ],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/activity"
    },
    {
      "_id": "req_6629f5162ed26df7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns how many services of each kind the account has right now, in one call. The dashboard uses it for the small number next to each menu item. A number is what the matching list page would show by default: deleted, cancelled, expired and hidden items are not counted (a VPN or IPv6 proxy plan counts while it is pending or active and not past its end date; a bandwidth add-on while it is paid or granted and its period has not ended).\n\n`s3` and `dedicated` are only present on the operator's own site. `snapshots` is `null` when the infrastructure could not be read in time (do not treat it as zero). `ddos` is the number of distinct public IPs the DDoS shield lists for you: servers, rented bare-metal machines and active VPN addresses. Only your own account is counted.\n\n**Required scope:** `account:read`.\n\nCLI command: `account service counts`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999713,
      "method": "GET",
      "name": "How many services of each kind the account has (VMs, GPU, volumes, snapshots, backups, VPN…) — for menu badges",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/nav-counts"
    },
    {
      "_id": "req_e0df32b33756d41c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic of all your servers and VPN addresses added together: live rates, a time series of the chosen range, the attacks seen in that range and totals. With `live=1` only the `live` block is returned, which is cheap enough to poll every 5 seconds. Rates are bits per second and packets per second; `live` values are averaged over the last minute, so they do not flicker to zero between samples.\n\nThis call is rate limited per account: 10 full requests or 30 `live=1` requests per minute, then `429 rate_limited`.\n\n**Required scope:** `account:read`.\n\nCLI command: `account bandwidth`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999712,
      "method": "GET",
      "name": "Bandwidth used by the account",
      "parameters": [
        {
          "description": "Time range of `series`, `attacks` and `totals`. An unknown value falls back to `24h`. Buckets are 1 minute for `1h`, 1 hour for `6h`, `12h`, `24h` and `7d`, and 1 day for `30d`.",
          "disabled": true,
          "name": "range",
          "value": ""
        },
        {
          "description": "Set to `1` to return only the `live` block (and `at`).",
          "disabled": true,
          "name": "live",
          "value": ""
        }
      ],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/bandwidth"
    },
    {
      "_id": "req_426b37d101c2ddda",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the latest automatic analyses of attacks against your IP addresses: what the attack looked like, the verdict, a confidence figure and a short summary. Only analyses of addresses that belong to you are returned. The list is empty when you have no server with an IP address or nothing has been analysed yet.\n\nThis call needs the scope `shield:read` (the DDoS Shield scope), not `account:read`. It is rate limited to 20 requests per minute per account.\n\n**Required scope:** `shield:read`.\n\nCLI command: `account ai-analyses`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999711,
      "method": "GET",
      "name": "AI analyses of attacks on your IPs",
      "parameters": [
        {
          "description": "Number of analyses to return, 1 to 20 (values outside the range are clamped).",
          "disabled": true,
          "name": "limit",
          "value": ""
        }
      ],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/ai-analyses"
    },
    {
      "_id": "req_99341c61a7e4fc44",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns ONE automatic analysis of an attack on your IP addresses in full: the verdict, confidence, the complete conclusion, up to 8 lines of evidence and the recommended actions, if any. Text is plain text, never HTML. Internal and private addresses, and addresses protected for other customers, are replaced with `x.x.x.x`.\n\n`reanalysis` tells whether you may ask for a fresh analysis of the same address right now (see `POST /v1/portal/ai-analyses/{id}/reanalyze`) and, after you did, whether the new one is `queued`, `done` (its id is `task_id`) or `error`.\n\nThis call needs the scope `shield:read`. It is rate limited to 60 requests per minute per account.\n\n**Required scope:** `shield:read`.\n\nCLI command: `account ai-analysis`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999710,
      "method": "GET",
      "name": "One AI analysis in full (conclusion, evidence, recommended actions)",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/ai-analyses/:id"
    },
    {
      "_id": "req_838ecf7ed8fe95b8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Asks the AI for a fresh analysis of the address (and attack event) that analysis `{id}` is about. The request is queued and takes a minute or two; poll `GET /v1/portal/ai-analyses/{id}` and read `reanalysis.status` until it is `done`, then open the analysis named by `reanalysis.task_id`.\n\nOnly addresses that belong to you can be analysed (`404 not_found` otherwise, indistinguishable from an unknown id). Limits: one request per address every 10 minutes, no new request while one is waiting, and 3 requests per address and 10 per account per UTC day. A refused request returns `429 rate_limited`; the `error` object also carries `retry_after_secs`, `reason` (`cooldown`, `pending` or `daily_quota`) and `quota`.\n\nThis call needs the scope `shield:write`. It sends no body.\n\n**Required scope:** `shield:write`.\n\nCLI command: `account ai-reanalyze`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999709,
      "method": "POST",
      "name": "Ask the AI to analyse this IP again (10 min per IP, daily quota)",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/ai-analyses/:id/reanalyze"
    },
    {
      "_id": "req_3249d9da5e62e5ac",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns your 50 newest notifications, newest first, with a count of unread ones. `unread` counts only the notifications in `items`, so it is at most 50. One-time credential messages are never included. Mark notifications as read with [Mark notifications as read](#operation/notification_read).\n\n**Required scope:** `account:read`.\n\nCLI command: `notification list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999708,
      "method": "GET",
      "name": "Latest 50 notifications and the unread count",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/notifications"
    },
    {
      "_id": "req_9fcbf96e6d5362e9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"ids\": [\n    1201\n  ]\n}"
      },
      "description": "Marks notifications as read. Send `ids` to mark specific notifications, or send an empty body (or an empty `ids`) to mark every unread notification of the account. Identifiers that do not exist, belong to another account or are already read are ignored. `updated` is the number of notifications that actually changed. This is the only call in this group that changes anything.\n\n**Required scope:** `account:write`.\n\nCLI command: `notification read`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999707,
      "method": "POST",
      "name": "Mark notifications as read (empty = all)",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/billing/notifications/read"
    },
    {
      "_id": "req_5f01ff40b0f15aa0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists all API keys of your account, newest first, including expired and revoked ones. The list is not paged. The secret key and its hash are never returned, and `hint` shows only the first characters (7 when listed through an API key) so you can tell the keys apart. Creating, editing and revoking keys is only possible from the dashboard; a key cannot manage other keys.\n\n**Required scope:** `apikey:read`.\n\nCLI command: `apikey list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999706,
      "method": "GET",
      "name": "List the account's API keys (never the raw key)",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/apikeys"
    },
    {
      "_id": "req_23cbc56f2df50719",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the usage log of all API keys of your account, newest first by default. Only calls that change something (any method except GET) and every failed call (HTTP status 400 and above) are logged; successful reads are not. The path is logged without its query string. Entries are kept for 60 days.\n\n**Required scope:** `apikey:read`.\n\nCLI command: `apikey log`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999705,
      "method": "GET",
      "name": "API key usage log of the account (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/apikeys/log"
    },
    {
      "_id": "req_f0c464d33bb25e5f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns information about the API key making the call: its permissions, expiry, allowed IP addresses, usage, and how many requests it may still make in the current minute. Every key can call this operation whatever its scopes, which makes it the way to check that a key works and what it may do. It does not reveal any other key. It can only be called with an API key.\n\n**Required scope:** `apikey:self`.\n\nCLI command: `apikey self`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999704,
      "method": "GET",
      "name": "The calling key itself: scopes, expiry, allowed IPs, rate limits",
      "parameters": [],
      "parentId": "fld_98becfe9c03a63cf",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/apikeys/self"
    },
    {
      "_id": "fld_1cedbe4bc395be66",
      "_type": "request_group",
      "description": "S3-compatible object storage. An **account** owns **buckets**, buckets hold **objects**, and **access keys** let S3 clients (AWS CLI, SDKs, rclone) connect to it. These operations manage accounts, buckets, access keys, usage reports and share links, and can issue short-lived signed URLs for uploading and downloading objects. To move large amounts of data, use the S3 protocol itself with an access key.\n\nUsage is billed pay-as-you-go from your wallet: stored data above the free allowance and downloaded data are charged, uploads are free, and downloads covered by a monthly download quota or bandwidth add-on are not charged. Object storage prices and costs are expressed in Vietnamese dong (VND). The secret of an access key is shown once, when the key is created or rotated, and cannot be retrieved later. Available on the main site only.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9983,
      "name": "Object Storage",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_d1b0c97d98ad96ea",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the S3 accounts you own, newest first. The list is not paginated. Accounts that are being deleted are not listed. Object storage is available on the main site only. Use the `id` of an account in every other S3 path.\n\n**Required scope:** `s3:read`.\n\nCLI command: `s3 account list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999703,
      "method": "GET",
      "name": "List S3 accounts",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3"
    },
    {
      "_id": "req_0c5d7e071d21cbfa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"Backups\",\n  \"zone_id\": 1\n}"
      },
      "description": "Creates an S3 account in a region and returns its `id` together with the ID of its first access key. Creating an account is free; you pay for what you store and download (see `policy` in [Get an S3 account](#operation/s3_account_get)), but your wallet must hold the minimum balance, and the number of accounts per user is limited. For safety, the secret of the first key is **not** returned over the API: rotate that key with [Rotate an access key](#operation/s3_key_rotate) to receive a fresh secret, or create another key. Creation is limited to 10 per hour per account (429).\n\nIf provisioning fails part-way, the call fails with 502 and the account may remain listed in the `provisioning` state. Contact support instead of retrying with a new idempotency key, which would create a second account.\n\n**Required scope:** `s3:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `s3 account create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999702,
      "method": "POST",
      "name": "Create an S3 account (usage-billed)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3"
    },
    {
      "_id": "req_9f367a7708188c34",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one account with what you need to connect and to understand its cost: the S3 endpoint and region to configure in your client, the region that stores the data, the quota and suspension status of the storage user, live totals (stored bytes, objects, buckets), the pricing policy that applies, and your cost-alert threshold. Totals are read live from the storage service, so the call is slower than the list and fails with 502 if the storage service cannot be reached.\n\n**Required scope:** `s3:read`.\n\nCLI command: `s3 account get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999701,
      "method": "GET",
      "name": "Get one S3 account: endpoint, quota, stats",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id"
    },
    {
      "_id": "req_5d3b4bc4fb6ff54a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"alert_threshold_vnd\": 500000,\n  \"name\": \"Production backups\"\n}"
      },
      "description": "Renames the account and/or sets its monthly cost alert. Send only the fields you want to change. When the cost of the usage accumulated in the current month reaches `alert_threshold_vnd`, a notification is created for you; 0 turns the alert off. Works in every account state, including suspended ones.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 account update`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999700,
      "method": "PATCH",
      "name": "Rename / set the cost alert threshold",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id"
    },
    {
      "_id": "req_14b6eb576fb6397d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes an S3 account. Every bucket must be deleted first (empty a bucket with the `purge-bucket` action or by deleting its objects, then delete the bucket); otherwise the call fails. The account is locked and disappears from the API immediately; usage up to the end of the current hour is still billed, then the storage user is removed. This cannot be undone. Deletions are limited to 10 per hour per account (429).\n\n**Required scope:** `s3:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `s3 account delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999699,
      "method": "DELETE",
      "name": "Delete the S3 account (all buckets must be removed first)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id"
    },
    {
      "_id": "req_5473e5846da4f9e4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the hourly usage records of the account, newest first, with the cost computed for each hour, plus the pricing policy that applies. Each record covers one hour: the bytes stored at the end of the hour, the bytes uploaded and downloaded during it, and the resulting cost in VND. At most 1000 records are returned. Records appear a few minutes after the hour ends. For a per-day view of one month use [Get S3 usage summary](#operation/s3_account_usage_summary).\n\n**Required scope:** `s3:read`.\n\nCLI command: `s3 account usage`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999698,
      "method": "GET",
      "name": "Hourly storage, traffic and cost",
      "parameters": [
        {
          "description": "Earliest hour to include, as Unix time in seconds. Defaults to 31 days ago. Values older than 366 days are raised to that limit; a value that is not a number is ignored.",
          "disabled": true,
          "name": "from",
          "value": ""
        }
      ],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/usage"
    },
    {
      "_id": "req_8c83ab5eeb07efc5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Aggregates the hourly records of one calendar month into days (UTC) and returns the month total. Days with no records are omitted. `cost_vnd` counts only hours that are billed, so hours forgiven while your account was blocked do not add to it. Stored sizes are daily averages. Use it for monthly charts and to see how close you are to your cost alert.\n\n**Required scope:** `s3:read`.\n\nCLI command: `s3 account usage-summary`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999697,
      "method": "GET",
      "name": "Daily usage summary for a month",
      "parameters": [
        {
          "description": "Month to summarise as `YYYY-MM` (years 2000 to 2100). Defaults to the current month in UTC.",
          "disabled": true,
          "name": "month",
          "value": ""
        }
      ],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/usage-summary"
    },
    {
      "_id": "req_1b2424972a749ba8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the buckets of the account with their creation time, object count and size. Counts and sizes are statistics reported by the storage service and may lag slightly behind very recent uploads or deletions. To list the objects inside a bucket use [List objects](#operation/s3_object_list).\n\n**Required scope:** `s3:read`.\n\nCLI command: `s3 bucket list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999696,
      "method": "GET",
      "name": "List buckets",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/buckets"
    },
    {
      "_id": "req_846fae5a993572f8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"my-bucket\"\n}"
      },
      "description": "Creates a bucket. Bucket names are 3 to 63 characters long, use only lowercase letters, digits, hyphens and dots, begin and end with a letter or digit, contain no consecutive dots and must not look like an IP address. Names are unique across the whole service, so a name already used by anyone fails. A new bucket is private. It also receives a default CORS rule that allows the web dashboard to upload to it; replace it with the `cors-set` action of [Run a bucket action](#operation/s3_bucket_action) if you need a different policy. The account must be `active`.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 bucket create`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999695,
      "method": "POST",
      "name": "Create a bucket",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/buckets"
    },
    {
      "_id": "req_fc7ccd41d0a041f3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the objects of a bucket one folder level at a time. The listing uses `/` as delimiter: objects directly under `prefix` are returned in `objects` and deeper folders are returned as `prefixes`. A page holds at most 100 entries; when `truncated` is true pass `next` as `continuation-token` to get the following page. Works in every account state. For very large listings use the S3 protocol with an access key.\n\n**Required scope:** `s3:read`.\n\nCLI command: `s3 object list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999694,
      "method": "GET",
      "name": "List objects in a bucket (paged)",
      "parameters": [
        {
          "description": "Only list keys that start with this prefix, at most 1024 bytes without control characters. Use a folder prefix ending in `/` to look inside a folder.",
          "disabled": true,
          "name": "prefix",
          "value": ""
        },
        {
          "description": "Page token returned as `next` by the previous call, at most 4096 bytes.",
          "disabled": true,
          "name": "continuation-token",
          "value": ""
        }
      ],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bucket",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/buckets/:bucket"
    },
    {
      "_id": "req_725c8a75824bdc64",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes an empty bucket. A bucket that still holds objects, including old versions, cannot be deleted and the call fails; to remove a bucket together with everything in it use the `purge-bucket` action of [Run a bucket action](#operation/s3_bucket_action). The bucket name becomes available to anyone once it is deleted. The account must be `active`.\n\n**Required scope:** `s3:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `s3 bucket delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999693,
      "method": "DELETE",
      "name": "Delete a bucket (must be empty)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bucket",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/buckets/:bucket"
    },
    {
      "_id": "req_b426a6755d5e0866",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"expires_seconds\": 300,\n  \"key\": \"reports/2026-10.pdf\",\n  \"op\": \"download\"\n}"
      },
      "description": "Runs one operation on a bucket or on an object inside it. The operation is chosen with `op`; the other body fields depend on it (table below). Use it for management tasks and to obtain signed URLs. For bulk transfers, large uploads or listings of very many objects, use the S3 protocol directly with an access key.\n\n**Scopes and states.** Every operation needs `s3:write`. Operations that delete data additionally need `s3:destroy` and fail with 403 `scope_required` without it: `purge-bucket`, `delete-object`, `delete-objects`, `delete-folder`, `delete-version`, `move-object` (it removes the source) and `lifecycle-set` (a lifecycle rule can schedule deletions). All operations need the account to be `active` (otherwise 423), except the read-only ones: `info`, `versions`, `versioning-get`, `acl-get`, `object-acl-get`, `cors-get`, `lifecycle-get`, `policy-get`, `metadata-get` and `public-url`. Object keys are 1 to 1024 bytes, without control characters and without `.` or `..` path segments. A `destination_bucket` must belong to the same S3 account.\n\n**Signed URLs.** `download`, `preview`, `upload` and `multipart-part` return a pre-signed URL. For the first three, `expires_seconds` sets its lifetime (60 to 900, default 900; other values are clamped); a `multipart-part` URL is valid for 900 seconds. The `upload` URL must be used with an HTTP `PUT` that sends the same `Content-Type` that was requested (default `application/octet-stream`).\n\n| `op` | Fields | Result |\n|---|---|---|\n| `info` | `key` | `{size, content_type, etag, modified}`: size in bytes, `modified` as an HTTP date. |\n| `download` | `key`, `expires_seconds` | `{url, expires_seconds}`: signed `GET` URL that downloads the object as an attachment. |\n| `preview` | `key`, `expires_seconds` | `{url, expires_seconds}`: signed `GET` URL that lets a browser display the object. |\n| `upload` | `key`, `content_type`, `expires_seconds` | `{url, expires_seconds}`: signed `PUT` URL for uploading the object. |\n| `create-folder` | `key` (ends with `/`) | `{ok}`: creates an empty folder marker. |\n| `copy-object` | `key`, `destination`, `destination_bucket` | `{ok}`: copies the object. The destination must differ from the source. |\n| `move-object` | `key`, `destination`, `destination_bucket` | `{ok}`: copies the object, then removes the source. Needs `s3:destroy`. |\n| `delete-object` | `key` | `{ok}`. Needs `s3:destroy`. |\n| `delete-objects` | `keys` (1 to 1000) | `{deleted, errors}`: `deleted` is the number removed; `errors` lists `{key, code}` for the keys that failed. Needs `s3:destroy`. |\n| `delete-folder` | `key` (ends with `/`) | `{deleted, more}` (plus `errors` if some deletions failed, in which case it stops). Removes up to about 500 objects per call; call again while `more` is true. Needs `s3:destroy`. |\n| `versions` | `key`, `key-marker`, `version-id-marker` | `{items, next_key, next_version, truncated}`: versions and delete markers of that exact key, each `{key, version_id, latest, modified, size, etag, delete_marker}`. Page with the returned markers. |\n| `restore-version` | `key`, `version_id`, `destination_bucket` | `{ok}`: copies that version over the current object. |\n| `delete-version` | `key`, `version_id` | `{ok}`. Needs `s3:destroy`. |\n| `versioning-get` | none | `{enabled}`. |\n| `versioning-set` | `enabled` | `{ok}`: turns versioning on, or suspends it. |\n| `acl-get` | none | `{permission}`: `private` or `public-read` for the bucket. |\n| `acl-set` | `permission` | `{ok}`: sets the bucket permission. |\n| `object-acl-get` | `key` | `{permission}` for the object. |\n| `object-acl-set` | `key`, `permission` | `{ok}`. |\n| `cors-get`, `lifecycle-get`, `policy-get` | none | `{xml}`: the configuration document as text, empty when none is set. For `policy-get` the text is the JSON bucket policy. |\n| `cors-set`, `lifecycle-set` | `xml` (up to 16000 bytes; root element `CORSConfiguration` or `LifecycleConfiguration`) | `{ok}`: replaces the configuration. `lifecycle-set` needs `s3:destroy`. |\n| `cors-delete`, `lifecycle-delete` | none | `{ok}`. |\n| `multipart-init` | `key`, `content_type` | `{upload_id}`: starts a multipart upload. |\n| `multipart-part` | `key`, `upload_id`, `part_number` (1 to 10000) | `{url}`: signed `PUT` URL for one part. Read the `ETag` response header of the upload. |\n| `multipart-complete` | `key`, `upload_id`, `parts` | `{ok}`: `parts` is a list of `{part_number, etag}` in ascending order. |\n| `multipart-abort` | `key`, `upload_id` | `{ok}`. |\n| `purge-bucket` | `confirm` (the bucket name) | `{ok}`: deletes the bucket and ALL objects in it. Cannot be undone. Needs `s3:destroy`. |\n| `metadata-get` | none | `{public_prefixes, custom_domain, referer_allow}`: settings stored with the bucket. |\n| `metadata-set` | `custom_domain`, `referer_allow` | The updated settings. Both fields are replaced: one you omit is cleared. |\n| `public-prefixes-set` | `prefixes` (up to 50, each ending with `/`, no `*`) | The updated settings. Objects under these prefixes become publicly readable; an empty list removes public access. |\n| `public-url` | `key` | `{url}`: the public (unsigned) URL of the object, which works only if the object is public. Uses `custom_domain` when one is set. |\n\nAn unknown `op` is rejected with 422. A bucket that does not exist, an object that does not exist, or a refusal by the storage service is reported as 502.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 bucket action`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999692,
      "method": "POST",
      "name": "Bucket and object operations selected by the op field (delete ops also need s3:destroy)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "bucket",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/buckets/:bucket/action"
    },
    {
      "_id": "req_e85fe3f58408ee41",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the access keys of the account. Secrets are never included; they are shown only when a key is created or rotated. The response is not cached. An account can hold up to 10 keys.\n\n**Required scope:** `s3:keys`.\n\nCLI command: `s3 key list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999691,
      "method": "GET",
      "name": "List access keys (no secrets)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/keys"
    },
    {
      "_id": "req_110374695ac5bad1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Creates an additional access key and returns it with its secret. **The secret appears only in this response** (the response is marked `Cache-Control: no-store`); store it now, because it cannot be retrieved later. If it is lost, rotate the key. An account holds up to 10 keys, and the account must be `active`. This call takes no body and, because it returns a secret, does not use an `Idempotency-Key`: a retry creates another key.\n\n**Required scope:** `s3:keys`.\n\nCLI command: `s3 key create`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999690,
      "method": "POST",
      "name": "Create an access key (the secret is shown once)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/keys"
    },
    {
      "_id": "req_b62f4a639524fd22",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes an access key. Clients that use it stop working immediately. The last remaining key cannot be deleted; create another one first. The account must be `active`.\n\n**Required scope:** `s3:keys`.\n\nCLI command: `s3 key delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999689,
      "method": "DELETE",
      "name": "Delete an access key (at least one key must remain)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "key",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/keys/:key"
    },
    {
      "_id": "req_b4c5780c2e2a1fcd",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Replaces an access key: a new key is created, returned with its secret, and the old key is deleted. **The secret appears only in this response** (marked `Cache-Control: no-store`). Use it to obtain a secret for the first key of a new account, or after a secret is lost or leaked. Because the new key is created before the old one is removed, the account must have fewer than 10 keys. If removing the old key fails, `old_key_removed` is `false`; delete it yourself with [Delete an access key](#operation/s3_key_delete). This call takes no body and does not use an `Idempotency-Key`: a retry rotates again.\n\n**Required scope:** `s3:keys`.\n\nCLI command: `s3 key rotate`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999688,
      "method": "POST",
      "name": "Rotate an access key (the new secret is shown once)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "key",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/keys/:key/rotate"
    },
    {
      "_id": "req_9497664e5842b5f4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the share links of the account, newest first, at most 500, including revoked ones (`revoked_at` is set). A share link lets anyone who has it open one object without credentials until the link expires, reaches its view limit or is revoked. Each entry includes the link path in `url`, which acts as a secret, so this call requires `s3:write` instead of `s3:read` and the response is not cached.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 share list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999687,
      "method": "GET",
      "name": "List object share links (includes the link token)",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/share-links"
    },
    {
      "_id": "req_da33d44afffc8604",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"allow_download\": true,\n  \"bucket\": \"my-bucket\",\n  \"expires_at\": 1793000000,\n  \"key\": \"reports/2026-10.pdf\",\n  \"max_views\": 10,\n  \"password\": \"correct-horse-battery\"\n}"
      },
      "description": "Creates a share link for one existing object and returns its path. Append `url` to the base URL of your site to get the full link, for example `https://cloud.example.com/s/...`. You can protect the link with a password, an expiry time, a view limit, a referrer allow-list, and by disallowing downloads (visitors can then only preview images, audio and video). The password is stored hashed and is never returned. An account can have at most 500 active links; creation is limited to 20 per minute (429). The account must be `active`.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 share create`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999686,
      "method": "POST",
      "name": "Create an object share link",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/share-links"
    },
    {
      "_id": "req_790c1bf57d112adb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"allow_download\": true,\n  \"expires_at\": 1793500000,\n  \"max_views\": 25\n}"
      },
      "description": "Changes the protection settings of an active link. Expiry, view limit, referrer list and download flag are replaced as a set: a field you omit goes back to its default (never expires, unlimited views, any referrer, download allowed), so send all of them. The password is the exception: omit it to keep the current one, send an empty string to remove it, or send a new value of 8 to 64 characters. The object, the token and the view counter do not change. A revoked link cannot be edited. The account must be `active`.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 share update`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999685,
      "method": "PATCH",
      "name": "Edit expiry / password / limits of a share link",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "link",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/share-links/:link"
    },
    {
      "_id": "req_64fb6e6d22eca4f6",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Revokes a share link. It stops working immediately and visitors see a not-found page. The entry stays in the list with `revoked_at` set. Revoking a link that is already revoked succeeds. Works in every account state.\n\n**Required scope:** `s3:write`.\n\nCLI command: `s3 share revoke`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999684,
      "method": "DELETE",
      "name": "Revoke a share link",
      "parameters": [],
      "parentId": "fld_1cedbe4bc395be66",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "link",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/s3/:id/share-links/:link"
    },
    {
      "_id": "fld_7529e4f9ec85051f",
      "_type": "request_group",
      "description": "Rent NVIDIA GPU servers by the hour or for a fixed billing cycle, and manage them afterwards. The section is available on sites that sell GPUs; elsewhere ordering fails with `sales_disabled`.\n\n**How an order works.** Choose a GPU model, a template (the operating system image) and a disk size from the GPU catalog. [Quote the rental](#operation/gpu_quote) to fix the price for 180 seconds without paying anything, then [create the instance](#operation/gpu_create) with the `quote_id`: the first period is charged to your wallet and the instance starts in state `queued`. Poll [Get a GPU instance](#operation/gpu_get) until `state` is `active`, then connect over SSH to `public_ip` on the host port listed under `ports[\"22/tcp\"]`, or open the web terminal with [Get an SSH ticket](#operation/gpu_ssh_token).\n\n**Billing.** An `hourly` instance is paid one hour ahead, every hour, from the wallet. While it is stopped only the disk is billed (`storage_hourly_uusd`). The other cycles (`monthly`, `quarterly`, `semiannual`, `yearly`, `2y`, `3y`) are paid up front with a discount and renew automatically until you delete the instance, running or not. When the wallet cannot pay, a running instance is stopped and becomes `locked`; a locked instance is deleted after 7 days unless you add funds and start it.\n\n**Commands are asynchronous.** Start, stop, reboot, recycle and delete answer at once with `{\"ok\": true, \"pending\": true}`. The work continues in the background: follow `state` and `intent` on the instance. While a command is running, other commands answer `409 invalid_state`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9982,
      "name": "GPU Cloud",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_647edb6aa9780142",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the GPU instances of your account, newest first. Deleted instances are not listed; an instance whose order failed stays in the list with state `failed` and an `error_msg`. The list is not paginated.\n\n`sales_enabled` is false when the site is not taking new GPU orders; instances you already have keep working and can still be managed. `counts` gives quick totals: `running` counts `active` instances whose machine reports `running`, `stopped` counts `stopped` and `locked` instances, and `error` counts `failed` instances plus `active` ones whose machine is not running.\n\n**Required scope:** `gpu:read`.\n\nCLI command: `gpu list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999683,
      "method": "GET",
      "name": "List GPU instances",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu"
    },
    {
      "_id": "req_634cfbab7494fab1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"hourly\",\n  \"disk_gb\": 100,\n  \"gpu_count\": 1,\n  \"gpu_name\": \"RTX 4090\",\n  \"template_id\": 3\n}"
      },
      "description": "Finds the cheapest available machine that matches a GPU model, GPU count, template and disk size, and prices it. Nothing is charged and nothing is reserved on the machine: the returned `quote_id` only fixes the price for 180 seconds, and you pass it to [Create a GPU instance](#operation/gpu_create) to rent that machine.\n\nTake `gpu_name`, `template_id` and the disk limits from the GPU catalog. Pass `offer_id` to price one specific machine from the catalog instead of the cheapest match. `charge_cents` is what Create takes from the wallet at once: one hour of compute for `hourly`, or the whole discounted cycle price for the other cycles (5% off monthly, 7% quarterly, 8% semiannual, 10% yearly, 15% for 2 years, 20% for 3 years). The price is checked again when the machine is rented, and the order is cancelled and refunded if the machine became more than 5% more expensive in between.\n\nThe call looks up live availability, so each account may make 15 quotes per minute.\n\n**Required scope:** `gpu:read`.\n\nCLI command: `gpu quote`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999682,
      "method": "POST",
      "name": "Quote a GPU rental (no charge; use the quote_id to rent)",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/quote"
    },
    {
      "_id": "req_77d471161ea67d32",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"hostname\": \"train-01\",\n  \"quote_id\": \"gq-9a7c3e5b1d2f4a60b8c4d6e8f0a1b2c3\",\n  \"request_id\": \"8d5f2a1c-7b3e-4c90-a1d6-5e2f9b0c4d73\",\n  \"ssh_key_id\": 12\n}"
      },
      "description": "Rents the machine from a quote. The first period is charged to your wallet immediately (one hour of compute for `hourly`, the whole cycle price for the other cycles) and the instance is created in state `queued`. The platform then rents the machine in the background: follow [Get a GPU instance](#operation/gpu_get) until `state` is `active`, which can take several minutes, then connect over SSH with the key you chose.\n\nThe wallet must hold at least the site's minimum balance and at least the quote's `charge_cents`, otherwise the call fails with `402 insufficient_funds` and nothing is charged. If the machine cannot be started within about 15 minutes, the provider refuses the order, or the machine became more than 5% more expensive since the quote, the instance ends in state `failed` with an `error_msg` and the full amount is refunded.\n\nUse a new `request_id` for every order and keep it when you retry: repeating the call with a `request_id` you already used returns the order created the first time and charges nothing more. Like every call that spends money it also needs the `Idempotency-Key` header.\n\n**Required scope:** `gpu:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `gpu create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999681,
      "method": "POST",
      "name": "Rent a GPU instance from a quote (charges the wallet)",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu"
    },
    {
      "_id": "req_fbd76eb7becb47bc",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one GPU instance. This is the call to poll after Create and after every command: `state` is the lifecycle state, `intent` names the command still being carried out (null when the instance is idle), and `public_ip` with `ports` tells you where to connect once the instance is `active`. A deleted instance answers `404`.\n\n**Required scope:** `gpu:read`.\n\nCLI command: `gpu get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999680,
      "method": "GET",
      "name": "Get one GPU instance",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id"
    },
    {
      "_id": "req_924aed0f969d8a63",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes the instance for good: the machine is released and everything on its disk is lost. The call answers at once and the deletion continues in the background; `state` becomes `destroying` and then the instance disappears from the list (Get answers `404`). Billing stops once the machine is released.\n\nMoney back: an instance that never became active is refunded in full, a fixed-cycle instance gets the unused part of the paid cycle back pro rata, and an hourly instance is not refunded for the hour it already started.\n\nAn instance that is still being rented (`renting`), is already being deleted, or has another command running cannot be deleted yet.\n\n**Required scope:** `gpu:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `gpu delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999679,
      "method": "DELETE",
      "name": "Delete the GPU instance (data is lost)",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id"
    },
    {
      "_id": "req_870176bccb2494bb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Powers a `stopped` or `locked` instance back on. The call answers at once; follow `state` (`starting`, then `active`).\n\nStarting can charge the wallet first. An hourly instance pays for up to one new hour of compute, unless you stopped it inside an hour that was already paid at the compute rate. A fixed-cycle instance pays the cycle price only if the paid cycle has ended. If the wallet cannot cover it the call fails with `402 insufficient_funds` and the instance stays as it was. If the machine cannot be started (for example it cannot supply the GPUs right now) the instance falls back to `stopped` after a while with an `error_msg`, and the start charge is refunded.\n\nEach instance accepts at most 6 start and stop commands per hour; further ones answer `429 rate_limited`. Repeating `start` while a start is already running just answers the same acknowledgement.\n\n**Required scope:** `gpu:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `gpu start`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999678,
      "method": "POST",
      "name": "Start the GPU instance (can charge a new billing period)",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/start"
    },
    {
      "_id": "req_f7650b51a5aeb689",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Powers an `active` instance off and keeps its disk. The call answers at once; `state` becomes `stopping` and then `stopped`. GPU charges stop. An hourly instance keeps paying the disk rate (`storage_hourly_uusd`) every hour, and a fixed-cycle instance keeps its prepaid cycle and renews it until you delete the instance. Use [Delete a GPU instance](#operation/gpu_delete) to stop all charges.\n\nEach instance accepts at most 6 start and stop commands per hour; further ones answer `429 rate_limited`. Repeating `stop` while a stop is already running just answers the same acknowledgement.\n\n**Required scope:** `gpu:write`.\n\nCLI command: `gpu stop`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999677,
      "method": "POST",
      "name": "Stop the GPU instance",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/stop"
    },
    {
      "_id": "req_0ffb826f81b9665c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Restarts an `active` instance without losing its disk. The call answers at once; `state` is `rebooting` until the instance is back, which normally takes a minute or two. There is no extra charge. Repeating `reboot` while a reboot is already running just answers the same acknowledgement.\n\n**Required scope:** `gpu:write`.\n\nCLI command: `gpu reboot`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999676,
      "method": "POST",
      "name": "Reboot the GPU instance",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/reboot"
    },
    {
      "_id": "req_062e803367f66c22",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Rebuilds an `active` instance from its template in place: the container or virtual machine is recreated from the original image on the same host and everything on the disk is erased, including every file you added. The instance keeps its id and billing and there is no extra charge. Use it to get back to a clean system.\n\nThe call answers at once; `state` is `recycling` until the instance is back. Read `public_ip` and `ports` again when it is `active` again, because they can change. Because data is lost the call needs an `Idempotency-Key`. Repeating `recycle` while one is already running just answers the same acknowledgement.\n\n**Required scope:** `gpu:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `gpu recycle`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999675,
      "method": "POST",
      "name": "Recycle the GPU instance from its template (data is lost)",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/recycle"
    },
    {
      "_id": "req_fd8636c3c1e6e215",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Issues a one-time ticket for the web SSH terminal of a running instance. Open a WebSocket to `websocket_url` with the ticket as the `token` query parameter (`<websocket_url>?token=<token>`) within `expires_in` seconds. The ticket opens one connection only; reconnecting needs a new ticket. Send JSON text frames such as `{\"type\":\"input\",\"data\":\"nvidia-smi\\n\"}` and `{\"type\":\"resize\",\"cols\":120,\"rows\":30}`; output arrives as `{\"type\":\"output\",\"data\":\"...\"}` frames. The terminal logs in as `root` automatically with a key managed by the platform, so it never asks for a password.\n\nThe instance must be `active`, report a running machine, have no command in progress and already have its public SSH address. Each account may request 10 tickets per minute. To use your own SSH client instead, connect to `public_ip` on the host port of `ports[\"22/tcp\"]` with the key you chose when you ordered.\n\n**Required scope:** `gpu:console`.\n\nCLI command: `gpu ssh-token`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999674,
      "method": "POST",
      "name": "Get a one-time SSH WebSocket ticket for the GPU instance",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/ssh-token"
    },
    {
      "_id": "req_a91e338974abcbcb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the latest usage readings reported by the machine and the recent activity of the instance. `metrics` only contains the readings the machine reported, so it can be empty or partial for a while after a start; `metrics_at` says when they were taken. `events` lists up to 100 events, newest first: the commands you sent (`actor` is `customer`) and everything the platform did on its own or through support (`actor` is `support`).\n\nIt is available as soon as a machine has been assigned to the instance; before that it answers `409 not_deployed`.\n\n**Required scope:** `gpu:read`.\n\nCLI command: `gpu diagnostics`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999673,
      "method": "GET",
      "name": "Metrics and events of the GPU instance",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/diagnostics"
    },
    {
      "_id": "req_7dc074adcc9fc872",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Reads the start-up log you asked for with [Request GPU instance logs](#operation/gpu_logs_request). Nothing is fetched until you ask: without a request in the last 5 minutes the answer is `requested: false` with empty `logs`. While the machine is still preparing the log, `pending` is true, so call again after a few seconds. When it is ready, `logs` holds the last 500 lines up to 1 MiB with secrets masked, and `truncated` is true if it had to be cut.\n\n**Required scope:** `gpu:read`.\n\nCLI command: `gpu logs get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999672,
      "method": "GET",
      "name": "Read the requested startup log",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/logs"
    },
    {
      "_id": "req_aeda0faaff796c82",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Asks the machine to publish the last 500 lines of its start-up log. The answer has the same shape as [Read GPU instance logs](#operation/gpu_logs_get) and is usually `pending: true` at first; poll that call every few seconds until `pending` is false. The log stays readable for 5 minutes after the request. Use it to find out why an instance is slow to start or does not accept SSH connections.\n\nEach account may request logs 6 times per minute.\n\n**Required scope:** `gpu:write`.\n\nCLI command: `gpu logs request`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999671,
      "method": "POST",
      "name": "Request a fresh startup log",
      "parameters": [],
      "parentId": "fld_7529e4f9ec85051f",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/gpu/:id/logs"
    },
    {
      "_id": "fld_0ea5effca0cd0132",
      "_type": "request_group",
      "description": "Open and follow support tickets of your account. A ticket is a conversation between you and the support team: you create it with a subject and a first message, either side can reply, and you can close it when it is solved. Opening a ticket is limited to 5 per hour per account. On sites operated by a reseller the ticket goes to that reseller's support queue, and it is not available when the reseller has turned tickets off.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9981,
      "name": "Support Tickets",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_12fc232d63b27cc4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the tickets of your account, newest activity first by default. Filter by `status` or search the subject with `q`. Only your own tickets are ever listed.\n\n**Required scope:** `ticket:read`.\n\nCLI command: `ticket list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999670,
      "method": "GET",
      "name": "List support tickets (filter, paged)",
      "parameters": [
        {
          "description": "Case-insensitive text to look for in the subject. Only the first 120 characters are used.",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Return only tickets in this status.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_0ea5effca0cd0132",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/tickets"
    },
    {
      "_id": "req_9c332130de9be57a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one ticket with all of its messages in chronological order. Internal notes written by the support team are never included.\n\n**Required scope:** `ticket:read`.\n\nCLI command: `ticket get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999669,
      "method": "GET",
      "name": "Get one ticket with its messages",
      "parameters": [],
      "parentId": "fld_0ea5effca0cd0132",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/tickets/:id"
    },
    {
      "_id": "req_c354471982ab7214",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"body\": \"Port 443 times out since this morning. The server itself is running.\",\n  \"subject\": \"Cannot reach my server on port 443\"\n}"
      },
      "description": "Opens a ticket with its first message and returns both. The support team is notified. At most 5 tickets can be opened per hour per account; the sixth is rejected with `rate_limited`. Send the same `Idempotency-Key` again to receive the original ticket instead of opening a duplicate.\n\n**Required scope:** `ticket:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `ticket create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999668,
      "method": "POST",
      "name": "Open a support ticket",
      "parameters": [],
      "parentId": "fld_0ea5effca0cd0132",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/tickets"
    },
    {
      "_id": "req_35cd882d918cbab7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"body\": \"Still failing after the change, here is the traceroute output.\"\n}"
      },
      "description": "Adds a message to one of your tickets and sets its status back to `open`. A closed ticket cannot be replied to: open a new ticket instead. Replies sent with an API key are limited to 30 per hour per account.\n\n**Required scope:** `ticket:write`.\n\nCLI command: `ticket reply`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999667,
      "method": "POST",
      "name": "Reply to a ticket",
      "parameters": [],
      "parentId": "fld_0ea5effca0cd0132",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/tickets/:id/messages"
    },
    {
      "_id": "req_d7ed10f24d189065",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Closes one of your tickets. Closing a ticket that is already closed succeeds and changes nothing. Closed tickets stay readable.\n\n**Required scope:** `ticket:write`.\n\nCLI command: `ticket close`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999666,
      "method": "POST",
      "name": "Close a ticket",
      "parameters": [],
      "parentId": "fld_0ea5effca0cd0132",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/portal/tickets/:id/close"
    },
    {
      "_id": "fld_549708e2c0bf1977",
      "_type": "request_group",
      "description": "Read-only view of your affiliate programme: your referral code and link, the customers you referred, the commissions they generated and your payout history. Joining the programme, converting commission into wallet credit and withdrawing cash are only available in the web console. The programme is only offered on the main site; on reseller sites these calls return `feature_disabled`.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9980,
      "name": "Affiliate",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_76603c6ab3c0b9af",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the programme rules, whether you have joined, and (once you have) your referral `code`, `link`, status, balances and a 30-day activity series. Use it to check eligibility before sending customers to your link. Cash payout details and verification status are not included; they are shown in the web console only.\n\n**Required scope:** `aff:read`.\n\nCLI command: `aff status`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999665,
      "method": "GET",
      "name": "Affiliate status, referral code and stats",
      "parameters": [],
      "parentId": "fld_549708e2c0bf1977",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/aff"
    },
    {
      "_id": "req_8de59b69a45ca0be",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the customers who registered through your link. Customers are anonymous: you only see a stable label such as `#a3f1`, never a name or e-mail address. Requires that you joined the programme.\n\n**Required scope:** `aff:read`.\n\nCLI command: `aff referral list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999664,
      "method": "GET",
      "name": "Referred users (anonymised, paged)",
      "parameters": [
        {
          "description": "Return only referrals in this state.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_549708e2c0bf1977",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/aff/referrals"
    },
    {
      "_id": "req_470bcff273aba1e6",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the commissions generated by your referrals, with the progress each one has made towards maturing. Reversed zero-amount records are not listed.\n\n**Required scope:** `aff:read`.\n\nCLI command: `aff commission list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999663,
      "method": "GET",
      "name": "Commissions (paged)",
      "parameters": [
        {
          "description": "Return only commissions in this status.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_549708e2c0bf1977",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/aff/commissions"
    },
    {
      "_id": "req_79fa449e506c2601",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the ledger of your affiliate account, newest first: every maturing, payment, clawback, expiry or manual adjustment of a commission. The ledger is append-only.\n\n**Required scope:** `aff:read`.\n\nCLI command: `aff event list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999662,
      "method": "GET",
      "name": "Affiliate ledger events (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_549708e2c0bf1977",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/aff/events"
    },
    {
      "_id": "req_74cd5bf0bc280013",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your payout history: conversions of commission into wallet credit and cash payout requests, newest first. Creating or cancelling a payout is only possible in the web console.\n\n**Required scope:** `aff:read`.\n\nCLI command: `aff payout list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999661,
      "method": "GET",
      "name": "Payout history (paged)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_549708e2c0bf1977",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/aff/payouts"
    },
    {
      "_id": "fld_f01bcbee9202e20b",
      "_type": "request_group",
      "description": "Read-only view of requests to move a server or a VPN plan to another account. A transfer needs the owner to confirm by e-mail and the recipient to accept, so creating, accepting, declining or cancelling one is only possible in the web console by a signed-in person. These calls let you follow the progress of the requests you sent and the ones addressed to you, and check in advance whether a service can be transferred.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9979,
      "name": "Service Transfers",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_d6e60c9eeecbeb44",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists transfer requests. By default it returns the requests you sent (`dir=out`); with `dir=in` it returns the requests addressed to your account, which only appear once the sender confirmed them and show fewer fields.\n\n**Required scope:** `transfer:read`.\n\nCLI command: `transfer list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999660,
      "method": "GET",
      "name": "List service transfer requests (outgoing or incoming)",
      "parameters": [
        {
          "description": "`out` for requests you sent, `in` for requests addressed to you.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "order",
          "value": ""
        }
      ],
      "parentId": "fld_f01bcbee9202e20b",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/transfers"
    },
    {
      "_id": "req_e415f080d8445a62",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Checks whether one of your services can be transferred right now, without starting anything. `ok` is true when `reasons` is empty; otherwise each reason names a blocker, for example an unpaid invoice, a server that is not active or busy, outstanding storage charges, or a plan that is expired.\n\n**Required scope:** `transfer:read`.\n\nCLI command: `transfer precheck`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999659,
      "method": "GET",
      "name": "Check whether a service can be transferred",
      "parameters": [
        {
          "description": "Kind of service.",
          "disabled": false,
          "name": "type",
          "value": ""
        },
        {
          "description": "Server UUID for `vm`, plan number for `vpn`.",
          "disabled": false,
          "name": "id",
          "value": ""
        }
      ],
      "parentId": "fld_f01bcbee9202e20b",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/transfers/precheck"
    },
    {
      "_id": "req_2f6e647fcab2a0fa",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one transfer request you sent or that is addressed to you. A request addressed to you is only visible after the sender confirmed it.\n\n**Required scope:** `transfer:read`.\n\nCLI command: `transfer get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999658,
      "method": "GET",
      "name": "Get one transfer request",
      "parameters": [],
      "parentId": "fld_f01bcbee9202e20b",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/transfers/:id"
    },
    {
      "_id": "fld_d4a887f11d590b99",
      "_type": "request_group",
      "description": "Dedicated Servers are physical machines assigned to your account. You can read their hardware, network settings, health, sensors, hardware log and bandwidth, rename them, change their power state and open a remote console. You never see the management controller of a machine, only the machine.\n\nThe list calls only return servers assigned to you; any other identifier answers `404 not_found`. Changing power state and opening a console are asynchronous and protected by two switches: a system-wide switch (`dedicated_ops_disabled` while it is off) and a lock on each server (`dedicated_server_locked`). The `actions` object of [Get a Dedicated Server](#operation/dedicated_get) tells you which buttons are available and why not. Power commands answer `202` with an `op`; poll [Get an operation](#operation/dedicated_op). Only one operation runs at a time on a server (`409 dedicated_busy`). A suspended subscription is read-only (`423 dedicated_suspended`).\n\nTimestamps are Unix seconds. Byte counters are bytes. Hardware log times are corrected for the controller's clock (`clock_adjusted`). Hidden on sites that do not sell Dedicated Servers.",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9978,
      "name": "Dedicated Servers",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_8a93a2cd49e3c265",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the Dedicated Servers assigned to your account. `enabled` tells whether Dedicated Servers are shown to you at all. Each item carries the last known power state and health; `stale` is true when that status may be outdated.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999657,
      "method": "GET",
      "name": "List my Dedicated Servers",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Search in the name and the public IP address.",
          "disabled": true,
          "name": "q",
          "value": ""
        },
        {
          "description": "Only servers with this power state.",
          "disabled": true,
          "name": "power",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated"
    },
    {
      "_id": "req_66fab9250dd0f9d5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns everything needed to order a Dedicated Server: locations, plans with their billing cycles (prices in VND, already discounted and rounded down to 1,000), how many servers are left per location, the operating systems that can be installed automatically and your wallet balance. While Dedicated Servers are not on sale the answer is `{\"enabled\": false, \"plans\": []}` without any price. At most 30 calls per minute per account.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999656,
      "method": "GET",
      "name": "Dedicated Server order catalog: locations, plans, cycles with VND prices, stock and auto-install operating systems",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/catalog"
    },
    {
      "_id": "req_75c12f87913c6a12",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"quarterly\",\n  \"hostname\": \"web-01\",\n  \"plan_code\": \"DS-6138-128\",\n  \"template\": \"ubuntu-24.04\",\n  \"zone_id\": 1\n}"
      },
      "description": "Prices an order without placing it. The price is always computed by the server from the plan and cycle: the total in VND, the US cents that would be charged at today's exchange rate, whether your wallet is enough (`shortfall_cents`) and the stock. `can_order` is true only when `reasons` is empty. No `Idempotency-Key` is needed. At most 30 calls per minute per account.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated quote`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999655,
      "method": "POST",
      "name": "Quote a Dedicated Server order (server-side price, wallet check, stock)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/quote"
    },
    {
      "_id": "req_2f51e39c702ee106",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_renew\": true,\n  \"cycle\": \"quarterly\",\n  \"hostname\": \"web-01\",\n  \"plan_code\": \"DS-6138-128\",\n  \"template\": \"ubuntu-24.04\",\n  \"zone_id\": 1\n}"
      },
      "description": "Orders a Dedicated Server and pays it from the wallet in one step: a server is taken from stock, an IPv4 address is assigned if the server has none, the first cycle plus the setup fee is charged, a paid invoice is issued and the subscription starts. With a `template` the operating system is installed automatically (usually 15–60 minutes): the order is `installing` and `op_id` is the installation operation; if the installation fails the full amount is refunded to the wallet automatically and the order becomes `refunded`. Without a template the order is `delivered` at once and you install the system yourself through ISO/Console. The root password of an automatic install is shown once, on the server's page. `Idempotency-Key` is required: repeating the same call with the same key and body returns the first answer and never charges twice; the same key with a different body fails with `idempotency_conflict`. Nothing is charged or written when the call fails. At most 5 orders per minute per account.\n\n**Required scope:** `dedicated:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated order`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999654,
      "method": "POST",
      "name": "Order a Dedicated Server: charges the wallet, assigns a machine and IP, installs the chosen operating system (automatic refund if the install fails)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/order"
    },
    {
      "_id": "req_4bc853e86949f17f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your Dedicated Server orders, newest first by default.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated orders`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999653,
      "method": "GET",
      "name": "List my Dedicated Server orders",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only orders in this state.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/orders"
    },
    {
      "_id": "req_874af0861150823e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one of your orders. Poll it while `status` is `installing`; the installation progress itself is the operation in `op_id`.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated order-get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999652,
      "method": "GET",
      "name": "Get one Dedicated Server order",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "oid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/orders/:oid"
    },
    {
      "_id": "req_e559d925cfc369d5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Cancels your order while it is `awaiting_stock` (no server assigned yet) and refunds the full amount to your wallet, once. Orders that already have a server cannot be cancelled here.\n\n**Required scope:** `dedicated:create`.\n\nCLI command: `dedicated order-cancel`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999651,
      "method": "POST",
      "name": "Cancel your own Dedicated Server order while it waits for a server (full refund to the wallet)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "oid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/orders/:oid/cancel"
    },
    {
      "_id": "req_a4893e7c1a3c7362",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the operating systems that can be installed on a Dedicated Server: only templates that are switched on and whose installation image is available. The list is the same for every server. It is empty for accounts that have no Dedicated Server.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated os`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999650,
      "method": "GET",
      "name": "List the operating systems that can be installed on a Dedicated Server (enabled templates)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/os-templates"
    },
    {
      "_id": "req_f56f2d81c514197d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one Dedicated Server with its hardware, network settings, subscription and which actions you can start now. The `actions` object is the only thing a client needs to decide whether a button is enabled: `reason` says why an action is unavailable.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999649,
      "method": "GET",
      "name": "Get one Dedicated Server: hardware, network, status and which actions are available",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id"
    },
    {
      "_id": "req_9e3723d0abf521fb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"build-server\"\n}"
      },
      "description": "Renames a Dedicated Server. Only the name changes; nothing is sent to the machine. A suspended subscription cannot rename.\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated rename`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999648,
      "method": "PATCH",
      "name": "Rename a Dedicated Server",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id"
    },
    {
      "_id": "req_890437ad497a7f7f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_renew\": false\n}"
      },
      "description": "Turns automatic renewal of the subscription on or off. With auto-renew on, the wallet is charged the locked price of one cycle when the renewal date arrives and the balance is enough; otherwise an invoice is issued and waits for payment. It works on a suspended subscription too, because it is about billing and does not touch the machine. Free subscriptions are never billed and cannot be changed. At most 20 calls per minute per account.\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated auto-renew`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999647,
      "method": "PATCH",
      "name": "Turn auto-renew of a Dedicated Server subscription on or off",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/auto-renew"
    },
    {
      "_id": "req_3ebd978090acb54b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"expect_renew_at\": 1802192400,\n  \"periods\": 3\n}"
      },
      "description": "Pays the renewal of the subscription from your wallet. If an invoice is open it is paid; otherwise one cycle is renewed early, which is allowed in the last 14 days before `renew_at`. The price is always the locked price of your subscription converted to US cents at the exchange rate of the moment (rounded down); the free subscriptions are never charged. A suspended subscription becomes active again right after payment. Send `expect_renew_at` with the `renew_at` you saw: if it changed in between, nothing is charged (`409 dedicated_renew_stale`). Pressing twice does not charge twice. At most 10 calls per minute per account.\n\n**Required scope:** `dedicated:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated renew`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999646,
      "method": "POST",
      "name": "Pay the open renewal invoice or renew several cycles early (periods; charged from the wallet at the subscription's locked price)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/renew"
    },
    {
      "_id": "req_aa125941ea2e4dea",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the other plans offered in the location of this server, priced for your current billing cycle, with the difference from your locked price and, for an upgrade, an estimate of what would be charged if the change were approved now (computed from what you have already paid for the current period, in proportion to the time left). A physical machine cannot change its hardware by itself, so a plan change is a request: see [Request a plan change](#operation/dedicated_plan_change).\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated plans`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999645,
      "method": "GET",
      "name": "Other plans you can ask for: price at the current cycle, difference and the estimated charge of an upgrade",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/plans"
    },
    {
      "_id": "req_b194004dec26ae4a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the invoices of this server that belong to you: the order receipt, the renewal invoices and the plan upgrade receipts, newest first (at most 100).\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated invoices`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999644,
      "method": "GET",
      "name": "Invoices of a Dedicated Server (order, renewals, plan upgrades)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/invoices"
    },
    {
      "_id": "req_1862c7db5f711a62",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"cycle\": \"quarterly\"\n}"
      },
      "description": "Changes the billing cycle from the NEXT renewal, at the price of that cycle in the plan's price list. Nothing is charged or refunded now and the current period is not touched. Sending the current cycle again cancels a change that was waiting. A free subscription, a subscription without a priced plan or a cycle the plan does not offer is refused. A suspended subscription must pay first.\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated cycle`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999643,
      "method": "PATCH",
      "name": "Change the billing cycle from the next renewal (nothing charged or refunded now)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/cycle"
    },
    {
      "_id": "req_257f4250960d2898",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"plan_code\": \"DS-6138-128\"\n}"
      },
      "description": "Asks for another plan. A physical machine cannot change its hardware by itself, so this only records a request and tells the operator; NOTHING is charged. When the hardware has been upgraded or the service moved, the operator approves it: an upgrade then charges the difference in proportion to the time left in the period you already paid for (never more than the list price difference, and based on what you actually paid) and switches the plan at once, with the new price from the next renewal; a downgrade charges and refunds nothing and applies from the next renewal. A declined or cancelled request costs nothing. One pending request per server. At most 10 calls per minute per account.\n\n**Required scope:** `dedicated:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated plan change`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999642,
      "method": "POST",
      "name": "Request a Dedicated Server plan change (nothing charged; approved by the operator once the hardware is ready)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/plan-change"
    },
    {
      "_id": "req_529f130f30676903",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Cancels your pending plan change request. Nothing was charged, so nothing is refunded.\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated plan change delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999641,
      "method": "DELETE",
      "name": "Cancel the pending plan change request",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/plan-change"
    },
    {
      "_id": "req_e90c17246cc8aa1a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm_hostname\": \"web-01\",\n  \"hostname\": \"web-01\",\n  \"template\": \"ubuntu-24.04\"\n}"
      },
      "description": "Reinstalls the operating system from an automatic template ([List OS templates](#operation/dedicated_os_templates)). **Every disk partition is erased.** The call answers `202` with an `op` (Linux 15–25 minutes, Windows about 60 minutes); poll [Get an operation](#operation/dedicated_op). Set `confirm_hostname` to the same value as `hostname`. When the operation is done a new password for the OS account is shown once on the server page of the web panel. At most 3 reinstalls per hour for a server.\n\n**Required scope:** `dedicated:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated reinstall`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999640,
      "method": "POST",
      "name": "Reinstall the OS of a Dedicated Server (erases the disks, asynchronous, returns an op)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/reinstall"
    },
    {
      "_id": "req_795427f9687d72f6",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"password\": \"Tr0ng-Matkhau#2026\"\n}"
      },
      "description": "Changes the password of the operating-system account (`root` on Linux, `Administrator` on Windows) through the platform agent running inside the server. The call answers `202` with a `change`; poll [Get a password change](#operation/dedicated_os_password_get) until `state` is `applied`, `failed`, `unconfirmed` or `cancelled`. The password is sent encrypted to that one agent and is never returned or logged; after `applied` it is the password shown in Credentials. The agent must be `online` (see `agent` in [Get a server](#operation/dedicated_get)). A change that was not confirmed in 5 minutes becomes `unconfirmed`: submit it again. At most 5 requests per 10 minutes per account. Not available while an operation is running or when the subscription is suspended.\n\n**Required scope:** `dedicated:console`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated os password`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999639,
      "method": "POST",
      "name": "Change the OS root/Administrator password through the platform agent inside the server (asynchronous: poll GET os-password/:cid; offline agent ⇒ 409)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/os-password"
    },
    {
      "_id": "req_d2e75b7f74405e83",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one password change of the server so you can poll it. It never contains the password.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated os password get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999638,
      "method": "GET",
      "name": "State of one OS password change (pending/applied/failed/unconfirmed/cancelled)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "cid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/os-password/:cid"
    },
    {
      "_id": "req_7a4f79170ad7c86f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "For a server whose operating system was installed before the agent existed (or from your own ISO): opens a 60-minute enrolment window and returns a one-line command to install the platform agent, plus the uninstall command. The token inside `install` works once, only from this server's public IP and only inside the window. The agent reports processor, memory, system disk usage, total network traffic and its version - nothing about the connections of your applications. Keep the command private until you have used it.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated agent install`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999637,
      "method": "POST",
      "name": "Get the one-line install/uninstall command of the platform agent for a server whose OS was installed earlier (opens a 60-minute enrolment window, one-time token)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/agent/install"
    },
    {
      "_id": "req_3ccc2b565195223c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes the platform agent of the server from the platform: its key stops working and a pending password change is cancelled. Run the uninstall command on the server too if you want to delete the program.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated agent remove`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999636,
      "method": "DELETE",
      "name": "Remove the platform agent from the platform (revokes its key, cancels a pending password change)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/agent"
    },
    {
      "_id": "req_5a52da48b4f12a97",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"action\": \"reboot\",\n  \"confirm\": \"dell-105\"\n}"
      },
      "description": "Changes the power state of the machine: `on`, `off` (immediate power cut), `shutdown` (ask the operating system to shut down), `reboot` (ask the operating system to restart) or `reset` (immediate hard restart). The call answers `202` with an `op` and the machine follows in the background; poll [Get an operation](#operation/dedicated_op). Every action except `on` needs `confirm` set to the exact name of the server. Asking for the state the machine is already in fails with `409 dedicated_power_noop`. At most 6 power commands per minute are accepted for an account (`429 rate_limited`).\n\n**Required scope:** `dedicated:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated power`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999635,
      "method": "POST",
      "name": "Power on/off/reboot a Dedicated Server (asynchronous, returns an op)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/power"
    },
    {
      "_id": "req_0358c5759e22a806",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the operations (power commands and console requests) on a server since it was assigned to you, newest first by default.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated ops`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999634,
      "method": "GET",
      "name": "Operation history of a Dedicated Server",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ops"
    },
    {
      "_id": "req_b1823fb1539709ce",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns one operation of the server. Poll it after a power command until `state` is `done`, `failed` or `cancelled`.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated op`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999633,
      "method": "GET",
      "name": "Get one operation (poll its progress)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "op",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ops/:op"
    },
    {
      "_id": "req_a52427c618d53d49",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the last sensor reading: power draw, temperatures, fan speeds and power supplies, plus the processor, memory and input/output usage (`usage`), the current network rate and monthly total (`network`) and the drive capacity (`storage`). A number that cannot be measured is `null` with a `reason`, never 0. With `range` it also returns a time series (`24h` every 2 minutes, `7d` every 30 minutes). `stale` is true when the reading may be outdated.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated sensors`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999632,
      "method": "GET",
      "name": "Power, temperatures, fans, PSUs, CPU/memory/I-O usage, current network rate (+ 24h/7d series)",
      "parameters": [
        {
          "description": "Include a time series covering this period.",
          "disabled": true,
          "name": "range",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/sensors"
    },
    {
      "_id": "req_6c39632d978b0d03",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the hardware log of the machine (the most recent 50 entries) from the moment it was assigned to you. Times are corrected for the clock of the machine's controller; `at_raw` keeps the original text.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999631,
      "method": "GET",
      "name": "Hardware log (SEL) of a Dedicated Server",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Only entries of this severity.",
          "disabled": true,
          "name": "severity",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/events"
    },
    {
      "_id": "req_b6b045ccb24447a7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns the traffic of the server's public IP address: a chart for `range` and the total of a month. `in_bytes` is traffic received by your server, `out_bytes` traffic it sent. `stale` is true when the counters have not been refreshed recently.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated bandwidth`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999630,
      "method": "GET",
      "name": "Inbound/outbound bandwidth of a Dedicated Server (series + monthly total)",
      "parameters": [
        {
          "description": "Period of the chart.",
          "disabled": true,
          "name": "range",
          "value": ""
        },
        {
          "description": "Month for the total, `YYYY-MM`. Defaults to the current month.",
          "disabled": true,
          "name": "month",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/bandwidth"
    },
    {
      "_id": "req_95876f43d241cfcb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists what happened on the server since it was assigned to you: power commands, console requests, renames and status changes, newest first by default.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated activity`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999629,
      "method": "GET",
      "name": "Activity log of a Dedicated Server",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/activity"
    },
    {
      "_id": "req_3974d775bd638dcf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns your custom ISO for this server (null when there is none), the limits and which actions are available now. Poll this call while `state` is `queued`, `downloading`, `verifying`, `attaching` or `detaching`. The internal address the controller uses to read the image is never shown.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated iso get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999628,
      "method": "GET",
      "name": "The server's custom ISO: state, progress, expiry and which actions are available",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/iso"
    },
    {
      "_id": "req_6eefc762fba5981f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"url\": \"https://releases.example.com/ubuntu-24.04.1-live-server-amd64.iso\"\n}"
      },
      "description": "Downloads an ISO from a public `http` or `https` address into temporary storage for this server. The call answers `202` and the download runs in the background: poll [Get the ISO](#operation/dedicated_iso_get). Only ports 80, 443, 8080 and 8443 are accepted, the address must not contain a user name or password, and it must resolve to a public Internet address — private, loopback, link-local and other internal addresses are refused, also after each redirect (at most 3 redirects are followed). Size is limited (see `limits.max_bytes`) and the file must be a valid ISO 9660 or disk image. One ISO per server at a time (`409 iso_exists`); it is removed automatically `limits.ttl_hours` hours after it is ready. At most 5 downloads per hour are accepted for an account (`429 rate_limited`).\n\n**Required scope:** `dedicated:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated iso download`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999627,
      "method": "POST",
      "name": "Download an ISO from an http(s) URL into the server's temporary storage (asynchronous)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/iso"
    },
    {
      "_id": "req_58c46dfca7db360c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Deletes the ISO and frees its storage. An ISO that is still attached is detached first: the call then answers `202` with `state` `detaching` and the file is removed when the detach finishes; otherwise it answers `200` with `state` `deleted` right away (the file itself is removed from storage within a minute). An ISO that is being attached or detached cannot be deleted yet (`409 iso_busy`).\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated iso delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999626,
      "method": "DELETE",
      "name": "Delete the ISO early (detached first when attached)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/iso"
    },
    {
      "_id": "req_b4acba8ddd5841c5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": \"dell-105\"\n}"
      },
      "description": "Attaches the ready ISO to the server as virtual media and sets the server to boot once from it. The call answers `202` with an `op`; poll [Get an operation](#operation/dedicated_op) or [Get the ISO](#operation/dedicated_iso_get) until `state` is `attached`. The server is **not** restarted: restart it (power `reboot`) and open the console to continue. `confirm` must be the exact name of the server because the next boot will start from the ISO. Only one operation runs at a time on a server (`409 dedicated_busy`).\n\n**Required scope:** `dedicated:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated iso attach`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999625,
      "method": "POST",
      "name": "Attach the ISO to the server as virtual media and set a one-time CD boot (asynchronous, returns an op)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/iso/attach"
    },
    {
      "_id": "req_a38a48b15179ec27",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Detaches the ISO from the server and clears the one-time CD boot. The ISO stays available (`ready`) until it expires, so it can be attached again. The call answers `202` with an `op`.\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated iso detach`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999624,
      "method": "POST",
      "name": "Detach the ISO from the server (asynchronous, returns an op)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/iso/detach"
    },
    {
      "_id": "req_2c4fc86c5f25555f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Opens a remote console session for the machine. When the session is ready the answer carries a one-time `url`; open it in a browser within 60 seconds. If it is still `preparing` (`202`), poll [Get a console session](#operation/dedicated_console_status). Calling again while a session of yours is alive returns that session instead of creating another one. At most 5 requests per minute are accepted for an account.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated console open`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999623,
      "method": "POST",
      "name": "Open a console session (a one-time URL is returned when ready)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/console"
    },
    {
      "_id": "req_32bc39314b298422",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns a console session. While it is `ready` or `active` every call issues a fresh one-time `url` (valid 60 seconds, replacing the previous one), which is also how you reopen the console after closing the browser tab. At most 30 requests per minute per session.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated console status`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999622,
      "method": "GET",
      "name": "Console session status; when ready, issues a fresh URL (valid 60 seconds)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/console/:sid"
    },
    {
      "_id": "req_3f6612065cf3c94d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Closes a console session. The one-time address stops working and an open console connection is cut shortly after.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated console delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999621,
      "method": "DELETE",
      "name": "Close a console session",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "sid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/console/:sid"
    },
    {
      "_id": "req_79d6135c5b5cfb18",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Issues a one-time ticket for the SSH web terminal of a Dedicated Server. Open a WebSocket to `websocket_url` with the ticket as the `token` query parameter (`<websocket_url>?token=<token>`) within `expires_in` seconds (120). The ticket works for one connection; reconnecting needs a new ticket. The frames are the same as for virtual machines: send `{\"type\":\"input\",\"data\":\"ls\\n\"}`, `{\"type\":\"resize\",\"cols\":120,\"rows\":30}` and, when the gateway asks for credentials (`auth_required`), `{\"type\":\"auth\",\"username\":\"...\",\"password\":\"...\"}`; output arrives as `{\"type\":\"output\",\"data\":\"...\"}` frames.\n\nThe gateway always connects to the current public address of this server, on port 22; you cannot choose another target. It logs in by itself with the user name and password of the current operating system installation (`credentials_source` = `install`), or with a password you typed in the terminal earlier and chose to keep (`saved`). The password is never sent to you. When neither exists, `credentials_source` is `none` and the gateway asks for the password. Requests are limited to 20 per minute per client address and per account. Sessions that were started by an administrator on your behalf cannot use this operation.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated ssh-token`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999620,
      "method": "POST",
      "name": "Get a one-time SSH WebSocket ticket for a Dedicated Server (logs in with the installation's login)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ssh-token"
    },
    {
      "_id": "req_b13309778e114b70",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Forgets the SSH password you typed in the terminal and chose to keep. The next terminal then uses the user name and password of the current operating system installation, or asks again if there is none. It never touches the installation login or the server itself. Works even when the server is off or locked.\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated ssh-credentials delete`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999619,
      "method": "DELETE",
      "name": "Forget the SSH password you typed and kept for a Dedicated Server",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ssh-credentials"
    },
    {
      "_id": "req_923792a2cfa7a4cf",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns whether the AI agent is enabled, the model it uses, the most recent conversation you had with it about this server (up to the last 40 messages, oldest first) and `target`: whether the agent can work on the server right now. When `target.ready` is false, `target.reason` is one of `dedicated_server_locked`, `dedicated_suspended`, `dedicated_installing`, `dedicated_ssh_unsupported`, `dedicated_powered_off`, `dedicated_no_ip`. A conversation is removed when the server is reinstalled, transferred or unassigned.\n\n**Required scope:** `dedicated:read`.\n\nCLI command: `dedicated ai-agent status`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999618,
      "method": "GET",
      "name": "AI SSH Agent status and history for a Dedicated Server",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ai-agent/status"
    },
    {
      "_id": "req_29e4492631d51e12",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Starts a new, empty AI agent conversation for this server. The earlier conversation is kept but is no longer the one [Get AI agent status](#operation/dedicated_ai_agent_status) returns. Pass the returned `session_id` to [Run the AI agent](#operation/dedicated_ai_agent_run). No body is needed.\n\n**Required scope:** `dedicated:write`.\n\nCLI command: `dedicated ai-agent clear`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999617,
      "method": "POST",
      "name": "Start a new AI SSH Agent session for a Dedicated Server",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ai-agent/clear"
    },
    {
      "_id": "req_9648d662ce2937f8",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"auto_execute\": false,\n  \"messages\": [\n    {\n      \"content\": \"How much disk space is left?\",\n      \"role\": \"user\"\n    }\n  ],\n  \"session_id\": \"ais_9b1d4c0a7e3f5a21c6d8\"\n}"
      },
      "description": "Sends a message to the AI agent, which can run shell commands on the server over SSH to answer. The stream and the request body are the same as for virtual machines ([Run the AI agent](#operation/vm_ai_agent_run)): server-sent events `hello`, `assistant_turn`, `tool_request`, `tool_start`, `tool_result`, `done`, `error`; send the command the user approved back as `confirmed_cmd`.\n\nThe agent logs in with the same login as the SSH terminal and never sees the password. Commands run automatically (`auto_execute: true`) only when they are on the read-only allowlist and not flagged as risky; every command that changes the server stops at `tool_request`. **A Dedicated Server is a physical machine without snapshots**: deleting data, formatting disks, shutting down or rebooting cannot be undone, so those commands always carry a `risk_reason`. Before every command the server checks again that the machine is still yours, unlocked, powered on and not being reinstalled; otherwise the step ends with an `error` and no command runs. Limits: 20 requests per minute per account, 2 conversations streaming at once, and the shared daily quota of AI calls (resets at 00:00 UTC; `429 rate_limited` with `limit`, `used`, `retry_after`).\n\n**Required scope:** `dedicated:console`.\n\nCLI command: `dedicated ai-agent run`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999616,
      "method": "POST",
      "name": "Run the AI SSH Agent on a Dedicated Server (SSE stream)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/ai-agent"
    },
    {
      "_id": "req_64b5ed1bd56426e4",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Returns whether Proxy App can run on this server and why not, the state of the platform agent inside the server, the subnets attached to the server with the number of proxies on each, and totals. Proxy App opens one SOCKS5 proxy per address of a subnet routed to this server; the proxies run inside your server through the platform agent. It is free of charge. No passwords are returned here.\n\n**Required scope:** `dedicated:proxy`.\n\nCLI command: `dedicated proxy-app status`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999615,
      "method": "GET",
      "name": "Proxy App status: readiness, agent, subnets and proxy totals",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app"
    },
    {
      "_id": "req_04f94a20e12205df",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists the proxies of the server with their real state as reported by the agent. Passwords are never returned here; use [Export proxies](#operation/dedicated_proxy_app_export).\n\n**Required scope:** `dedicated:proxy`.\n\nCLI command: `dedicated proxy-app list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999614,
      "method": "GET",
      "name": "List proxies (sorted, filtered, paged; no passwords)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Sort column.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Only proxies in this state.",
          "disabled": true,
          "name": "status",
          "value": ""
        },
        {
          "description": "Only proxies whose IP or user name contains this text.",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app/proxies"
    },
    {
      "_id": "req_5a74bd77c285b24f",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"mode\": \"random\",\n  \"port\": 65001,\n  \"prefix_id\": 12\n}"
      },
      "description": "Creates one SOCKS5 proxy for every host address of the subnet (`.1` to `.254` of a /24) that has none yet, skipping the server's main address and its gateway. By default each proxy gets its own random user name and password and port 65001; `mode: shared` gives the whole range one user and password. Requires a current platform agent inside the server. Repeating the call creates only what is missing. Free of charge.\n\n**Required scope:** `dedicated:proxy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated proxy-app create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999613,
      "method": "POST",
      "name": "Create a SOCKS5 proxy for every host address of the subnet (free of charge)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app/proxies"
    },
    {
      "_id": "req_3e320412d224bd9c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"action\": \"set_port\",\n  \"all\": true,\n  \"port\": 65002\n}"
      },
      "description": "Applies one action to chosen proxies (`ids`) or to all proxies matching a filter (`all` with `filter`; an unknown filter key, a bad `status` or a `q` over 64 characters is rejected with 400, it never widens to all proxies): turn on, turn off, delete, change password or change port. One proxy is `ids` with one entry. Changes reach the agent within about ten seconds; each proxy shows `pending` until then.\n\n**Required scope:** `dedicated:proxy`.\n\nCLI command: `dedicated proxy-app bulk`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999612,
      "method": "POST",
      "name": "Turn on, off, delete, change password or port of many proxies",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app/proxies/bulk"
    },
    {
      "_id": "req_ec08106d6c7156d6",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"confirm\": true\n}"
      },
      "description": "Deletes every proxy and the Proxy App settings of the server. The agent removes the listeners and the local route of the subnet within about ten seconds. Does not touch addresses you configured yourself.\n\n**Required scope:** `dedicated:proxy`.\n\nCLI command: `dedicated proxy-app clear`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999611,
      "method": "POST",
      "name": "Remove all proxies and the Proxy App settings of the server",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app/clear"
    },
    {
      "_id": "req_49b6b4334fc9c5a1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"src_allow\": [\n    \"198.51.100.7\",\n    \"198.51.101.0/24\"\n  ]\n}"
      },
      "description": "Sets the source addresses allowed to connect to the proxies. An empty list allows any source; the user name and password are always required.\n\n**Required scope:** `dedicated:proxy`.\n\nCLI command: `dedicated proxy-app settings`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999610,
      "method": "PUT",
      "name": "Set the source addresses allowed to use the proxies",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app/settings"
    },
    {
      "_id": "req_95cf9e708a043e77",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"all\": true,\n  \"format\": \"url\"\n}"
      },
      "description": "Returns the chosen proxies as text including their passwords: `ip_port_user_pass` (`ip:port:user:pass`), `url` (`socks5://user:pass@ip:port`) or `csv`. The response is not cached and the export is recorded in the activity log (without passwords).\n\n**Required scope:** `dedicated:proxy`.\n\nCLI command: `dedicated proxy-app export`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999609,
      "method": "POST",
      "name": "Export proxies with passwords (ip:port:user:pass, socks5://, CSV)",
      "parameters": [],
      "parentId": "fld_d4a887f11d590b99",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/proxy-app/export"
    },
    {
      "_id": "fld_8a3a11c142c473ec",
      "_type": "request_group",
      "description": "Announce your own IPv4 or IPv6 prefix over BGP and use it on your VMs. Two types: `leased` (a prefix you lease from an IP provider) and `own` (a prefix your organisation holds at a RIR/LIR). Flow: register the prefix and origin ASN → publish an RPKI ROA, an IRR route/route6 object and the verification token (`byoip-verify=<token>`) in the prefix whois (or in the aut-num of your ASN) at the RIR — RIPE, APNIC, ARIN, AFRINIC or LACNIC database; objects in RADB/ALTDB and other open IRRs do not count as proof → the platform verifies automatically every 10 minutes for up to 7 days (you are not charged before verification passes; a prefix that is already announced on the Internet goes to a manual review) → the prefix is announced and a private L2 network with gateway `.1`/`::1` is created → attach it to a VM (a second NIC) and configure the addresses shown in `setup`. Accepted sizes: IPv4 /24–/22, IPv6 /48–/32 (configurable per site, see `GET /v1/byoip/catalog`).",
      "environment": {},
      "environmentPropertyOrder": null,
      "metaSortKey": -9977,
      "name": "Bring Your Own IP",
      "parentId": "wrk_1863c6e256b03ef7"
    },
    {
      "_id": "req_2a8acb4740284b4b",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Types, accepted prefix sizes, prices (VND list price and wallet cents), verification rules and limits of the site.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip catalog`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999608,
      "method": "GET",
      "name": "BYOIP catalog: types, prefix sizes, prices and limits",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/catalog"
    },
    {
      "_id": "req_2661c48b0d40a5b0",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Price of registering a prefix of the given type and origin ASN. The monthly BGP fee is charged once per origin ASN and type: a second prefix with the same ASN costs nothing extra.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip quote`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999607,
      "method": "GET",
      "name": "BYOIP quote by type and ASN",
      "parameters": [
        {
          "description": "Prefix type.",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Where the prefix is used.",
          "disabled": true,
          "name": "usage",
          "value": ""
        },
        {
          "description": "Origin ASN (`AS64500` or `64500`). Default: the platform ASN.",
          "disabled": true,
          "name": "asn",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/quote"
    },
    {
      "_id": "req_a90ad6d8a08b2a8c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"asn\": \"AS213035\",\n  \"prefix\": \"45.12.34.0/24\"\n}"
      },
      "description": "Checks a prefix and ASN before registering: syntax, accepted size, special-use ranges, overlap with the provider's or other customers' prefixes. No external lookup; RPKI/IRR are checked after you register. Limited to 30 checks per hour.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip check`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999606,
      "method": "POST",
      "name": "Quick check of a prefix before registering (no external lookups)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/check"
    },
    {
      "_id": "req_fcc1df833ead9973",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Lists your prefixes (ended ones stay visible for 30 days).\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999605,
      "method": "GET",
      "name": "List your own IP prefixes",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Filter by state group.",
          "disabled": true,
          "name": "state",
          "value": ""
        },
        {
          "description": "Filter by type.",
          "disabled": true,
          "name": "kind",
          "value": ""
        },
        {
          "description": "Search in prefix or ASN.",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip"
    },
    {
      "_id": "req_b35ed9a45b62601e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "One merged list of all your IP ranges: prefixes you bring (`type: own`, as in `GET /v1/byoip`) and subnets you rent from the platform (`type: leased`, as in `GET /v1/byoip/subnets`). A subnet routed at this platform and its BGP prefix are ONE row (the `leased` row carries `byoip_id`, `gateway` and `bgp` of its prefix). Ended ranges stay in `state=all` for 30 days; `state=ended` shows all of them.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip ranges`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999604,
      "method": "GET",
      "name": "Merged IP range list: your own prefixes and rented subnets (one row per range)",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Field to sort by.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        },
        {
          "description": "Filter by state group (`suspended` includes a subnet in grace or ending at period end).",
          "disabled": true,
          "name": "state",
          "value": ""
        },
        {
          "description": "Filter by source: `own` = prefix you bring, `leased` = subnet rented from the platform.",
          "disabled": true,
          "name": "source",
          "value": ""
        },
        {
          "description": "Search in prefix or ASN.",
          "disabled": true,
          "name": "q",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/ranges"
    },
    {
      "_id": "req_b201ab427de37563",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"agree_terms\": true,\n  \"asn\": \"AS213035\",\n  \"kind\": \"own\",\n  \"prefix\": \"45.12.34.0/24\",\n  \"vm_id\": \"4f1c2b7e-0d5a-4b8e-9a51-2f6c1d3e7a90\"\n}"
      },
      "description": "Registers a prefix for verification. Requires `Idempotency-Key` and `agree_terms: true`. Nothing is charged now: once RPKI (ROA for the origin ASN), the IRR route object and the token pass, the monthly BGP fee of the origin ASN (if any) is taken from the wallet and the prefix is set up. Without a successful verification in 7 days the request expires.\n\n**Required scope:** `byoip:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999603,
      "method": "POST",
      "name": "Register an own IP prefix (waits for verification, not charged yet)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip"
    },
    {
      "_id": "req_55c6e50c1eb2b6ef",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prefix details: verification checks, the token to publish, ROA/IRR/LOA instructions, attachments and, once active, the VM configuration (policy routing, MTU).\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999602,
      "method": "GET",
      "name": "Prefix details: verification results, instructions, VM setup",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id"
    },
    {
      "_id": "req_48a935f67873990d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Runs the verification now instead of waiting for the next automatic check (every 10 minutes). Limited to once per minute per prefix and 20 per hour per account. When it passes the prefix moves on (charge + setup) immediately.\n\n**Required scope:** `byoip:write`.\n\nCLI command: `byoip verify`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999601,
      "method": "POST",
      "name": "Verify again now (RPKI, IRR, token)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/verify"
    },
    {
      "_id": "req_31491945accd6d34",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"note\": \"LOA 2026-10-22 issued to Example Ltd\"\n}"
      },
      "description": "Asks for a manual review when RPKI and IRR already pass but you cannot publish the token (for example a leased prefix whose whois you cannot edit). Attach the LOA reference in `note`.\n\n**Required scope:** `byoip:write`.\n\nCLI command: `byoip review-request`",
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999600,
      "method": "POST",
      "name": "Request a manual review (when the token cannot be published)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/review-request"
    },
    {
      "_id": "req_16cf563b66a1360a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Cancels a prefix. Before it is charged the request simply ends; after that the setup is removed, the BGP announcement is withdrawn and VMs lose the addresses. The current month is not refunded; a setup that never became active is refunded. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip cancel`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999599,
      "method": "POST",
      "name": "Cancel a prefix (remove the setup, withdraw BGP)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/cancel"
    },
    {
      "_id": "req_d45f40fc37c12dc1",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Activity log of a prefix (verification, charge, setup, BGP, attachments).\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip events`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999598,
      "method": "GET",
      "name": "Prefix activity log",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        },
        {
          "description": "Sort direction.",
          "disabled": true,
          "name": "dir",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/events"
    },
    {
      "_id": "req_9152c7378f1deeb5",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Own-IP state of a VM: whether it can be attached, the attachment, and the commands/netplan to configure each active prefix inside the VM (policy routing keeps the main default route of the VM).\n\n**Required scope:** `byoip:read`.\n\nCLI command: `vm byoip get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999597,
      "method": "GET",
      "name": "Own-IP attachment of a VM and sample configuration",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/byoip"
    },
    {
      "_id": "req_41bb24ee2bf34de7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Adds a second NIC on your private own-IP network to the running VM (hot-plug). Then configure the addresses shown in `prefixes[].setup`. Requires `Idempotency-Key`; 10 attach/detach per minute.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm byoip attach`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999596,
      "method": "POST",
      "name": "Attach your own-IP network to a VM (adds a NIC)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/byoip/attach"
    },
    {
      "_id": "req_891e3c9fbf8f87e9",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Removes the own-IP NIC from the VM. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `vm byoip detach`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999595,
      "method": "POST",
      "name": "Detach your own-IP network from a VM",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/vm/:id/byoip/detach"
    },
    {
      "_id": "req_284e5e85b25c587e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Your VMs eligible for own IP prefix (Ho Chi Minh City zone). `eligible=false` = VM is not running.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip vms eligible`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999594,
      "method": "GET",
      "name": "VMs eligible for own IP prefix (Ho Chi Minh City zone)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/vms/eligible"
    },
    {
      "_id": "req_8cae2dccc5e7642a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Attached VMs, NIC statuses, and IP configuration commands inside each VM.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip vms list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999593,
      "method": "GET",
      "name": "Attached VM + IP configuration commands",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/vms"
    },
    {
      "_id": "req_472bd9b8c37d027a",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"target_id\": \"4f1c2b7e-0d5a-4b8e-9a51-2f6c1d3e7a90\",\n  \"target_kind\": \"vm\"\n}"
      },
      "description": "Attach the prefix to another VM in your Ho Chi Minh City zone (a prefix can attach to multiple VMs). A second NIC is added while the prefix is active. Requires `Idempotency-Key`; 10 attach/detach/transfer operations per minute.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip vms bind`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999592,
      "method": "POST",
      "name": "Attach prefix to an additional VM",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/vms"
    },
    {
      "_id": "req_0255c5b7d39e8f1d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Detach prefix from a VM. Detaching the last VM ⇒ prefix waits for another VM (`needs_vm`), BGP remains active. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip vms detach`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999591,
      "method": "DELETE",
      "name": "Detach prefix from VM (last VM ⇒ prefix pending attachment, BGP retained)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "vm",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/vms/:vm"
    },
    {
      "_id": "req_9fa10d431dc15d51",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Prefixes attached to this Bare Metal server, the commands that add their IPs to the operating system of the server (`setup`: Linux or Windows, as the server reports), and your free IPv4 prefixes that could be attached. A prefix is ROUTED to the primary IP of the server (no virtual network card). Attaching and detaching never charge anything.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `dedicated byoip`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999590,
      "method": "GET",
      "name": "Own-IP prefixes attached to this Bare Metal server + OS-specific IP commands + free prefixes",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/byoip"
    },
    {
      "_id": "req_ee46633ed1b267d3",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"prefix_id\": 12\n}"
      },
      "description": "Attach one of your free IPv4 prefixes to this Bare Metal server. Free of charge. A prefix attached to VMs must be moved (see [Move a prefix](#operation/byoip_vms_move)). Requires `Idempotency-Key`; 10 operations per minute.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated byoip attach`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999589,
      "method": "POST",
      "name": "Attach a free IPv4 prefix to this Bare Metal server (free of charge)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/byoip/attach"
    },
    {
      "_id": "req_85f2d0f78077f21d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"prefix_id\": 12\n}"
      },
      "description": "Detach a prefix from this Bare Metal server. The prefix waits for a new attachment (`needs_vm`) and BGP stays active, but traffic is no longer sent to any machine. Free of charge. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `dedicated byoip detach`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999588,
      "method": "POST",
      "name": "Detach a prefix from this Bare Metal server (prefix waits for attachment, BGP kept)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/dedicated/:id/byoip/detach"
    },
    {
      "_id": "req_395e82b27711685d",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"from_id\": \"4f1c2b7e-0d5a-4b8e-9a51-2f6c1d3e7a90\",\n  \"to_id\": \"ds_3f9a1c2b7d4e5a60\",\n  \"to_kind\": \"dedicated\"\n}"
      },
      "description": "Transfer the prefix from this VM to another of your VMs (Ho Chi Minh City zone) in one step: detaches old VM and attaches new VM simultaneously. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip vms move`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999587,
      "method": "POST",
      "name": "Move prefix from one VM to another in one step",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/move"
    },
    {
      "_id": "req_1e2f1da94eb40b58",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"note\": \"tier web\",\n  \"vpc_id\": \"9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d\"\n}"
      },
      "description": "Request to attach prefix to your Private Cloud (VPC). The network team sets it up manually within 1–2 business days and reports results in the prefix logs. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip vpc request`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999586,
      "method": "POST",
      "name": "Request prefix attachment to Private Cloud (manually set up by network team)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/vpc-requests"
    },
    {
      "_id": "req_6093d8acc440c479",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Cancel a pending Private Cloud attachment request. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:write`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip vpc request delete`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999585,
      "method": "DELETE",
      "name": "Cancel pending Private Cloud attachment request",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        },
        {
          "name": "rid",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/:id/vpc-requests/:rid"
    },
    {
      "_id": "req_f1a2a70596c32b0c",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "IPv4 subnets for sale (/24–/22, RPKI managed automatically), public — no login. Prices are the final monthly price in US cents; `setup_cents` is charged once per subnet. Filter, sort and page on the server.\n\n**Required scope:** `catalog:read`.\n\nCLI command: `ip-subnets market`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999584,
      "method": "GET",
      "name": "IPv4 subnets for sale (public, monthly price plus a one-time setup fee)",
      "parameters": [
        {
          "description": "Exactly this subnet (for example `45.12.34.0/24`).",
          "disabled": true,
          "name": "prefix",
          "value": ""
        },
        {
          "description": "Prefix length.",
          "disabled": true,
          "name": "len",
          "value": ""
        },
        {
          "description": "Registry.",
          "disabled": true,
          "name": "rir",
          "value": ""
        },
        {
          "description": "Geolocation country (ISO 3166-1 alpha-2).",
          "disabled": true,
          "name": "country",
          "value": ""
        },
        {
          "description": "Maximum monthly price in US cents.",
          "disabled": true,
          "name": "price_max_cents",
          "value": ""
        },
        {
          "description": "Sort order.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/public/ip-subnets"
    },
    {
      "_id": "req_dbb2c09b5c8324a7",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Same list as the public market, priced for your account, plus your wallet balance and the platform ASN you may use for routing at this platform.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip subnets market`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999583,
      "method": "GET",
      "name": "IPv4 subnets for sale priced for your account",
      "parameters": [
        {
          "description": "Exactly this subnet (for example `45.12.34.0/24`).",
          "disabled": true,
          "name": "prefix",
          "value": ""
        },
        {
          "description": "Prefix length.",
          "disabled": true,
          "name": "len",
          "value": ""
        },
        {
          "description": "Registry.",
          "disabled": true,
          "name": "rir",
          "value": ""
        },
        {
          "description": "Geolocation country (ISO 3166-1 alpha-2).",
          "disabled": true,
          "name": "country",
          "value": ""
        },
        {
          "description": "Maximum monthly price in US cents.",
          "disabled": true,
          "name": "price_max_cents",
          "value": ""
        },
        {
          "description": "Sort order.",
          "disabled": true,
          "name": "sort",
          "value": ""
        },
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets/market"
    },
    {
      "_id": "req_db2af4387bbb9e5e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Your subnet orders, newest first.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip subnets list`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999582,
      "method": "GET",
      "name": "Your IPv4 subnet orders",
      "parameters": [
        {
          "description": "Page number, starting at 1.",
          "disabled": true,
          "name": "page",
          "value": ""
        },
        {
          "description": "Items per page. Values above the maximum are clamped.",
          "disabled": true,
          "name": "per_page",
          "value": ""
        }
      ],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets"
    },
    {
      "_id": "req_42e532ecc203978e",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"agree_terms\": true,\n  \"asn\": \"AS213035\",\n  \"mode\": \"idc\",\n  \"prefix\": \"45.12.34.0/24\"\n}"
      },
      "description": "Orders a subnet from the market. Requires `Idempotency-Key` and `agree_terms: true`. The first month and the setup fee are taken from the wallet now; the subnet is leased in the background and becomes `active` once its LOA is in place. `mode`: `idc` — use it at your own data center (the ASN is optional: leave it out and assign it later with `POST /v1/byoip/subnets/:id/asn`; if given, the RPKI fee is taken now); `platform` — route it at this platform (LOA for the platform ASN or your ASN; a Bring Your Own IP prefix is created for it, BGP at no extra fee).\n\n**Required scope:** `byoip:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip subnets create`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999581,
      "method": "POST",
      "name": "Order an IPv4 subnet (charges the first month and the setup fee)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets"
    },
    {
      "_id": "req_c5831fae08a76c78",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "One subnet order: state, price, billing period and, for `platform`, the Bring Your Own IP prefix created for it (`byoip_id`). `asn_info` carries the assigned ASN (`null` until you assign one), the RPKI state (`none`, `processing`, `pending`, `valid`), the assignment history with LOA numbers and what you can do now (`can.assign`, `can.loa`); `events` is the milestone history, newest first.\n\n**Required scope:** `byoip:read`.\n\nCLI command: `byoip subnets get`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999580,
      "method": "GET",
      "name": "Subnet order details",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets/:id"
    },
    {
      "_id": "req_4f945220905f9e26",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Checks the RPKI state of the subnet right now (RIPEstat `rpki-validation` for the assigned ASN) and returns the subnet with `asn_info.rpki_check`: `state` (`none`, `processing`, `pending` = the ROA is being created, `valid`, `invalid` = the ASN or max length does not match, `not_found` = no ROA yet, `error` = the source could not be reached and there is no earlier result), the ASN, prefix and max length checked, `checked_at`, and the ROAs seen. A failed check never overwrites an earlier result (`stale_error`). The subnet is also checked automatically (every 10 minutes while waiting for the ROA, every 6 hours once valid) and you are notified when the state changes. Limited to once per 60 seconds per subnet (429 with `retry_after`) and 30 per hour per account. Requires an assigned ASN with an issued LOA.\n\n**Required scope:** `byoip:write`.\n\nCLI command: `byoip subnets rpki-check`",
      "headers": [],
      "isPrivate": false,
      "metaSortKey": -999579,
      "method": "POST",
      "name": "Check the RPKI status of a subnet now (RIPEstat)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets/:id/rpki-check"
    },
    {
      "_id": "req_fd57ff75fff4cb99",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"asn\": \"AS213035\",\n  \"expected_fee_cents\": 2000\n}"
      },
      "description": "Assigns (or changes) the origin ASN of a subnet you use at your own data center (`mode: idc`, state `active`). A one-time RPKI fee (`asn_info.fee_cents`) is taken from the wallet for EVERY assignment or change; we then issue the Letter of Authorization (LOA) for the new ASN and publish the ROA. Changing the ASN replaces the previous LOA (the old letter is marked superseded). If the provider rejects the ASN the fee is refunded automatically. The ROA becomes valid within minutes to a few hours (`asn_info.rpki`: `processing` → `pending` → `valid`). The LOA PDF is downloaded from the console once issued. Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:create`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip subnets asn`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999578,
      "method": "POST",
      "name": "Assign or change the ASN of a subnet (one-time RPKI fee per assignment, we issue the LOA)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets/:id/asn"
    },
    {
      "_id": "req_7c93fb2235be7fdb",
      "_type": "request",
      "authentication": {
        "token": "{{ _.apiKey }}",
        "type": "bearer"
      },
      "description": "Before the subnet is leased (`paid`): cancels and refunds everything. In use (`active`, `grace`): stops renewal at the end of the paid month (no refund). Requires `Idempotency-Key`.\n\n**Required scope:** `byoip:destroy`. **Requires the `Idempotency-Key` header** because this operation charges money or cannot be repeated safely.\n\nCLI command: `byoip subnets cancel`",
      "headers": [
        {
          "description": "Unique per logical operation",
          "name": "Idempotency-Key",
          "value": "{% uuid 'v4' %}"
        }
      ],
      "isPrivate": false,
      "metaSortKey": -999577,
      "method": "POST",
      "name": "Cancel a subnet (before leasing: full refund; in use: stop renewal)",
      "parameters": [],
      "parentId": "fld_8a3a11c142c473ec",
      "pathParameters": [
        {
          "name": "id",
          "value": ""
        }
      ],
      "settingDisableRenderRequestBody": false,
      "settingEncodeUrl": true,
      "settingFollowRedirects": "global",
      "settingRebuildPath": true,
      "settingSendCookies": false,
      "settingStoreCookies": true,
      "url": "{{ _.baseUrl }}/v1/byoip/subnets/:id/cancel"
    }
  ]
}