Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...

    Inputs to aggregateAnalysis. All four required fields provide the filesystem and metadata context; the optional config fields allow callers (e.g. runArticlePipeline) to override front-matter values without forking the aggregation logic.

    interface AggregationInput {
    ย ย ย ย subfolderAbsPath: string;
    ย ย ย ย subfolderRepoRelPath: string;
    ย ย ย ย date: string;
    ย ย ย ย subfolder: string;
    ย ย ย ย generated_at?: string;
    ย ย ย ย language?: string;
    ย ย ย ย layout?: string;
    }
    Index
    subfolderAbsPath: string

    Absolute path to analysis/daily/$DATE/$SUBFOLDER.

    subfolderRepoRelPath: string

    Repo-relative path (e.g. analysis/daily/2026-04-23/propositions).

    date: string

    $DATE (YYYY-MM-DD).

    subfolder: string

    $SUBFOLDER (e.g. propositions).

    generated_at?: string

    Override the generated_at front-matter field (ISO-8601). Defaults to new Date().toISOString().

    language?: string

    Language code injected into front-matter (defaults to 'en').

    layout?: string

    Layout template injected into front-matter (defaults to 'article').