EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Walk a list of candidate artefact paths and return the first non-generic headline + summary pair, plus the first usable lede summary seen along the way.

      Parameters

      • runDir: string

        Absolute run directory path

      • candidates: readonly string[]

        Run-relative candidate filenames to probe

      • articleType: string

        Article-type slug (used by isGenericHeading)

      • date: string

        ISO run date (used by isGenericHeading)

      Returns { headline: string; summary: string }

      {headline, summary} where either field may be empty