{
  "openapi": "3.1.0",
  "info": {
    "title": "Seventh Axis website API",
    "version": "1.0.0",
    "description": "Send a message to Seventh Axis on behalf of a person who asked you to. For working with Kata itself (cells, plans, the sandbox, programs), use the Kata MCP server instead.",
    "contact": {
      "email": "iamzishaan@gmail.com"
    }
  },
  "servers": [
    {
      "url": "https://seventh-axis.vercel.app"
    }
  ],
  "externalDocs": {
    "description": "Kata MCP server",
    "url": "https://kata-seventh-axis.vercel.app/mcp"
  },
  "paths": {
    "/api/contact": {
      "post": {
        "operationId": "contact",
        "summary": "Send a message to Seventh Axis",
        "description": "Rate-limited to 5 messages per 10 minutes per IP address.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "message",
                  "consent"
                ],
                "properties": {
                  "topic": {
                    "type": "string",
                    "enum": [
                      "pilot",
                      "investors",
                      "partner",
                      "other"
                    ],
                    "default": "pilot",
                    "description": "pilot: Kata for my robot cells; investors: Investing in Seventh Axis; partner: Partnering or integrating; other: Something else"
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  },
                  "company": {
                    "type": "string",
                    "maxLength": 120
                  },
                  "message": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "consent": {
                    "type": "boolean",
                    "const": true,
                    "description": "The person agrees Seventh Axis may use these details to reply, as described in https://seventh-axis.vercel.app/privacy"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Received",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "const": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input, invalid_email or consent_required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "rate_limited: try again in 10 minutes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "storage_unavailable: email instead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "const": false
                    },
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}