EU Parliament Monitor — API Documentation - v1.0.11
    Preparing search index...
    • Combined extractor with a 4-level fallback chain designed to always produce "banger" titles (concise, actor/procedure-led headlines):

      Fallback 1## Strategic Intelligence Summary → first ### … sub-heading (e.g. "The Three-Coalition Paradox").

      Fallback 2## Top Findings / ## Key Findings → first ### … sub-heading with numeric prefix stripped (e.g. "AI Trade Strategy: A Legislative First").

      Fallback 3## Reader Briefing → first numbered-list item (e.g. "DMA enforcement — Article 265 TFEU threat").

      Fallback 4 — Strategic section paragraph-derived headline (first newsworthy sentence, truncated to title budget).

      The chain prefers sub-heading-derived titles because they are crafted as journalistic headlines by the intelligence analyst, whereas paragraph-derived titles require heuristic truncation.

      Parameters

      • markdown: string

        Brief body (SPDX preamble already stripped)

      • lang: LanguageCode = 'en'

        Locale (drives heading whitelist + boilerplate stems)

      Returns BriefingHighlight | null

      Best {headline, summary, extendedSummary}, or null when no usable section exists