{
  "openapi": "3.1.0",
  "info": {
    "title": "CyberSentriq API",
    "version": "0.0.1",
    "summary": "The CyberSentriq platform API.",
    "description": "Early-stage. Only the health endpoint is generally available today; the rest of the CyberSentriq platform API arrives here as it opens up. See https://api.cybersentriq.com/llms.txt for a machine-readable summary."
  },
  "servers": [
    { "url": "https://api.cybersentriq.com", "description": "Production" },
    { "url": "https://api.stage.cybersentriq.com", "description": "Staging" },
    { "url": "https://api.dev.cybersentriq.com", "description": "Development" }
  ],
  "paths": {
    "/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "Liveness check",
        "description": "Returns 200 when this environment is serving. Requires no authentication.",
        "security": [],
        "responses": {
          "200": {
            "description": "The service is serving.",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Health" },
                "example": { "status": "ok", "environment": "production" }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Health": {
        "type": "object",
        "required": ["status"],
        "properties": {
          "status": { "type": "string", "enum": ["ok"] },
          "environment": {
            "type": "string",
            "enum": ["production", "staging", "development"],
            "description": "The environment serving this response."
          }
        }
      }
    }
  }
}
