{
  "openapi": "3.0.3",
  "info": {
    "title": "Harness Compute website intake",
    "version": "1.0.0",
    "description": "Consent-based website form only. This is not a hosted compute API. Managed compute is in development. Use the visible form at /early-access. The hosting platform may require sign-in before requests reach this application; do not bypass access controls."
  },
  "servers": [
    {
      "url": "https://harnesscompute.com"
    }
  ],
  "paths": {
    "/api/early-access": {
      "post": {
        "operationId": "submitWebsiteRequest",
        "summary": "Submit an explicitly authorized design partner or privacy request",
        "description": "Requires human consent and a same-origin browser request. Agents should prepare the visible form for human review. Maximum request body 8192 bytes. Duplicate email/kind pairs are ignored. This does not create an account, start a paid plan, or deploy compute. Hosting authentication, if enabled, occurs before this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "workflow",
                  "consent"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 100
                  },
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  },
                  "company": {
                    "type": "string",
                    "maxLength": 120,
                    "default": ""
                  },
                  "workflow": {
                    "type": "string",
                    "minLength": 20,
                    "maxLength": 2000
                  },
                  "consent": {
                    "type": "boolean",
                    "enum": [
                      true
                    ],
                    "description": "Must reflect the human user\u2019s explicit consent to send this information. Never infer or fabricate consent."
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "pilot",
                      "privacy"
                    ],
                    "default": "pilot"
                  },
                  "website": {
                    "type": "string",
                    "maxLength": 200,
                    "default": "",
                    "description": "Leave empty. Anti-spam honeypot."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Invalid input",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "403": {
            "description": "Origin absent or different from the request origin",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "413": {
            "description": "Body exceeds 8192 bytes",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "415": {
            "description": "JSON content type required",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "503": {
            "description": "Storage temporarily unavailable; safe to retry with the same email and kind",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "200": {
            "description": "Request accepted. No email is automatically sent. Duplicate email/kind submissions do not create or update a second record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "ok"
                  ],
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  }
                }
              }
            }
          },
          "201": {
            "description": "Request accepted. No email is automatically sent. Duplicate email/kind submissions do not create or update a second record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "ok"
                  ],
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Problem": {
        "type": "object",
        "required": [
          "type",
          "title",
          "status",
          "code",
          "detail",
          "resolution"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "resolution": {
            "type": "string"
          },
          "error": {
            "type": "string",
            "description": "Compatibility alias for detail."
          }
        }
      }
    }
  },
  "externalDocs": {
    "url": "https://harnesscompute.com/docs",
    "description": "Prototype documentation and product availability"
  }
}
