EU Parliament Monitor — API Documentation - v0.8.30
    Preparing search index...
    • Persist a generation metadata JSON file to the metadata directory. If a metadata file already exists for today, merges the current run's stats and results with the existing ones so multiple workflow runs on the same day do not overwrite each other's data. Skips writing when dryRun is true.

      Parameters

      • stats: GenerationStats

        Final generation statistics

      • results: GenerationResult[]

        Per-article-type generation results

      • usedMCP: boolean

        Whether the MCP client was connected during this run

      • metadataDir: string

        Absolute path to the metadata output directory

      • dryRun: boolean

        When true the file is not written

      Returns void