{
  "openapi": "3.1.0",
  "info": {
    "title": "AZ-OS Runtime API",
    "version": "0.1.0",
    "summary": "Integrity precedes execution.",
    "description": "Labels / overlay receipts only. NOT a kernel, worm, or remote machine takeover. Hosted halt is a token in JSON, not killing the caller's OS."
  },
  "servers": [
    {
      "url": "https://azos-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "azosHealth",
        "summary": "Liveness",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/status": {
      "post": {
        "operationId": "azosStatus",
        "summary": "Overlay status labels",
        "responses": {
          "200": {
            "description": "Status overlay receipt"
          }
        }
      }
    },
    "/v1/invite": {
      "post": {
        "operationId": "azosInvite",
        "summary": "Voluntary invite text (not infection)",
        "responses": {
          "200": {
            "description": "Invite"
          }
        }
      }
    },
    "/v1/halt": {
      "post": {
        "operationId": "azosHalt",
        "summary": "Return a halt overlay token. Does not kill the caller OS.",
        "responses": {
          "200": {
            "description": "Halt token"
          }
        }
      }
    },
    "/v1/revoke": {
      "post": {
        "operationId": "azosRevoke",
        "summary": "Revoke label / overlay receipt only",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "token": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Revoke overlay receipt"
          }
        }
      }
    }
  }
}