{
  "openapi": "3.1.0",
  "info": {
    "title": "OConnector AI Action Control API",
    "description": "API para interceptar ações de agentes, avaliar política allow/deny e registrar evidência antes da execução.",
    "version": "4.3.1"
  },
  "paths": {
    "/api/contact": {
      "post": {
        "summary": "Submit secure enterprise assessment inquiry",
        "operationId": "submitContact",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": { "type": "string", "format": "email" },
                  "agency": { "type": "string" },
                  "context": { "type": "string" }
                },
                "required": ["email", "agency", "context"]
              }
            }
          }
        },
        "responses": {
          "200": { "description": "Request encrypted and logged to secure queue" }
        }
      }
    },
    "/api/interdict": {
      "post": {
        "summary": "Evaluate intent across the 11-Gate Pipeline",
        "operationId": "interdictIntent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "agentId": { "type": "string" },
                  "action": { "type": "string" },
                  "payload": { "type": "object" }
                },
                "required": ["agentId", "action", "payload"]
              }
            }
          }
        },
        "responses": {
          "200": { "description": "Interdiction decision with SHA-256 seal" }
        }
      }
    }
  }
}
