{
  "openapi": "3.1.0",
  "info": {
    "title": "MirageGrid runtime",
    "version": "0.1.0",
    "description": "Not a VPN, proxy, or Tor. Logical 25-node labels only. Never hide IPs. This API never connects, tunnels, or hops addresses. You enter the booth. The system selects a booth. The call is attributed to that booth. You leave with no persistent booth identity."
  },
  "servers": [
    {
      "url": "https://miragegrid-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "health",
        "summary": "Liveness",
        "responses": {
          "200": {
            "description": "ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/nodes": {
      "get": {
        "operationId": "nodes",
        "summary": "List 25 logical node labels.",
        "responses": {
          "200": {
            "description": "nodes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/assign": {
      "post": {
        "operationId": "assign",
        "summary": "Assign one logical node for a session and mint a receipt.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "assignment",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/verify-receipt": {
      "post": {
        "operationId": "verifyReceipt",
        "summary": "Verify a receipt JSON (hash + pool membership).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "verify",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}