{
 "openapi": "3.0.3",
 "info": {
  "title": "Finsi public agent-facing API",
  "description": "OpenAPI description of Finsi's public lead/intelligence endpoints. www.finsi.ai is the informational marketing site; the full Finsi OS platform (including authenticated analytics and checkout) lives at https://os.finsi.ai. Free endpoints are declared as zero-cost MPP sessions for payment discovery.",
  "version": "1.0.0",
  "x-service-info": {
   "categories": [
    "not-commerce"
   ],
   "payment": "none"
  }
 },
 "servers": [
  {
   "url": "https://www.finsi.ai"
  }
 ],
 "paths": {
  "/api/contact": {
   "post": {
    "summary": "Submit a lead / contact request",
    "operationId": "submitContact",
    "description": "Sends a contact request to Finsi (the marketing-site lead form). Unauthenticated and free.",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ContactRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Lead accepted",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ContactResponse"
        }
       }
      }
     }
    },
    "x-payment-info": {
     "intent": "session",
     "method": "card",
     "amount": 0,
     "currency": "USD",
     "description": "Free lead-submission session (no charge). Declared for MPP payment discovery as a zero-cost session."
    }
   }
  },
  "/api/crew_report": {
   "post": {
    "summary": "Request an agent/crew report payload",
    "operationId": "crewReport",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "object"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Report returned"
     }
    }
   }
  },
  "/api/download_report": {
   "post": {
    "summary": "Download a previously generated report",
    "responses": {
     "200": {
      "description": "File or payload"
     }
    }
   }
  },
  "/mcp": {
   "post": {
    "summary": "MCP streamable-HTTP JSON-RPC endpoint (initialize / tools/list / tools/call)",
    "responses": {
     "200": {
      "description": "JSON-RPC response"
     }
    },
    "x-payment-info": {
     "intent": "session",
     "method": "card",
     "amount": 0,
     "currency": "USD",
     "description": "Free MCP session (no charge)."
    }
   }
  },
  "/a2a": {
   "post": {
    "summary": "A2A message/send endpoint",
    "responses": {
     "200": {
      "description": "A2A task message"
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "ContactResponse": {
    "type": "object",
    "properties": {
     "success": {
      "type": "boolean"
     },
     "message": {
      "type": "string"
     }
    }
   },
   "ContactRequest": {
    "type": "object",
    "properties": {
     "email": {
      "type": "string",
      "description": "Contact email"
     },
     "name": {
      "type": "string"
     },
     "subject": {
      "type": "string"
     },
     "message": {
      "type": "string"
     }
    },
    "required": [
     "email"
    ]
   }
  }
 }
}