Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Read a brief file, apply post-processing, and write it back when the H1 changed. Returns the diff result for the caller (CLI or orchestrator) to log.

      Parameters

      • filepath: string

      Returns {
      ย ย ย ย filepath: string;
      ย ย ย ย status: "error" | "rewrote" | "unchanged" | "skipped";
      ย ย ย ย reason?: string;
      ย ย ย ย originalH1?: string;
      ย ย ย ย cleanedH1?: string;
      }