Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.15
    Preparing search index...

    The complete multi-perspective analysis result for a single parliamentary document. This is the primary output of analyzeDocument() in the framework orchestrator.

    interface DocumentAnalysisResult {
    ย ย ย ย document: RawDocument;
    ย ย ย ย overallSignificance: number;
    ย ย ย ย perspectives: PerspectiveAnalysis[];
    ย ย ย ย crossDocumentLinks: DocumentLink[];
    ย ย ย ย keyInsights: string[];
    ย ย ย ย confidenceScore: number;
    ย ย ย ย methodologyAnalysis?: MethodologyAnalysis;
    }
    Index

    Properties

    document: RawDocument

    The source document

    overallSignificance: number

    Political significance score (1โ€“10). Drives article focus and newsworthiness prioritization.

    perspectives: PerspectiveAnalysis[]

    All six perspective analyses. Always contains exactly one entry per AnalysisLens value.

    crossDocumentLinks: DocumentLink[]

    Cross-document relationships detected in the batch context

    keyInsights: string[]

    Top-level insights synthesised across all perspectives (3โ€“5 items)

    confidenceScore: number

    Overall confidence in the combined analysis (0โ€“100). Computed as the arithmetic mean of per-perspective confidence scores.

    methodologyAnalysis?: MethodologyAnalysis

    ISMS-inspired political analysis methodology results. Contains classification, risk profile, and political threat profile. Present when the document has been processed through the methodology engines.