Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Download all relevant documents from riksdag-regering-mcp.

      Each document type is fetched with a configurable limit (default 20). Failures in individual calls are caught so a partial result is returned rather than failing the entire pipeline.

      When docTypes is provided, only the listed document types are fetched. This prevents multiple workflows (e.g. propositions and committee-reports) from downloading the same documents and writing conflicting analysis.

      Parameters

      • client: MCPClient

        MCPClient instance (caller-supplied for testability)

      • options: {
        ย ย ย ย limit?: number;
        ย ย ย ย rm?: string;
        ย ย ย ย docTypes?: DocumentTypeKey[];
        ย ย ย ย enrichLimit?: number;
        ย ย ย ย analysisRunDate?: string;
        } = {}

        Optional overrides for limits, riksmรถte, and document type scoping

      Returns Promise<DownloadResult>