{
  "openapi": "3.1.0",
  "info": {
    "title": "Bluebear Website API",
    "version": "1.0.0",
    "summary": "The two unauthenticated endpoints backing the forms on bluebear.io.",
    "description": "Bluebear is the security control plane for AI coding agents. This document covers the only HTTP endpoints bluebear.io exposes: the waitlist and contact forms. Both are unauthenticated, rate limited, and abuse monitored. The Bluebear platform is a separate product surface and is documented to customers, not here.",
    "contact": {
      "name": "Bluebear",
      "email": "info@bluebear.io",
      "url": "https://bluebear.io/contact/"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://bluebear.io/privacy/"
    }
  },
  "servers": [
    {
      "url": "https://bluebear.io",
      "description": "Public website endpoints"
    }
  ],
  "externalDocs": {
    "description": "Developer and agent resources",
    "url": "https://bluebear.io/developers/"
  },
  "tags": [
    {
      "name": "website",
      "description": "Unauthenticated endpoints backing the bluebear.io forms."
    }
  ],
  "paths": {
    "/api/waitlist": {
      "post": {
        "tags": [
          "website"
        ],
        "operationId": "joinWaitlist",
        "summary": "Request platform access",
        "description": "Submits a work email address as a request for access to the Bluebear control plane, which is not self-service. Unauthenticated, rate limited, and abuse monitored.",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "description": "Work email address."
                  }
                }
              },
              "example": {
                "email": "you@company.com"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "405": {
            "$ref": "#/components/responses/MethodNotAllowed"
          },
          "500": {
            "$ref": "#/components/responses/InternalError"
          }
        }
      }
    },
    "/api/contact": {
      "post": {
        "tags": [
          "website"
        ],
        "operationId": "sendContactMessage",
        "summary": "Send a message to the Bluebear team",
        "description": "Delivers a contact enquiry to the Bluebear team. Unauthenticated, rate limited, and abuse monitored.",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "message"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "message": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              },
              "example": {
                "name": "Ada Lovelace",
                "email": "ada@company.com",
                "message": "We are rolling out coding agents to 200 engineers. Can we talk?"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "405": {
            "$ref": "#/components/responses/MethodNotAllowed"
          },
          "500": {
            "$ref": "#/components/responses/InternalError"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "required": [
          "error"
        ]
      },
      "Ok": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean",
            "const": true
          }
        },
        "required": [
          "ok"
        ]
      }
    },
    "responses": {
      "Ok": {
        "description": "Accepted.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Ok"
            }
          }
        }
      },
      "BadRequest": {
        "description": "A required field is missing or malformed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "MethodNotAllowed": {
        "description": "Only POST is accepted.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "InternalError": {
        "description": "The request could not be delivered.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  },
  "security": []
}
