Skip to content

The open-source app everyone uses to manage agents at work

387 KB
Raw Blame
{
  "schemaVersion": 1,
  "sources": {
    "platform": {
      "url": "https://raw.githubusercontent.com/unikraft-cloud/openapi/5dd107ea1cd8716b83cb86a83ed2a6ee46f99b5b/platform.json",
      "sha256": "b9e3d4f304bdaf93e36089a13d44196ad0977d91f8e69fd010c5ddaf7d7a760b"
    },
    "sandbox": {
      "url": "https://raw.githubusercontent.com/unikraft-cloud/openapi/5dd107ea1cd8716b83cb86a83ed2a6ee46f99b5b/plugins/sandbox.json",
      "sha256": "ac687a0f04d0fa286aa41fa577fe2e8870b55de6b9b60f83f5d6958ff012a2cb"
    }
  },
  "metros": [
    "dal",
    "fra",
    "sfo",
    "sin",
    "was"
  ],
  "tools": [
    {
      "name": "unikraft_create_certificate",
      "kind": "platform",
      "path": "/v1/certificates",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Certificate",
      "description": "Upload a new certificate.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Certificates.CreateCertificateRequest"
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Certificates.CreateCertificateRequest": {
            "type": "object",
            "required": [
              "chain",
              "pkey"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the certificate.\n\nThis is a human-readable name that can be used to identify the certificate.\nThe name must be unique within the context of your account. If no name is\nspecified, a random name is generated for you. The name can also be used\nto identify the certificate in API calls."
              },
              "cn": {
                "type": "string",
                "description": "The common name (CN) of the certificate.\n\nDeprecated: Use `common_name` instead.",
                "deprecated": true
              },
              "common_name": {
                "type": "string",
                "description": "The common name (CN) of the certificate.\n\nThis must be a fully-qualified domain name (FQDN). Exactly one of `cn`\nor `common_name` must be specified."
              },
              "chain": {
                "type": "string",
                "description": "The certificate chain in PEM format. Required for user-uploaded certificates."
              },
              "pkey": {
                "type": "string",
                "description": "The private key in PEM format. Required for user-uploaded certificates."
              }
            },
            "description": "The request message for creating/uploading a new certificate."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_certificates",
      "kind": "platform",
      "path": "/v1/certificates",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Certificates",
      "description": "List certificates.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_certificates",
      "kind": "platform",
      "path": "/v1/certificates",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Certificates",
      "description": "Delete certificates by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_certificates",
      "kind": "platform",
      "path": "/v1/certificates",
      "method": "PUT",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update Certificates",
      "description": "Update certificates.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Certificates.UpdateCertificatesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Certificates.UpdateCertificatesRequestItem": {
            "type": "object",
            "required": [
              "chain",
              "pkey"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "chain": {
                "type": "string",
                "description": "The new certificate chain. This is the public chain of the certificate in\nPEM format. The chain should include the certificate and any intermediate\ncertificates."
              },
              "pkey": {
                "type": "string",
                "description": "The new private key. This is the private key of the certificate in PEM\nformat. The private key must match the public key in the certificate\nchain."
              }
            },
            "description": "A single update operation to be applied to a certificate."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_certificate_by_uuid",
      "kind": "platform",
      "path": "/v1/certificates/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Certificate by UUID",
      "description": "Get a certificate by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_certificate_by_uuid",
      "kind": "platform",
      "path": "/v1/certificates/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Certificate by UUID",
      "description": "Delete a certificate by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_certificate_by_uuid",
      "kind": "platform",
      "path": "/v1/certificates/{uuid}",
      "method": "PUT",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update Certificate by UUID",
      "description": "Update a certificate by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Certificates.UpdateCertificateByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Certificates.UpdateCertificateByUUIDRequestBody": {
            "type": "object",
            "required": [
              "chain",
              "pkey"
            ],
            "properties": {
              "chain": {
                "type": "string",
                "description": "The new certificate chain. This is the public chain of the certificate in\nPEM format. The chain should include the certificate and any intermediate\ncertificates."
              },
              "pkey": {
                "type": "string",
                "description": "The new private key. This is the private key of the certificate in PEM\nformat. The private key must match the public key in the certificate\nchain."
              }
            },
            "description": "The request body for updating a certificate by its UUID or name."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_healthz",
      "kind": "platform",
      "path": "/v1/healthz",
      "method": "GET",
      "parameters": [],
      "title": "Health Check",
      "description": "Return the status of a full-system health check.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": []
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_image_store",
      "kind": "platform",
      "path": "/v1/image-store",
      "method": "GET",
      "parameters": [
        {
          "name": "digest",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tag",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Images in Store",
      "description": "Retrieve all images in store.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "digest": {
                "type": "string"
              },
              "tag": {
                "type": "string"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Images.GetImagesRequestTagOrDigest"
            }
          }
        },
        "required": [],
        "definitions": {
          "Images.GetImagesRequestTagOrDigest": {
            "type": "object",
            "properties": {
              "digest": {
                "type": "string"
              },
              "tag": {
                "type": "string"
              }
            },
            "oneOf": [
              {
                "required": [
                  "digest"
                ]
              },
              {
                "required": [
                  "tag"
                ]
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_images",
      "kind": "platform",
      "path": "/v1/images",
      "method": "GET",
      "parameters": [
        {
          "name": "digest",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tag",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Images",
      "description": "Retrieve all images.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "digest": {
                "type": "string"
              },
              "tag": {
                "type": "string"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Images.GetImagesRequestTagOrDigest"
            }
          }
        },
        "required": [],
        "definitions": {
          "Images.GetImagesRequestTagOrDigest": {
            "type": "object",
            "properties": {
              "digest": {
                "type": "string"
              },
              "tag": {
                "type": "string"
              }
            },
            "oneOf": [
              {
                "required": [
                  "digest"
                ]
              },
              {
                "required": [
                  "tag"
                ]
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_pin_images",
      "kind": "platform",
      "path": "/v1/images",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Pin Images",
      "description": "Pull and pin one or more images so they stay cached and are never\nevicted, without relying on an on-demand pull to succeed at instance\nstart. If a pull fails, the agent's error is returned in the entry's\n`message` field.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Images.PinImageRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Images.PinImageRequestItem": {
            "type": "object",
            "required": [
              "url",
              "timeout_s"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "The image URL to pull and pin."
              },
              "credentials": {
                "type": "string",
                "description": "Optional credentials for authenticating to an OCI registry.\nOnly valid for OCI registry URLs; the platform rejects this\nfield for non-OCI schemes."
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Optional HTTP headers to send when fetching the image."
              },
              "pull_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.PullPolicy"
                  }
                ],
                "description": "Controls when the image is pulled relative to what is already cached on\nthe node. If unset, this is inferred from the URL."
              },
              "timeout_s": {
                "type": "integer",
                "description": "Number of seconds to wait for the pull to complete. Required and must\nbe non-zero; `-1` waits up to the platform's maximum timeout."
              },
              "merge_requests": {
                "type": "boolean",
                "description": "Avoid duplicate pulls by merging with any in-flight request for the\nsame image. Defaults to `true`."
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Images.PinImageRequestItemAutokill"
                  }
                ],
                "description": "Automatically unpin the image after a period of inactivity."
              }
            },
            "description": "The request item for pinning a single image."
          },
          "Instances.PullPolicy": {
            "type": "string",
            "enum": [
              "always",
              "if_not_present",
              "never"
            ],
            "description": "PullPolicy defines when an image should be pulled."
          },
          "Images.PinImageRequestItemAutokill": {
            "type": "object",
            "required": [
              "time_ms"
            ],
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Automatically unpin the image after this many milliseconds of\ninactivity. `0` (the default) disables this.",
                "minimum": 0
              }
            },
            "description": "Automatically unpin the image after a period of inactivity."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_unpin_images",
      "kind": "platform",
      "path": "/v1/images",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Unpin Images",
      "description": "Unpin one or more images by UUID, making them eligible for normal\ncache eviction again. This does not delete the image.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Images.UnpinImageRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Images.UnpinImageRequestItem": {
            "type": "object",
            "required": [
              "uuid"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the image to unpin. Only UUID is supported; name, URL,\ntag, and digest are not."
              }
            },
            "description": "The request item for unpinning a single image."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_instance",
      "kind": "platform",
      "path": "/v1/instances",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Instance",
      "description": "Create an instance in Unikraft Cloud.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.CreateInstanceRequest"
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.CreateInstanceRequest": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the instance.\n\nIf not provided, a random name will be generated. The name must be\nunique."
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "$ref": "#/definitions/Instances.ImageSpec"
                  }
                ],
                "description": "The image to use for the instance.\n\nEither an image or a template must be specified. Accepts either a plain\nimage reference string (`\"nginx:latest\"`) or an object carrying additional\npull configuration (`{\"url\": \"nginx:latest\", \"pull_policy\": \"always\"}`)."
              },
              "args": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The arguments to pass to the instance when it starts."
              },
              "env": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Environment variables to set for the instance."
              },
              "memory_mb": {
                "type": "integer",
                "description": "Memory in MB to allocate for the instance. Default is 128."
              },
              "service_group": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.CreateInstanceRequestServiceGroup"
                  }
                ],
                "description": "The service group configuration when creating an instance.\n\nWhen creating an instance, either a previously created (persistent)\nservice group can be referenced (either through its name or UUID), or a\nnew (ephemeral) service group can be created for the instance by\nspecifying the list of services it should expose and optionally the\ndomains it should use. Not used by template instances."
              },
              "volumes": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.CreateInstanceRequestVolume"
                },
                "description": "Volumes to attach to the instance.\n\nThis list can contain both existing and new volumes to create as part of\nthe instance creation. Existing volumes can be referenced by their name or\nUUID. New volumes can be created by specifying a name, size in MiB, and\nmount point in the instance. The mount point is the directory in the\ninstance where the volume will be mounted."
              },
              "autostart": {
                "type": "boolean",
                "description": "Whether the instance should start automatically on creation.\nMust be set to true when `timeout_s` is specified."
              },
              "replicas": {
                "type": "integer",
                "description": "Number of additional replicas to create. The total number of instances\ncreated is `replicas + 1`. Defaults to 0."
              },
              "restart_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceRestartPolicy"
                  }
                ],
                "description": "Restart policy for the instance. This defines how the instance\nshould behave when it stops or crashes. Cannot be combined with\nthe `delete-on-stop` feature."
              },
              "scale_to_zero": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.CreateInstanceScaleToZero"
                  }
                ],
                "description": "Scale-to-zero configuration for the instance. Requires\n`service_group` to be set. Cannot be combined with the\n`delete-on-stop` feature."
              },
              "vcpus": {
                "type": "integer",
                "description": "Number of vCPUs to allocate for the instance. Defaults to 1."
              },
              "wait_timeout_ms": {
                "type": "integer",
                "description": "Deprecated: Use `timeout_s` instead. Timeout in milliseconds to\nwait for all new instances to reach running state. Requires\n`autostart` to be set. If `timeout_s` is not set, this value is\nconverted by rounding up to the next full second. No wait\nperformed for a value of 0.",
                "deprecated": true
              },
              "features": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceFeature"
                },
                "description": "Features to enable for the instance. Features are specific\nconfigurations or capabilities that can be enabled for the\ninstance. The `scale-to-zero` and `delete-on-stop` features are\nmutually exclusive."
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for all new instances to reach running\nstate. Requires `autostart` to be set. If you autostart your\nnew instance, you can wait for it to finish starting with a\nblocking API call if you specify a wait timeout greater than\nzero. No wait performed for a value of 0."
              },
              "roms": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.CreateInstanceRequestRom"
                },
                "description": "Read-Only Memory (ROM) blobs to attach to the instance.\nUnikraft Cloud supports the ability to attach Read-Only Memory (ROM) blobs\nto instances. It allows you to create a general-purpose base image and\nthen customize individual instances by attaching code or data as separate\nROM blobs."
              },
              "plugins": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.CreateInstanceRequestPlugin"
                },
                "description": "Plugins to attach to the instance. Plugins let you attach small helper\nprograms to an instance and reach each one over a direct, authenticated\nHTTP endpoint. Each plugin loads from its own ROM image, mounts at\n`/uk/plugins/<plugin_name>`, and is reachable at\n`.../v1/instances/<uuid>/plugins/<plugin_name>/<path>`. At most 8 plugins\nmay be attached to an instance."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Tags to associate with the instance."
              },
              "annotations": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Annotations to associate with the instance.\n\nUnlike tags, annotations also reach the guest: they are included in the\ninstance's startdata, and selected keys can be injected into the console\nlog output.\n\nKeys follow the Kubernetes annotation key syntax, `[<prefix>/]<name>`:\nthe optional prefix is a non-wildcard DNS subdomain of at most 253\ncharacters, and the name is at most 63 characters of `[-_.a-zA-Z0-9]`\nstarting and ending with an alphanumeric. Values are unconstrained apart\nfrom ASCII control characters. An instance holds at most 256 annotations.\n\nWhen the instance inherits annotations from a template, branch, or\ncheckpoint, the given annotations are merged into them rather than\nreplacing them. On a key clash the value given here wins."
              },
              "template": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.CreateInstanceRequestTemplate"
                  }
                ],
                "description": "Template instances.\nAn existing instance can be saved as a template. This template is then\nused to create new instances that inherit the exact configuration and\nstate the original instance had when the template was created."
              },
              "sched_priority": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.SchedPriority"
                  }
                ],
                "description": "The scheduling priority for the instance. Only settable by\nusers with scheduling priority override permissions."
              },
              "schedules": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.Schedule"
                },
                "description": "Schedules for the instance. Scheduled operations let you automatically\nstart, stop, delete, or exec a command in the instance on a calendar-\nbased schedule. For `exec` schedules, set the `args` field to the command\nand its arguments. Each instance stores its own schedules, and cloning\npreserves them."
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.CreateInstanceRequestAutokill"
                  }
                ],
                "description": "Automatic delete-on-idle/request-limit configuration. Not used for\ntemplate instances."
              },
              "hostname": {
                "type": "string",
                "description": "The hostname of the instance.\n\nIf not provided, the hostname will be set to the instance name. The\nhostname must be a valid DNS label (e.g., \"my-instance\") and is used for\ninternal DNS resolution within the Unikraft Cloud network."
              },
              "dependencies": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Common.NameOrUUID"
                },
                "description": "Dependencies of the instance.\n\nA list of instance identifiers (name or UUID) that this instance depends\non. Dependencies define startup ordering and can be used to ensure that\nprerequisite instances are running before this instance starts."
              },
              "branch_from": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "Reference to an existing instance to branch from. The instance can be\nrunning or stopped. If the source instance is running, a snapshot will be\ntaken asynchronously and the new instance will wait for it to complete\nbefore starting. Mutually exclusive with `image` and `template`."
              },
              "checkpoint": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "Reference to an existing checkpoint to create the instance from. The\ncheckpoint must be in the `checkpoint` state. The new instance will be\ncreated with the same configuration and state as the checkpoint. Mutually\nexclusive with `image`, `template`, and `branch_from`."
              },
              "gateway": {
                "type": "string",
                "description": "The default gateway to configure inside the guest."
              },
              "nameserver": {
                "type": "string",
                "description": "The DNS resolver to configure inside the guest."
              },
              "network_interfaces": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.CreateInstanceRequestNetworkInterface"
                },
                "description": "Network interfaces to attach to the instance."
              },
              "type": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceType"
                  }
                ],
                "description": "The type of virtual machine to use for the instance. Defaults to `micro`,\nwhich runs on Firecracker. `full` runs on QEMU instead and is required\nfor GPU passthrough (see `gpus`) and, in the future, Windows VMs. QEMU-\nbacked instances currently do not support scale-to-zero, templates,\nbranching, or checkpointing, and only support block-based volumes (no\nvirtiofs). Requires a plan with full VM support and cannot be combined\nwith `template`, `branch_from`, or `checkpoint`."
              },
              "gpus": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1,
                "description": "Number of GPUs to attach to the instance. Currently restricted to at most\n1. Requires `type` to be `full` and a plan with GPU support. A GPU stays\nassigned to the instance, even while stopped, until the instance is\ndeleted. Cannot be combined with `template`, `branch_from`, or\n`checkpoint`."
              }
            },
            "description": "The request message for creating a new instance."
          },
          "Instances.ImageSpec": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "The image URL"
              },
              "credentials": {
                "type": "string",
                "description": "Optional credentials for authenticating to an OCI registry.\nOnly valid for OCI registry URLs; the platform rejects this\nfield for non-OCI schemes."
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Optional HTTP headers to send when fetching the image."
              },
              "pull_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.PullPolicy"
                  }
                ],
                "description": "Controls when the image is pulled relative to what is already cached on\nthe node."
              }
            },
            "description": "ImageSpec describes an image to use for an instance."
          },
          "Instances.PullPolicy": {
            "type": "string",
            "enum": [
              "always",
              "if_not_present",
              "never"
            ],
            "description": "PullPolicy defines when an image should be pulled."
          },
          "Instances.CreateInstanceRequestServiceGroup": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "domains": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.CreateInstanceRequestDomain"
                }
              },
              "services": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Services.Service"
                }
              },
              "soft_limit": {
                "type": "integer",
                "minimum": 0
              },
              "hard_limit": {
                "type": "integer",
                "minimum": 0
              }
            },
            "description": "The service group configuration when creating an instance. If no existing\n(persistent) service group is specified via its identifier, a new\n(ephemeral) service group can be created by specifying the services it\nshould expose. A service defines the configuration settings of an exposed\nport by the instance. A service is a combination of a public port, an\ninternal port, and a set of handlers that define how the service will handle\nincoming connections.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ]
              },
              {
                "required": [
                  "name"
                ]
              }
            ]
          },
          "Instances.CreateInstanceRequestDomain": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Publicly accessible domain name.\n\nIf this name ends in a period `.` it must be a valid Full Qualified\nDomain Name (FQDN), e.g. `example.com.`; otherwise it will become a\nsubdomain of the target metro, e.g. `example` becomes\n`example.fra0.unikraft.app`."
              },
              "certificate": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "A reference to an existing certificate which can be used for the\nspecified domain. If unspecified, Unikraft Cloud will\nautomatically generate a new certificate for the domain based on Let's\nEncrypt and seek to accomplish a DNS-01 challenge."
              }
            },
            "description": "The domain configuration for the service group. A domain defines a publicly\naccessible domain name for the instance. If the domain name ends with a\nperiod `.`, it must be a valid Fully Qualified Domain Name (FQDN), otherwise\nit will become a subdomain of the target metro. The domain can be associated\nwith an existing certificate by specifying the certificate's name or UUID.\nIf no certificate is specified and a FQDN is provided, Unikraft Cloud will\nautomatically generate a new certificate for the domain based on Let's\nEncrypt and seek to accomplish a DNS-01 challenge."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          },
          "Services.Service": {
            "type": "object",
            "required": [
              "port"
            ],
            "properties": {
              "port": {
                "type": "integer",
                "description": "This is the public-facing port that the service will be accessible from\non the Internet.",
                "minimum": 0
              },
              "destination_port": {
                "type": "integer",
                "description": "The port number that the instance is listening on. This is the internal\nport which Unikraft Cloud will forward traffic to.",
                "minimum": 0
              },
              "protocol": {
                "$ref": "#/definitions/Services.ServiceProtocol"
              },
              "ip": {
                "type": "string"
              },
              "handlers": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Services.ConnectionHandler"
                },
                "description": "Connection handlers to use for the service. Handlers define how the\nservice will handle incoming connections and forward traffic from the\nInternet to your application. For example, a service can be configured\nto terminate TLS connections, redirect HTTP traffic, or enable HTTP mode\nfor load balancing. You configure the handlers for every published\nservice port individually."
              }
            },
            "description": "A service connects a public-facing port to an internal destination port on\nwhich an application instance listens on. Additional handlers can be\ndefined for each published port in order to define how the service will\nhandle incoming connections and forward traffic from the Internet to your\napplication. For example, a service can be configured to terminate TLS\nconnections, redirect HTTP traffic, or enable HTTP mode for load balancing."
          },
          "Services.ServiceProtocol": {
            "type": "string",
            "enum": [
              "tcp",
              "udp"
            ],
            "description": "Protocol for a service."
          },
          "Services.ConnectionHandler": {
            "type": "string",
            "enum": [
              "tls",
              "http",
              "redirect"
            ],
            "description": "Connection handlers to use for the service.\n\nHandlers define how the service will handle incoming connections and\nforward traffic from the Internet to your application. For example, a\nservice can be configured to terminate TLS connections, redirect HTTP\ntraffic, or enable HTTP mode for load balancing. You configure the handlers\nfor every published service port individually.\n\nThere are currently 3 supported handlers:\n\n| Handler    | Description |\n|------------|-------------|\n| `tls`      | Terminate the TLS connection at the Unikraft Cloud gateway using our wildcard certificate issued for the kraft.cloud domain. The gateway forwards the unencrypted traffic to your application. |\n| `http`     | Enable HTTP mode on the load balancer to load balance on the level of individual HTTP requests. In this mode, only HTTP connections are accepted. If this option is not set the load balancer works in TCP mode and distributes TCP connections. |\n| `redirect` | Redirect traffic from the source port to the destination port. |\n\nNote that there is a set of constraints when publishing ports:\n\n- Port 80: MUST have \"http\" and MUST not have \"tls\" set;\n- Port 443: MUST have http and tls set;\n- The `redirect` handler can only be set on port 80 (HTTP) to redirect to\nport 443 (HTTPS);\n- All other ports MUST have tls and MUST not have http set."
          },
          "Instances.CreateInstanceRequestVolume": {
            "type": "object",
            "required": [
              "at"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "size_mb": {
                "type": "integer",
                "minimum": 0
              },
              "host_path": {
                "type": "string"
              },
              "at": {
                "type": "string"
              },
              "readonly": {
                "type": "boolean"
              },
              "quota_policy": {
                "type": "string"
              },
              "filesystem": {
                "type": "string"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "uid": {
                "type": "integer",
                "minimum": 0
              },
              "gid": {
                "type": "integer",
                "minimum": 0
              },
              "access_mode": {
                "$ref": "#/definitions/Volumes.VolumeAccessMode"
              },
              "args": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "description": "A volume defines a storage volume that can be attached to the instance.",
            "oneOf": [
              {
                "required": [
                  "size_mb"
                ]
              },
              {
                "required": [
                  "host_path"
                ]
              }
            ]
          },
          "Volumes.VolumeAccessMode": {
            "type": "string",
            "enum": [
              "rwo",
              "rox",
              "rwx"
            ],
            "description": "VolumeAccessMode defines the access mode of a volume, which controls sharing\nbehavior and caching strategy."
          },
          "Instances.InstanceRestartPolicy": {
            "type": "string",
            "enum": [
              "never",
              "always",
              "on-failure"
            ],
            "description": "The restart policy of an instance.\n\nWhen an instance stops either because the application exits or the instance\ncrashes, Unikraft Cloud can auto-restart your instance. Auto-restarts are\nperformed according to the restart policy configured for a particular\ninstance. The policy can have the following values:\n\n| Policy       | Description |\n|--------------|-------------|\n| `never`      | Never restart the instance (default). |\n| `always`     | Always restart the instance when the stop is initiated from within the instance (i.e., the application exits or the instance crashes). |\n| `on-failure` | Only restart the instance if it crashes. |\n\nWhen an instance stops, the stop reason and the configured restart policy\nare evaluated to decide if a restart should be performed. Unikraft Cloud\nuses an exponential back-off delay (immediate, 5s, 10s, 20s, 40s, ..., 5m)\nto slow down restarts in tight crash loops. If an instance runs without\nproblems for 10s the back-off delay is reset and the restart sequence ends.\nThe `restart.attempt` attribute reported in counts the number of restarts\nperformed in the current sequence. The `restart.next_at` field indicates\nwhen the next restart will take place if a back-off delay is in effect. A\nmanual start or stop of the instance aborts the restart sequence and resets\nthe back-off delay."
          },
          "Instances.CreateInstanceScaleToZero": {
            "type": "object",
            "properties": {
              "policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceScaleToZeroPolicy"
                  }
                ],
                "description": "The specific policy to use for scaling the instance to zero."
              },
              "stateful": {
                "type": "boolean",
                "description": "Whether the instance should be stateful when scaled to zero. If set to\ntrue, the instance will retain its state (e.g., RAM contents) when scaled\nto zero. This is useful for instances that need to maintain their state\nacross scale-to-zero operations. If set to false, the instance will lose\nits state when scaled to zero, and it will be restarted from scratch when\nscaled back up."
              },
              "cooldown_time_ms": {
                "type": "integer",
                "description": "The cooldown time in milliseconds before the instance can be scaled to\nzero again. This is useful to prevent rapid scaling to zero and back up,\nwhich can lead to performance issues or resource exhaustion."
              },
              "notify_time_ms": {
                "type": "integer",
                "description": "The notification time in milliseconds before the instance is scaled to\nzero. This allows the instance to perform any necessary cleanup or state\nsaving before being scaled down."
              }
            },
            "description": "Scale-to-zero configuration when creating an instance."
          },
          "Instances.InstanceScaleToZeroPolicy": {
            "type": "string",
            "enum": [
              "off",
              "on",
              "idle"
            ],
            "description": "Scale-to-zero policy types to use when creating an instance.\n\nThe policy can be one of the following values:\n\n| Policy | Description |\n|--------|-------------|\n| `on`   | The instance should be scaled-to-zero (when possible). |\n| `off`  | The instance should never be scaled-to-zero. |\n| `idle` | The instance should be scaled-to-zero even with established but idle TCP connections. |"
          },
          "Instances.InstanceFeature": {
            "type": "string",
            "enum": [
              "delete-on-stop",
              "nested-virt"
            ],
            "description": "Features are specific configurations or capabilities that can be enabled for\nthe instance.\n\nThe list of available features to enable for the instance:\n\n| Feature            | Description |\n|--------------------|-------------|\n| `delete-on-stop`   | The instance will be deleted when it is stopped. This is useful for instances that are not needed after they are stopped, such as temporary or ephemeral instances. Cannot be combined with a `restart_policy` other than `never`. |\n| `nested-virt`      | Expose virtualization extensions to the guest, so that it can run virtual machines of its own. Requires the `nested_virt` permission. |"
          },
          "Instances.CreateInstanceRequestRom": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the ROM to use for the instance configuration."
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "$ref": "#/definitions/Instances.ImageSpec"
                  }
                ],
                "description": "The image of the ROM to use for the instance configuration. Mutually\nexclusive with `files`. Accepts either a plain image reference string\n(`\"nginx:latest\"`) or an object carrying additional pull configuration\n(`{\"url\": \"nginx:latest\", \"pull_policy\": \"always\"}`)."
              },
              "at": {
                "type": "string",
                "description": "The path at which the ROM should be automatically mounted inside the\ninstance. When set, the platform mounts the ROM device at the specified\npath so the guest does not need to mount it manually. When omitted, the\nROM is exposed as a raw block device and the guest is responsible for\nmounting it."
              },
              "files": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Common.InlineFile"
                },
                "description": "Inline files to use as the ROM content. When specified, the platform\ncreates an EROFS image from the provided files. Mutually exclusive with\n`image`."
              }
            },
            "description": "A ROM to attach when creating an instance."
          },
          "Common.InlineFile": {
            "type": "object",
            "required": [
              "path",
              "data"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The file path within the image."
              },
              "encoding": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.InlineDataEncoding"
                  }
                ],
                "description": "The encoding of the data field. Defaults to \"text\"."
              },
              "data": {
                "type": "string",
                "description": "The file data, encoded according to the encoding field."
              }
            },
            "description": "An inline file entry represents a single file within an image."
          },
          "Common.InlineDataEncoding": {
            "type": "string",
            "enum": [
              "text",
              "base64"
            ],
            "description": "Encoding type for inline file data."
          },
          "Instances.CreateInstanceRequestPlugin": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The plugin name. It becomes the `<plugin_name>` segment in the plugin\nendpoint (`.../plugins/<plugin_name>/<path>`). A plugin name has a\nmaximum length of 63 characters and contains only letters (`a`-`z`,\n`A`-`Z`), digits (`0`-`9`), hyphen (`-`), and underscore (`_`)."
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "$ref": "#/definitions/Instances.ImageSpec"
                  }
                ],
                "description": "The plugin's image. The platform loads the image, mounts it at\n`/uk/plugins/<plugin_name>`, and runs its `init` program when the plugin\nstarts. Accepts either a plain image reference string\n(`\"user/myplugin:latest\"`) or an object carrying additional pull\nconfiguration (`{\"url\": \"user/myplugin:latest\", \"pull_policy\": \"always\"}`).\nExactly one of `image` and `rom` must be set."
              },
              "rom": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "$ref": "#/definitions/Instances.ImageSpec"
                  }
                ],
                "description": "The plugin's image, under its former name. The platform still accepts\nit and adds a deprecation warning to the response. Exactly one of\n`image` and `rom` must be set.\n\nDeprecated: Use `image` instead.",
                "deprecated": true
              },
              "config": {
                "description": "Arbitrary JSON configuration that the platform passes to the plugin's\n`init` program on `STDIN`. Any JSON value works, including a string, a\nnumber, or an object."
              }
            },
            "description": "A helper program attached to the instance and reachable over a direct,\nauthenticated HTTP endpoint. A plugin runs inside the instance next to\nthe main application, loads from its own ROM image, and answers requests\nthat the Unikraft Cloud API forwards to it.",
            "oneOf": [
              {
                "required": [
                  "image"
                ]
              },
              {
                "required": [
                  "rom"
                ]
              }
            ]
          },
          "Instances.CreateInstanceRequestTemplate": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "prepare": {
                "type": "boolean",
                "description": "Whether the instance needs to run in order to reach template state"
              },
              "create_args": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.Instance"
                  }
                ],
                "description": "Configuration parameters to apply when building the new instance from the\nsource template."
              },
              "prepare_timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds for preparing the template before the preparation is\naborted. Only applies when `prepare` is set. A value of 0 means no\ntimeout."
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.TemplateAutokill"
                  }
                ],
                "description": "Automatic delete-on-idle configuration for the template. Only applies\nwhen `prepare` is set."
              }
            },
            "description": "Template configuration when creating an instance."
          },
          "Instances.Instance": {
            "type": "object",
            "required": [
              "uuid",
              "name",
              "created_at",
              "state",
              "image",
              "memory_mb",
              "vcpus",
              "restart_policy",
              "type"
            ],
            "properties": {
              "status": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.ResponseStatus"
                  }
                ],
                "description": "Indicates whether the operation was successful for this item."
              },
              "message": {
                "type": "string",
                "description": "An optional message providing additional information."
              },
              "error": {
                "type": "integer",
                "description": "An optional error code."
              },
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The human-readable name of the resource."
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "description": "The time the instance was created."
              },
              "state": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceState"
                  }
                ],
                "description": "The state of the instance. This indicates the current state of the\ninstance, such as whether it is running, stopped, or in an error state."
              },
              "private_fqdn": {
                "type": "string",
                "description": "The internal hostname of the instance. This address can be used privately\nwithin the Unikraft Cloud network to access the instance. It is not\naccessible from the public Internet."
              },
              "image": {
                "type": "string",
                "description": "The image used to create the instance. This is a reference to the\nUnikraft image that was used to create the instance."
              },
              "memory_mb": {
                "type": "integer",
                "description": "The amount of memory in megabytes allocated for the instance. This is the\ntotal amount of memory that is available to the instance for its\noperations.",
                "minimum": 0
              },
              "vcpus": {
                "type": "integer",
                "description": "The number of vCPUs allocated for the instance. This is the total\nnumber of virtual CPUs that are available to the instance for its\noperations.",
                "minimum": 0
              },
              "args": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The arguments passed to the instance when it was started. This is a\nlist of command-line arguments that were provided to the instance at\nstartup. These arguments can be used to configure the behavior of the\ninstance and its applications."
              },
              "env": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Environment variables set for the instance."
              },
              "start_count": {
                "type": "integer",
                "description": "The total number of times the instance has been started. This is a counter\nthat increments each time the instance is started, regardless of whether it\nwas manually stopped or restarted. This can be useful for tracking the\nusage of the instance over time and/or for debugging purposes.\n\nNot used for template instances.",
                "minimum": 0
              },
              "restart_count": {
                "type": "integer",
                "description": "The total number of times the instance has been restarted. This is a counter\nthat increments each time the instance has been restarted. This can be\nuseful for tracking the usage of the instance over time and/or for\ndebugging purposes.\nNot used for template instances.",
                "minimum": 0
              },
              "started_at": {
                "type": "string",
                "format": "date-time",
                "description": "The time the instance was started. This is the timestamp when the\ninstance was last started.\nNot used for template instances."
              },
              "stopped_at": {
                "type": "string",
                "format": "date-time",
                "description": "The time the instance was stopped. This is the timestamp when the\ninstance was last stopped. If the instance is currently running, this\nfield will be empty.\nNot used for template instances."
              },
              "uptime_ms": {
                "type": "integer",
                "description": "The total amount of time the instance has been running in milliseconds.\nNot used for template instances.",
                "minimum": 0
              },
              "retained_until": {
                "type": "string",
                "format": "date-time",
                "description": "Time when the instance will be permanently deleted (for deleted instances)."
              },
              "vmm_start_time_us": {
                "type": "integer",
                "description": "(Developer-only). The time taken between the main controller and the\nbeginning of execution of the VMM (Virtual Machine Monitor) measured in\nmicroseconds. This field is primarily used for debugging and performance\nanalysis purposes.\nNot used for template instances.",
                "minimum": 0
              },
              "vmm_load_time_us": {
                "type": "integer",
                "description": "(Developer-only). The time it took the VMM (Virtual Machine Monitor) to\nload the instance's kernel and initramfs into VM memory measured in\nmicroseconds. This field is primarily used for debugging and performance\nanalysis purposes.\nNot used for template instances.",
                "minimum": 0
              },
              "vmm_ready_time_us": {
                "type": "integer",
                "description": "(Developer-only). The time taken for the VMM (Virtual Machine Monitor) to\nbecome ready to execute the instance measured in microseconds. This is the\ntime from when the VMM started until it was ready to execute the instance's\ncode. This field is primarily used for debugging and performance analysis\npurposes.\nNot used for template instances.",
                "minimum": 0
              },
              "boot_time_us": {
                "type": "integer",
                "description": "The boot time of the instance in microseconds. We take a pragmatic\napproach is to define the boot time. We calculate this as the difference\nin time between the moment the virtualization toolstack is invoked to\nrespond to a VM boot request and the moment the OS starts executing user\ncode (i.e., the end of the guest OS boot process). This is essentially the\ntime that a user would experience in a deployment, minus the application\ninitialization time, which we leave out since it is independent from the\nOS.\nNot used for template instances.",
                "minimum": 0
              },
              "net_time_us": {
                "type": "integer",
                "description": "This is the time it took for the user-level application to start listening\non a non-localhost port measured in microseconds. This is the time from\nwhen the instance started until it reasonably ready to start responding to\nnetwork requests. This is useful for measuring the time it takes for the\ninstance to become operationally ready.\nNot used for template instances.",
                "minimum": 0
              },
              "template_time_us": {
                "type": "integer",
                "description": "Template creation time in microseconds.",
                "minimum": 0
              },
              "stop_reason": {
                "type": "integer",
                "description": "The instance stop reason.\n\nProvides reason as to why an instance is stopped or in the process of\nshutting down. The stop reason is a bitmask that tells you the origin of\nthe shutdown:\n\n| Bit | 4 | 3 | 2 | 1 | 0 (LSB) |\n|---------|------------|------------|------------|------------|--------------|\n| Purpose | [F]orced | [U]ser | [P]latform | [A]pp | [K]ernel |\n\n- **Forced**: This was a force stop. A forced stop does not give the\ninstance a chance to perform a clean shutdown. Bits 0\n(Kernel) and 1 (App) can thus never be set for forced\nshutdowns. Consequently, there won't be an `exit_code` or\n`stop_code`.\n- **User**: Stop initiated by user, e.g. via an API call.\n- **Platform**: Stop initiated by platform, e.g. an autoscale policy.\n- **App**: The Application exited. The `exit_code` field will be set.\n- **Kernel**: The kernel exited. The `stop_code` field will be set.\n\nFor example, the stop reason will contain the following values in the given\nscenarios:\n\n| Value | Bitmask | Aliases | Scenario |\n|-------|---------|---------|----------|\n| 28 | `11100` | `FUP--` | Forced user-initiated shutdown. |\n| 15 | `01111` | `-UPAK` | Regular user-initiated shutdown. The application and kernel have exited. The exit_code and stop_code indicate if the application and kernel shut down cleanly. |\n| 13 | `01101` | `-UP-K` | The user initiated a shutdown but the application was forcefully killed by the kernel during shutdown. This can be the case if the image does not support a clean application exit or the application crashed after receiving a termination signal. The exit_code won’t be present in this scenario. |\n| 7 | `00111` | `--PAK` | Unikraft Cloud initiated the shutdown, for example, due to scale-to-zero. The application and kernel have exited. The exit_code and stop_code indicate if the application and kernel shut down cleanly. |\n| 3 | `00011` | `---AK` | The application exited. The exit_code and stop_code indicate if the application and kernel shut down cleanly. |\n| 1 | `00001` | `----K` | The instance likely expierenced a fatal crash and the stop_code contains more information about the cause of the crash. |\n| 0 | `00000` | `-----` | The stop reason is unknown. |\nNot used for template instances.",
                "minimum": 0
              },
              "exit_code": {
                "type": "integer",
                "description": "The application exit code.\n\nThis is the code which the application returns upon leaving its main entry\npoint. The encoding of the exit code is application specific. See the\ndocumentation of the application for more details. Usually, an exit code\nof `0` indicates success / no failure.\nNot used for template instances.",
                "minimum": 0
              },
              "stop_code": {
                "type": "integer",
                "description": "The kernel stop code.\n\nThis value encodes multiple details about the stop irrespective of the\napplication.\n\n```\nMSB LSB\n┌──────────────┬──────────┬──────────┬───────────┬────────┐\n│ 31 ────── 24 │ 23 ── 16 │ 15 │ 14 ──── 8 │ 7 ── 0 │\n├──────────────┼──────────┼──────────┼───────────┼────────┤\n│ reserved[^1] │ errno │ shutdown │ initlevel │ reason │\n└──────────────┴──────────┴──────────┴───────────┴────────┘\n```\n\n- **errno**: The application errno, using Linux's errno.h values.\n(Optional, can be 0.)\n- **shutdown**: Whether the shutdown originated from the inittable (0) or\nfrom the termtable (1).\n- **initlevel**: The initlevel at the time of the stop.\n- **reason**: The reason for the stop. See `StopCodeReason`.\n\n[^1]: Reserved for future use.\nNot used for template instances.",
                "minimum": 0
              },
              "restart_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceRestartPolicy"
                  }
                ],
                "description": "The restart configuration for the instance.\n\nWhen an instance stops either because the application exits or the instance\ncrashes, Unikraft Cloud can auto-restart your instance. Auto-restarts are\nperformed according to the restart policy configured for a particular\ninstance.\n\nThe policy can have the following values:\n\n| Policy | Description |\n|--------------|-------------|\n| `never` | Never restart the instance (default). |\n| `always` | Always restart the instance when the stop is initiated from within the instance (i.e., the application exits or the instance crashes). |\n| `on-failure` | Only restart the instance if it crashes. |\n\nWhen an instance stops, the stop reason and the configured restart policy\nare evaluated to decide if a restart should be performed. Unikraft Cloud\nuses an exponential back-off delay (immediate, 5s, 10s, 20s, 40s, ..., 5m)\nto slow down restarts in tight crash loops. If an instance runs without\nproblems for 10s the back-off delay is reset and the restart sequence ends.\n\nThe `restart.attempt` attribute reported in counts the number of restarts\nperformed in the current sequence. The `restart.next_at` field indicates\nwhen the next restart will take place if a back-off delay is in effect.\n\nA manual start or stop of the instance aborts the restart sequence and\nresets the back-off delay."
              },
              "scale_to_zero": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceScaleToZero"
                  }
                ],
                "description": "The scale-to-zero configuration for the instance.\n\nWith conventional cloud platforms you need to keep at least one instance\nrunning at all times to be able to respond to incoming requests. Performing\na just-in-time cold boot is simply too time-consuming and would create a\nresponse latency of multiple seconds. This is not the case with Unikraft\nCloud. Instances on Unikraft Cloud are able to cold boot within\nmilliseconds, which allows us to perform low-latency scale-to-zero.\n\nTo enable scale-to-zero for an instance it is sufficient to add a\n`scale_to_zero` configuration block. Unikraft Cloud will then put the\ninstance into standby if there is no traffic to your service within the\nwindow of a cooldown period. When there is new traffic coming in, it is\nautomatically started again.\n\nIf you have a heavyweight application that takes long to cold boot or has\nbad first request latency (e.g., with JIT compilation) consider to enable\nstateful scale-to-zero."
              },
              "service_group": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceServiceGroup"
                  }
                ],
                "description": "The service group configuration for the instance."
              },
              "services": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Services exposed by this instance (format: \"protocol:port\")."
              },
              "volumes": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceVolume"
                },
                "description": "The list of volumes attached to the instance."
              },
              "network_interfaces": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceNetworkInterface"
                },
                "description": "The network interfaces of the instance.\nNot used for template instances."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The tags associated with the instance."
              },
              "annotations": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "The annotations associated with the instance.\n\nKeys follow the Kubernetes annotation key syntax, `[<prefix>/]<name>`: the\noptional prefix is a non-wildcard DNS subdomain of at most 253 characters,\nand the name is at most 63 characters of `[-_.a-zA-Z0-9]` starting and\nending with an alphanumeric. Values are unconstrained apart from ASCII\ncontrol characters, which are rejected because they would corrupt the\nconsole log output annotations can be forwarded to.\n\nAn instance holds at most 256 annotations."
              },
              "snapshot": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceSnapshot"
                  }
                ],
                "description": "The snapshot of the instance, if exists."
              },
              "delete_lock": {
                "type": "boolean",
                "description": "If set to true, the instance cannot be deleted until the lock is removed."
              },
              "features": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceFeature"
                }
              },
              "restart": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceRestartAttempt"
                  }
                ],
                "description": "The current restart attempt for the instance.\nNot used for template instances."
              },
              "roms": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceRom"
                },
                "description": "Read-Only Memory (ROM) blobs to attach to the instance.\nUnikraft Cloud supports the ability to attach Read-Only Memory (ROM) blobs\nto instances. It allows you to create a general-purpose base image and\nthen customize individual instances by attaching code or data as separate\nROM blobs."
              },
              "plugins": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstancePlugin"
                },
                "description": "Plugins attached to the instance. Plugins let you attach small helper\nprograms to an instance and reach each one over a direct, authenticated\nHTTP endpoint. Each plugin loads from its own ROM image, mounts at\n`/uk/plugins/<plugin_name>`, and is reachable at\n`.../v1/instances/<uuid>/plugins/<plugin_name>/<path>`. At most 8\nplugins may be attached to an instance."
              },
              "schedules": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.Schedule"
                },
                "description": "Scheduled operations for this instance.\n\nEach schedule defines a calendar expression and an action (`start`,\n`stop`, `delete`, or `exec`) to perform at matching times. When the\naction is `exec`, the `args` field of the schedule specifies the command\nto run inside the instance."
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceAutokill"
                  }
                ],
                "description": "Automatic delete-on-idle/request-limit configuration.\nNot used for template instances."
              },
              "updates": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstancePendingUpdate"
                },
                "description": "Queued property changes awaiting application."
              },
              "sched_priority": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.SchedPriority"
                  }
                ],
                "description": "The scheduling priority for the instance. Only present for\nusers with scheduling priority override permissions."
              },
              "template_autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceTemplateAutokill"
                  }
                ],
                "description": "Template-specific automatic delete-on-idle configuration.\nNot used for non-template instances."
              },
              "checkpoint_autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceTemplateAutokill"
                  }
                ],
                "description": "Checkpoint-specific automatic delete-on-idle configuration.\nOnly used for checkpoint instances."
              },
              "private_ip": {
                "type": "string",
                "description": "The private IP address of the instance."
              },
              "gateway": {
                "type": "string",
                "description": "The default gateway configured inside the guest."
              },
              "nameserver": {
                "type": "string",
                "description": "The DNS resolver configured inside the guest."
              },
              "type": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceType"
                  }
                ],
                "description": "The type of virtual machine used to run the instance."
              },
              "gpus": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceGpu"
                },
                "description": "GPUs attached to the instance. Only present for instances of type\n`full`."
              }
            },
            "description": "Instance with per-item response envelope fields merged in."
          },
          "Common.ResponseStatus": {
            "type": "string",
            "enum": [
              "success",
              "error",
              "partial_success"
            ],
            "description": "The response status of an API request."
          },
          "Instances.InstanceState": {
            "type": "string",
            "enum": [
              "stopped",
              "starting",
              "running",
              "draining",
              "stopping",
              "template",
              "standby",
              "deleted",
              "checkpoint"
            ],
            "description": "The current state of an instance."
          },
          "Instances.InstanceScaleToZero": {
            "type": "object",
            "properties": {
              "enabled": {
                "type": "boolean",
                "description": "Indicates whether scale-to-zero is enabled for the instance."
              },
              "policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceScaleToZeroPolicy"
                  }
                ],
                "description": "The specific policy to use for scaling the instance to zero."
              },
              "stateful": {
                "type": "boolean",
                "description": "Whether the instance should be stateful when scaled to zero. If set to\ntrue, the instance will retain its state (e.g., RAM contents) when scaled\nto zero. This is useful for instances that need to maintain their state\nacross scale-to-zero operations. If set to false, the instance will lose\nits state when scaled to zero, and it will be restarted from scratch when\nscaled back up."
              },
              "cooldown_time_ms": {
                "type": "integer",
                "description": "The cooldown time in milliseconds before the instance can be scaled to\nzero again. This is useful to prevent rapid scaling to zero and back up,\nwhich can lead to performance issues or resource exhaustion."
              },
              "notify_time_ms": {
                "type": "integer",
                "description": "The notification time in milliseconds before the instance is scaled to\nzero. This allows the instance to perform any necessary cleanup or state\nsaving before being scaled down."
              }
            },
            "description": "Scale-to-zero defines the configuration for scaling the instance to zero.\nWhen an instance is scaled-to-zero it can be either stopped (and fully\nshutdown) or paused wherein the state of the instance is preserved (e.g.,\nRAM contents) and the instance can be resumed later without losing its\nstate, i.e. \"stateful\"."
          },
          "Instances.InstanceServiceGroup": {
            "type": "object",
            "required": [
              "uuid",
              "name"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The human-readable name of the resource."
              },
              "domains": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.ServiceGroupInstanceDomain"
                },
                "description": "The domain configuration for the service group."
              }
            },
            "description": "The service group configuration for the instance. This is a reference to the\nservice group that the instance is part of. The service group defines the\nservices (e.g. ports, connection handling) that the instance exposes and how\nthey are configured."
          },
          "Instances.ServiceGroupInstanceDomain": {
            "type": "object",
            "required": [
              "fqdn"
            ],
            "properties": {
              "fqdn": {
                "type": "string",
                "description": "Publicly accessible domain name.\n\nIf this name ends in a period `.` it must be a valid Full Qualified\nDomain Name (FQDN), otherwise it will become a subdomain of the target\nmetro."
              },
              "certificate": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "The certificate associated with the domain.\n\nThe certificate is used to secure the domain with TLS/SSL. If no\ncertificate is specified, Unikraft Cloud will automatically generate a\nnew certificate for the domain based on Let's Encrypt and seek to\naccomplish a DNS-01 challenge."
              }
            },
            "description": "The domain configuration for the service group. Domain names are completely\nspecified with all labels in the hierarchy of the DNS, having no parts\nomitted. The domain can be associated with an existing certificate by\nspecifying the certificate's name or UUID. If no certificate is specified\nand a FQDN is provided, Unikraft Cloud will automatically generate a new\ncertificate for the domain based on Let's Encrypt and seek to accomplish a\nDNS-01 challenge."
          },
          "Instances.InstanceVolume": {
            "type": "object",
            "required": [
              "uuid",
              "name",
              "at",
              "readonly"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The human-readable name of the resource."
              },
              "at": {
                "type": "string",
                "description": "The mount point of the volume in the instance. This is the directory in\nthe instance where the volume will be mounted."
              },
              "readonly": {
                "type": "boolean",
                "description": "Whether the volume is read-only or not."
              }
            },
            "description": "A volume defines a storage which can be attached to the instance. Volumes\ncan be used to store persistent data which should remain available even if\nthe instance is stopped or restarted."
          },
          "Instances.InstanceNetworkInterface": {
            "type": "object",
            "required": [
              "uuid",
              "private_ip",
              "mac"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              },
              "private_ip": {
                "type": "string",
                "description": "The private IP address of the network interface. This is the internal IP\naddress that is used for communication between instances within the same\nnetwork."
              },
              "mac": {
                "type": "string",
                "description": "The MAC address of the network interface."
              },
              "name": {
                "type": "string",
                "description": "The interface name. If omitted, Unikraft Cloud generates one as\n<instance-name>-ethX, falling back to eth-<suffix> when the\ninstance name is too long."
              },
              "tap_name": {
                "type": "string",
                "description": "The TAP device to attach the interface. Provide it together with ip."
              },
              "autoconfig": {
                "type": "boolean",
                "description": "Whether the interface is automatically configured inside the guest\n(IP address, routes, etc.). When absent or true, autoconfiguration\nis enabled. Present and false when the guest is expected to\nconfigure the interface manually."
              },
              "relay": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceNetworkInterfaceRelay"
                  }
                ],
                "description": "Relay configuration for this interface."
              }
            },
            "description": "A network interface attached to an instance."
          },
          "Instances.InstanceNetworkInterfaceRelay": {
            "type": "object",
            "required": [
              "uuid",
              "name",
              "relay_dns"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the relay interface."
              },
              "name": {
                "type": "string",
                "description": "Name of the relay interface."
              },
              "relay_dns": {
                "type": "boolean",
                "description": "Whether DNS traffic is relayed through this interface.\nDefaults to true."
              }
            },
            "description": "An object that routes all traffic through another interface."
          },
          "Instances.InstanceSnapshot": {
            "type": "object",
            "required": [
              "uuid"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "description": "A snapshot reference for an instance."
          },
          "Instances.InstanceRestartAttempt": {
            "type": "object",
            "required": [
              "attempt"
            ],
            "properties": {
              "attempt": {
                "type": "integer",
                "description": "Current restart attempt number. This is incremented each time the instance\nis restarted automatically by the platform.",
                "minimum": 0
              },
              "next_at": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp of the next scheduled restart attempt."
              }
            },
            "description": "Restart attempt information for an instance."
          },
          "Instances.InstanceRom": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the ROM to use for the instance configuration."
              },
              "image": {
                "type": "string",
                "description": "The image of the ROM to use for the instance configuration. Mutually\nexclusive with `files`."
              },
              "at": {
                "type": "string",
                "description": "The path at which the ROM should be automatically mounted inside the\ninstance. When set, the platform mounts the ROM device at the specified\npath so the guest does not need to mount it manually. When omitted, the\nROM is exposed as a raw block device and the guest is responsible for\nmounting it."
              },
              "files": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Common.InlineFile"
                },
                "description": "Inline files to use as the ROM content. When specified, the platform\ncreates an EROFS image from the provided files. Mutually exclusive with\n`image`."
              }
            },
            "description": "A ROM attached to an instance."
          },
          "Instances.InstancePlugin": {
            "type": "object",
            "required": [
              "name",
              "image"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The plugin name. It becomes the `<plugin_name>` segment in the plugin\nendpoint (`.../plugins/<plugin_name>/<path>`). A plugin name has a\nmaximum length of 63 characters and contains only letters (`a`-`z`,\n`A`-`Z`), digits (`0`-`9`), hyphen (`-`), and underscore (`_`)."
              },
              "image": {
                "type": "string",
                "description": "The plugin's image, given as an image reference string such as\n`user/myplugin:latest`. The platform loads the image, mounts it at\n`/uk/plugins/<plugin_name>`, and runs its `init` program when the\nplugin starts."
              },
              "config": {
                "description": "Arbitrary JSON configuration that the platform passes to the plugin's\n`init` program on `STDIN`. Any JSON value works, including a string, a\nnumber, or an object."
              }
            },
            "description": "A helper program attached to the instance and reachable over a direct,\nauthenticated HTTP endpoint. A plugin runs inside the instance next to\nthe main application, loads from its own ROM image, and answers requests\nthat the Unikraft Cloud API forwards to it."
          },
          "Instances.Schedule": {
            "type": "object",
            "required": [
              "name",
              "when",
              "action"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the schedule.\n\nMust be unique within an instance."
              },
              "when": {
                "type": "string",
                "description": "The calendar expression specifying when the action should be performed.\n\nUses systemd calendar event syntax.\nSee https://www.man7.org/linux/man-pages/man7/systemd.time.7.html"
              },
              "action": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.ScheduleAction"
                  }
                ],
                "description": "The action to perform at the scheduled time."
              },
              "next_at": {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp of when the next scheduled action will occur.\n\nThis field is populated only in responses (not settable in requests).\nOmitted if no next execution is scheduled.",
                "readOnly": true
              },
              "args": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The command to execute when the action is `exec`.\n\nRequired when `action` is `SCHEDULE_ACTION_EXEC`, ignored otherwise.\nEach element is a separate argument; the first element is the executable."
              }
            },
            "description": "A schedule defines when an action should be performed on an instance.\n\nEach schedule specifies a name, a calendar expression following systemd\ncalendar event syntax, and an action (start, stop, delete, or exec).\n\nCalendar expressions format:\n\n[weekday] [[year-]month-day] [hour:minute[:second]]\n\nSupported syntax:\n\n- `*` - Any value\n- `5` - Exact value\n- `1..5` - Range\n- `1..5/2` - Range with step\n- `1,2,5` - Comma-separated list\n\nExample: `*-*-* 09:00:00` - Every day at 09:00 UTC\nExample: `Sat,Sun *-*-* 20:00:00` - Every Saturday and Sunday at 20:00 UTC"
          },
          "Instances.ScheduleAction": {
            "type": "string",
            "enum": [
              "start",
              "stop",
              "delete",
              "exec"
            ],
            "description": "The action to perform on a scheduled operation."
          },
          "Instances.InstanceAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the instance was stopped before it is deleted.\nA value of 0 disables time-based autokill.",
                "minimum": 0
              },
              "num_requests": {
                "type": "integer",
                "description": "Maximum number of requests/connections the instance serves before it is\ndeleted. A value of 0 disables request-based autokill.",
                "minimum": 0
              }
            },
            "description": "Automatic delete-on-idle/request-limit configuration for non-template\ninstances. Not used for template instances."
          },
          "Instances.InstancePendingUpdate": {
            "type": "object",
            "required": [
              "prop",
              "op",
              "value",
              "status"
            ],
            "properties": {
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableInstanceProperty"
                  }
                ],
                "description": "The property being updated."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableInstanceOperation"
                  }
                ],
                "description": "The patch operation type."
              },
              "value": {
                "description": "The new value for the property. Type depends on the property being updated."
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "failed"
                ],
                "description": "The status of this update."
              },
              "error": {
                "type": "string",
                "description": "Error message. Only present when status is \"failed\"."
              }
            },
            "description": "A queued property change awaiting application on an instance."
          },
          "Instances.MutableInstanceProperty": {
            "type": "string",
            "enum": [
              "image",
              "args",
              "env",
              "memory_mb",
              "vcpus",
              "scale_to_zero",
              "tags",
              "delete_lock",
              "schedules",
              "autokill",
              "hostname",
              "roms",
              "dependencies",
              "sched_priority",
              "plugins",
              "annotations"
            ],
            "description": "The mutable properties of an instance that can be updated."
          },
          "Instances.MutableInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable instance operations."
          },
          "Common.SchedPriority": {
            "type": "string",
            "enum": [
              "normal",
              "medium",
              "high",
              "admin"
            ],
            "description": "SchedPriority defines the scheduling priority for an instance.\nUser requires the `override_vm_priority` permission to change it.\n\nThe list of available scheduling priorities:\n\n| Priority | Description |\n|----------|-------------|\n| `normal` | Default scheduling priority. |\n| `medium` | Medium scheduling priority. |\n| `high`   | High scheduling priority. |\n| `admin`  | Admin scheduling priority. |"
          },
          "Instances.InstanceTemplateAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the template was last used for cloning before\nit is deleted. A value of 0 disables template autokill.",
                "minimum": 0
              }
            },
            "description": "Autokill configuration for a template instance."
          },
          "Instances.InstanceType": {
            "type": "string",
            "enum": [
              "micro",
              "full"
            ],
            "description": "The type of virtual machine used to run an instance.\n\n| Type    | Description |\n|---------|-------------|\n| `micro` | A lightweight microVM (default). Boots in milliseconds and is suitable for most workloads. |\n| `full`  | A full virtual machine with broader hardware support, such as GPU passthrough. Requires a plan with full VM support. |"
          },
          "Instances.InstanceGpu": {
            "type": "object",
            "required": [
              "uuid",
              "model"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the GPU."
              },
              "model": {
                "type": "string",
                "description": "The GPU model, given as its PCI vendor and device ID in the form\n`<vendor>:<device>`."
              }
            },
            "description": "A GPU attached to the instance."
          },
          "Instances.TemplateAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the template was last used for cloning before\nit is deleted. A value of 0 disables template autokill.",
                "minimum": 0
              }
            },
            "description": "Automatic delete-on-idle configuration for the template instance. Only\napplies when `prepare` is set."
          },
          "Instances.CreateInstanceRequestAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the instance was stopped before it is deleted.\nA value of 0 disables time-based autokill.",
                "minimum": 0
              },
              "num_requests": {
                "type": "integer",
                "description": "Maximum number of requests/connections the instance serves before it is\ndeleted. A value of 0 disables request-based autokill.",
                "minimum": 0
              }
            },
            "description": "Automatic delete-on-idle/request-limit configuration for non-template instances."
          },
          "Instances.CreateInstanceRequestNetworkInterface": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "The interface name. If omitted, Unikraft Cloud generates one as\n<instance-name>-ethX, falling back to eth-<suffix> when the\ninstance name is too long."
              },
              "tap_name": {
                "type": "string",
                "description": "The TAP device to attach the interface to. Provide it together\nwith ip."
              },
              "ip": {
                "type": "string",
                "description": "The interface IP address in CIDR notation. Provide it together\nwith tap_name to bring your own interface."
              },
              "mac": {
                "type": "string",
                "description": "The interface MAC address. Provide it together with tap_name. Must be\na unicast address outside the platform's address pool."
              },
              "autoconfig": {
                "type": "boolean",
                "description": "Whether the guest configures the interface itself. Defaults to true."
              },
              "relay": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.NetworkInterfaceRelay"
                  }
                ],
                "description": "Relay configuration for this interface."
              }
            },
            "description": "Network interface configuration for a new instance."
          },
          "Instances.NetworkInterfaceRelay": {
            "type": "object",
            "properties": {
              "relay_dns": {
                "type": "boolean",
                "description": "Whether the relay forwards DNS requests. Set to false\nto let the default DNS server handle them instead.\nDefaults to true."
              },
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An object that routes all traffic through another interface.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ]
              },
              {
                "required": [
                  "name"
                ]
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instances",
      "kind": "platform",
      "path": "/v1/instances",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tags",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Instances",
      "description": "Get one or many instances with their current status and configuration.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_instances",
      "kind": "platform",
      "path": "/v1/instances",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Instances",
      "description": "Delete instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.DeleteInstanceRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.DeleteInstanceRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the instance to be deleted. No wait\nperformed for a value of 0."
              },
              "dont_retain": {
                "type": "boolean",
                "description": "Delete immediately without retention. If the instance is already\nbeing retained, this will force its deletion. Ignored if retention\nfor instances is not configured."
              }
            },
            "description": "The request item for deleting an instance by its UUID or name."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_instances",
      "kind": "platform",
      "path": "/v1/instances",
      "method": "PATCH",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update Instances",
      "description": "Update instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.UpdateInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.UpdateInstancesRequestItem": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableInstanceProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableInstanceOperation"
                  }
                ],
                "description": "The operation to perform on the property."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": image reference string, or object with image url,\ncredentials, headers and pull policy\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields)\nfor SET/ADD, or array of schedule names for DEL. Use action \"exec\" together with args to\nexecute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"plugins\": array of plugin objects (with name, image, and optional config fields)\nfor SET/ADD. The deprecated `rom` field is accepted in place of `image`.\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")\n- For \"annotations\": object (for SET/ADD) or string/array of strings (for DEL)"
              }
            },
            "description": "A single update operation to be applied to an instance."
          },
          "Instances.MutableInstanceProperty": {
            "type": "string",
            "enum": [
              "image",
              "args",
              "env",
              "memory_mb",
              "vcpus",
              "scale_to_zero",
              "tags",
              "delete_lock",
              "schedules",
              "autokill",
              "hostname",
              "roms",
              "dependencies",
              "sched_priority",
              "plugins",
              "annotations"
            ],
            "description": "The mutable properties of an instance that can be updated."
          },
          "Instances.MutableInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable instance operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_checkpoint_instances",
      "kind": "platform",
      "path": "/v1/instances/checkpoints",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tags",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Checkpoint Instances",
      "description": "Get one or more checkpoint instances by their UUID(s) or name(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_checkpoint_instances",
      "kind": "platform",
      "path": "/v1/instances/checkpoints",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Checkpoint Instances",
      "description": "Create a checkpoint from an existing instance. A checkpoint captures the\nstate of an instance at a specific point in time. Checkpoints can be\ncreated from running, stopped, or standby instances.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.CreateCheckpointInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.CreateCheckpointInstancesRequestItem": {
            "type": "object",
            "required": [
              "from"
            ],
            "properties": {
              "from": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "The source instance to create a checkpoint from (by name or UUID)."
              },
              "name": {
                "type": "string",
                "description": "The name of the checkpoint. If not provided, a name will be generated."
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the checkpoint to be created.\nNo wait performed for a value of 0."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Tags to associate with the checkpoint."
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.CheckpointAutokill"
                  }
                ],
                "description": "Automatic delete-on-idle configuration for the new checkpoint."
              }
            },
            "description": "A single checkpoint creation request."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          },
          "Instances.CheckpointAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the checkpoint was last used for restoring\nbefore it is deleted. A value of 0 disables checkpoint autokill.",
                "minimum": 0
              }
            },
            "description": "Automatic delete-on-idle configuration for the checkpoint instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_checkpoint_instances",
      "kind": "platform",
      "path": "/v1/instances/checkpoints",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Checkpoint Instances",
      "description": "Delete the specified checkpoint instance(s) by ID(s) (name or UUID).\nAfter this call the IDs of the checkpoint instances are no longer valid.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_checkpoint_instances",
      "kind": "platform",
      "path": "/v1/instances/checkpoints",
      "method": "PATCH",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update Checkpoint Instances",
      "description": "Update (modify) one or more checkpoint instances by ID(s) (name or UUID).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.UpdateCheckpointInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.UpdateCheckpointInstancesRequestItem": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableCheckpointInstanceProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableCheckpointInstanceOperation"
                  }
                ],
                "description": "The operation to perform on the property."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"autokill\": object with time_ms field"
              }
            },
            "description": "A single update operation to be applied to a checkpoint instance."
          },
          "Instances.MutableCheckpointInstanceProperty": {
            "type": "string",
            "enum": [
              "tags",
              "delete_lock",
              "autokill"
            ],
            "description": "The mutable properties of a checkpoint instance that can be updated."
          },
          "Instances.MutableCheckpointInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "The operations available on a checkpoint instance's properties."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_checkpoint_history",
      "kind": "platform",
      "path": "/v1/instances/checkpoints/history",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Checkpoint History",
      "description": "Get the checkpoint history of one or more checkpoint instances.\nReturns the ordered list of checkpoints in each checkpoint's history.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_checkpoint_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/checkpoints/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "title": "Get Checkpoint Instance by UUID",
      "description": "Get a single checkpoint instance by its UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "query": {
            "type": "object",
            "properties": {
              "details": {
                "type": "boolean"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_checkpoint_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/checkpoints/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Checkpoint Instance by UUID",
      "description": "Delete a specified checkpoint instance by its UUID. After this call the\nUUID of the checkpoint instance is no longer valid.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_checkpoint_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/checkpoints/{uuid}",
      "method": "PATCH",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update Checkpoint Instance by UUID",
      "description": "Update (modify) a checkpoint instance by its UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.UpdateCheckpointInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.UpdateCheckpointInstanceByUUIDRequestBody": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableCheckpointInstanceProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableCheckpointInstanceOperation"
                  }
                ],
                "description": "The operation to perform on the property."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"autokill\": object with time_ms field"
              }
            },
            "description": "Request body for updating a single checkpoint instance by UUID."
          },
          "Instances.MutableCheckpointInstanceProperty": {
            "type": "string",
            "enum": [
              "tags",
              "delete_lock",
              "autokill"
            ],
            "description": "The mutable properties of a checkpoint instance that can be updated."
          },
          "Instances.MutableCheckpointInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "The operations available on a checkpoint instance's properties."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_checkpoint_history_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/checkpoints/{uuid}/history",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Checkpoint History by UUID",
      "description": "Get the checkpoint history of a checkpoint instance by its UUID.\nReturns the ordered list of checkpoints in the checkpoint's history.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_history",
      "kind": "platform",
      "path": "/v1/instances/history",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Instances Checkpoint History",
      "description": "Get the checkpoint history of one or more instances.\nReturns the ordered list of checkpoints associated with each instance.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_logs",
      "kind": "platform",
      "path": "/v1/instances/log",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "offset",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "limit",
          "group": "query",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Instances Logs",
      "description": "Get instances logs.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "offset": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "description": "The byte offset of the log output to receive. A negative sign makes the\noffset relative to the end of the log."
              },
              "limit": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "description": "The amount of bytes to return at most."
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.GetInstancesLogsRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.GetInstancesLogsRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "offset": {
                "type": "integer",
                "description": "The byte offset of the log output to receive. A negative sign makes the\noffset relative to the end of the log."
              },
              "limit": {
                "type": "integer",
                "description": "The amount of bytes to return at most."
              }
            },
            "description": "A single request item to get an instance's logs."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_metrics",
      "kind": "platform",
      "path": "/v1/instances/metrics",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Instances Metrics",
      "description": "Get instances metrics.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_start_instances",
      "kind": "platform",
      "path": "/v1/instances/start",
      "method": "PUT",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Start Instances",
      "description": "Start instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.StartInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.StartInstancesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "wait_timeout_ms": {
                "type": "integer",
                "description": "Deprecated: Use `timeout_s` instead. Timeout in milliseconds to\nwait for the instance to reach running state. If `timeout_s` is\nnot set, this value is converted by rounding up to the next full\nsecond. No wait performed for a value of 0.",
                "deprecated": true
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the instance to reach running\nstate. If you start your instance, you can wait for it to\nfinish starting with a blocking API call if you specify a wait\ntimeout greater than zero. No wait performed for a value of 0."
              }
            },
            "description": "A single request item to start an instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_stop_instances",
      "kind": "platform",
      "path": "/v1/instances/stop",
      "method": "PUT",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Stop Instances",
      "description": "Stop instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.StopInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.StopInstancesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "force": {
                "type": "boolean",
                "description": "Whether to immediately force stop the instance."
              },
              "drain_timeout_ms": {
                "type": "integer",
                "description": "Timeout for draining connections in milliseconds.\nNo draining will occur if set to 0. The instance\ndoes not receive new connections in the draining\nphase. The instance is stopped when the last\nconnection has been closed or the timeout expired.\nThe maximum timeout may vary. Use -1 for the\nlargest possible value. Ignored if force is set.\n\nNote: This endpoint does not block. Use the wait\nendpoint for the instance to reach the stopped\nstate.",
                "minimum": -1
              },
              "quick": {
                "type": "boolean",
                "description": "Whether to perform a quick shutdown. This flag is\noverridden by force."
              },
              "ifstate": {
                "type": "string",
                "description": "Only stop the instance if it is in this state."
              },
              "dump": {
                "type": "boolean",
                "description": "If set, forces the VMM to shutdown immediately and generate a coredump.\nCan only be used in conjunction with force."
              }
            },
            "description": "A single request item to stop an instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_suspend_instances",
      "kind": "platform",
      "path": "/v1/instances/suspend",
      "method": "PUT",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Suspend Instances",
      "description": "Suspend instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.SuspendInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.SuspendInstancesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "drain_timeout_ms": {
                "type": "integer",
                "description": "Timeout for draining connections in milliseconds. No draining\nwill occur if set to 0. Use -1 for the largest possible value.",
                "minimum": -1
              }
            },
            "description": "A single request item to suspend an instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_template_instances",
      "kind": "platform",
      "path": "/v1/instances/templates",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create template instances from Instances",
      "description": "Convert instances to template instances.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.CreateTemplateInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.CreateTemplateInstancesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the template instances to be created.\nA value of -1 means to wait indefinitely until the instance reaches the\ndesired state. No wait performed for a value of 0."
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.ItemAutokill"
                  }
                ],
                "description": "Automatic delete-on-idle configuration for the new template."
              }
            },
            "description": "A single template instance to be created."
          },
          "Instances.ItemAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the template was last used for cloning before\nit is deleted. A value of 0 disables template autokill.",
                "minimum": 0
              }
            },
            "description": "Automatic delete-on-idle configuration for the template instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_template_instances",
      "kind": "platform",
      "path": "/v1/instances/templates",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tags",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List template instances",
      "description": "Get one or more template instances.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_template_instances",
      "kind": "platform",
      "path": "/v1/instances/templates",
      "method": "PATCH",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update template instances",
      "description": "Update template instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.UpdateTemplateInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.UpdateTemplateInstancesRequestItem": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableTemplateInstanceProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableTemplateInstanceOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and\noperation:\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"autokill\": object with time_ms field"
              }
            },
            "description": "A single template instance update request item."
          },
          "Instances.MutableTemplateInstanceProperty": {
            "type": "string",
            "enum": [
              "tags",
              "delete_lock",
              "autokill"
            ],
            "description": "The mutable properties of a template instance that can be updated."
          },
          "Instances.MutableTemplateInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable template instance operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_template_instances",
      "kind": "platform",
      "path": "/v1/instances/templates",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete template instances",
      "description": "Delete template instances by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_template_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/templates/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "title": "Get template instance by UUID",
      "description": "Get a single template instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "query": {
            "type": "object",
            "properties": {
              "details": {
                "type": "boolean"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_template_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/templates/{uuid}",
      "method": "PATCH",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update template instance by UUID",
      "description": "Update a template instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.UpdateTemplateInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.UpdateTemplateInstanceByUUIDRequestBody": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableTemplateInstanceProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableTemplateInstanceOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and\noperation:\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"autokill\": object with time_ms field"
              }
            }
          },
          "Instances.MutableTemplateInstanceProperty": {
            "type": "string",
            "enum": [
              "tags",
              "delete_lock",
              "autokill"
            ],
            "description": "The mutable properties of a template instance that can be updated."
          },
          "Instances.MutableTemplateInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable template instance operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_template_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/templates/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete template instance by UUID",
      "description": "Delete a template instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_wait_instances",
      "kind": "platform",
      "path": "/v1/instances/wait",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "state",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "timeout_ms",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "timeout_s",
          "group": "query",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Wait for Instances States",
      "description": "Wait for instances to reach states.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "state": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Instances.InstanceState"
                },
                "description": "The desired state to wait for. Default is `running`."
              },
              "timeout_ms": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "timeout_s": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Instances.WaitInstancesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Instances.InstanceState": {
            "type": "string",
            "enum": [
              "stopped",
              "starting",
              "running",
              "draining",
              "stopping",
              "template",
              "standby",
              "deleted",
              "checkpoint"
            ],
            "description": "The current state of an instance."
          },
          "Instances.WaitInstancesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "state": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceState"
                  }
                ],
                "description": "The desired state to wait for. Default is `running`."
              },
              "timeout_ms": {
                "type": "integer",
                "description": "Deprecated: Use `timeout_s` instead. Timeout in milliseconds to\nwait for the instance to reach the desired state. If `timeout_s` is\nnot set, this value is converted by rounding up to the next full\nsecond. A value of -1 means to wait indefinitely.",
                "deprecated": true
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the instance to reach the desired\nstate. If the timeout is reached, the request will fail with an\nerror. A value of -1 means to wait indefinitely until the instance\nreaches the desired state. No wait performed for a value of 0."
              }
            },
            "description": "A single request item to wait for an instance's state."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "title": "Get Instance by UUID",
      "description": "Get a single instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "query": {
            "type": "object",
            "properties": {
              "details": {
                "type": "boolean"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Delete Instance by UUID",
      "description": "Delete instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.DeleteInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path"
        ],
        "definitions": {
          "Instances.DeleteInstanceByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the instance to be deleted. No wait\nperformed for a value of 0."
              },
              "dont_retain": {
                "type": "boolean",
                "description": "Delete immediately without retention. If the instance is already\nbeing retained, this will force its deletion. Ignored if retention\nfor instances is not configured."
              }
            },
            "description": "Parameters for deleting the instance by UUID."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}",
      "method": "PATCH",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update Instance by UUID",
      "description": "Update instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.UpdateInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.UpdateInstanceByUUIDRequestBody": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableInstanceProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.MutableInstanceOperation"
                  }
                ],
                "description": "The operation to perform on the property."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": image reference string, or object with image url,\ncredentials, headers and pull policy\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields)\nfor SET/ADD, or array of schedule names for DEL. Use action \"exec\" together with args to\nexecute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"plugins\": array of plugin objects (with name, image, and optional config fields)\nfor SET/ADD. The deprecated `rom` field is accepted in place of `image`.\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")\n- For \"annotations\": object (for SET/ADD) or string/array of strings (for DEL)"
              }
            }
          },
          "Instances.MutableInstanceProperty": {
            "type": "string",
            "enum": [
              "image",
              "args",
              "env",
              "memory_mb",
              "vcpus",
              "scale_to_zero",
              "tags",
              "delete_lock",
              "schedules",
              "autokill",
              "hostname",
              "roms",
              "dependencies",
              "sched_priority",
              "plugins",
              "annotations"
            ],
            "description": "The mutable properties of an instance that can be updated."
          },
          "Instances.MutableInstanceOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable instance operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_history_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/history",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Instance Checkpoint History by UUID",
      "description": "Get the checkpoint history of an instance by its UUID.\nReturns the ordered list of checkpoints associated with the instance.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_logs_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/log",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Instance Logs by UUID",
      "description": "Get instance logs by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.GetInstanceLogsByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.GetInstanceLogsByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "offset": {
                "type": "integer",
                "description": "The byte offset of the log output to receive. A negative sign makes the\noffset relative to the end of the log."
              },
              "limit": {
                "type": "integer",
                "description": "The amount of bytes to return at most."
              }
            }
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_instance_metrics_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/metrics",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Instance Metrics by UUID",
      "description": "Get instance metrics by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_start_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/start",
      "method": "PUT",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Start Instance by UUID",
      "description": "Start instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.StartInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.StartInstanceByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "wait_timeout_ms": {
                "type": "integer",
                "description": "Deprecated: Use `timeout_s` instead. Timeout in milliseconds to\nwait for the instance to reach running state. If `timeout_s` is\nnot set, this value is converted by rounding up to the next full\nsecond. No wait performed for a value of 0.",
                "deprecated": true
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the instance to reach running\nstate. If you start your instance, you can wait for it to\nfinish starting with a blocking API call if you specify a wait\ntimeout greater than zero. No wait performed for a value of 0."
              }
            },
            "description": "Parameters for starting the instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_stop_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/stop",
      "method": "PUT",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Stop Instance by UUID",
      "description": "Stop instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.StopInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.StopInstanceByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "force": {
                "type": "boolean",
                "description": "Whether to immediately force stop the instance."
              },
              "drain_timeout_ms": {
                "type": "integer",
                "description": "Timeout for draining connections in milliseconds.\nNo draining will occur if set to 0. The instance\ndoes not receive new connections in the draining\nphase. The instance is stopped when the last\nconnection has been closed or the timeout expired.\nThe maximum timeout may vary. Use -1 for the\nlargest possible value. Ignored if force is set.\n\nNote: This endpoint does not block. Use the wait\nendpoint for the instance to reach the stopped\nstate.",
                "minimum": -1
              },
              "quick": {
                "type": "boolean",
                "description": "Whether to perform a quick shutdown. This flag is\noverridden by force."
              },
              "ifstate": {
                "type": "string",
                "description": "Only stop the instance if it is in this state."
              },
              "dump": {
                "type": "boolean",
                "description": "If set, forces the VMM to shutdown immediately and generate a coredump.\nCan only be used in conjunction with force."
              }
            },
            "description": "Parameters for stopping the instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_suspend_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/suspend",
      "method": "PUT",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Suspend Instance by UUID",
      "description": "Suspend instance by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.SuspendInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.SuspendInstanceByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "drain_timeout_ms": {
                "type": "integer",
                "description": "Timeout for draining connections in milliseconds. No draining\nwill occur if set to 0. Use -1 for the largest possible value.",
                "minimum": -1
              }
            },
            "description": "Parameters for suspending the instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_wait_instance_by_uuid",
      "kind": "platform",
      "path": "/v1/instances/{uuid}/wait",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Wait for Instance State by UUID",
      "description": "Wait for instance state by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Instances.WaitInstanceByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Instances.WaitInstanceByUUIDRequestBody": {
            "type": "object",
            "required": [
              "state"
            ],
            "properties": {
              "state": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.InstanceState"
                  }
                ],
                "description": "The desired state to wait for. Default is `running`."
              },
              "timeout_ms": {
                "type": "integer",
                "description": "Deprecated: Use `timeout_s` instead. Timeout in milliseconds to\nwait for the instance to reach the desired state. If `timeout_s` is\nnot set, this value is converted by rounding up to the next full\nsecond. A value of -1 means to wait indefinitely.",
                "deprecated": true
              },
              "timeout_s": {
                "type": "integer",
                "description": "Timeout in seconds to wait for the instance to reach the desired\nstate. If the timeout is reached, the request will fail with an\nerror. A value of -1 means to wait indefinitely until the instance\nreaches the desired state. No wait performed for a value of 0."
              }
            },
            "description": "Wait parameters."
          },
          "Instances.InstanceState": {
            "type": "string",
            "enum": [
              "stopped",
              "starting",
              "running",
              "draining",
              "stopping",
              "template",
              "standby",
              "deleted",
              "checkpoint"
            ],
            "description": "The current state of an instance."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_service_group",
      "kind": "platform",
      "path": "/v1/services",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Service Group",
      "description": "Create a new service group.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Services.CreateServiceGroupRequest"
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Services.CreateServiceGroupRequest": {
            "type": "object",
            "required": [
              "services"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Name of the service group. This is a human-readable name that can be used\nto identify the service group. The name must be unique within the context\nof your account. If no name is specified, a random name is generated for\nyou. The name can also be used to identify the service group in API calls."
              },
              "services": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Services.Service"
                },
                "description": "Services to expose. At least one service is required."
              },
              "domains": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Services.CreateServiceGroupRequestDomain"
                },
                "description": "Description of domains associated with the service group."
              },
              "soft_limit": {
                "type": "integer",
                "description": "The soft limit is used by the Unikraft Cloud load balancer to decide when\nto wake up another standby instance.\n\nFor example, if the soft limit is set to 5 and the service consists of 2\nstandby instances, one of the instances receives up to 5 concurrent\nrequests. The 6th parallel requests wakes up the second instance. If\nthere are no more standby instances to wake up, the number of requests\nassigned to each instance will exceed the soft limit. The load balancer\nmakes sure that when the number of in-flight requests goes down again,\ninstances are put into standby as fast as possible.",
                "minimum": 0
              },
              "hard_limit": {
                "type": "integer",
                "description": "The hard limit defines the maximum number of concurrent requests that an\ninstance assigned to the this service can handle.\n\nThe load balancer will never assign more requests to a single instance. In\ncase there are no other instances available, excess requests fail (i.e.,\nthey are blocked and not queued).",
                "minimum": 0
              },
              "autokill": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Services.CreateServiceGroupRequestAutokill"
                  }
                ],
                "description": "Automatic delete-on-idle configuration."
              }
            },
            "description": "The request message for creating a new service group."
          },
          "Services.Service": {
            "type": "object",
            "required": [
              "port"
            ],
            "properties": {
              "port": {
                "type": "integer",
                "description": "This is the public-facing port that the service will be accessible from\non the Internet.",
                "minimum": 0
              },
              "destination_port": {
                "type": "integer",
                "description": "The port number that the instance is listening on. This is the internal\nport which Unikraft Cloud will forward traffic to.",
                "minimum": 0
              },
              "protocol": {
                "$ref": "#/definitions/Services.ServiceProtocol"
              },
              "ip": {
                "type": "string"
              },
              "handlers": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Services.ConnectionHandler"
                },
                "description": "Connection handlers to use for the service. Handlers define how the\nservice will handle incoming connections and forward traffic from the\nInternet to your application. For example, a service can be configured\nto terminate TLS connections, redirect HTTP traffic, or enable HTTP mode\nfor load balancing. You configure the handlers for every published\nservice port individually."
              }
            },
            "description": "A service connects a public-facing port to an internal destination port on\nwhich an application instance listens on. Additional handlers can be\ndefined for each published port in order to define how the service will\nhandle incoming connections and forward traffic from the Internet to your\napplication. For example, a service can be configured to terminate TLS\nconnections, redirect HTTP traffic, or enable HTTP mode for load balancing."
          },
          "Services.ServiceProtocol": {
            "type": "string",
            "enum": [
              "tcp",
              "udp"
            ],
            "description": "Protocol for a service."
          },
          "Services.ConnectionHandler": {
            "type": "string",
            "enum": [
              "tls",
              "http",
              "redirect"
            ],
            "description": "Connection handlers to use for the service.\n\nHandlers define how the service will handle incoming connections and\nforward traffic from the Internet to your application. For example, a\nservice can be configured to terminate TLS connections, redirect HTTP\ntraffic, or enable HTTP mode for load balancing. You configure the handlers\nfor every published service port individually.\n\nThere are currently 3 supported handlers:\n\n| Handler    | Description |\n|------------|-------------|\n| `tls`      | Terminate the TLS connection at the Unikraft Cloud gateway using our wildcard certificate issued for the kraft.cloud domain. The gateway forwards the unencrypted traffic to your application. |\n| `http`     | Enable HTTP mode on the load balancer to load balance on the level of individual HTTP requests. In this mode, only HTTP connections are accepted. If this option is not set the load balancer works in TCP mode and distributes TCP connections. |\n| `redirect` | Redirect traffic from the source port to the destination port. |\n\nNote that there is a set of constraints when publishing ports:\n\n- Port 80: MUST have \"http\" and MUST not have \"tls\" set;\n- Port 443: MUST have http and tls set;\n- The `redirect` handler can only be set on port 80 (HTTP) to redirect to\nport 443 (HTTPS);\n- All other ports MUST have tls and MUST not have http set."
          },
          "Services.CreateServiceGroupRequestDomain": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Publicly accessible domain name. If this name ends in a period `.` it must\nbe a valid Full Qualified Domain Name (FQDN), otherwise it will become a\nsubdomain of the target metro."
              },
              "certificate": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "Use an existing certificate for the domain. If this field is\nspecified, the domain must be associated with a valid certificate."
              }
            },
            "description": "A domain to attach when creating a service group."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          },
          "Services.CreateServiceGroupRequestAutokill": {
            "type": "object",
            "properties": {
              "time_ms": {
                "type": "integer",
                "description": "Time in milliseconds after the service group becomes empty before it is\ndeleted. A value of 0 disables autokill.",
                "minimum": 0
              }
            },
            "description": "Autokill configuration when creating a service group."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_service_groups",
      "kind": "platform",
      "path": "/v1/services",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Service Groups",
      "description": "List service groups.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_service_groups",
      "kind": "platform",
      "path": "/v1/services",
      "method": "PATCH",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update Service Groups",
      "description": "Update service groups.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Services.UpdateServiceGroupsRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Services.UpdateServiceGroupsRequestItem": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Services.MutableServiceGroupProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Services.MutableServiceGroupOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": string\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields).\nUse action \"exec\" together with args to execute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")"
              }
            },
            "description": "A single update operation to be applied to a service group."
          },
          "Services.MutableServiceGroupProperty": {
            "type": "string",
            "enum": [
              "services",
              "domains",
              "soft_limit",
              "hard_limit",
              "autokill"
            ],
            "description": "Mutable service group properties."
          },
          "Services.MutableServiceGroupOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "The mutable operations available on a service group's properties."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_service_groups",
      "kind": "platform",
      "path": "/v1/services",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Service Groups",
      "description": "Delete service groups by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_autoscale_configurations",
      "kind": "platform",
      "path": "/v1/services/autoscale",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Autoscale Configurations",
      "description": "Create one or more autoscale configurations for the specified service groups.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Autoscale.CreateAutoscaleConfigurationsRequestConfiguration"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Autoscale.CreateAutoscaleConfigurationsRequestConfiguration": {
            "type": "object",
            "required": [
              "create_args"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "min_size": {
                "type": "integer",
                "description": "The minimum number of instances to keep running."
              },
              "max_size": {
                "type": "integer",
                "description": "The maximum number of instances to keep running."
              },
              "warmup_time_ms": {
                "type": "integer",
                "description": "The warmup time in milliseconds for new instances."
              },
              "cooldown_time_ms": {
                "type": "integer",
                "description": "The cooldown time in milliseconds for the autoscale configuration."
              },
              "create_args": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.ConfigurationInstanceCreateArgs"
                  }
                ],
                "description": "The arguments to use when creating instances."
              },
              "policies": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Autoscale.AutoscalePolicy"
                },
                "description": "The policies to apply to the autoscale configuration."
              }
            },
            "oneOf": [
              {
                "required": [
                  "uuid"
                ]
              },
              {
                "required": [
                  "name"
                ]
              }
            ]
          },
          "Autoscale.ConfigurationInstanceCreateArgs": {
            "type": "object",
            "properties": {
              "roms": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.InstanceCreateArgsInstanceCreateRequestRoms"
                  }
                ],
                "description": "The ROM to use for the autoscale configuration."
              },
              "template": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "The template to use for the autoscale configuration."
              }
            },
            "oneOf": [
              {
                "required": [
                  "roms"
                ]
              },
              {
                "required": [
                  "template"
                ]
              }
            ]
          },
          "Autoscale.InstanceCreateArgsInstanceCreateRequestRoms": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the ROM."
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "$ref": "#/definitions/Instances.ImageSpec"
                  }
                ],
                "description": "The image of the ROM to use for the autoscale configuration. Mutually\nexclusive with `files`. Accepts either a plain image reference string\n(`\"nginx:latest\"`) or an object carrying additional pull configuration\n(`{\"url\": \"nginx:latest\", \"pull_policy\": \"always\"}`)."
              },
              "files": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Common.InlineFile"
                },
                "description": "Inline files to use as the ROM content. When specified, the platform\ncreates an EROFS image from the provided files. Mutually exclusive with\n`image`."
              }
            },
            "description": "A ROM to use for an autoscale instance create configuration."
          },
          "Instances.ImageSpec": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "The image URL"
              },
              "credentials": {
                "type": "string",
                "description": "Optional credentials for authenticating to an OCI registry.\nOnly valid for OCI registry URLs; the platform rejects this\nfield for non-OCI schemes."
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Optional HTTP headers to send when fetching the image."
              },
              "pull_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.PullPolicy"
                  }
                ],
                "description": "Controls when the image is pulled relative to what is already cached on\nthe node."
              }
            },
            "description": "ImageSpec describes an image to use for an instance."
          },
          "Instances.PullPolicy": {
            "type": "string",
            "enum": [
              "always",
              "if_not_present",
              "never"
            ],
            "description": "PullPolicy defines when an image should be pulled."
          },
          "Common.InlineFile": {
            "type": "object",
            "required": [
              "path",
              "data"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The file path within the image."
              },
              "encoding": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.InlineDataEncoding"
                  }
                ],
                "description": "The encoding of the data field. Defaults to \"text\"."
              },
              "data": {
                "type": "string",
                "description": "The file data, encoded according to the encoding field."
              }
            },
            "description": "An inline file entry represents a single file within an image."
          },
          "Common.InlineDataEncoding": {
            "type": "string",
            "enum": [
              "text",
              "base64"
            ],
            "description": "Encoding type for inline file data."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          },
          "Autoscale.AutoscalePolicy": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the policy."
              },
              "enabled": {
                "type": "boolean",
                "description": "Whether the policy is enabled."
              },
              "metric": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.StepPolicyMetric"
                  }
                ],
                "description": "Metric to use for the step policy (only for step policies)."
              },
              "adjustment_type": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.AdjustmentType"
                  }
                ],
                "description": "The type of adjustment to be made in the step policy (only for step policies)."
              },
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Autoscale.AutoscalePolicyStep"
                },
                "description": "The steps for the step policy. Each step defines an adjustment value and\noptional bounds."
              }
            },
            "description": "AutoscalePolicy defines the autoscale policy for a service. Right now it\ncontains fields from both the `ondemand` and `step` policies. They are\nmarked both as optional, so only one of them should be set at a time. This\nis a current limitation of the API design."
          },
          "Autoscale.StepPolicyMetric": {
            "type": "string",
            "enum": [
              "cpu"
            ],
            "description": "The step policy is a type of autoscaling policy that scales the number of\ninstances in a service by a fixed number of instances at each step. It uses\na metric to determine when to scale up or down."
          },
          "Autoscale.AdjustmentType": {
            "type": "string",
            "enum": [
              "change",
              "exact",
              "percentage"
            ],
            "description": "AdjustmentType defines the type of adjustment to be made in an autoscaling\nstep policy."
          },
          "Autoscale.AutoscalePolicyStep": {
            "type": "object",
            "required": [
              "adjustment"
            ],
            "properties": {
              "adjustment": {
                "type": "integer",
                "description": "The adjustment value for the step."
              },
              "lower_bound": {
                "type": "integer",
                "description": "Lower bound for the step."
              },
              "upper_bound": {
                "type": "integer",
                "description": "Upper bound for the step."
              }
            },
            "description": "A single step in a step autoscaling policy."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_autoscale_configurations",
      "kind": "platform",
      "path": "/v1/services/autoscale",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Autoscale Configurations",
      "description": "List autoscale configurations for the specified service groups.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_autoscale_configurations",
      "kind": "platform",
      "path": "/v1/services/autoscale",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Autoscale Configurations",
      "description": "Delete autoscale configurations for the specified service groups.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_service_group_by_uuid",
      "kind": "platform",
      "path": "/v1/services/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "title": "Get Service Group by UUID",
      "description": "Get a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "query": {
            "type": "object",
            "properties": {
              "details": {
                "type": "boolean"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_service_group_by_uuid",
      "kind": "platform",
      "path": "/v1/services/{uuid}",
      "method": "PATCH",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update Service Group by UUID",
      "description": "Update a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Services.UpdateServiceGroupByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Services.UpdateServiceGroupByUUIDRequestBody": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Services.MutableServiceGroupProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Services.MutableServiceGroupOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": string\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields).\nUse action \"exec\" together with args to execute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")"
              }
            }
          },
          "Services.MutableServiceGroupProperty": {
            "type": "string",
            "enum": [
              "services",
              "domains",
              "soft_limit",
              "hard_limit",
              "autokill"
            ],
            "description": "Mutable service group properties."
          },
          "Services.MutableServiceGroupOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "The mutable operations available on a service group's properties."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_service_group_by_uuid",
      "kind": "platform",
      "path": "/v1/services/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Service Group by UUID",
      "description": "Delete a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_autoscale_configuration_by_service_group_uuid",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Create Autoscale Configuration by Service Group UUID",
      "description": "Create an autoscale configuration for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Autoscale.CreateAutoscaleConfigurationByServiceGroupUUIDRequest"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Autoscale.CreateAutoscaleConfigurationByServiceGroupUUIDRequest": {
            "type": "object",
            "required": [
              "uuid",
              "create_args"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the service to create a configuration for."
              },
              "min_size": {
                "type": "integer",
                "description": "The minimum number of instances to keep running."
              },
              "max_size": {
                "type": "integer",
                "description": "The maximum number of instances to keep running."
              },
              "warmup_time_ms": {
                "type": "integer",
                "description": "The warmup time in milliseconds for new instances."
              },
              "cooldown_time_ms": {
                "type": "integer",
                "description": "The cooldown time in milliseconds for the autoscale configuration."
              },
              "create_args": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.CreateAutoscaleConfigurationByServiceGroupUUIDRequestInstanceCreateArgs"
                  }
                ],
                "description": "The arguments to use when creating instances."
              },
              "policies": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Autoscale.AutoscalePolicy"
                },
                "description": "The policies to apply to the autoscale configuration."
              }
            },
            "description": "The request message to create an autoscale configuration for a service group\nbased on its UUID."
          },
          "Autoscale.CreateAutoscaleConfigurationByServiceGroupUUIDRequestInstanceCreateArgs": {
            "type": "object",
            "properties": {
              "roms": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.InstanceCreateArgsInstanceCreateRequestRoms"
                  }
                ],
                "description": "The ROM to use for the autoscale configuration."
              },
              "template": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "The template to use for the autoscale configuration."
              }
            },
            "oneOf": [
              {
                "required": [
                  "roms"
                ]
              },
              {
                "required": [
                  "template"
                ]
              }
            ]
          },
          "Autoscale.InstanceCreateArgsInstanceCreateRequestRoms": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the ROM."
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "$ref": "#/definitions/Instances.ImageSpec"
                  }
                ],
                "description": "The image of the ROM to use for the autoscale configuration. Mutually\nexclusive with `files`. Accepts either a plain image reference string\n(`\"nginx:latest\"`) or an object carrying additional pull configuration\n(`{\"url\": \"nginx:latest\", \"pull_policy\": \"always\"}`)."
              },
              "files": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Common.InlineFile"
                },
                "description": "Inline files to use as the ROM content. When specified, the platform\ncreates an EROFS image from the provided files. Mutually exclusive with\n`image`."
              }
            },
            "description": "A ROM to use for an autoscale instance create configuration."
          },
          "Instances.ImageSpec": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "The image URL"
              },
              "credentials": {
                "type": "string",
                "description": "Optional credentials for authenticating to an OCI registry.\nOnly valid for OCI registry URLs; the platform rejects this\nfield for non-OCI schemes."
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Optional HTTP headers to send when fetching the image."
              },
              "pull_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Instances.PullPolicy"
                  }
                ],
                "description": "Controls when the image is pulled relative to what is already cached on\nthe node."
              }
            },
            "description": "ImageSpec describes an image to use for an instance."
          },
          "Instances.PullPolicy": {
            "type": "string",
            "enum": [
              "always",
              "if_not_present",
              "never"
            ],
            "description": "PullPolicy defines when an image should be pulled."
          },
          "Common.InlineFile": {
            "type": "object",
            "required": [
              "path",
              "data"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The file path within the image."
              },
              "encoding": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.InlineDataEncoding"
                  }
                ],
                "description": "The encoding of the data field. Defaults to \"text\"."
              },
              "data": {
                "type": "string",
                "description": "The file data, encoded according to the encoding field."
              }
            },
            "description": "An inline file entry represents a single file within an image."
          },
          "Common.InlineDataEncoding": {
            "type": "string",
            "enum": [
              "text",
              "base64"
            ],
            "description": "Encoding type for inline file data."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          },
          "Autoscale.AutoscalePolicy": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the policy."
              },
              "enabled": {
                "type": "boolean",
                "description": "Whether the policy is enabled."
              },
              "metric": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.StepPolicyMetric"
                  }
                ],
                "description": "Metric to use for the step policy (only for step policies)."
              },
              "adjustment_type": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.AdjustmentType"
                  }
                ],
                "description": "The type of adjustment to be made in the step policy (only for step policies)."
              },
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Autoscale.AutoscalePolicyStep"
                },
                "description": "The steps for the step policy. Each step defines an adjustment value and\noptional bounds."
              }
            },
            "description": "AutoscalePolicy defines the autoscale policy for a service. Right now it\ncontains fields from both the `ondemand` and `step` policies. They are\nmarked both as optional, so only one of them should be set at a time. This\nis a current limitation of the API design."
          },
          "Autoscale.StepPolicyMetric": {
            "type": "string",
            "enum": [
              "cpu"
            ],
            "description": "The step policy is a type of autoscaling policy that scales the number of\ninstances in a service by a fixed number of instances at each step. It uses\na metric to determine when to scale up or down."
          },
          "Autoscale.AdjustmentType": {
            "type": "string",
            "enum": [
              "change",
              "exact",
              "percentage"
            ],
            "description": "AdjustmentType defines the type of adjustment to be made in an autoscaling\nstep policy."
          },
          "Autoscale.AutoscalePolicyStep": {
            "type": "object",
            "required": [
              "adjustment"
            ],
            "properties": {
              "adjustment": {
                "type": "integer",
                "description": "The adjustment value for the step."
              },
              "lower_bound": {
                "type": "integer",
                "description": "Lower bound for the step."
              },
              "upper_bound": {
                "type": "integer",
                "description": "Upper bound for the step."
              }
            },
            "description": "A single step in a step autoscaling policy."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_autoscale_configurations_by_service_group_uuid",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Autoscale Configurations by Service Group UUID",
      "description": "Get autoscale configurations for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_autoscale_configurations_by_service_group_uuid",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Autoscale Configurations by Service Group UUID",
      "description": "Delete the autoscale configuration for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_autoscale_configuration_policy",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale/policies",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Create Autoscale Configuration Policy",
      "description": "Add a new autoscale policy to a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Autoscale.CreateAutoscaleConfigurationPolicyRequest"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Autoscale.CreateAutoscaleConfigurationPolicyRequest": {
            "type": "object",
            "required": [
              "name",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the policy."
              },
              "type": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.AutoscalePolicy"
                  }
                ],
                "description": "The policy type to add to the autoscale configuration."
              }
            },
            "description": "The request message to create an autoscale configuration policy for a\nservice."
          },
          "Autoscale.AutoscalePolicy": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the policy."
              },
              "enabled": {
                "type": "boolean",
                "description": "Whether the policy is enabled."
              },
              "metric": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.StepPolicyMetric"
                  }
                ],
                "description": "Metric to use for the step policy (only for step policies)."
              },
              "adjustment_type": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Autoscale.AdjustmentType"
                  }
                ],
                "description": "The type of adjustment to be made in the step policy (only for step policies)."
              },
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/Autoscale.AutoscalePolicyStep"
                },
                "description": "The steps for the step policy. Each step defines an adjustment value and\noptional bounds."
              }
            },
            "description": "AutoscalePolicy defines the autoscale policy for a service. Right now it\ncontains fields from both the `ondemand` and `step` policies. They are\nmarked both as optional, so only one of them should be set at a time. This\nis a current limitation of the API design."
          },
          "Autoscale.StepPolicyMetric": {
            "type": "string",
            "enum": [
              "cpu"
            ],
            "description": "The step policy is a type of autoscaling policy that scales the number of\ninstances in a service by a fixed number of instances at each step. It uses\na metric to determine when to scale up or down."
          },
          "Autoscale.AdjustmentType": {
            "type": "string",
            "enum": [
              "change",
              "exact",
              "percentage"
            ],
            "description": "AdjustmentType defines the type of adjustment to be made in an autoscaling\nstep policy."
          },
          "Autoscale.AutoscalePolicyStep": {
            "type": "object",
            "required": [
              "adjustment"
            ],
            "properties": {
              "adjustment": {
                "type": "integer",
                "description": "The adjustment value for the step."
              },
              "lower_bound": {
                "type": "integer",
                "description": "Lower bound for the step."
              },
              "upper_bound": {
                "type": "integer",
                "description": "Upper bound for the step."
              }
            },
            "description": "A single step in a step autoscaling policy."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_autoscale_configuration_policies",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale/policies",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Autoscale Configuration Policies",
      "description": "List autoscale policies for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Autoscale.GetAutoscaleConfigurationPolicyRequest"
          }
        },
        "required": [
          "path"
        ],
        "definitions": {
          "Autoscale.GetAutoscaleConfigurationPolicyRequest": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The Name of the policy to get."
              }
            },
            "description": "The request message to get an autoscale configuration policy by name."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_autoscale_configuration_policies",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale/policies",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Delete Autoscale Configuration Policies",
      "description": "Delete autoscale policies for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Autoscale.DeletePolicyRequest"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Autoscale.DeletePolicyRequest": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the policy to delete."
              }
            },
            "description": "The request message to delete an autoscale configuration policy by name."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_autoscale_configuration_policy_by_name",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale/policies/{name}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Autoscale Configuration Policy by Name",
      "description": "Get an autoscale policy by name for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "uuid",
              "name"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_autoscale_configuration_policy_by_name",
      "kind": "platform",
      "path": "/v1/services/{uuid}/autoscale/policies/{name}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Autoscale Configuration Policy by Name",
      "description": "Delete an autoscale policy by name for a service group by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "uuid",
              "name"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_user",
      "kind": "platform",
      "path": "/v1/users/quotas",
      "method": "GET",
      "parameters": [],
      "title": "Get Current User Quotas",
      "description": "List quota usage and limits of your user account.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": []
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_user_by_uuid",
      "kind": "platform",
      "path": "/v1/users/{uuid}/quotas",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get User Quotas by UUID",
      "description": "List quota usage and limits of a user account by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_volume",
      "kind": "platform",
      "path": "/v1/volumes",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Volume",
      "description": "Create a new volume.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Volumes.CreateVolumeRequest"
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Volumes.CreateVolumeRequest": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "size_mb": {
                "type": "integer",
                "minimum": 0
              },
              "host_path": {
                "type": "string"
              },
              "template": {
                "$ref": "#/definitions/Common.NameOrUUID"
              },
              "quota_policy": {
                "$ref": "#/definitions/Volumes.VolumeQuotaPolicy"
              },
              "filesystem": {
                "type": "string"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "uid": {
                "type": "integer",
                "minimum": 0
              },
              "gid": {
                "type": "integer",
                "minimum": 0
              },
              "access_mode": {
                "$ref": "#/definitions/Volumes.VolumeAccessMode"
              },
              "args": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "description": "The request message for creating a volume.",
            "oneOf": [
              {
                "required": [
                  "size_mb"
                ]
              },
              {
                "required": [
                  "host_path"
                ]
              },
              {
                "required": [
                  "template"
                ]
              }
            ]
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          },
          "Volumes.VolumeQuotaPolicy": {
            "type": "string",
            "enum": [
              "static",
              "dynamic"
            ],
            "description": "Quota policy for a volume."
          },
          "Volumes.VolumeAccessMode": {
            "type": "string",
            "enum": [
              "rwo",
              "rox",
              "rwx"
            ],
            "description": "VolumeAccessMode defines the access mode of a volume, which controls sharing\nbehavior and caching strategy."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_volumes",
      "kind": "platform",
      "path": "/v1/volumes",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tags",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Volumes",
      "description": "List volumes.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_volumes",
      "kind": "platform",
      "path": "/v1/volumes",
      "method": "PATCH",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update Volumes",
      "description": "Update volumes.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Volumes.UpdateVolumesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Volumes.UpdateVolumesRequestItem": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableVolumeProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableVolumeOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": string\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields).\nUse action \"exec\" together with args to execute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")"
              }
            },
            "description": "A single update operation to be applied to a volume."
          },
          "Volumes.MutableVolumeProperty": {
            "type": "string",
            "enum": [
              "size_mb",
              "tags",
              "quota_policy",
              "delete_lock"
            ],
            "description": "Mutable volume properties."
          },
          "Volumes.MutableVolumeOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable volume operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_volumes",
      "kind": "platform",
      "path": "/v1/volumes",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Volumes",
      "description": "Delete volumes by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_attach_volumes",
      "kind": "platform",
      "path": "/v1/volumes/attach",
      "method": "PUT",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Attach Volumes",
      "description": "Attach volumes to instances.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Volumes.AttachVolumesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Volumes.AttachVolumesRequestItem": {
            "type": "object",
            "required": [
              "attach_to",
              "at"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "attach_to": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "UUID or name of the instance to attach the volume to."
              },
              "at": {
                "type": "string",
                "description": "Path of the mountpoint.\n\nThe path must be absolute, not contain `.` and `..` components, and not\ncontain colons (`:`). The path must point to an empty directory. If the\ndirectory does not exist, it is created."
              },
              "readonly": {
                "type": "boolean",
                "description": "Whether the volume should be mounted read-only."
              }
            },
            "description": "A single request item to attach a volume to an instance."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_clone_volumes",
      "kind": "platform",
      "path": "/v1/volumes/clone",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Clone Volumes",
      "description": "Clone volumes.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Volumes.CloneVolumesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Volumes.CloneVolumesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "vol_name": {
                "type": "string",
                "description": "The name of the new cloned volume. If not provided, a random name\nof the form `vol-X` is generated for you, where `X` is a 5 character\nlong random alphanumeric suffix."
              },
              "quota_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.VolumeQuotaPolicy"
                  }
                ],
                "description": "The quota policy for the new cloned volume. If not provided, the quota\npolicy of the source volume is used."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "A list of tags to assign to the new cloned volume."
              },
              "access_mode": {
                "$ref": "#/definitions/Volumes.VolumeAccessMode"
              }
            },
            "description": "A single request item to clone a volume."
          },
          "Volumes.VolumeQuotaPolicy": {
            "type": "string",
            "enum": [
              "static",
              "dynamic"
            ],
            "description": "Quota policy for a volume."
          },
          "Volumes.VolumeAccessMode": {
            "type": "string",
            "enum": [
              "rwo",
              "rox",
              "rwx"
            ],
            "description": "VolumeAccessMode defines the access mode of a volume, which controls sharing\nbehavior and caching strategy."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_detach_volumes",
      "kind": "platform",
      "path": "/v1/volumes/detach",
      "method": "PUT",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Detach Volumes",
      "description": "Detach volumes from instances.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Volumes.DetachVolumesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Volumes.DetachVolumesRequestItem": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "from": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "UUID or name of the instance to detach the volume from. If not specified,\nthe volume is detached from all instances."
              }
            },
            "description": "A single request item to detach a volume from an instance."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_create_template_volume",
      "kind": "platform",
      "path": "/v1/volumes/templates",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Template Volume",
      "description": "Create a template volume.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_template_volumes",
      "kind": "platform",
      "path": "/v1/volumes/templates",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "name",
          "group": "query",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "count",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "from",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "order",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "sortby",
          "group": "query",
          "style": "form",
          "explode": false
        },
        {
          "name": "tags",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "bodyContentType": "application/json",
      "title": "List Template Volumes",
      "description": "List template volumes.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The name of the resource."
              },
              "details": {
                "type": "boolean"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "from": {
                "type": "string"
              },
              "order": {
                "$ref": "#/definitions/Common.PaginationOrder"
              },
              "sortby": {
                "$ref": "#/definitions/Common.PaginationSortBy"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [],
        "definitions": {
          "Common.PaginationOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order used by list endpoints."
          },
          "Common.PaginationSortBy": {
            "type": "string",
            "enum": [
              "create_time"
            ],
            "description": "The sort field used by list endpoints."
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_template_volumes",
      "kind": "platform",
      "path": "/v1/volumes/templates",
      "method": "PATCH",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Update Template Volumes",
      "description": "Update template volumes.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Volumes.UpdateTemplateVolumesRequestItem"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Volumes.UpdateTemplateVolumesRequestItem": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              },
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableTemplateVolumeProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableTemplateVolumeOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": string\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields).\nUse action \"exec\" together with args to execute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")"
              }
            },
            "description": "A single update operation to be applied to a template volume."
          },
          "Volumes.MutableTemplateVolumeProperty": {
            "type": "string",
            "enum": [
              "tags",
              "delete_lock"
            ],
            "description": "Mutable template volume properties."
          },
          "Volumes.MutableTemplateVolumeOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable template volume operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_template_volumes",
      "kind": "platform",
      "path": "/v1/volumes/templates",
      "method": "DELETE",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Delete Template Volumes",
      "description": "Delete template volumes by ID(s).",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/Common.NameOrUUID"
            }
          }
        },
        "required": [
          "body"
        ],
        "definitions": {
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_template_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/templates/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "title": "Get Template Volume by UUID",
      "description": "Get a template volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "query": {
            "type": "object",
            "properties": {
              "details": {
                "type": "boolean"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_template_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/templates/{uuid}",
      "method": "PATCH",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update Template Volume by UUID",
      "description": "Update a template volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Volumes.UpdateTemplateVolumeByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Volumes.UpdateTemplateVolumeByUUIDRequestBody": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableTemplateVolumeProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableTemplateVolumeOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": string\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields).\nUse action \"exec\" together with args to execute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")"
              }
            }
          },
          "Volumes.MutableTemplateVolumeProperty": {
            "type": "string",
            "enum": [
              "tags",
              "delete_lock"
            ],
            "description": "Mutable template volume properties."
          },
          "Volumes.MutableTemplateVolumeOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable template volume operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_template_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/templates/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Template Volume by UUID",
      "description": "Delete a template volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_get_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "details",
          "group": "query",
          "style": "form",
          "explode": false
        }
      ],
      "title": "Get Volume by UUID",
      "description": "Get a volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "query": {
            "type": "object",
            "properties": {
              "details": {
                "type": "boolean"
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_update_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/{uuid}",
      "method": "PATCH",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Update Volume by UUID",
      "description": "Update a volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Volumes.UpdateVolumeByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Volumes.UpdateVolumeByUUIDRequestBody": {
            "type": "object",
            "required": [
              "prop",
              "op"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A client-provided identifier for tracking this operation in the response."
              },
              "prop": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableVolumeProperty"
                  }
                ],
                "description": "The property to modify."
              },
              "op": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.MutableVolumeOperation"
                  }
                ],
                "description": "The operation to perform."
              },
              "value": {
                "description": "The value for the update operation. The type depends on the property and operation:\n- For \"image\": string\n- For \"args\": string or array of strings\n- For \"env\": object (for SET/ADD) or string/array of strings (for DEL)\n- For \"memory_mb\": integer\n- For \"vcpus\": integer\n- For \"scale_to_zero\": object with cooldown_time_ms, policy, and stateful fields\n- For \"tags\": array of strings\n- For \"delete_lock\": boolean\n- For \"schedules\": array of schedule objects (with name, when, action, and optional args fields).\nUse action \"exec\" together with args to execute a command at the scheduled time.\n- For \"autokill\": object with time_ms and num_requests fields\n- For \"hostname\": string (valid DNS label)\n- For \"roms\": array of ROM objects (with name and image fields) for SET/ADD, or array of ROM names for DEL\n- For \"dependencies\": array of instance identifiers (name or UUID)\n- For \"sched_priority\": SchedPriority enum value (\"normal\", \"medium\", \"high\", \"admin\")"
              }
            }
          },
          "Volumes.MutableVolumeProperty": {
            "type": "string",
            "enum": [
              "size_mb",
              "tags",
              "quota_policy",
              "delete_lock"
            ],
            "description": "Mutable volume properties."
          },
          "Volumes.MutableVolumeOperation": {
            "type": "string",
            "enum": [
              "set",
              "add",
              "del"
            ],
            "description": "Mutable volume operations."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_delete_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Volume by UUID",
      "description": "Delete a volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          }
        },
        "required": [
          "path"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_attach_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/{uuid}/attach",
      "method": "PUT",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Attach Volume by UUID",
      "description": "Attach a volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Volumes.AttachVolumeByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Volumes.AttachVolumeByUUIDRequestBody": {
            "type": "object",
            "required": [
              "attach_to",
              "at"
            ],
            "properties": {
              "attach_to": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "UUID or name of the instance to attach the volume to."
              },
              "at": {
                "type": "string",
                "description": "Path of the mountpoint.\n\nThe path must be absolute, not contain `.` and `..` components, and not\ncontain colons (`:`). The path must point to an empty directory. If the\ndirectory does not exist, it is created."
              },
              "readonly": {
                "type": "boolean",
                "description": "Whether the volume should be mounted read-only."
              }
            }
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_clone_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/{uuid}/clone",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Clone Volume by UUID",
      "description": "Clone a volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Volumes.CloneVolumeByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Volumes.CloneVolumeByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "vol_name": {
                "type": "string",
                "description": "The name of the new cloned volume. If not provided, a random name\nof the form `vol-X` is generated for you, where `X` is a 5 character\nlong random alphanumeric suffix."
              },
              "quota_policy": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Volumes.VolumeQuotaPolicy"
                  }
                ],
                "description": "The quota policy for the new cloned volume. If not provided, the quota\npolicy of the source volume is used."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "A list of tags to assign to the new cloned volume."
              },
              "access_mode": {
                "$ref": "#/definitions/Volumes.VolumeAccessMode"
              }
            }
          },
          "Volumes.VolumeQuotaPolicy": {
            "type": "string",
            "enum": [
              "static",
              "dynamic"
            ],
            "description": "Quota policy for a volume."
          },
          "Volumes.VolumeAccessMode": {
            "type": "string",
            "enum": [
              "rwo",
              "rox",
              "rwx"
            ],
            "description": "VolumeAccessMode defines the access mode of a volume, which controls sharing\nbehavior and caching strategy."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_detach_volume_by_uuid",
      "kind": "platform",
      "path": "/v1/volumes/{uuid}/detach",
      "method": "PUT",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Detach Volume by UUID",
      "description": "Detach a volume by UUID.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "body": {
            "$ref": "#/definitions/Volumes.DetachVolumeByUUIDRequestBody"
          }
        },
        "required": [
          "path",
          "body"
        ],
        "definitions": {
          "Volumes.DetachVolumeByUUIDRequestBody": {
            "type": "object",
            "properties": {
              "from": {
                "allOf": [
                  {
                    "$ref": "#/definitions/Common.NameOrUUID"
                  }
                ],
                "description": "UUID or name of the instance to detach the volume from. If not specified,\nthe volume is detached from all instances."
              }
            }
          },
          "Common.NameOrUUID": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid",
                "description": "The UUID of the resource."
              },
              "name": {
                "type": "string",
                "description": "The name of the resource."
              }
            },
            "description": "An identifier for a resource — either a name or a UUID, but not both.",
            "oneOf": [
              {
                "required": [
                  "uuid"
                ],
                "not": {
                  "required": [
                    "name"
                  ]
                }
              },
              {
                "required": [
                  "name"
                ],
                "not": {
                  "required": [
                    "uuid"
                  ]
                }
              }
            ]
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_list_commands",
      "kind": "sandbox",
      "path": "/commands",
      "method": "GET",
      "parameters": [],
      "title": "List Commands",
      "description": "List the UUIDs of all commands, in the order they were started.\n\nThis operation is also the plugin's readiness probe: it takes no\nparameters, changes nothing, and answers on an empty sandbox, so a client\ncan call it to establish that the plugin is serving before it sends any\nreal work. Hence `x-unikraft-plugin-readiness`, which the SDK generators\nread to render their readiness helpers against this operation.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          }
        },
        "required": [
          "instance"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_run_command",
      "kind": "sandbox",
      "path": "/commands",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Start Command",
      "description": "Start a command in the sandbox. `500` is returned when the command could\nnot be spawned.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/RunCommandRequest"
          }
        },
        "required": [
          "instance",
          "body"
        ],
        "definitions": {
          "RunCommandRequest": {
            "type": "object",
            "required": [
              "cmd"
            ],
            "properties": {
              "cmd": {
                "anyOf": [
                  {
                    "$ref": "#/definitions/CommandLineShell"
                  },
                  {
                    "$ref": "#/definitions/CommandLineArgs"
                  }
                ],
                "description": "The command to run: a command line interpreted by the shell, or an argument\nvector executed directly. A bare program name in a vector is looked up in\nthe `PATH` of `env`, falling back to the sandbox's own `PATH`. `400` is\nreturned if the vector is empty or the program cannot be resolved."
              },
              "cwd": {
                "type": "string",
                "description": "(OPTIONAL) Current working directory"
              },
              "env": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "(OPTIONAL) Environment variables"
              }
            },
            "description": "The request to start a command in the sandbox."
          },
          "CommandLineShell": {
            "type": "string",
            "description": "The command line, interpreted by the shell."
          },
          "CommandLineArgs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The command as an argument vector, executed directly without a shell."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_get_command_by_uuid",
      "kind": "sandbox",
      "path": "/commands/{uuid}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Command by UUID",
      "description": "Inspect a command by UUID. `404` is returned, with an empty body, when no\nsuch command exists.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          }
        },
        "required": [
          "path",
          "instance"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_delete_command_by_uuid",
      "kind": "sandbox",
      "path": "/commands/{uuid}",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Command by UUID",
      "description": "Forget a command by UUID. `404` is returned, with an empty body, when no\nsuch command exists, and `409` when the command has not finished\nexecuting: commands which are still running cannot be forgotten.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          }
        },
        "required": [
          "path",
          "instance"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_delete_command_logs_by_uuid",
      "kind": "sandbox",
      "path": "/commands/{uuid}/logs",
      "method": "DELETE",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Delete Command Logs",
      "description": "Forget the output logs of an existing command, freeing up memory.\nThe stdin/out/err pipes of running commands will be closed. Idempotent.\n`404` is returned, with an empty body, when no such command exists.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          }
        },
        "required": [
          "path",
          "instance"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_get_command_logs",
      "kind": "sandbox",
      "path": "/commands/{uuid}/logs",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Get Command Logs",
      "description": "Fetch the collected output of a command. Both streams are base64-encoded;\nuse the raw log endpoint for binary output. `404` is returned, with an\nempty body, when no such command exists. `410` is returned, with an empty body,\nif the command's logs have been deleted.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/CommandLogsRequest"
          }
        },
        "required": [
          "path",
          "instance"
        ],
        "definitions": {
          "CommandLogsRequest": {
            "type": "object",
            "required": [
              "stdout",
              "stderr"
            ],
            "properties": {
              "stdout": {
                "allOf": [
                  {
                    "$ref": "#/definitions/CommandLogsRange"
                  }
                ],
                "description": "The part of the standard output stream to return."
              },
              "stderr": {
                "allOf": [
                  {
                    "$ref": "#/definitions/CommandLogsRange"
                  }
                ],
                "description": "The part of the standard error stream to return."
              }
            },
            "description": "The (optional) request body limiting which parts of the output streams are\nreturned. When omitted, both streams are returned in their entirety."
          },
          "CommandLogsRange": {
            "type": "object",
            "required": [
              "offset"
            ],
            "properties": {
              "offset": {
                "type": "integer",
                "description": "The first byte of the stream to return.",
                "default": 0,
                "minimum": 0
              },
              "limit": {
                "type": "integer",
                "description": "The maximum number of bytes to return. When omitted, everything from\n`offset` to the end of the stream is returned.",
                "minimum": 0
              }
            },
            "description": "The byte range of a single output stream to return."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_get_raw_command_log",
      "kind": "sandbox",
      "path": "/commands/{uuid}/logs/raw/{stream}",
      "method": "GET",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "stream",
          "group": "path",
          "style": "form",
          "explode": true
        },
        {
          "name": "Range",
          "group": "headers",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Get Raw Command Log",
      "description": "Fetch an output stream of a command as raw bytes. A single contiguous\n`Range` header is honoured, as described in RFC 9110.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              },
              "stream": {
                "$ref": "#/definitions/CommandLogStream"
              }
            },
            "required": [
              "uuid",
              "stream"
            ],
            "additionalProperties": false
          },
          "headers": {
            "type": "object",
            "properties": {
              "Range": {
                "type": "string",
                "description": "A single contiguous byte range, e.g. `bytes=0-1023`."
              }
            },
            "required": [],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          }
        },
        "required": [
          "path",
          "instance"
        ],
        "definitions": {
          "CommandLogStream": {
            "type": "string",
            "enum": [
              "stdout",
              "stderr"
            ],
            "description": "The output stream to read raw bytes from."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_signal_command",
      "kind": "sandbox",
      "path": "/commands/{uuid}/signal",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Signal Command",
      "description": "Send a signal to a command. `404` is returned, with an empty body, when no\nsuch command exists, and `400` when the signal is not a known signal name.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/CommandSignalRequest"
          }
        },
        "required": [
          "path",
          "instance",
          "body"
        ],
        "definitions": {
          "CommandSignalRequest": {
            "type": "object",
            "required": [
              "signal"
            ],
            "properties": {
              "signal": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The signal to send, either as a number or as a name, with or without the\n`SIG` prefix, e.g. `15`, `TERM` or `SIGTERM`."
              }
            },
            "description": "The request to send a signal to a command."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_write_command_stdin",
      "kind": "sandbox",
      "path": "/commands/{uuid}/stdin",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Write Command Stdin",
      "description": "Feed data into the standard input of a command. `404` is returned, with an\nempty body, when no such command exists, `410` if the command's logs have been\ndeleted, and `400` when `data` is not valid base64.\nFeeding data into a command whose standard input has been closed is an error.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/CommandStdinRequest"
          }
        },
        "required": [
          "path",
          "instance",
          "body"
        ],
        "definitions": {
          "CommandStdinRequest": {
            "type": "object",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string",
                "description": "The bytes to feed into standard input, base64-encoded."
              },
              "eof": {
                "type": "boolean",
                "description": "Whether to close standard input after injecting `data`."
              }
            },
            "description": "The request to feed data into a command's standard input."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_wait_for_command",
      "kind": "sandbox",
      "path": "/commands/{uuid}/wait",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "title": "Wait for Command",
      "description": "Wait for a command to finish, without a timeout. `404` is returned, with an\nempty body, when no such command exists.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          }
        },
        "required": [
          "path",
          "instance"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_wait_for_command_with_timeout",
      "kind": "sandbox",
      "path": "/commands/{uuid}/wait_timeout",
      "method": "POST",
      "parameters": [
        {
          "name": "uuid",
          "group": "path",
          "style": "form",
          "explode": true
        }
      ],
      "bodyContentType": "application/json",
      "title": "Wait for Command with Timeout",
      "description": "Wait for a command to finish, up to a timeout. Commands which are still\nrunning when the timeout elapses return `408`. `404` is returned, with an\nempty body, when no such command exists, and `400` when the timeout is not\na representable duration.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "uuid"
            ],
            "additionalProperties": false
          },
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/CommandWaitTimeoutRequest"
          }
        },
        "required": [
          "path",
          "instance",
          "body"
        ],
        "definitions": {
          "CommandWaitTimeoutRequest": {
            "type": "object",
            "required": [
              "timeout_s"
            ],
            "properties": {
              "timeout_s": {
                "type": "number",
                "description": "The maximum time to wait, in seconds. Decimals are accepted."
              }
            },
            "description": "The request to wait for a command to finish, up to a timeout."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_create_directory",
      "kind": "sandbox",
      "path": "/fs/mkdir",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Create Directory",
      "description": "Create a directory in the sandbox filesystem. `500` is returned when the\ndirectory could not be created.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/MkdirRequest"
          }
        },
        "required": [
          "instance",
          "body"
        ],
        "definitions": {
          "MkdirRequest": {
            "type": "object",
            "required": [
              "path",
              "parents"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The absolute path of the directory to create."
              },
              "parents": {
                "type": "boolean",
                "description": "Whether to create missing parent directories."
              }
            },
            "description": "The request to create a directory in the sandbox filesystem."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_read_file",
      "kind": "sandbox",
      "path": "/fs/read",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Read File",
      "description": "Read the contents of a file, base64-encoded. `500` is returned when the\nfile could not be read.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/ReadFileRequest"
          }
        },
        "required": [
          "instance",
          "body"
        ],
        "definitions": {
          "ReadFileRequest": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The absolute path of the file to read."
              }
            },
            "description": "The request to read a file from the sandbox filesystem."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_read_raw_file",
      "kind": "sandbox",
      "path": "/fs/read_raw",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Read Raw File",
      "description": "Download the contents of a file verbatim.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/ReadFileRequest"
          }
        },
        "required": [
          "instance",
          "body"
        ],
        "definitions": {
          "ReadFileRequest": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The absolute path of the file to read."
              }
            },
            "description": "The request to read a file from the sandbox filesystem."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_upload_file",
      "kind": "sandbox",
      "path": "/fs/upload",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Upload File",
      "description": "Upload a file to the sandbox at a given path. A new file will be created at\n- if `path` ends with '/' or exists and is a directory: path/filename\n- else: path\n`400` is returned when `encoding` is not a known encoding or `data` is not\nvalid base64, and `500` when the file could not be created.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/UploadFileRequest"
          }
        },
        "required": [
          "instance",
          "body"
        ],
        "definitions": {
          "UploadFileRequest": {
            "type": "object",
            "required": [
              "path",
              "filename",
              "parents",
              "encoding",
              "data"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "Path where to upload the file."
              },
              "filename": {
                "type": "string",
                "description": "Name of uploaded file; will be used if `path` is a directory."
              },
              "parents": {
                "type": "boolean",
                "description": "Whether to create parent directories of `path`."
              },
              "encoding": {
                "allOf": [
                  {
                    "$ref": "#/definitions/FileEncoding"
                  }
                ],
                "description": "The encoding of `data`."
              },
              "data": {
                "type": "string",
                "description": "The data to write, in the given encoding"
              }
            },
            "description": "The request to upload a file to the sandbox filesystem."
          },
          "FileEncoding": {
            "type": "string",
            "enum": [
              "utf-8",
              "base64"
            ],
            "description": "The encoding of the data written to a file."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "unikraft_sandbox_write_file",
      "kind": "sandbox",
      "path": "/fs/write",
      "method": "POST",
      "parameters": [],
      "bodyContentType": "application/json",
      "title": "Write File",
      "description": "Write data to a file, creating it if it does not exist. `400` is returned\nwhen `encoding` is not a known encoding or `data` is not valid base64, and\n`500` when the file could not be written.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "metro": {
            "type": "string",
            "enum": [
              "dal",
              "fra",
              "sfo",
              "sin",
              "was"
            ],
            "description": "Unikraft Cloud metro. Defaults to the connection's default metro."
          },
          "instance": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Name or UUID of the instance running the sandbox plugin."
          },
          "body": {
            "$ref": "#/definitions/WriteFileRequest"
          }
        },
        "required": [
          "instance",
          "body"
        ],
        "definitions": {
          "WriteFileRequest": {
            "type": "object",
            "required": [
              "path",
              "append",
              "encoding",
              "data"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "The absolute path of the file to write. It is created if missing."
              },
              "append": {
                "type": "boolean",
                "description": "Whether to append to the file instead of truncating it."
              },
              "encoding": {
                "allOf": [
                  {
                    "$ref": "#/definitions/FileEncoding"
                  }
                ],
                "description": "The encoding of `data`."
              },
              "data": {
                "type": "string",
                "description": "The data to write, in the given encoding."
              }
            },
            "description": "The request to write a file in the sandbox filesystem."
          },
          "FileEncoding": {
            "type": "string",
            "enum": [
              "utf-8",
              "base64"
            ],
            "description": "The encoding of the data written to a file."
          }
        }
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    }
  ],
  "streaming": [
    {
      "name": "unikraft_subscribe_audit_events",
      "kind": "platform",
      "path": "/v1/audit",
      "method": "GET",
      "transport": "server-sent-events"
    }
  ]
}