{
  "openapi": "3.1.0",
  "info": {
    "title": "Rize Labs agent inquiry API",
    "version": "1.0.0",
    "description": "Authorized introductions only. Caller identity is self-reported. No payments, contracts, autonomous negotiation or callback execution. Rate limit is 10 requests per IP per 10 minutes."
  },
  "servers": [
    {
      "url": "https://www.rizelabs.com"
    }
  ],
  "paths": {
    "/api/founder-status": {
      "get": {
        "operationId": "checkAvailability",
        "responses": {
          "200": {
            "description": "Read intake_ready before submitting; false means not connected."
          }
        }
      }
    },
    "/api/agent-inquiries": {
      "post": {
        "operationId": "submitIntroduction",
        "description": "Server-to-server JSON. No credentials required. No browser CORS support. Public inbox, not authenticated agent identity. Same UUID and identical payload returns same receipt; changed payload conflicts. No external URLs are fetched.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "company",
                  "product",
                  "challenge",
                  "agent_name",
                  "principal_name",
                  "submission_id",
                  "stage",
                  "ai_type",
                  "consent",
                  "authorized_by_principal"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "email": {
                    "type": "string",
                    "maxLength": 254,
                    "format": "email"
                  },
                  "company": {
                    "type": "string",
                    "maxLength": 150
                  },
                  "product": {
                    "type": "string",
                    "maxLength": 1500,
                    "minLength": 10
                  },
                  "challenge": {
                    "type": "string",
                    "maxLength": 1500,
                    "minLength": 10
                  },
                  "agent_name": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "principal_name": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "submission_id": {
                    "type": "string",
                    "format": "uuid",
                    "description": "UUID v4, reuse for identical retries only"
                  },
                  "stage": {
                    "type": "string",
                    "enum": [
                      "exploring",
                      "product",
                      "evaluations",
                      "customers"
                    ]
                  },
                  "ai_type": {
                    "type": "string",
                    "enum": [
                      "agent",
                      "copilot",
                      "applied",
                      "infrastructure",
                      "research",
                      "other"
                    ]
                  },
                  "consent": {
                    "type": "boolean",
                    "const": true
                  },
                  "authorized_by_principal": {
                    "type": "boolean",
                    "const": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Saved introduction receipt. No response or engagement guarantee."
          },
          "400": {
            "description": "Invalid input or missing principal authorization"
          },
          "403": {
            "description": "Unapproved browser origin"
          },
          "409": {
            "description": "Same submission ID with changed content"
          },
          "413": {
            "description": "Body exceeds 12000 bytes"
          },
          "415": {
            "description": "Requires application/json"
          },
          "429": {
            "description": "Rate limited; wait before retrying"
          },
          "503": {
            "description": "Not connected or storage not verified; never claim receipt"
          }
        }
      }
    }
  }
}