EU Parliament Monitor — API Documentation - v0.8.45
    Preparing search index...

    Interface GetFreshProceduresOptions

    Options for EuropeanParliamentMCPClient.getFreshProcedures.

    Fresh-procedure discovery routes through get_procedures(limit, offset=0) and applies client-side sorting by dateLastActivity DESC (falling back to dateInitiated) because the EP /procedures/feed timeframe filter is currently returning historical-tail pagination (regression since 2026-04-19, reported to open-data-helpdesk@europarl.europa.eu).

    interface GetFreshProceduresOptions {
        limit?: number;
        windowDays?: number;
        topN?: number;
        seenCacheStorePath?: string;
    }
    Index

    Properties

    limit?: number

    How many procedures to fetch from the EP API in a single page (passed as limit to get_procedures). Default: 100.

    windowDays?: number

    Look-back window in days for the dateLastActivity >= today-N filter. Procedures whose most-recent activity date (or initiation date when dateLastActivity is empty) falls before this window are excluded. Default: 30.

    topN?: number

    Maximum number of procedures to return after sorting and filtering. When omitted all procedures that pass the window filter are returned.

    seenCacheStorePath?: string

    Override path for the procedure-seen-cache JSON file. Intended for test isolation only — leave unset in production to use the default data/procedure-seen-cache.json path.