{
  "openapi": "3.1.0",
  "info": { "title": "PRISMINTEL Public Triage", "version": "1.0.0", "description": "Read-only executive teasers from cached PRISMINTEL multi-bloc geopolitical dossiers. Methodology: https://prismintel.app/?view=standards. Privacy: https://prismintel.app/?view=legal&tab=privacy" },
  "servers": [{ "url": "https://prismintel.app" }],
  "paths": {
    "/api/public-triage": {
      "get": {
        "operationId": "getGeopoliticalTriage",
        "summary": "Get a cached 4-bloc geopolitical triage for a topic",
        "description": "Returns BLUF, consensus index, per-bloc tone split and a link to the full dossier when cached; otherwise returns a commission link and the list of cached theaters.",
        "parameters": [
          { "name": "topic", "in": "query", "required": true, "schema": { "type": "string", "minLength": 1, "maxLength": 200 } },
          { "name": "lang", "in": "query", "required": false, "schema": { "type": "string", "enum": ["en","fr","es","ar","ur","zh","de"], "default": "en" } }
        ],
        "responses": { "200": { "description": "Triage teaser or on-demand compilation notice", "content": { "application/json": { "schema": { "type": "object", "properties": { "status": { "type": "string", "enum": ["CACHED_DOSSIER_AVAILABLE","ON_DEMAND_COMPILATION_REQUIRED"] } }, "additionalProperties": true } } } }, "400": { "description": "Missing topic" } }
      }
    }
  }
}
