Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Attempt to read a markdown file from the analysis directory. First checks analysis/daily/{date}/{filename}, then scans immediate subdirectories (e.g., deep-inspection/, propositions/) for the file. Returns null if the file does not exist, cannot be read, or date is not a valid YYYY-MM-DD string (guards against path traversal).

      Parameters

      • date: string
      • filename: string
      • OptionalbasePath: string

      Returns Promise<string>