Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Build the ## Article Sources markdown appendix listing every artifact consumed by the aggregator. Returns null only when both used and supportingDataArtifacts are empty so the caller can omit the section entirely.

      Body shape: โ€ข If used is non-empty, the canonical "Each section above projects one analysis artifactโ€ฆ" prose + bullet list is emitted. โ€ข If used is empty but supportingDataArtifacts is non-empty, the appendix opens with a supporting-data-only preamble (no misleading "sections above" claim) before the supporting-data sub-block. โ€ข When supportingDataArtifacts is non-empty, the dedicated ### Supporting Data Artifacts sub-block is appended in either case.

      Parameters

      • used: readonly string[]
      • subfolderRepoRelPath: string
      • supportingDataArtifacts: readonly string[] = []

      Returns string