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

    Interface MCPDocumentResult<T>

    Structured response for per-document MCP wrapper methods.

    interface MCPDocumentResult<T = Record<string, unknown>> {
    ย ย ย ย document: T;
    ย ย ย ย query: Record<string, unknown>;
    ย ย ย ย resultCount: number;
    ย ย ย ย coverageState:
    ย ย ย ย ย ย ย ย | "full_text"
    ย ย ย ย ย ย ย ย | "metadata_only"
    ย ย ย ย ย ย ย ย | "not_indexed"
    ย ย ย ย ย ย ย ย | "search_empty"
    ย ย ย ย ย ย ย ย | "fetch_error";
    ย ย ย ย provenance: MCPProvenance;
    }

    Type Parameters

    Index
    document: T
    query: Record<string, unknown>
    resultCount: number
    coverageState:
    ย ย ย ย | "full_text"
    ย ย ย ย | "metadata_only"
    ย ย ย ย | "not_indexed"
    ย ย ย ย | "search_empty"
    ย ย ย ย | "fetch_error"
    provenance: MCPProvenance