{
  "ok": true,
  "checked_at": "2026-12-06T01:35:23.671Z",
  "evidence_class": "in_memory_zero_secret_preview",
  "retained": false,
  "usage": {
    "endpoint": "https://titanward.eu/api/v1/assess-preview",
    "privacy_guarantee": "Submitted collector JSON or software manifests are evaluated strictly in request memory and discarded immediately (retained: false). Live .env files and private keys are refused with HTTP 422 secret_detected.",
    "sample_get_url": "https://titanward.eu/api/v1/assess-preview?sample=hybrid",
    "accepted_formats": [
      "titanward.assessment.v1 collector JSON",
      "package.json / package-lock.json",
      "requirements.txt",
      "Dockerfile",
      "GitHub Actions / GitLab CI YAML",
      ".env.example / .env.template (never live .env)"
    ],
    "input_schema": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "use_sample": {
          "type": "boolean",
          "description": "Set true to evaluate Titanward's built-in 2-host hybrid fixture (Ubuntu 24.04 + EOL CentOS 6.10)"
        },
        "sample_preset": {
          "type": "string",
          "enum": [
            "hybrid",
            "repo",
            "pqc"
          ],
          "description": "Optional built-in synthetic preset: 'hybrid' (Ubuntu 24 + CentOS 6), 'repo' (Node + Dockerfile + CI), or 'pqc' (Dec 2026 PQC & VPN config)"
        },
        "reveal_limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 3,
          "description": "Maximum prioritized findings to unlock in preview (1..3, default 3)"
        },
        "documents": {
          "type": "array",
          "minItems": 1,
          "maxItems": 25,
          "description": "Zero-secret collector JSON outputs or sanitized manifests (package.json, package-lock.json, requirements.txt, Dockerfile, CI YAML, .env.example)",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "content"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Filename hint such as Dockerfile or host-1.json"
              },
              "content": {
                "type": "string",
                "description": "Sanitized zero-secret content"
              }
            }
          }
        }
      }
    },
    "output_schema": {
      "type": "object",
      "required": [
        "checked_at",
        "evidence_class",
        "retained",
        "scoring_status",
        "posture_score",
        "score_label",
        "coverage",
        "hosts_total",
        "severity_counts",
        "revealed_findings",
        "withheld_domains",
        "recommended_tier_label"
      ],
      "properties": {
        "checked_at": {
          "type": "string"
        },
        "evidence_class": {
          "type": "string"
        },
        "retained": {
          "type": "boolean"
        },
        "scoring_status": {
          "type": "string",
          "enum": [
            "scored",
            "partial_manifest_only",
            "insufficient_evidence"
          ]
        },
        "posture_score": {
          "type": [
            "integer",
            "null"
          ]
        },
        "score_label": {
          "type": "string"
        },
        "score_explanation": {
          "type": "string"
        },
        "coverage": {
          "type": "object"
        },
        "hosts_total": {
          "type": "integer"
        },
        "severity_counts": {
          "type": "object"
        },
        "revealed_findings": {
          "type": "array"
        },
        "withheld_domains": {
          "type": "array"
        },
        "recommended_tier_label": {
          "type": "string"
        }
      }
    }
  }
}
