{
  "openapi": "3.1.0",
  "info": {
    "title": "GPU9D Foundation API",
    "version": "0.5.0",
    "description": "Free public-benefit research and testing foundation for compute providers and AI developers. Platform services have no service fees, commissions or payment collection. Implemented: read-only service metadata, an empty directory, and a downloadable offline simulation-only evidence tool. The evidence tool verifies record chains and checkpoint signatures; it does not benchmark GPUs or verify provider identity. Provider onboarding, compatibility matching, active tests, the evidence plugin, MCP and A2A are unavailable. Free GPU resources are not included; resource use requires provider authorization. Do not send workload data or credentials. Hosting access logging may apply. Offline consent preflight checks signed resource budgets against an independently pinned Ed25519 key; it never executes tests, verifies resource ownership, authorizes spending or enforces runtime limits. This is a download, not a consent-submission API. Experimental Linux NVIDIA inventory CLI is downloadable, requires signed consent and a separately signed machine/device mapping, and permits one read-only inventory query. Software tested only; real GPU validation, independent performance tests and automatic publication are unavailable. Supply discovery excludes personal computers. The service roadmap describes approved future work only; all eight roadmap services are currently unavailable."
  },
  "servers": [
    {
      "url": "https://gpu9d.com"
    },
    {
      "url": "/",
      "description": "Current deployment origin"
    }
  ],
  "paths": {
    "/api/v1/status": {
      "get": {
        "operationId": "getServiceStatus",
        "summary": "Read implemented capabilities and prelaunch status",
        "responses": {
          "200": {
            "description": "Service status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            }
          },
          "405": {
            "description": "Only GET is accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/capacity": {
      "get": {
        "operationId": "listCapacity",
        "summary": "Read the empty capacity directory",
        "description": "No providers are registered. This is not a matching endpoint. No query parameters are supported; any query parameter is rejected.",
        "responses": {
          "200": {
            "description": "Empty prelaunch directory",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Capacity"
                }
              }
            }
          },
          "400": {
            "description": "Query filters are not supported",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Only GET is accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/downloads/manifest.json": {
      "get": {
        "operationId": "getEvidenceToolManifest",
        "summary": "Read versions, dependencies and SHA-256 for evidence, preflight and experimental read-only inventory CLIs",
        "responses": {
          "200": {
            "description": "Download manifest; this is not a hardware or provider certificate",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "version",
                    "artifact",
                    "sha256",
                    "test_mode",
                    "gpu_test_performed"
                  ],
                  "properties": {
                    "version": {
                      "type": "string"
                    },
                    "artifact": {
                      "type": "string"
                    },
                    "sha256": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "test_mode": {
                      "const": "simulation",
                      "type": "string"
                    },
                    "gpu_test_performed": {
                      "const": false,
                      "type": "boolean"
                    },
                    "artifacts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "artifact",
                          "version",
                          "sha256",
                          "size_bytes",
                          "requires_sibling_files"
                        ],
                        "properties": {
                          "artifact": {
                            "type": "string"
                          },
                          "version": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "size_bytes": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "requires_sibling_files": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/services.json": {
      "get": {
        "operationId": "getServiceRoadmap",
        "summary": "Read approved future services and their acceptance requirements",
        "description": "Read-only planning metadata. Does not start tests, submit workloads, reserve capacity or imply these services are operational.",
        "responses": {
          "200": {
            "description": "Approved roadmap; all service availability flags are false.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://gpu9d.com/schemas/services-v0.1.schema.json"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Status": {
        "type": "object",
        "required": [
          "service",
          "version",
          "market_status",
          "available_capabilities",
          "unavailable_capabilities",
          "registered_offers",
          "charging_enabled",
          "customer_workloads_accepted",
          "purpose",
          "service_access",
          "platform_service_fee",
          "commission_charged",
          "evidence_tool_mode"
        ],
        "properties": {
          "service": {
            "type": "string",
            "const": "GPU9D"
          },
          "version": {
            "type": "string"
          },
          "market_status": {
            "type": "string",
            "const": "prelaunch"
          },
          "available_capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "unavailable_capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "registered_offers": {
            "type": "integer",
            "const": 0
          },
          "charging_enabled": {
            "type": "boolean",
            "const": false
          },
          "customer_workloads_accepted": {
            "type": "boolean",
            "const": false
          },
          "purpose": {
            "type": "string",
            "const": "research_and_testing"
          },
          "service_access": {
            "type": "string",
            "const": "free"
          },
          "platform_service_fee": {
            "type": "number",
            "const": 0
          },
          "commission_charged": {
            "type": "boolean",
            "const": false
          },
          "evidence_tool_mode": {
            "type": "string",
            "const": "simulation_only"
          }
        }
      },
      "Capacity": {
        "type": "object",
        "required": [
          "market_status",
          "offers",
          "total",
          "matching_available",
          "message"
        ],
        "properties": {
          "market_status": {
            "type": "string",
            "const": "prelaunch"
          },
          "offers": {
            "type": "array",
            "maxItems": 0,
            "items": {
              "type": "object"
            }
          },
          "total": {
            "type": "integer",
            "const": 0
          },
          "matching_available": {
            "type": "boolean",
            "const": false
          },
          "message": {
            "type": "string"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}
